NbtkGrid

NbtkGrid

Synopsis

                    NbtkGrid;
NbtkWidget *        nbtk_grid_new                       (void);
void                nbtk_grid_set_end_align             (NbtkGrid *self,
                                                         gboolean value);
gboolean            nbtk_grid_get_end_align             (NbtkGrid *self);
void                nbtk_grid_set_homogenous_rows       (NbtkGrid *self,
                                                         gboolean value);
gboolean            nbtk_grid_get_homogenous_rows       (NbtkGrid *self);
void                nbtk_grid_set_homogenous_columns    (NbtkGrid *self,
                                                         gboolean value);
gboolean            nbtk_grid_get_homogenous_columns    (NbtkGrid *self);
void                nbtk_grid_set_column_major          (NbtkGrid *self,
                                                         gboolean value);
gboolean            nbtk_grid_get_column_major          (NbtkGrid *self);
void                nbtk_grid_set_row_gap               (NbtkGrid *self,
                                                         ClutterUnit value);
ClutterUnit         nbtk_grid_get_row_gap               (NbtkGrid *self);
void                nbtk_grid_set_column_gap            (NbtkGrid *self,
                                                         ClutterUnit value);
ClutterUnit         nbtk_grid_get_column_gap            (NbtkGrid *self);
void                nbtk_grid_set_valign                (NbtkGrid *self,
                                                         gdouble value);
gdouble             nbtk_grid_get_valign                (NbtkGrid *self);
void                nbtk_grid_set_halign                (NbtkGrid *self,
                                                         gdouble value);
gdouble             nbtk_grid_get_halign                (NbtkGrid *self);
void                nbtk_grid_set_max_stride            (NbtkGrid *self,
                                                         gint value);
gint                nbtk_grid_get_max_stride            (NbtkGrid *self);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----ClutterActor
               +----NbtkWidget
                     +----NbtkGrid

Implemented Interfaces

NbtkGrid implements NbtkStylable, ClutterContainer, ClutterScriptable and NbtkScrollable.

Properties

  "column-gap"               ClutterUnit           : Read / Write / Construct
  "column-major"             gboolean              : Read / Write / Construct
  "end-align"                gboolean              : Read / Write / Construct
  "halign"                   gdouble               : Read / Write / Construct
  "homogenous-columns"       gboolean              : Read / Write / Construct
  "homogenous-rows"          gboolean              : Read / Write / Construct
  "max-stride"               gint                  : Read / Write / Construct
  "row-gap"                  ClutterUnit           : Read / Write / Construct
  "valign"                   gdouble               : Read / Write / Construct

Description

Details

NbtkGrid

typedef struct _NbtkGrid NbtkGrid;

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


nbtk_grid_new ()

NbtkWidget *        nbtk_grid_new                       (void);

Returns :


nbtk_grid_set_end_align ()

void                nbtk_grid_set_end_align             (NbtkGrid *self,
                                                         gboolean value);

self :

value :


nbtk_grid_get_end_align ()

gboolean            nbtk_grid_get_end_align             (NbtkGrid *self);

self :

Returns :


nbtk_grid_set_homogenous_rows ()

void                nbtk_grid_set_homogenous_rows       (NbtkGrid *self,
                                                         gboolean value);

self :

value :


nbtk_grid_get_homogenous_rows ()

gboolean            nbtk_grid_get_homogenous_rows       (NbtkGrid *self);

self :

Returns :


nbtk_grid_set_homogenous_columns ()

void                nbtk_grid_set_homogenous_columns    (NbtkGrid *self,
                                                         gboolean value);

self :

value :


nbtk_grid_get_homogenous_columns ()

gboolean            nbtk_grid_get_homogenous_columns    (NbtkGrid *self);

self :

Returns :


nbtk_grid_set_column_major ()

void                nbtk_grid_set_column_major          (NbtkGrid *self,
                                                         gboolean value);

self :

value :


nbtk_grid_get_column_major ()

gboolean            nbtk_grid_get_column_major          (NbtkGrid *self);

self :

Returns :


nbtk_grid_set_row_gap ()

void                nbtk_grid_set_row_gap               (NbtkGrid *self,
                                                         ClutterUnit value);

self :

value :


nbtk_grid_get_row_gap ()

ClutterUnit         nbtk_grid_get_row_gap               (NbtkGrid *self);

self :

Returns :


nbtk_grid_set_column_gap ()

void                nbtk_grid_set_column_gap            (NbtkGrid *self,
                                                         ClutterUnit value);

self :

value :


nbtk_grid_get_column_gap ()

ClutterUnit         nbtk_grid_get_column_gap            (NbtkGrid *self);

self :

Returns :


nbtk_grid_set_valign ()

void                nbtk_grid_set_valign                (NbtkGrid *self,
                                                         gdouble value);

self :

value :


nbtk_grid_get_valign ()

gdouble             nbtk_grid_get_valign                (NbtkGrid *self);

self :

Returns :


nbtk_grid_set_halign ()

void                nbtk_grid_set_halign                (NbtkGrid *self,
                                                         gdouble value);

self :

value :


nbtk_grid_get_halign ()

gdouble             nbtk_grid_get_halign                (NbtkGrid *self);

self :

Returns :


nbtk_grid_set_max_stride ()

void                nbtk_grid_set_max_stride            (NbtkGrid *self,
                                                         gint value);

self :

value :


nbtk_grid_get_max_stride ()

gint                nbtk_grid_get_max_stride            (NbtkGrid *self);

self :

Returns :

Property Details

The "column-gap" property

  "column-gap"               ClutterUnit           : Read / Write / Construct

gap between columns in the layout.


The "column-major" property

  "column-major"             gboolean              : Read / Write / Construct

Do a column filling first instead of row filling first.

Default value: FALSE


The "end-align" property

  "end-align"                gboolean              : Read / Write / Construct

Right/bottom aligned rows/columns.

Default value: FALSE


The "halign" property

  "halign"                   gdouble               : Read / Write / Construct

Horizontal alignment of items within cells.

Allowed values: [0,1]

Default value: 0


The "homogenous-columns" property

  "homogenous-columns"       gboolean              : Read / Write / Construct

Should all columns have the same height?.

Default value: FALSE


The "homogenous-rows" property

  "homogenous-rows"          gboolean              : Read / Write / Construct

Should all rows have the same height?.

Default value: FALSE


The "max-stride" property

  "max-stride"               gint                  : Read / Write / Construct

Maximum number of rows or columns, depending on orientation.

Allowed values: >= 0

Default value: 0


The "row-gap" property

  "row-gap"                  ClutterUnit           : Read / Write / Construct

gap between rows in the layout.


The "valign" property

  "valign"                   gdouble               : Read / Write / Construct

Vertical alignment of items within cells.

Allowed values: [0,1]

Default value: 0