The cursor to be shown when mouse is over the object

This is the cursor that will be displayed when mouse is over the object. The object can have only one cursor set to it so if Efl.Ui.Cursor.cursor.set is called twice for an object, the previous set will be unset.

If using X cursors, a definition of all the valid cursor names is listed on Elementary_Cursors.h. If an invalid name is set the default cursor will be used.


  • cursor - The cursor name, defined either by the display system or the theme.


Returns the current cursor name.


Sets or unsets the current cursor.

If cursor is null this function will reset the cursor to the default one.


@property cursor @pure_virtual {
    get {
        values {
            cursor: free(string, free) @nullable;
    set {
        values {
            cursor: free(string, free) @nullable;
        return: bool;

C signature

const char *efl_ui_cursor_get(const Eo *obj);
Eina_Bool efl_ui_cursor_set(Eo *obj, const char *cursor);

Implemented by

  • Efl.Ui.Cursor.cursor