| Netbook Toolkit Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
NbtkScrollView;
NbtkWidget * nbtk_scroll_view_new (void);
ClutterActor * nbtk_scroll_view_get_hscroll_bar (NbtkScrollView *scroll);
ClutterActor * nbtk_scroll_view_get_vscroll_bar (NbtkScrollView *scroll);
ClutterActor * nbtk_scroll_view_get_child (NbtkScrollView *scroll);
gfloat nbtk_scroll_view_get_column_size (NbtkScrollView *scroll);
void nbtk_scroll_view_set_column_size (NbtkScrollView *scroll,
gfloat column_size);
gfloat nbtk_scroll_view_get_row_size (NbtkScrollView *scroll);
void nbtk_scroll_view_set_row_size (NbtkScrollView *scroll,
gfloat row_size);
void nbtk_scroll_view_set_mouse_scrolling
(NbtkScrollView *scroll,
gboolean enabled);
gboolean nbtk_scroll_view_get_mouse_scrolling
(NbtkScrollView *scroll);
GObject +----GInitiallyUnowned +----ClutterActor +----NbtkWidget +----NbtkBin +----NbtkScrollView
NbtkScrollView implements ClutterContainer, ClutterScriptable and NbtkStylable.
"enable-mouse-scrolling" gboolean : Read / Write "hscroll" NbtkScrollBar* : Read "vscroll" NbtkScrollBar* : Read
NbtkScrollView is a single child container for actors that implement NbtkScrollable. It provides scrollbars around the edge of the child to allow the user to move around the scrollable area.
typedef struct _NbtkScrollView NbtkScrollView;
The contents of this structure are private and should only be accessed through the public API.
ClutterActor * nbtk_scroll_view_get_hscroll_bar (NbtkScrollView *scroll);
|
|
Returns : |
ClutterActor * nbtk_scroll_view_get_vscroll_bar (NbtkScrollView *scroll);
|
|
Returns : |
ClutterActor * nbtk_scroll_view_get_child (NbtkScrollView *scroll);
|
|
Returns : |
gfloat nbtk_scroll_view_get_column_size (NbtkScrollView *scroll);
|
|
Returns : |
void nbtk_scroll_view_set_column_size (NbtkScrollView *scroll, gfloat column_size);
|
|
|
gfloat nbtk_scroll_view_get_row_size (NbtkScrollView *scroll);
|
|
Returns : |
void nbtk_scroll_view_set_row_size (NbtkScrollView *scroll, gfloat row_size);
|
|
|
void nbtk_scroll_view_set_mouse_scrolling
(NbtkScrollView *scroll,
gboolean enabled);
|
|
|
gboolean nbtk_scroll_view_get_mouse_scrolling (NbtkScrollView *scroll);
|
|
Returns : |
"enable-mouse-scrolling" property"enable-mouse-scrolling" gboolean : Read / Write
Enable automatic mouse wheel scrolling.
Default value: TRUE