EditableLabel
Superclasses: Widget
, InitiallyUnowned
, Object
Implemented Interfaces: Accessible
, Buildable
, ConstraintTarget
, Editable
- Constructors:
EditableLabel(**properties)
new(str:str) -> Gtk.Widget
Constructors
Methods
- class EditableLabel
-
- stop_editing(commit: bool) None
Switches the label out of “editing mode”.
If
commit
isTrue
, the resulting text is kept as thetext
property value, otherwise the resulting text is discarded and the label will keep its previoustext
property value.- Parameters:
commit – whether to set the edited text on the label