The text justification: 'left', 'right', 'center', or 'fill'.
The displayed text. Invalid markup is escaped automatically when use_markup is enabled.
The contents of the label.
If the string contains [Pango XML markup][PangoMarkupFormat], you will
have to set the Gtk.Label.use_markup property to true in order for the
label to display the markup attributes. See also gtk_label_set_markup()
for a convenience function that sets both this property and the
Gtk.Label.use_markup property at the same time.
If the string contains underlines acting as mnemonics, you will have to
set the Gtk.Label.use_underline property to true in order for the label
to display them.
The ellipsization mode: 'none', 'start', 'middle', or 'end'.
Binds a widget property to a GObject property.
this for chaining
Connects to a GObject signal and automatically disconnects on widget destroy.
The callback is also invoked once immediately (idle) with the current state.
The GObject to observe
Callback invoked on signal emission
Optionalsignal: stringThe signal name to connect to
this for chaining
Checks whether the pointer is currently over this widget.
Optionalevent: EventOptional GDK event to use for coordinates
true if the pointer is within the widget bounds
Registers a keyboard shortcut on this widget.
Can be called with just a key, or with modifier keys + key.
Connects a callback to a signal on this widget.
The signal name
The callback
this for chaining
Calls a callback at a regular interval, automatically stopping on widget destroy.
Interval in milliseconds
The callback to invoke
this for chaining
Sets inline CSS on this widget, wrapping in * { ... } if needed.
CSS string
Adds or removes a CSS class name.
The CSS class name
Optionalcondition: booleanIf true (default), adds the class; if false, removes it
OptionalattributeOptionalcursorReadonlyis_Whether this widget has been destroyed.
A widget that displays a text string with optional markup and ellipsization.