Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-3.0.gir |
C documentation: | GtkCellRendererState |
Enum : | CellRendererState |
Properties | |
---|---|
guint32 Gtk.CellRendererState.FOCUSED : 16
|
|
guint32 Gtk.CellRendererState.INSENSITIVE : 4
|
|
guint32 Gtk.CellRendererState.PRELIT : 2
|
|
guint32 Gtk.CellRendererState.SELECTED : 1
|
|
guint32 Gtk.CellRendererState.SORTED : 8
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk.CellArea
Method |
activate
(CellAreaContext context, Widget widget, RectangleInt cell_area, CellRendererState flags, gboolean edit_only)
:
gboolean
Activates area, usually by activating the currently focused
cell, however some subclasses which embed widgets in the area can also activate a widget if it currently has the focus. |
Gtk.CellArea
Method |
activate_cell
(Widget widget, CellRenderer renderer, Event event, RectangleInt cell_area, CellRendererState flags)
:
gboolean
This is used by GtkCellArea subclasses when handling events
to activate cells, the base GtkCellArea class activates cells for keyboard events for free in its own GtkCellArea->activate() implementation. |
Gtk.CellArea
Method |
event
(CellAreaContext context, Widget widget, Event event, RectangleInt cell_area, CellRendererState flags)
:
gint32
Delegates event handling to a GtkCellArea.
|
Gtk.CellArea
Method |
render
(CellAreaContext context, Widget widget, Context cr, RectangleInt background_area, RectangleInt cell_area, CellRendererState flags, gboolean paint_focus)
:
none
Renders area's cells according to area's layout onto widget at
the given coordinates. |
Gtk.CellRenderer
Method |
activate
(Event event, Widget widget, String path, RectangleInt background_area, RectangleInt cell_area, CellRendererState flags)
:
gboolean
Passes an activate event to the cell renderer for possible processing.
|
Gtk.CellRenderer
Method |
get_aligned_area
(Widget widget, CellRendererState flags, RectangleInt cell_area)
:
cairo.RectangleInt
Gets the aligned area used by cell inside cell_area.
|
Gtk.CellRenderer
Method |
Translates the cell renderer state to GtkStateFlags,
based on the cell renderer and widget sensitivity, and the given GtkCellRendererState. |
Gtk.CellRenderer
Method |
render
(Context cr, Widget widget, RectangleInt background_area, RectangleInt cell_area, CellRendererState flags)
:
none
Invokes the virtual render function of the GtkCellRenderer.
|
Gtk.CellRenderer
Method |
start_editing
(Event event, Widget widget, String path, RectangleInt background_area, RectangleInt cell_area, CellRendererState flags)
:
Gtk.CellEditable
Passes an activate event to the cell renderer for possible processing.
|