Etk
Main Page Object Hierarchy Data Structures Related Pages
Etk

etk_scrolled_view.c File Reference


Detailed Description


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.