Virtual Method
GtkCellRendererstart_editing
Declaration [src]
GtkCellEditable*
start_editing (
GtkCellRenderer* cell,
GdkEvent* event,
GtkWidget* widget,
const char* path,
const GdkRectangle* background_area,
const GdkRectangle* cell_area,
GtkCellRendererState flags
)
Description [src]
Starts editing the contents of this cell, through a new GtkCellEditable
widget created by the GtkCellRendererClass.start_editing virtual function.
Parameters
event-
Type:
GdkEventA
GdkEventThe argument can be NULL.The data is owned by the caller of the function. widget-
Type:
GtkWidgetWidget that received the event.
The data is owned by the caller of the function. path-
Type:
const char*Widget-dependent string representation of the event location; e.g. for
GtkTreeView, a string representation ofGtkTreePathThe data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. background_area-
Type:
GdkRectangleBackground area as passed to
gtk_cell_renderer_render()The data is owned by the caller of the function. cell_area-
Type:
GdkRectangleCell area as passed to
gtk_cell_renderer_render()The data is owned by the caller of the function. flags-
Type:
GtkCellRendererStateRender flags.
Return value
Type: GtkCellEditable
A new GtkCellEditable for editing this
cell, or NULL if editing is not possible.
| The data is owned by the called function. |
The return value can be NULL. |