MexResizingHBox

MexResizingHBox

Synopsis

struct              MexResizingHBox;
struct              MexResizingHBoxClass;
ClutterActor *      mex_resizing_hbox_new               (void);
void                mex_resizing_hbox_set_resizing_enabled
                                                        (MexResizingHBox *hbox,
                                                         gboolean enabled);
gboolean            mex_resizing_hbox_get_resizing_enabled
                                                        (MexResizingHBox *hbox);
void                mex_resizing_hbox_set_horizontal_depth_scale
                                                        (MexResizingHBox *hbox,
                                                         gfloat multiplier);
gfloat              mex_resizing_hbox_get_horizontal_depth_scale
                                                        (MexResizingHBox *hbox);
void                mex_resizing_hbox_set_vertical_depth_scale
                                                        (MexResizingHBox *hbox,
                                                         gfloat multiplier);
gfloat              mex_resizing_hbox_get_vertical_depth_scale
                                                        (MexResizingHBox *hbox);
void                mex_resizing_hbox_set_depth_index   (MexResizingHBox *hbox,
                                                         gint index);
gint                mex_resizing_hbox_get_depth_index   (MexResizingHBox *hbox);
void                mex_resizing_hbox_set_max_depth     (MexResizingHBox *hbox,
                                                         gint depth);
gint                mex_resizing_hbox_get_max_depth     (MexResizingHBox *hbox);
void                mex_resizing_hbox_set_depth_fade    (MexResizingHBox *hbox,
                                                         gboolean fade);
gboolean            mex_resizing_hbox_get_depth_fade    (MexResizingHBox *hbox);
                    MexResizingHBoxPrivate;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----ClutterActor
               +----MxWidget
                     +----MexResizingHBox
                           +----MexMenu

Implemented Interfaces

MexResizingHBox implements ClutterScriptable, ClutterAnimatable, AtkImplementorIface, MxStylable, ClutterContainer, MxFocusable and MexScene.

Properties

  "depth-fade"               gboolean              : Read / Write
  "depth-index"              gint                  : Read / Write
  "horizontal-depth-scale"   gfloat                : Read / Write
  "max-depth"                gint                  : Read / Write
  "resizing-enabled"         gboolean              : Read / Write
  "vertical-depth-scale"     gfloat                : Read / Write

Description

Details

struct MexResizingHBox

struct MexResizingHBox;

struct MexResizingHBoxClass

struct MexResizingHBoxClass {
  MxWidgetClass parent_class;
};

mex_resizing_hbox_new ()

ClutterActor *      mex_resizing_hbox_new               (void);

mex_resizing_hbox_set_resizing_enabled ()

void                mex_resizing_hbox_set_resizing_enabled
                                                        (MexResizingHBox *hbox,
                                                         gboolean enabled);

mex_resizing_hbox_get_resizing_enabled ()

gboolean            mex_resizing_hbox_get_resizing_enabled
                                                        (MexResizingHBox *hbox);

mex_resizing_hbox_set_horizontal_depth_scale ()

void                mex_resizing_hbox_set_horizontal_depth_scale
                                                        (MexResizingHBox *hbox,
                                                         gfloat multiplier);

mex_resizing_hbox_get_horizontal_depth_scale ()

gfloat              mex_resizing_hbox_get_horizontal_depth_scale
                                                        (MexResizingHBox *hbox);

mex_resizing_hbox_set_vertical_depth_scale ()

void                mex_resizing_hbox_set_vertical_depth_scale
                                                        (MexResizingHBox *hbox,
                                                         gfloat multiplier);

mex_resizing_hbox_get_vertical_depth_scale ()

gfloat              mex_resizing_hbox_get_vertical_depth_scale
                                                        (MexResizingHBox *hbox);

mex_resizing_hbox_set_depth_index ()

void                mex_resizing_hbox_set_depth_index   (MexResizingHBox *hbox,
                                                         gint index);

mex_resizing_hbox_get_depth_index ()

gint                mex_resizing_hbox_get_depth_index   (MexResizingHBox *hbox);

mex_resizing_hbox_set_max_depth ()

void                mex_resizing_hbox_set_max_depth     (MexResizingHBox *hbox,
                                                         gint depth);

mex_resizing_hbox_get_max_depth ()

gint                mex_resizing_hbox_get_max_depth     (MexResizingHBox *hbox);

mex_resizing_hbox_set_depth_fade ()

void                mex_resizing_hbox_set_depth_fade    (MexResizingHBox *hbox,
                                                         gboolean fade);

mex_resizing_hbox_get_depth_fade ()

gboolean            mex_resizing_hbox_get_depth_fade    (MexResizingHBox *hbox);

MexResizingHBoxPrivate

typedef struct _MexResizingHBoxPrivate MexResizingHBoxPrivate;

Property Details

The "depth-fade" property

  "depth-fade"               gboolean              : Read / Write

Whether to fade children with respect to their simulated depth.

Default value: TRUE


The "depth-index" property

  "depth-index"              gint                  : Read / Write

Index of the child to use as the foreground child. Negative values mean to use the focused child.

Allowed values: >= -1

Default value: -1


The "horizontal-depth-scale" property

  "horizontal-depth-scale"   gfloat                : Read / Write

The multiplier used to determine how much children should shrink beyond the child designated by the depth-index, horizontally.

Allowed values: [0,1]

Default value: 0.667


The "max-depth" property

  "max-depth"                gint                  : Read / Write

The maximum amount of depth steps.

Allowed values: >= 0

Default value: 5


The "resizing-enabled" property

  "resizing-enabled"         gboolean              : Read / Write

Whether to size children with respect to which child currently has focus.

Default value: TRUE


The "vertical-depth-scale" property

  "vertical-depth-scale"     gfloat                : Read / Write

The multiplier used to determine how much children should shrink beyond the child designated by the depth-index, vertically.

Allowed values: [0,1]

Default value: 0.99