MxProgressBar

MxProgressBar — visual representation of progress

Functions

Properties

double progress Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── ClutterActor
            ╰── MxWidget
                ╰── MxProgressBar

Implemented Interfaces

MxProgressBar implements ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface and MxStylable.

Description

MxProgressBar visually represents the progress of an action or a value in a range.

Functions

mx_progress_bar_new ()

ClutterActor *
mx_progress_bar_new (void);

Create a new progress bar

Returns

a new MxProgressBar


mx_progress_bar_set_progress ()

void
mx_progress_bar_set_progress (MxProgressBar *bar,
                              gdouble progress);

Set the progress of the progress bar

Parameters

bar

A MxProgressBar

 

progress

A value between 0.0 and 1.0

 

mx_progress_bar_get_progress ()

gdouble
mx_progress_bar_get_progress (MxProgressBar *bar);

Get the progress of the progress bar

Parameters

bar

A MxProgressBar

 

Returns

A value between 0.0 and 1.0

Types and Values

struct MxProgressBar

struct MxProgressBar;

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


struct MxProgressBarClass

struct MxProgressBarClass {
  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);
};

Property Details

The “progress” property

  “progress”                 double

Progress.

Owner: MxProgressBar

Flags: Read / Write

Allowed values: [0,1]

Default value: 0