![]() |
![]() |
![]() |
Mx Toolkit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct MxSlider; struct MxSliderClass; ClutterActor * mx_slider_new (void
); void mx_slider_set_value (MxSlider *bar
,gdouble value
); gdouble mx_slider_get_value (MxSlider *bar
); gdouble mx_slider_get_buffer_value (MxSlider *slider
); void mx_slider_set_buffer_value (MxSlider *slider
,gdouble value
);
MxSlider implements ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface, MxStylable and MxFocusable.
struct MxSlider;
The contents of this structure are private and should only be accessed through the public API.
struct MxSliderClass { MxWidgetClass parent_class; /* padding for future expansion */ void (*_padding_0) (void); void (*_padding_1) (void); void (*_padding_2) (void); void (*_padding_3) (void); void (*_padding_4) (void); };
void mx_slider_set_value (MxSlider *bar
,gdouble value
);
Set the value of the slider
|
A MxSlider |
|
A value between 0.0 and 1.0 |
gdouble mx_slider_get_value (MxSlider *bar
);
Retrieve the current value of the media bar
|
A MxSlider |
Returns : |
gdouble |
gdouble mx_slider_get_buffer_value (MxSlider *slider
);
Get the value of the "buffer-value" property.
|
A MxSlider |
Returns : |
The current value of the "buffer-value" property. |
Since 1.2
void mx_slider_set_buffer_value (MxSlider *slider
,gdouble value
);
Set the value of the "buffer-value" property.
|
A MxSlider |
|
the new buffer value of the slider |
Since 1.2