Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-2.0.gir |
C documentation: | GtkCellLayout |
Interface : | CellLayout |
Implementations: | Gdaui.Combo, Gdaui.ProviderSelector, Gtk.CellView, Gtk.ComboBox, Gtk.ComboBoxEntry, Gtk.EntryCompletion, Gtk.IconView, Gtk.TreeViewColumn |
Show / Hide Inherited methods, properties and signals |
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 attribute is the parameter on cell to be set from the value. So for 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_cells
()
:
Array
Returns the cell renderers which have been added to cell_layout.
Returns the cell renderers which have been added to cell_layout. renderers has been newly allocated and should be freed with g_list_free() when no longer needed.
|
Gtk.CellLayout | |
pack_end
(CellRenderer cell, Boolean 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, Boolean 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, Number 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. func may be NULL to remove and older one.
|
Gtk.CellLayout |
None |