|
Data Structures |
struct | Etk_Scrolled_View |
| [Widget] The structure of a scrolled view More...
|
Defines |
#define | ETK_SCROLLED_VIEW_TYPE (etk_scrolled_view_type_get()) |
#define | ETK_SCROLLED_VIEW(obj) (ETK_OBJECT_CAST((obj), ETK_SCROLLED_VIEW_TYPE, Etk_Scrolled_View)) |
#define | ETK_IS_SCROLLED_VIEW(obj) (ETK_OBJECT_CHECK_TYPE((obj), ETK_SCROLLED_VIEW_TYPE)) |
Enumerations |
enum | Etk_Scrolled_View_Policy {
ETK_POLICY_AUTO,
ETK_POLICY_SHOW,
ETK_POLICY_HIDE
} |
| Etk_Scrolled_View_Policy describes whether the scrollbar should be always visible, always hidden, or whether it should be shown/hidden automatically. More...
|
Functions |
Etk_Widget * | etk_scrolled_view_new (void) |
| Creates a new scrolled view.
|
Etk_Range * | etk_scrolled_view_hscrollbar_get (Etk_Scrolled_View *scrolled_view) |
| Gets the hoizontal scrollbar of the scrolled view. You can then change its value, bound values, ...
|
Etk_Range * | etk_scrolled_view_vscrollbar_get (Etk_Scrolled_View *scrolled_view) |
| Gets the vertical scrollbar of the scrolled view. You can then change its value, bound values, ...
|
void | etk_scrolled_view_add_with_viewport (Etk_Scrolled_View *scrolled_view, Etk_Widget *child) |
| A convenient function that creates a viewport, attachs the child to it and adds the viewport to the scrolled view. It's useful for widgets that have no scrolling ability.
|
void | etk_scrolled_view_policy_set (Etk_Scrolled_View *scrolled_view, Etk_Scrolled_View_Policy hpolicy, Etk_Scrolled_View_Policy vpolicy) |
| Sets the visibility policy of the hscrollbar and the vscrollbar of the scrolled view.
|
void | etk_scrolled_view_policy_get (Etk_Scrolled_View *scrolled_view, Etk_Scrolled_View_Policy *hpolicy, Etk_Scrolled_View_Policy *vpolicy) |
| Gets the visibility policy of the hscrollbar and the vscrollbar of the scrolled view.
|