Top | ![]() |
![]() |
![]() |
![]() |
ClutterActor * | mx_scroll_bar_new () |
ClutterActor * | mx_scroll_bar_new_with_adjustment () |
void | mx_scroll_bar_set_adjustment () |
MxAdjustment * | mx_scroll_bar_get_adjustment () |
void | mx_scroll_bar_set_orientation () |
MxOrientation | mx_scroll_bar_get_orientation () |
MxScrollBar implements ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface and MxStylable.
The MxScrollBar allows users to scroll scrollable actors, either by the step or page amount, or by manually dragging the handle.
ClutterActor *
mx_scroll_bar_new_with_adjustment (MxAdjustment *adjustment
);
Create a new MxScrollBar with the given adjustment set
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.
void mx_scroll_bar_set_orientation (MxScrollBar *bar
,MxOrientation orientation
);
struct MxScrollBar;
The contents of this structure are private and should only be accessed through the public API.
struct MxScrollBarClass { MxWidgetClass parent_class; /* signals */ void (*scroll_start) (MxScrollBar *bar); void (*scroll_stop) (MxScrollBar *bar); /* padding for future expansion */ void (*_padding_0) (void); void (*_padding_1) (void); void (*_padding_2) (void); void (*_padding_3) (void); void (*_padding_4) (void); };
“orientation”
property“orientation” MxOrientation
The orientation of the scrollbar.
Flags: Read / Write
Default value: MX_ORIENTATION_HORIZONTAL
“scroll-start”
signalvoid user_function (MxScrollBar *mxscrollbar, gpointer user_data)
Flags: Run Last
“scroll-stop”
signalvoid user_function (MxScrollBar *mxscrollbar, gpointer user_data)
Flags: Run Last