remove deprecated with
elm_genlist_always_select_mode_get/set elm_genlist_no_select_mode_get/set function SVN revision: 69355
This commit is contained in:
parent
614624a460
commit
bece5ff4a9
|
@ -1018,7 +1018,7 @@ void test_genlist5 (void *data, Evas_Object *obj, void *event_info)
|
|||
bx->show ();
|
||||
|
||||
GenList *gl = GenList::factory (*win);
|
||||
gl->setAlwaysSelectMode (true);
|
||||
gl->setSelectMode (ELM_OBJECT_SELECT_MODE_ALWAYS);
|
||||
gl->setAlignHintSize (EVAS_HINT_FILL, EVAS_HINT_FILL);
|
||||
gl->setWeightHintSize (EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
||||
gl->show ();
|
||||
|
@ -1203,7 +1203,7 @@ void test_genlist6(void *data, Evas_Object *obj, void *event_info)
|
|||
bx->show ();
|
||||
|
||||
GenList *gl = GenList::factory (*win);
|
||||
gl->setAlwaysSelectMode (true);
|
||||
gl->setSelectMode (ELM_OBJECT_SELECT_MODE_ALWAYS);
|
||||
gl->setAlignHintSize (EVAS_HINT_FILL, EVAS_HINT_FILL);
|
||||
gl->setWeightHintSize (EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
||||
gl->show ();
|
||||
|
|
|
@ -245,11 +245,11 @@ class GenListColumnSelector;
|
|||
*
|
||||
* Items will only call their selection func and callback when first becoming
|
||||
* selected. Any further clicks will do nothing, unless you enable always
|
||||
* select with elm_genlist_always_select_mode_set(). This means even if
|
||||
* selected, every click will make the selected callbacks be called.
|
||||
* elm_genlist_no_select_mode_set() will turn off the ability to select
|
||||
* items entirely and they will neither appear selected nor call selected
|
||||
* callback functions.
|
||||
* select with elm_genlist_select_mode_set() using ELM_OBJECT_SELECT_MODE_ALWAYS.
|
||||
* This means even if selected, every click will make the selected callbacks be called.
|
||||
* elm_genlist_select_mode_set() using ELM_OBJECT_SELECT_MODE_NONE will turn off
|
||||
* the ability to select items entirely and they will neither appear selected
|
||||
* nor call selected callback functions.
|
||||
*
|
||||
* Remember that you can create new styles and add you own theme augmentation
|
||||
* per application with elm_theme_extension_add(). If you absolutely must
|
||||
|
@ -268,7 +268,9 @@ public:
|
|||
void setHorizontal (Elm_List_Mode mode);
|
||||
|
||||
Elm_List_Mode getHorizontal ();
|
||||
|
||||
|
||||
Elm_Object_Select_Mode setSelectMode (Elm_Object_Select_Mode mode);
|
||||
|
||||
void setHomogeneous (bool homogeneous);
|
||||
|
||||
bool getHomogeneous ();
|
||||
|
|
|
@ -75,6 +75,12 @@ int GenList::getBlockCound ()
|
|||
return elm_genlist_block_count_get (o);
|
||||
}
|
||||
|
||||
bool GenList::setSelectMode (Elm_Object_Select_Mode mode)
|
||||
{
|
||||
return elm_genlist_select_mode_set (o, mode);
|
||||
}
|
||||
|
||||
|
||||
void GenList::setDataModel (GenDataModel &model)
|
||||
{
|
||||
mModel = &model;
|
||||
|
|
Loading…
Reference in New Issue