mirror of
https://github.com/aclist/dztui.git
synced 2026-11-04 00:52:06 +01:00
13 lines
280 B
Python
13 lines
280 B
Python
from dzgui.util.format import embolden
|
|
|
|
import gi
|
|
gi.require_version("Gtk", "3.0")
|
|
from gi.repository import Gtk # noqa E402
|
|
|
|
class BoldLabel(Gtk.Label):
|
|
def __init__(self, text: str):
|
|
super().__init__()
|
|
|
|
label = embolden(text)
|
|
self.set_markup(label)
|