gtk.editable_label
Module for [EditableLabel] class
Types 3
A gtk.editable_label.EditableLabel is a label that allows users to edit the text by switching to an “edit mode”.
gtk.editable_label.EditableLabel does not have API of its own, but it implements the gtk.editable.Editable interface.
The default bindings for activating the edit mode is to click or press the Enter key. The default bindings for leaving the edit mode are the Enter key (to save the results) or the Escape key (to cancel the editing).
CSS nodes
editablelabel[.editing]
╰── stack
├── label
╰── textgtk.editable_label.EditableLabel has a main node with the name editablelabel. When the entry is in editing mode, it gets the .editing style class.
For all the subnodes added to the text node in various situations, see gtk.text.Text.
EditableLabelGidBuilder builder() static nothrowGet builder for [gtk.editable_label.EditableLabel] Returns: New builder objectbool editing() @property nothrowGet `editing` property. Returns: This property is true while the widget is in edit mode.void editing(bool propval) @property nothrowSet `editing` property. Params: propval = This property is true while the widget is in edit mode.bool getEditing() nothrowReturns whether the label is currently in “editing mode”. Returns: true if self is currently in editing modeFluent builder implementation template for gtk.editable_label.EditableLabel
T editing(bool propval) nothrowSet `editing` property. Params: propval = This property is true while the widget is in edit mode. Returns: Builder instance for fluent chainingFluent builder for gtk.editable_label.EditableLabel