Data Fields
_Elm_Gen_Item_Class Struct Reference

Gengrid or Genlist item class definition. More...

Data Fields

int version
 
unsigned int refcount
 Set by elementary if you alloc an item class using elm_genlist/gengrid_item_class_new(), or if you set your own class (must be const) then set it to ELM_GENLIST/GENGRID_ITEM_CLASS_VERSION. More...
 
Eina_Bool delete_me
 Set it to 0 if you use your own const class, or its managed for you by class ref/unref calls. More...
 
const char * item_style
 Leave this alone - set it to 0 if you have a const class of your own. More...
 
const char * decorate_item_style
 Name of the visual style to use for this item. More...
 
const char * decorate_all_item_style
 Style used if item is set to a decorate mode. More...
 
Elm_Gen_Item_Class_Functions func
 Style to use when in edit mode, or NULL if you don't care. More...
 

Detailed Description

Gengrid or Genlist item class definition.

Field Documentation

◆ refcount

unsigned int _Elm_Gen_Item_Class::refcount

Set by elementary if you alloc an item class using elm_genlist/gengrid_item_class_new(), or if you set your own class (must be const) then set it to ELM_GENLIST/GENGRID_ITEM_CLASS_VERSION.

Referenced by elm_gengrid_item_class_free(), elm_gengrid_item_class_new(), elm_gengrid_item_class_ref(), elm_gengrid_item_class_unref(), elm_genlist_item_class_free(), elm_genlist_item_class_ref(), and elm_genlist_item_class_unref().

◆ delete_me

Eina_Bool _Elm_Gen_Item_Class::delete_me

Set it to 0 if you use your own const class, or its managed for you by class ref/unref calls.

Referenced by elm_gengrid_item_class_free(), elm_gengrid_item_class_new(), elm_gengrid_item_class_unref(), elm_genlist_item_class_free(), and elm_genlist_item_class_unref().

◆ item_style

const char* _Elm_Gen_Item_Class::item_style

Leave this alone - set it to 0 if you have a const class of your own.

◆ decorate_item_style

const char* _Elm_Gen_Item_Class::decorate_item_style

Name of the visual style to use for this item.

If you don't know use "default".

◆ decorate_all_item_style

const char* _Elm_Gen_Item_Class::decorate_all_item_style

Style used if item is set to a decorate mode.

see elm_genlist_item_decorate_mode_set() or NULL if you don't care. currently it's used only in genlist.

◆ func

Elm_Gen_Item_Class_Functions _Elm_Gen_Item_Class::func

Style to use when in edit mode, or NULL if you don't care.

Currently it's used only in genlist.