| Top |
| gboolean | enable-auto-scrolling | Read / Write |
| gboolean | enable-mouse-scrolling | Read / Write |
| StScrollBar * | hscroll | Read |
| GtkPolicyType | hscrollbar-policy | Read / Write |
| gboolean | hscrollbar-visible | Read |
| StScrollBar * | vscroll | Read |
| GtkPolicyType | vscrollbar-policy | Read / Write |
| gboolean | vscrollbar-visible | Read |
GObject ╰── GInitiallyUnowned ╰── ClutterActor ╰── StWidget ╰── StBin ╰── StScrollView
StScrollView implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.
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_auto_scrolling (StScrollView *scroll,gboolean enabled);
gboolean
st_scroll_view_get_auto_scrolling (StScrollView *scroll);
void st_scroll_view_set_policy (StScrollView *scroll,GtkPolicyType hscroll,GtkPolicyType vscroll);
Set the scroll policy.
“enable-auto-scrolling” property“enable-auto-scrolling” gboolean
Enable automatic scrolling.
Flags: Read / Write
Default value: FALSE
“enable-mouse-scrolling” property“enable-mouse-scrolling” gboolean
Enable automatic mouse wheel scrolling.
Flags: Read / Write
Default value: TRUE
“hscrollbar-policy” property“hscrollbar-policy” GtkPolicyType
When the horizontal scrollbar is displayed.
Flags: Read / Write
Default value: GTK_POLICY_AUTOMATIC
“hscrollbar-visible” property“hscrollbar-visible” gboolean
Whether the horizontal scrollbar is visible.
Flags: Read
Default value: TRUE
“vscrollbar-policy” property“vscrollbar-policy” GtkPolicyType
When the vertical scrollbar is displayed.
Flags: Read / Write
Default value: GTK_POLICY_AUTOMATIC
“vscrollbar-visible” property“vscrollbar-visible” gboolean
Whether the vertical scrollbar is visible.
Flags: Read
Default value: TRUE