Virtual Method

Gtk.CellArea.activate

Declaration [src]

gboolean
activate (
  GtkCellArea* area,
  GtkCellAreaContext* context,
  GtkWidget* widget,
  const GdkRectangle* cell_area,
  GtkCellRendererState flags,
  gboolean edit_only
)

Description [src]

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.

Parameters

context GtkCellAreaContext
 

the GtkCellAreaContext in context with the current row data

 Ownership is not transferred to the callee
widget GtkWidget
 

the GtkWidget that area is rendering on

 Ownership is not transferred to the callee
cell_area const GdkRectangle*
 

the size and location of area relative to widget’s allocation

 Ownership is not transferred to the callee
flags GtkCellRendererState
 

the GtkCellRendererState flags for area for this row of data.

edit_only gboolean
 

if TRUE then only cell renderers that are GTK_CELL_RENDERER_MODE_EDITABLE will be activated.

Return value

Returns: gboolean

Whether area was successfully activated.