Top |
StWidget * | st_scroll_view_new () |
ClutterActor * | st_scroll_view_get_hscroll_bar () |
ClutterActor * | st_scroll_view_get_vscroll_bar () |
gfloat | st_scroll_view_get_column_size () |
void | st_scroll_view_set_column_size () |
gfloat | st_scroll_view_get_row_size () |
void | st_scroll_view_set_row_size () |
void | st_scroll_view_set_mouse_scrolling () |
gboolean | st_scroll_view_get_mouse_scrolling () |
void | st_scroll_view_set_auto_scrolling () |
gboolean | st_scroll_view_get_auto_scrolling () |
void | st_scroll_view_set_overlay_scrollbars () |
gboolean | st_scroll_view_get_overlay_scrollbars () |
void | st_scroll_view_set_policy () |
void | st_scroll_view_update_fade_effect () |
gboolean | enable-auto-scrolling | Read / Write |
gboolean | enable-mouse-scrolling | Read / Write |
StScrollBar * | hscroll | Read |
StPolicyType | hscrollbar-policy | Read / Write |
gboolean | hscrollbar-visible | Read |
gboolean | overlay-scrollbars | Read / Write |
StScrollBar * | vscroll | Read |
StPolicyType | vscrollbar-policy | Read / Write |
gboolean | vscrollbar-visible | Read |
GEnum ╰── StPolicyType 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_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.
“enable-auto-scrolling”
property “enable-auto-scrolling” gboolean
Enable automatic scrolling.
Owner: StScrollView
Flags: Read / Write
Default value: FALSE
“enable-mouse-scrolling”
property “enable-mouse-scrolling” gboolean
Enable automatic mouse wheel scrolling.
Owner: StScrollView
Flags: Read / Write
Default value: TRUE
“hscroll”
property “hscroll” StScrollBar *
Horizontal scroll indicator.
Owner: StScrollView
Flags: Read
“hscrollbar-policy”
property“hscrollbar-policy” StPolicyType
When the horizontal scrollbar is displayed.
Owner: StScrollView
Flags: Read / Write
Default value: ST_POLICY_AUTOMATIC
“hscrollbar-visible”
property “hscrollbar-visible” gboolean
Whether the horizontal scrollbar is visible.
Owner: StScrollView
Flags: Read
Default value: TRUE
“overlay-scrollbars”
property “overlay-scrollbars” gboolean
Overlay scrollbars over the content.
Owner: StScrollView
Flags: Read / Write
Default value: FALSE
“vscroll”
property “vscroll” StScrollBar *
Vertical scroll indicator.
Owner: StScrollView
Flags: Read
“vscrollbar-policy”
property“vscrollbar-policy” StPolicyType
When the vertical scrollbar is displayed.
Owner: StScrollView
Flags: Read / Write
Default value: ST_POLICY_AUTOMATIC