~~Title: Elm.Code_Widget_Scroller_Policy~~
===== Description =====
%%Type that controls when scrollbars should appear.%%
%%See also %%[[:develop:api:elm:interface_scrollable:property:policy|Elm.Interface_Scrollable.policy.set]]%%.%%
{{page>:develop:api-include:elm:code_widget_scroller_policy:description&nouser&nolink&nodate}}
===== Fields =====
{{page>:develop:api-include:elm:code_widget_scroller_policy:fields&nouser&nolink&nodate}}
* **auto** - %%Show scrollbars as needed%%
* **on** - %%Always show scrollbars%%
* **off** - %%Never show scrollbars%%
* **last** - %%Sentinel value to indicate last enum field during iteration%%
===== Signature =====
enum Elm.Code_Widget_Scroller_Policy {
auto: 0,
on,
off,
last
}
===== C signature =====
typedef enum {
ELM_CODE_WIDGET_SCROLLER_POLICY_AUTO = 0,
ELM_CODE_WIDGET_SCROLLER_POLICY_ON,
ELM_CODE_WIDGET_SCROLLER_POLICY_OFF,
ELM_CODE_WIDGET_SCROLLER_POLICY_LAST
} Elm_Code_Widget_Scroller_Policy;