CuiSizeBar

Name

CuiSizeBar -- 

Synopsis


#include <history.h>


enum        Decoration;
            CuiSizeBar;
CuiWidget*  cui_size_bar_new                (void);

Object Hierarchy


  GObject
   +----CuiWidget
         +----CuiRectangle
               +----CuiSizeBar

Properties


  "decoration"           gint                  : Read / Write
  "percent"              gdouble               : Read / Write
  "turnpoint"            gdouble               : Read / Write

Description

Details

enum Decoration

typedef enum {
	DecorNone            = 1 << 0,
	DecorIncrease        = 1 << 1,
	DecorDecrease        = 1 << 2
} Decoration;


CuiSizeBar

typedef struct _CuiSizeBar CuiSizeBar;


cui_size_bar_new ()

CuiWidget*  cui_size_bar_new                (void);

Returns :

a new size bar

Properties

The "decoration" property

  "decoration"           gint                  : Read / Write

The type of the complementary decoration.

Default value: 0


The "percent" property

  "percent"              gdouble               : Read / Write

The width of the bar as percentage of the width of the window.

Allowed values: [0,1]

Default value: 0


The "turnpoint" property

  "turnpoint"            gdouble               : Read / Write

The percent where we turn from green to red or -1.

Allowed values: [-1,1]

Default value: -1