+ if (param->type == EDJE_EXTERNAL_PARAM_TYPE_DOUBLE)
+ {
+ elm_toolbar_align_set(obj, param->d);
+ return EINA_TRUE;
+ }
+ }
+ else if (!strcmp(param->name, "always select"))
+ {
+ if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
+ {
+ if (param->i)
+ elm_toolbar_select_mode_set (obj, ELM_OBJECT_SELECT_MODE_ALWAYS);
+ else
+ elm_toolbar_select_mode_set (obj, ELM_OBJECT_SELECT_MODE_DEFAULT);
+ return EINA_TRUE;
+ }
+ }
+ else if (!strcmp(param->name, "no select"))
+ {
+ if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
+ {
+ if (param->i)
+ elm_toolbar_select_mode_set (obj, ELM_OBJECT_SELECT_MODE_NONE);
+ else
+ elm_toolbar_select_mode_set (obj, ELM_OBJECT_SELECT_MODE_DEFAULT);
+ return EINA_TRUE;
+ }
+ }
+ else if (!strcmp(param->name, "horizontal"))
+ {
+ if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
+ {
+ elm_toolbar_horizontal_set(obj, param->i);
+ return EINA_TRUE;
+ }
+ }
+ else if (!strcmp(param->name, "homogeneous"))
+ {
+ if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
+ {
+ elm_toolbar_homogeneous_set(obj, param->i);
+ return EINA_TRUE;
+ }
+ }
+ else if (!strcmp(param->name, "shrink"))
+ {
+ if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
+ {
+ shrink_mode = _toolbar_shrink_choices_setting_get(param->s);
+ elm_toolbar_shrink_mode_set(obj, shrink_mode);
+ return EINA_TRUE;
+ }