![]() |
![]() |
![]() |
Mx Toolkit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
struct MxScrollBar; ClutterActor * mx_scroll_bar_new (void
); ClutterActor * mx_scroll_bar_new_with_adjustment (MxAdjustment *adjustment
); void mx_scroll_bar_set_adjustment (MxScrollBar *bar
,MxAdjustment *adjustment
); MxAdjustment * mx_scroll_bar_get_adjustment (MxScrollBar *bar
); void mx_scroll_bar_set_orientation (MxScrollBar *bar
,MxOrientation orientation
); MxOrientation mx_scroll_bar_get_orientation (MxScrollBar *bar
);
GObject +----GInitiallyUnowned +----ClutterActor +----MxWidget +----MxBin +----MxScrollBar
MxScrollBar implements ClutterScriptable, MxStylable, ClutterContainer and MxFocusable.
The MxScrollBar allows users to scroll scrollable actors, either by the step or page amount, or by manually dragging the handle.
struct MxScrollBar;
The contents of this structure are private and should only be accessed through the public API.
ClutterActor * mx_scroll_bar_new (void
);
Create a new MxScrollBar
Returns : |
a new MxScrollBar |
ClutterActor * mx_scroll_bar_new_with_adjustment (MxAdjustment *adjustment
);
Create a new MxScrollBar with the given adjustment set
|
an MxAdjustment |
Returns : |
a new MxScrollBar |
void mx_scroll_bar_set_adjustment (MxScrollBar *bar
,MxAdjustment *adjustment
);
|
|
|
MxAdjustment * mx_scroll_bar_get_adjustment (MxScrollBar *bar
);
Gets the adjustment object that stores the current position of the scrollbar.
|
a MxScrollBar |
Returns : |
the adjustment. [transfer none] |
void mx_scroll_bar_set_orientation (MxScrollBar *bar
,MxOrientation orientation
);
|
|
|
MxOrientation mx_scroll_bar_get_orientation (MxScrollBar *bar
);
|
|
Returns : |
"orientation"
property"orientation" MxOrientation : Read / Write
The orientation of the scrollbar.
Default value: MX_ORIENTATION_HORIZONTAL
"scroll-start"
signalvoid user_function (MxScrollBar *mxscrollbar,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"scroll-stop"
signalvoid user_function (MxScrollBar *mxscrollbar,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |