Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | eos_flexy_grid_new () |
void | eos_flexy_grid_set_cell_size () |
guint | eos_flexy_grid_get_cell_size () |
void | eos_flexy_grid_set_cell_spacing () |
guint | eos_flexy_grid_get_cell_spacing () |
void | eos_flexy_grid_insert () |
gint | (*EosFlexyGridSortFunc) () |
void | eos_flexy_grid_set_sort_func () |
EosFlexyGridCell * | eos_flexy_grid_get_cell_at_coords () |
GtkWidget * | eos_flexy_grid_cell_new () |
void | eos_flexy_grid_cell_set_shape () |
EosFlexyShape | eos_flexy_grid_cell_get_shape () |
gboolean | eos_flexy_grid_cell_get_selected () |
gint | cell-size | Read / Write |
gint | cell-spacing | Read / Write |
EosFlexyShape | shape | Read / Write |
struct | EosFlexyGrid |
struct | EosFlexyGridCell |
enum | EosFlexyShape |
#define | EOS_STYLE_CLASS_FLEXY_GRID |
#define | EOS_STYLE_CLASS_FLEXY_GRID_CELL |
GEnum ╰── EosFlexyShape GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ├── GtkBin │ ╰── EosFlexyGridCell ╰── EosFlexyGrid
EosFlexyGrid implements AtkImplementorIface and GtkBuildable.
EosFlexyGridCell implements AtkImplementorIface and GtkBuildable.
The EosFlexyGrid widget provides a grid of cells in a layout controlled by the shape of the cells themselves, through the “shape” property of EosFlexyGridCell.
GtkWidget *
eos_flexy_grid_new (void
);
eos_flexy_grid_new
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
Creates a new EosFlexyGrid widget.
void eos_flexy_grid_set_cell_size (EosFlexyGrid *grid
,int size
);
eos_flexy_grid_set_cell_size
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
Sets the size of the cells of grid
.
If size
is less than 0, the default size will be used.
guint
eos_flexy_grid_get_cell_size (EosFlexyGrid *grid
);
eos_flexy_grid_get_cell_size
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
Retrieves the size of the cells of grid
.
void eos_flexy_grid_set_cell_spacing (EosFlexyGrid *grid
,int spacing
);
eos_flexy_grid_set_cell_spacing
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
Sets the spacing between each cell of grid
.
If spacing
is less than 0, the default value will be used.
guint
eos_flexy_grid_get_cell_spacing (EosFlexyGrid *grid
);
eos_flexy_grid_get_cell_spacing
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
Retrieves the cell spacing of grid
.
void eos_flexy_grid_insert (EosFlexyGrid *grid
,GtkWidget *child
,int index_
);
eos_flexy_grid_insert
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
Inserts child
inside grid
, at the given index_
. If child
is not
a EosFlexyGridCell widget, one will be implicitly created, and child
added to it.
If grid
has a sort function, the index_
is ignored.
If index_
is less than 0, the child
is appended at the end of the grid.
If index_
is 0, the child is prepended at the beginning of the grid.
gint (*EosFlexyGridSortFunc) (EosFlexyGridCell *cell_a
,EosFlexyGridCell *cell_b
,gpointer user_data
);
EosFlexyGridSortFunc
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
Type for functions that determine the sort order of two cells inside the grid.
cell_a |
first cell to compare |
|
cell_b |
second cell to compare |
|
user_data |
data passed to |
void eos_flexy_grid_set_sort_func (EosFlexyGrid *grid
,EosFlexyGridSortFunc sort_func
,gpointer data
,GDestroyNotify notify
);
eos_flexy_grid_set_sort_func
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
Sets the sorting function for grid
.
The sort_func
function compares two children of grid
, and must
return -1 if the first child should precede the second; 1, if the
first child should follow the second; or 0, if the children are
identical.
The notify
function will be called when this function is called
with a different sort_func
(or NULL
); or when the grid
widget
is destroyed.
EosFlexyGridCell * eos_flexy_grid_get_cell_at_coords (EosFlexyGrid *grid
,double x_pos
,double y_pos
);
eos_flexy_grid_get_cell_at_coords
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
Retrieves the EosFlexyGridCell at the given coordinates.
The coordinates to test must be in widget-relative space.
GtkWidget *
eos_flexy_grid_cell_new (void
);
eos_flexy_grid_cell_new
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
Creates a new EosFlexyGridCell widget.
void eos_flexy_grid_cell_set_shape (EosFlexyGridCell *cell
,EosFlexyShape shape
);
eos_flexy_grid_cell_set_shape
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
Sets the shape of the cell
. The shape
determines the amount of
space inside a EosFlexyGrid that will be assigned to the cell
.
EosFlexyShape
eos_flexy_grid_cell_get_shape (EosFlexyGridCell *cell
);
eos_flexy_grid_cell_get_shape
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
Retrieves the shape of cell
.
gboolean
eos_flexy_grid_cell_get_selected (EosFlexyGridCell *cell
);
eos_flexy_grid_cell_get_selected
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
Checks whether cell
is selected.
struct EosFlexyGrid;
EosFlexyGrid
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
This structure contains no public members.
struct EosFlexyGridCell;
EosFlexyGridCell
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
This structure contains no public members.
#define EOS_STYLE_CLASS_FLEXY_GRID "flexy-grid"
EOS_STYLE_CLASS_FLEXY_GRID
has been deprecated since version 0.2 and should not be used in newly-written code.
The EosFlexyGrid widget should not be used in newly written code
A CSS class to match a grid with flexible layout, used by EosFlexyGrid.
#define EOS_STYLE_CLASS_FLEXY_GRID_CELL "flexy-grid-cell"
EOS_STYLE_CLASS_FLEXY_GRID_CELL
has been deprecated since version 0.2 and should not be used in newly-written code.
The EosFlexyGrid widget should not be used in newly written code
A CSS class to match a cell inside a grid with flexible layout, used by EosFlexyGrid.
“cell-size”
property “cell-size” gint
The minimum size of each cell inside a EosFlexyGrid, or -1 for the default.
EosFlexyGrid:cell-size
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
Flags: Read / Write
Allowed values: >= -1
Default value: -1
“cell-spacing”
property “cell-spacing” gint
The spacing between each cell inside a EosFlexyGrid, or -1 for the default.
EosFlexyGrid:cell-spacing
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
Flags: Read / Write
Allowed values: >= -1
Default value: -1
“shape”
property“shape” EosFlexyShape
The shape of the cell.
Flags: Read / Write
Default value: EOS_FLEXY_SHAPE_SMALL
“cell-activated”
signalvoid user_function (EosFlexyGrid *grid, EosFlexyGridCell *cell, gpointer user_data)
The ::cell-activated signal is emitted each time a cell inside grid
is activated. Activation happens by clicking on a cell.
EosFlexyGrid::cell-activated
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
grid |
the EosFlexyGrid that emitted the signal |
|
cell |
the EosFlexyGridCell that was activated |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“cell-selected”
signalvoid user_function (EosFlexyGrid *grid, EosFlexyGridCell *cell, gpointer user_data)
The ::cell-selected signal is emitted each time a cell inside grid
is selected. Selection happens by hovering on a cell.
EosFlexyGrid::cell-selected
has been deprecated since version 0.2 and should not be used in newly-written code.
Use a GtkGrid instead
grid |
the EosFlexyGrid that emitted the signal |
|
cell |
the EosFlexyGridCell that was selected |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last