value "naviframe_prev_btn_auto_pushed" uchar: 1;
value "popup_horizontal_align" double: 0.5;
value "popup_vertical_align" double: 0.5;
+ value "popup_scrollable" uchar: 0;
value "spinner_min_max_filter_enable" uchar: 0;
group "color_palette" list {
group "Elm_Custom_Palette" struct {
value "naviframe_prev_btn_auto_pushed" uchar: 1;
value "popup_horizontal_align" double: 0.5;
value "popup_vertical_align" double: 0.5;
+ value "popup_scrollable" uchar: 1;
value "spinner_min_max_filter_enable" uchar: 1;
group "color_palette" list {
group "Elm_Custom_Palette" struct {
value "naviframe_prev_btn_auto_pushed" uchar: 1;
value "popup_horizontal_align" double: 0.5;
value "popup_vertical_align" double: 0.5;
+ value "popup_scrollable" uchar: 0;
value "spinner_min_max_filter_enable" uchar: 0;
group "color_palette" list {
group "Elm_Custom_Palette" struct {
_populate_theme_scroll(priv);
_visuals_set(obj);
+
+ if (_elm_config->popup_scrollable)
+ elm_popup_scrollable_set(obj, _elm_config->popup_scrollable);
}
static void
ELM_CONFIG_VAL(D, T, naviframe_prev_btn_auto_pushed, T_UCHAR);
ELM_CONFIG_VAL(D, T, popup_horizontal_align, T_DOUBLE);
ELM_CONFIG_VAL(D, T, popup_vertical_align, T_DOUBLE);
+ ELM_CONFIG_VAL(D, T, popup_scrollable, T_UCHAR);
ELM_CONFIG_VAL(D, T, spinner_min_max_filter_enable, T_UCHAR);
#undef T
#undef D
_elm_config->naviframe_prev_btn_auto_pushed = EINA_TRUE;
_elm_config->popup_horizontal_align = 0.5;
_elm_config->popup_vertical_align = 0.5;
+
+ _elm_config->popup_scrollable = EINA_FALSE;
}
static void
if (s) _elm_config->popup_horizontal_align = _elm_atof(s);
s = getenv("ELM_POPUP_VERTICAL_ALIGN");
if (s) _elm_config->popup_vertical_align = _elm_atof(s);
+ s = getenv("ELM_POPUP_SCROLLABLE");
+ if (s) _elm_config->popup_scrollable = atoi(s);
}
static void
_elm_config->win_auto_focus_animate = enable;
}
+EAPI Eina_Bool
+elm_config_popup_scrollable_get(void)
+{
+ return _elm_config->popup_scrollable;
+}
+
+EAPI void
+elm_config_popup_scrollable_set(Eina_Bool scrollable)
+{
+ _elm_config->popup_scrollable = scrollable;
+}
+
EAPI void
elm_config_all_flush(void)
{
EAPI void elm_config_window_auto_focus_animate_set(Eina_Bool enable);
/**
+ * Get the popup scrollable flag
+ *
+ * If scrollable is true, popup's contents is wrapped in a scroller container
+ * in order to popup shouldn't be larger than its parent.
+ *
+ * @return The enabled state for popup scroll
+ * @since 1.18
+ */
+EAPI Eina_Bool elm_config_popup_scrollable_get(void);
+
+/**
+ * Set the popup scrollable flag
+ *
+ * If scrollable is true, popup's contents is wrapped in a scroller container
+ * in order to popup shouldn't be larger than its parent.
+ *
+ * @param enable the popup scroll
+ * @since 1.18
+ */
+EAPI void elm_config_popup_scrollable_set(Eina_Bool scrollable);
+
+/**
* @defgroup ATSPI AT-SPI2 Accessibility
* @ingroup Elementary
*
Elm_Slider_Indicator_Visible_Mode slider_indicator_visible_mode; /**< this sets the slider indicator visible mode */
double popup_horizontal_align;
double popup_vertical_align;
+ Eina_Bool popup_scrollable;
int toolbar_shrink_mode;
unsigned char fileselector_expand_enable;
unsigned char fileselector_double_tap_navigation_enable;