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 StScrollBar of the StScrollView.
ClutterActor *
st_scroll_view_get_vscroll_bar (StScrollView *scroll
);
Gets the vertical scrollbar of the StScrollView.
gfloat
st_scroll_view_get_column_size (StScrollView *scroll
);
Get the step increment of the horizontal plane.
void st_scroll_view_set_column_size (StScrollView *scroll
,gfloat column_size
);
Set the step increment of the horizontal plane to column_size
.
gfloat
st_scroll_view_get_row_size (StScrollView *scroll
);
Get the step increment of the vertical plane.
void st_scroll_view_set_row_size (StScrollView *scroll
,gfloat row_size
);
Set the step increment of the vertical plane to row_size
.
void st_scroll_view_set_mouse_scrolling (StScrollView *scroll
,gboolean enabled
);
Sets automatic mouse wheel scrolling to enabled or disabled.
gboolean
st_scroll_view_get_mouse_scrolling (StScrollView *scroll
);
Get whether automatic mouse wheel scrolling is enabled or disabled.
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 whether scrollbars are painted on top of the content.
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
,ClutterMargin *fade_margins
);
Sets the fade effects in all four edges of the view. A value of 0 disables the effect.