forked from enlightenment/efl
From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - add comments for item class Date: Tue, 6 Mar 2012 16:26:37 +0900 Dear all. after working several hours, i made some comments. :P If it's only, plz comit it. Thanks. SVN revision: 68785
This commit is contained in:
parent
2634455235
commit
2b5c91ba41
|
@ -44,12 +44,12 @@ typedef void (*Elm_Gen_Item_Del_Cb)(void *data, Evas_Ob
|
||||||
|
|
||||||
struct _Elm_Gen_Item_Class
|
struct _Elm_Gen_Item_Class
|
||||||
{
|
{
|
||||||
int version; /**< Set by elementary if you alloc an item class via elm_gengrid_item_class_new() or elm_genlist_item_class_new(), or if you sety your own class (must be const) then set it to ELM_GENGRID_ITEM_CLASS_VERSION */
|
int version; /**< Set by elementary if you alloc an item class using elm_gengrid_item_class_new() or elm_genlist_item_class_new(), or if you set your own class (must be const) then set it to ELM_GENGRID_ITEM_CLASS_VERSION */
|
||||||
unsigned int refcount; /**< Set it to 0 if you use your own const class, or its managed for you by class ref/unref calls */
|
unsigned int refcount; /**< Set it to 0 if you use your own const class, or its managed for you by class ref/unref calls */
|
||||||
Eina_Bool delete_me : 1; /**< Leave this alone - set it to 0 if you have a const class of your own */
|
Eina_Bool delete_me : 1; /**< Leave this alone - set it to 0 if you have a const class of your own */
|
||||||
const char *item_style; /**< Name of the visual style to use for this item. If you don't know use "default" */
|
const char *item_style; /**< Name of the visual style to use for this item. If you don't know use "default" */
|
||||||
const char *mode_item_style; /**< Style used if item is set to a specific mode. @see elm_genlist_item_mode_set() or NULL if you don't care */
|
const char *mode_item_style; /**< Style used if item is set to a specific mode. @see elm_genlist_item_mode_set() or NULL if you don't care. currenly it's used only in genlist. */
|
||||||
const char *edit_item_style; /**< Style to use when in edit mode, or NULL if you dont care */
|
const char *edit_item_style; /**< Style to use when in edit mode, or NULL if you don't care. currenly it's used only in genlist. */
|
||||||
struct {
|
struct {
|
||||||
Elm_Gen_Item_Text_Get_Cb text_get; /**< Text fetching class function for gengrid/list item classes.*/
|
Elm_Gen_Item_Text_Get_Cb text_get; /**< Text fetching class function for gengrid/list item classes.*/
|
||||||
Elm_Gen_Item_Content_Get_Cb content_get; /**< Content fetching class function for gengrid/list item classes. */
|
Elm_Gen_Item_Content_Get_Cb content_get; /**< Content fetching class function for gengrid/list item classes. */
|
||||||
|
|
|
@ -31,7 +31,12 @@
|
||||||
* - @c item_style - This is a constant string and simply defines the name
|
* - @c item_style - This is a constant string and simply defines the name
|
||||||
* of the item style. It @b must be specified and the default should be @c
|
* of the item style. It @b must be specified and the default should be @c
|
||||||
* "default".
|
* "default".
|
||||||
*
|
* - @c mode_item_style - This is a constant string and simply defines the name
|
||||||
|
* of the mode item style. It is used to specify mode item style. It can be
|
||||||
|
* used to set sweep mode.
|
||||||
|
* - @c edit_item_style - This is a constant string and simply defines the name
|
||||||
|
* of the edit item style. It is used to specify edit item style. It can be
|
||||||
|
* used to set selection, checking and deletion mode.
|
||||||
* - @c func - A struct with pointers to functions that will be called when
|
* - @c func - A struct with pointers to functions that will be called when
|
||||||
* an item is going to be actually created. All of them receive a @c data
|
* an item is going to be actually created. All of them receive a @c data
|
||||||
* parameter that will point to the same data passed to
|
* parameter that will point to the same data passed to
|
||||||
|
|
Loading…
Reference in New Issue