mirror of
https://github.com/aclist/dztui.git
synced 2026-11-04 00:52:06 +01:00
13 lines
317 B
Python
13 lines
317 B
Python
import gi
|
|
gi.require_version("Gtk", "3.0")
|
|
from gi.repository import Gtk # noqa E402
|
|
|
|
class LeftLabel(Gtk.Label):
|
|
def __init__(self, text: str, tooltip: str = ""):
|
|
super().__init__(
|
|
label=text,
|
|
halign=Gtk.Align.START,
|
|
)
|
|
self.set_tooltip_text(tooltip)
|
|
pass
|