Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-3.0.gir |
C documentation: | GtkCellLayout |
Interface : | CellLayout |
Implementations: | GWeather.TimezoneMenu, Gtk.AppChooserButton, Gtk.CellArea, Gtk.CellAreaBox, Gtk.CellView, Gtk.ComboBox, Gtk.ComboBoxText, Gtk.EntryCompletion, Gtk.IconView, Gtk.TreeViewColumn |
None |
Method / Constructor | Defined By | |
---|---|---|
Adds an attribute mapping to the list in cell_layout.
Adds an attribute mapping to the list in cell_layout.
The column is the column of the model to get a value from, and the example if column 2 of the model contains strings, you could have the "text" attribute of a GtkCellRendererText get its values from column 2.
|
Gtk.CellLayout | |
clear
()
:
none
Unsets all the mappings on all renderers on cell_layout and
removes all renderers from cell_layout.
Unsets all the mappings on all renderers on cell_layout and
removes all renderers from cell_layout.
|
Gtk.CellLayout | |
clear_attributes
(CellRenderer cell)
:
none
Clears all existing attributes previously set with
gtk_cell_layout_set_attributes().
Clears all existing attributes previously set with
gtk_cell_layout_set_attributes().
|
Gtk.CellLayout | |
get_area
()
:
Gtk.CellArea
Returns the underlying GtkCellArea which might be cell_layout
if called on a GtkCellArea or might be NULL if no GtkCellArea is used by cell_layout.
Returns the underlying GtkCellArea which might be cell_layout
if called on a GtkCellArea or might be NULL if no GtkCellArea is used by cell_layout.
|
Gtk.CellLayout | |
get_cells
()
:
Array
Returns the cell renderers which have been added to cell_layout.
Returns the cell renderers which have been added to cell_layout.
a list of cell renderers. The list, but not the renderers has been newly allocated and should be freed with g_list_free() when no longer needed.
|
Gtk.CellLayout | |
pack_end
(CellRenderer cell, gboolean expand)
:
none
Adds the cell to the end of cell_layout.
Adds the cell to the end of cell_layout. If expand is FALSE, then the
divided evenly between cells for which expand is TRUE. Note that reusing the same cell renderer is not supported.
|
Gtk.CellLayout | |
pack_start
(CellRenderer cell, gboolean expand)
:
none
Packs the cell into the beginning of cell_layout.
Packs the cell into the beginning of cell_layout. If expand is FALSE,
then the cell is allocated no more space than it needs. Any unused space is divided evenly between cells for which expand is TRUE. Note that reusing the same cell renderer is not supported.
|
Gtk.CellLayout | |
reorder
(CellRenderer cell, gint32 position)
:
none
Re-inserts cell at position.
Re-inserts cell at position.
Note that cell has already to be packed into cell_layout for this to function properly.
|
Gtk.CellLayout | |
Sets the GtkCellLayoutDataFunc to use for cell_layout.
Sets the GtkCellLayoutDataFunc to use for cell_layout.
This function is used instead of the standard attributes mapping for setting the column value, and should set the value of cell_layout's cell renderer(s) as appropriate.
|
Gtk.CellLayout |
None |