~~Title: Efl.Ui.Widget_Scrollable_Content~~ ====== Efl.Ui.Widget_Scrollable_Content (mixin) ====== ===== Description ===== %%Mixin helper to add scrollable content to widgets.%% %%This can be used to provide scrollable contents and text for widgets. When %%[[:develop:api:efl:ui:widget_scrollable_content:property:scrollable_content|Efl.Ui.Widget_Scrollable_Content.scrollable_content]]%% or %%[[:develop:api:efl:ui:widget_scrollable_content:property:scrollable_text|Efl.Ui.Widget_Scrollable_Content.scrollable_text]]%% is set, this mixin will create and manage an internal scroller object which will be the container of that text or content.%% %%Only a single content or text can be set at any given time. Setting %%[[:develop:api:efl:ui:widget_scrollable_content:property:scrollable_text|Efl.Ui.Widget_Scrollable_Content.scrollable_text]]%% will unset %%[[:develop:api:efl:ui:widget_scrollable_content:property:scrollable_content|Efl.Ui.Widget_Scrollable_Content.scrollable_content]]%%.%% //Since 1.23// {{page>:develop:api-include:efl:ui:widget_scrollable_content:description&nouser&nolink&nodate}} ===== Members ===== **[[:develop:api:efl:ui:widget_scrollable_content:method:destructor|destructor]]**// [Overridden from [[:develop:api:efl:object|Efl.Object]]]//\\ > void efl_destructor(Eo *obj); \\ **[[:develop:api:efl:ui:widget_scrollable_content:property:scrollable_content|scrollable_content]]** //**(get, set)**//\\ > %%This is the content which will be placed in the internal scroller.%% Efl_Canvas_Object *efl_ui_widget_scrollable_content_get(const Eo *obj); Eina_Bool efl_ui_widget_scrollable_content_set(Eo *obj, Efl_Canvas_Object *content); \\ **[[:develop:api:efl:ui:widget_scrollable_content:property:scrollable_text|scrollable_text]]** //**(get, set)**//\\ > %%The text string to be displayed by the given text object. The text will use %%[[:develop:api:efl:text_format_wrap|Efl.Text_Format_Wrap.mixed]]%% wrapping, and it will be scrollable depending on its size relative to the object's geometry.%% const char *efl_ui_widget_scrollable_text_get(const Eo *obj); void efl_ui_widget_scrollable_text_set(Eo *obj, const char *text); \\ **[[:develop:api:efl:ui:widget_scrollable_content:property:scrollable_content_did_group_calc|scrollable_content_did_group_calc]]** //**(get)**// ''protected''\\ > Eina_Bool efl_ui_widget_scrollable_content_did_group_calc_get(const Eo *obj); \\ ===== Events ===== **[[:develop:api:efl:ui:widget_scrollable_content:event:optimal_size_calc|optimal_size,calc]]**\\ > %%The optimal size for the widget based on scrollable content.%% EFL_UI_WIDGET_SCROLLABLE_CONTENT_EVENT_OPTIMAL_SIZE_CALC(Eina_Size2D) \\