Functions
Cursors

Functions

Eina_Bool elm_config_cursor_engine_only_get (void)
 Get the configured cursor engine only usage. More...
 
void elm_config_cursor_engine_only_set (Eina_Bool engine_only)
 Set the configured cursor engine only usage. More...
 
void elm_object_cursor_unset (Evas_Object *obj)
 Unset cursor for object. More...
 

Detailed Description

Function Documentation

◆ elm_config_cursor_engine_only_get()

Eina_Bool elm_config_cursor_engine_only_get ( void  )

Get the configured cursor engine only usage.

This gets the globally configured exclusive usage of engine cursors.

Returns
1 if only engine cursors should be used

◆ elm_config_cursor_engine_only_set()

void elm_config_cursor_engine_only_set ( Eina_Bool  engine_only)

Set the configured cursor engine only usage.

This sets the globally configured exclusive usage of engine cursors. It won't affect cursors set before changing this value.

Parameters
engine_onlyIf 1 only engine cursors will be enabled, if 0 will look for them on theme before.

References EINA_TRUE.

◆ elm_object_cursor_unset()

void elm_object_cursor_unset ( Evas_Object obj)

Unset cursor for object.

Unset cursor for object, and set the cursor to default if the mouse was over this object.

Parameters
objTarget object
See also
elm_object_cursor_set()

References ecore_evas_object_cursor_set(), ecore_job_del(), eina_stringshare_del(), ELM_OBJECT_LAYER_CURSOR, EVAS_CALLBACK_CHANGED_SIZE_HINTS, EVAS_CALLBACK_DEL, evas_object_del(), and evas_object_event_callback_del_full().