| St Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
struct StScrollView; struct StScrollViewClass; gfloat st_scroll_view_get_column_size (StScrollView *scroll); ClutterActor * st_scroll_view_get_hscroll_bar (StScrollView *scroll); gboolean st_scroll_view_get_mouse_scrolling (StScrollView *scroll); gfloat st_scroll_view_get_row_size (StScrollView *scroll); ClutterActor * st_scroll_view_get_vscroll_bar (StScrollView *scroll); StWidget * st_scroll_view_new (void); void st_scroll_view_set_column_size (StScrollView *scroll,gfloat column_size); void st_scroll_view_set_mouse_scrolling (StScrollView *scroll,gboolean enabled); void st_scroll_view_set_policy (StScrollView *scroll,GtkPolicyType hscroll,GtkPolicyType vscroll); void st_scroll_view_set_row_size (StScrollView *scroll,gfloat row_size);
GObject
+----GInitiallyUnowned
+----ClutterActor
+----StWidget
+----StBin
+----StScrollView
StScrollView implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.
"enable-mouse-scrolling" gboolean : Read / Write "hscroll" StScrollBar* : Read "hscrollbar-policy" GtkPolicyType : Read / Write "hscrollbar-visible" gboolean : Read "vscroll" StScrollBar* : Read "vscrollbar-policy" GtkPolicyType : Read / Write "vscrollbar-visible" gboolean : Read
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.
struct StScrollView;
The contents of this structure are private and should only be accessed through the public API.
ClutterActor * st_scroll_view_get_hscroll_bar (StScrollView *scroll);
Gets the horizontal scrollbar of the scrollbiew
|
a StScrollView |
Returns : |
the horizontal StScrollBar. [transfer none] |
gboolean st_scroll_view_get_mouse_scrolling (StScrollView *scroll);
ClutterActor * st_scroll_view_get_vscroll_bar (StScrollView *scroll);
Gets the vertical scrollbar of the scrollbiew
|
a StScrollView |
Returns : |
the vertical StScrollBar. [transfer none] |
void st_scroll_view_set_column_size (StScrollView *scroll,gfloat column_size);
void st_scroll_view_set_mouse_scrolling (StScrollView *scroll,gboolean enabled);
void st_scroll_view_set_policy (StScrollView *scroll,GtkPolicyType hscroll,GtkPolicyType vscroll);
Set the scroll policy.
|
A StScrollView |
|
Whether to enable horizontal scrolling |
|
Whether to enable vertical scrolling |
void st_scroll_view_set_row_size (StScrollView *scroll,gfloat row_size);
"enable-mouse-scrolling" property "enable-mouse-scrolling" gboolean : Read / Write
Enable automatic mouse wheel scrolling.
Default value: TRUE
"hscrollbar-policy" property "hscrollbar-policy" GtkPolicyType : Read / Write
When the horizontal scrollbar is displayed.
Default value: GTK_POLICY_AUTOMATIC
"hscrollbar-visible" property "hscrollbar-visible" gboolean : Read
Whether the horizontal scrollbar is visible.
Default value: TRUE
"vscrollbar-policy" property "vscrollbar-policy" GtkPolicyType : Read / Write
When the vertical scrollbar is displayed.
Default value: GTK_POLICY_AUTOMATIC