Description Methods and Functions Hierarchy Implementations Detailed Description Structures Signals Properties Author(s) References
Interface for widgets which can are used for editing cells
gtkCellEditableStartEditing(object, event = NULL)
gtkCellEditableEditingDone(object)
gtkCellEditableRemoveWidget(object)
1 2 | GInterface
+----GtkCellEditable
|
GtkCellEditable is implemented by
GtkComboBox
, GtkComboBoxEntry
, GtkEntry
and GtkSpinButton
.
The GtkCellEditable
interface must be implemented for widgets
to be usable when editing the contents of a GtkTreeView
cell.
GtkCellEditable
undocumented
editing-done(cell.editable, user.data)
This signal is a sign for the cell renderer to update its
value from the cell.editable
.
Implementations of GtkCellEditable
are responsible for
emitting this signal when they are done editing, e.g.
GtkEntry
is emitting it when the user presses Enter.
gtkCellEditableEditingDone
is a convenience method
for emitting ::editing-done.
cell.editable
the object on which the signal was emitted
user.data
user data set when the signal handler was connected.
remove-widget(cell.editable, user.data)
This signal is meant to indicate that the cell is finished editing, and the widget may now be destroyed.
Implementations of GtkCellEditable
are responsible for
emitting this signal when they are done editing. It must
be emitted after the gtkCellEditableEditingDone
signal,
to give the cell renderer a chance to update the cell's value
before the widget is removed.
gtkCellEditableRemoveWidget
is a convenience method
for emitting ::remove-widget.
cell.editable
the object on which the signal was emitted
user.data
user data set when the signal handler was connected.
editing-canceled
[logical : Read / Write]Indicates whether editing on the cell has been canceled. Default value: FALSE Since 2.20
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gtk2/stable/GtkCellEditable.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.