MxSlider

MxSlider — A widget to visualize and control a range

Synopsis

struct              MxSlider;
ClutterActor *      mx_slider_new                       (void);
void                mx_slider_set_value                 (MxSlider *bar,
                                                         gdouble value);
gdouble             mx_slider_get_value                 (MxSlider *bar);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----ClutterActor
               +----MxWidget
                     +----MxSlider

Implemented Interfaces

MxSlider implements ClutterScriptable and MxStylable.

Properties

  "value"                    gdouble               : Read / Write

Description

FIXME

Details

struct MxSlider

struct MxSlider;

The contents of this structure are private and should only be accessed through the public API.


mx_slider_new ()

ClutterActor *      mx_slider_new                       (void);

Create a new slider

Returns :

a new MxSlider

mx_slider_set_value ()

void                mx_slider_set_value                 (MxSlider *bar,
                                                         gdouble value);

Set the value of the slider

bar :

A MxSlider

value :

A value between 0.0 and 1.0

mx_slider_get_value ()

gdouble             mx_slider_get_value                 (MxSlider *bar);

Retrieve the current value of the media bar

bar :

A MxSlider

Returns :

gdouble

Property Details

The "value" property

  "value"                    gdouble               : Read / Write

Value.

Allowed values: [0,1]

Default value: 0