Interface

Gtk-3.0GtkCellEditableSignalSignatures

interface SignalSignatures {
    "editing-done": () => void;
    "remove-widget": () => void;
}

Hierarchy (View Summary)

Index
"editing-done": () => void

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

Implementations of Gtk.CellEditable are responsible for emitting this signal when they are done editing, e.g. Gtk.Entry emits this signal when the user presses Enter. Typical things to do in a handler for ::editing-done are to capture the edited value, disconnect the cell_editable from signals on the Gtk.CellRenderer, etc.

gtk_cell_editable_editing_done() is a convenience method for emitting Gtk.CellEditable.SignalSignatures.editing_done | Gtk.CellEditable::editing-done.

"remove-widget": () => void

This signal is meant to indicate that the cell is finished editing, and the cell_editable widget is being removed and may subsequently be destroyed.

Implementations of Gtk.CellEditable are responsible for emitting this signal when they are done editing. It must be emitted after the Gtk.CellEditable.SignalSignatures.editing_done | Gtk.CellEditable::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 Gtk.CellEditable.SignalSignatures.remove_widget | Gtk.CellEditable::remove-widget.