* elm_genlist_bounce_set().
*
* We also want our list to compress items if they are wider than the list
- * width (thus we call elm_genlist_compress_mode_set().
+ * width (thus we call elm_genlist_mode_set(obj, ELM_LIST_COMPRESS).
*
* The items have different width, so they are not homogeneous:
* elm_genlist_homogeneous_set() is set to false.
Eina_Bool always_select_exists:1;
Eina_Bool no_select:1;
Eina_Bool no_select_exists:1;
- Eina_Bool compress:1;
Eina_Bool compress_exists:1;
Eina_Bool homogeneous:1;
Eina_Bool homogeneous_exists:1;
else
elm_genlist_select_mode_set (obj, ELM_OBJECT_SELECT_MODE_DEFAULT);
}
- if (p->compress_exists)
- elm_genlist_compress_mode_set(obj, p->compress);
if (p->homogeneous_exists)
elm_genlist_homogeneous_set(obj, p->homogeneous);
if ((p->h_bounce_exists) && (p->v_bounce_exists))
return EINA_TRUE;
}
}
- else if (!strcmp(param->name, "compress"))
- {
- if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
- {
- elm_genlist_compress_mode_set(obj, param->i);
- return EINA_TRUE;
- }
- }
else if (!strcmp(param->name, "homogeneous"))
{
if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
return EINA_TRUE;
}
}
- else if (!strcmp(param->name, "compress"))
- {
- if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
- {
- param->i = elm_genlist_compress_mode_get(obj);
- return EINA_TRUE;
- }
- }
else if (!strcmp(param->name, "homogeneous"))
{
if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
mem->no_select = !!param->i;
mem->no_select_exists = EINA_TRUE;
}
- else if (!strcmp(param->name, "compress"))
- {
- mem->compress = !!param->i;
- mem->compress_exists = EINA_TRUE;
- }
else if (!strcmp(param->name, "homogeneous"))
{
mem->homogeneous = !!param->i;
EDJE_EXTERNAL_PARAM_INFO_BOOL("multi select"),
EDJE_EXTERNAL_PARAM_INFO_BOOL("always select"),
EDJE_EXTERNAL_PARAM_INFO_BOOL("no select"),
- EDJE_EXTERNAL_PARAM_INFO_BOOL("compress"),
EDJE_EXTERNAL_PARAM_INFO_BOOL("homogeneous"),
EDJE_EXTERNAL_PARAM_INFO_BOOL("height bounce"),
EDJE_EXTERNAL_PARAM_INFO_BOOL("width bounce"),