gaupol.FloatingLabel¶
Source: gaupol/floatlabel.py
Anchestors: gi.overrides.Gtk.Box, gi.repository.Gtk.Box, gi.overrides.Gtk.Container, gi.repository.Gtk.Container, gi.overrides.Gtk.Widget, gi.repository.Gtk.Widget, gi.repository.GObject.InitiallyUnowned, gi.overrides.GObject.Object, gi.repository.GObject.Object, gi._gobject._gobject.GObject, builtins.object
- class gaupol.FloatingLabel¶
 
Floating label that can be overlaid on another widget.
Methods¶
- FloatingLabel.__init__()¶
 Initialize a FloatingLabel instance.
- FloatingLabel.flash_text(text, duration=6)¶
 Show label with text for duration seconds.
- FloatingLabel.get_text()¶
 Return text shown in the label.
- FloatingLabel.register_hide_event(widget, signal)¶
 Register widget‘s signal as cause to hide the label.
- FloatingLabel.set_text(text)¶
 Show text in the label.