Top | ![]() |
![]() |
![]() |
![]() |
#define | ST_TYPE_SCROLL_VIEW |
enum | StPolicyType |
struct | StScrollView |
StScrollViewPrivate |
StScrollView is a single child container for actors that implement StScrollable. It provides scrollbars around the edge of the child to allow the user to move around the scrollable area.
ClutterActor *
st_scroll_view_get_hscroll_bar (StScrollView *scroll
);
Gets the horizontal scrollbar of the scrollbiew
ClutterActor *
st_scroll_view_get_vscroll_bar (StScrollView *scroll
);
Gets the vertical scrollbar of the scrollbiew
void st_scroll_view_set_column_size (StScrollView *scroll
,gfloat column_size
);
void st_scroll_view_set_row_size (StScrollView *scroll
,gfloat row_size
);
void st_scroll_view_set_mouse_scrolling (StScrollView *scroll
,gboolean enabled
);
gboolean
st_scroll_view_get_mouse_scrolling (StScrollView *scroll
);
void st_scroll_view_set_overlay_scrollbars (StScrollView *scroll
,gboolean enabled
);
Sets whether scrollbars are painted on top of the content.
gboolean
st_scroll_view_get_overlay_scrollbars (StScrollView *scroll
);
Gets the value set by st_scroll_view_set_overlay_scrollbars()
.
void st_scroll_view_set_policy (StScrollView *scroll
,StPolicyType hscroll
,StPolicyType vscroll
);
Set the scroll policy.
void st_scroll_view_update_fade_effect (StScrollView *scroll
,float vfade_offset
,float hfade_offset
);
Sets the height of the fade area area in pixels. A value of 0 disables the effect.