11.35Class GtkCellEditable

Interface for widgets which can are used for editing cells

Class GtkCellEditable

The GtkCellEditable interface must be implemented for widgets to be usable when editing the contents of a GtkTreeView cell.

Methods
editing_doneEmits the "editing-done" signal.
remove_widgetEmits the "remove-widget" signal.
signal_editing_doneThis signal is a sign for the cell renderer to update its value from the cell_editable.
signal_remove_widgetThis signal is meant to indicate that the cell is finished editing, and the widget may now be destroyed.
start_editingBegins editing on a cell_editable.

Methods

editing_done

Emits the "editing-done" signal.

GtkCellEditable.editing_done()

remove_widget

Emits the "remove-widget" signal.

GtkCellEditable.remove_widget()

signal_editing_done

This signal is a sign for the cell renderer to update its value from the cell_editable.

GtkCellEditable.signal_editing_done()

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.

gtk_cell_editable_editing_done() is a convenience method for emitting GtkCellEditable::editing-done.

signal_remove_widget

This signal is meant to indicate that the cell is finished editing, and the widget may now be destroyed.

GtkCellEditable.signal_remove_widget()

Implementations of GtkCellEditable are responsible for emitting this signal when they are done editing. It must be emitted after the "editing-done" signal, to give the cell renderer a chance to update the cell's value before the widget is removed.

gtk_cell_editable_remove_widget() is a convenience method for emitting GtkCellEditable::remove-widget.

start_editing

Begins editing on a cell_editable.

GtkCellEditable.start_editing( event )
event A GdkEvent, or NULL.

event is the GdkEvent that began the editing process. It may be NULL, in the instance that editing was initiated through programatic means.

Made with http://www.falconpl.org