gtk.column_view_cell
Module for [ColumnViewCell] class
Types 3
gtk.column_view_cell.ColumnViewCell is used by gtk.column_view_column.ColumnViewColumn to represent items in a cell in gtk.column_view.ColumnView.
The gtk.column_view_cell.ColumnViewCells are managed by the columnview widget (with its factory) and cannot be created by applications, but they need to be populated by application code. This is done by calling gtk.column_view_cell.ColumnViewCell.setChild.
gtk.column_view_cell.ColumnViewCells exist in 2 stages:
- The unbound stage where the listitem is not currently connected to an item in the list. In that case, the gtk.column_view_cell.ColumnViewCell.item property is set to null.
- The bound stage where the listitem references an item from the list. The gtk.column_view_cell.ColumnViewCell.item property is not null.
Methods
ColumnViewCellGidBuilder builder() static nothrowGet builder for [gtk.column_view_cell.ColumnViewCell] Returns: New builder objectvoid child(gtk.widget.Widget propval) @property nothrowSet `child` property. Params: propval = Widget used for display.bool focusable() @property nothrowGet `focusable` property. Returns: If the item can be focused with the keyboard.void focusable(bool propval) @property nothrowSet `focusable` property. Params: propval = If the item can be focused with the keyboard.bool selected() @property nothrowGet `selected` property. Returns: If the item is currently selected.gtk.widget.Widget getChild() nothrowGets the child previously set via [gtk.column_view_cell.ColumnViewCell.setChild] or null if none was set. Returns: The childbool getFocusable() nothrowChecks if a list item has been set to be focusable via [gtk.column_view_cell.ColumnViewCell.setFocusable]. Returns: true if the item is focusableFluent builder implementation template for gtk.column_view_cell.ColumnViewCell
Methods
T child(gtk.widget.Widget propval) nothrowSet `child` property. Params: propval = Widget used for display. Returns: Builder instance for fluent chainingT focusable(bool propval) nothrowSet `focusable` property. Params: propval = If the item can be focused with the keyboard. Returns: Builder instance for fluent chainingFluent builder for gtk.column_view_cell.ColumnViewCell
Methods