Efl.Ui.Scrollbar (interface)


Interface used by widgets which can display scrollbars, enabling them to hold more content than actually visible through the viewport. A scrollbar contains a draggable part (thumb) which allows the user to move the viewport around the content. The size of the thumb relates to the size of the viewport compared to the whole content.

Since 1.23


bar_mode (get, set)

Scrollbar visibility mode, for each of the scrollbars.
void efl_ui_scrollbar_bar_mode_get(const Eo *obj, Efl_Ui_Scrollbar_Mode *hbar, Efl_Ui_Scrollbar_Mode *vbar);
void efl_ui_scrollbar_bar_mode_set(Eo *obj, Efl_Ui_Scrollbar_Mode hbar, Efl_Ui_Scrollbar_Mode vbar);

bar_position (get, set)

Position of the thumb (the draggable zone) inside the scrollbar. It is calculated based on current position of the viewport inside the total content.
void efl_ui_scrollbar_bar_position_get(const Eo *obj, double *posx, double *posy);
void efl_ui_scrollbar_bar_position_set(Eo *obj, double posx, double posy);

bar_size (get)

void efl_ui_scrollbar_bar_size_get(const Eo *obj, double *width, double *height);

bar_visibility_update protected

Update bar visibility.
void efl_ui_scrollbar_bar_visibility_update(Eo *obj);