Description

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.

Values

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

Getter

Returns the current cursor name.

Setter

Sets or unsets the current cursor.

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

Overridden from Efl.Ui.Cursor.cursor (get, set).

Signature

@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