Interface

Gtk-3.0GtkCellEditableInterface

Interface for implementing CellEditable. Contains only the virtual methods that need to be implemented.

interface Interface {
    vfunc_editing_done(): void;
    vfunc_remove_widget(): void;
    vfunc_start_editing(event?: Gdk.Event): void;
}

Hierarchy (View Summary)

Index

Methods

  • Emits the Gtk.CellEditable.SignalSignatures.editing_done | Gtk.CellEditable::editing-done signal.

    Returns void

  • Emits the Gtk.CellEditable.SignalSignatures.remove_widget | Gtk.CellEditable::remove-widget signal.

    Returns void

  • Begins editing on a cell_editable.

    The Gtk.CellRenderer for the cell creates and returns a Gtk.CellEditable from gtk_cell_renderer_start_editing(), configured for the Gtk.CellRenderer type.

    gtk_cell_editable_start_editing() can then set up cell_editable suitably for editing a cell, e.g. making the Esc key emit Gtk.CellEditable.SignalSignatures.editing_done | Gtk.CellEditable::editing-done.

    Note that the cell_editable is created on-demand for the current edit; its lifetime is temporary and does not persist across other edits and/or cells.

    Parameters

    • Optionalevent: Gdk.Event

      The Gdk.Event that began the editing process, or null if editing was initiated programmatically

    Returns void