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
╰── text[gtk.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].
EditableLabel self()Returns `this`, for use in `with` statements.EditableLabelGidBuilder builder()Get builder for [gtk.editable_label.EditableLabel] Returns: New builder objectbool editing() @propertyGet `editing` property. Returns: This property is true while the widget is in edit mode.void editing(bool propval) @propertySet `editing` property. Params: propval = This property is true while the widget is in edit mode.bool getEditing()Returns whether the label is currently in “editing mode”. Returns: true if self is currently in editing modevoid startEditing()Switches the label into “editing mode”.void stopEditing(bool commit)Switches the label out of “editing mode”.T editing(bool propval)Set `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]