MexGrid

MexGrid

Synopsis

struct              MexGrid;
struct              MexGridClass;
ClutterActor *      mex_grid_new                        (void);
gint                mex_grid_get_stride                 (MexGrid *grid);
void                mex_grid_set_stride                 (MexGrid *grid,
                                                         gint stride);
                    MexGridPrivate;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----ClutterActor
               +----MxWidget
                     +----MexGrid

Implemented Interfaces

MexGrid implements ClutterScriptable, ClutterAnimatable, AtkImplementorIface, MxStylable, ClutterContainer, MxScrollable, MxFocusable and MexScrollableContainer.

Properties

  "stride"                   gint                  : Read / Write
  "tile-height"              gfloat                : Read
  "tile-width"               gfloat                : Read

Description

Details

struct MexGrid

struct MexGrid;

struct MexGridClass

struct MexGridClass {
  MxWidgetClass parent_class;
};

mex_grid_new ()

ClutterActor *      mex_grid_new                        (void);

mex_grid_get_stride ()

gint                mex_grid_get_stride                 (MexGrid *grid);

mex_grid_set_stride ()

void                mex_grid_set_stride                 (MexGrid *grid,
                                                         gint stride);

MexGridPrivate

typedef struct _MexGridPrivate MexGridPrivate;

Property Details

The "stride" property

  "stride"                   gint                  : Read / Write

Amount of widgets to pack horizontally.

Allowed values: >= 1

Default value: 3


The "tile-height" property

  "tile-height"              gfloat                : Read

Convenience property representing the height of a row in the grid.

Allowed values: >= 0

Default value: 0


The "tile-width" property

  "tile-width"               gfloat                : Read

Convenience property representing the width of a tile in the grid.

Allowed values: >= 0

Default value: 0