Debian Codegraph @

hiro/gtk/widget/label.hpp

raw
1 #if defined(Hiro_Label)
2
3 namespace hiro {
4
5 struct pLabel : pWidget {
6 Declare(Label, Widget)
7
8 auto minimumSize() const -> Size override;
9 auto setAlignment(Alignment alignment) -> void;
10 auto setBackgroundColor(Color color) -> void;
11 auto setForegroundColor(Color color) -> void;
12 auto setText(const string& text) -> void;
13 auto setVisible(bool visible) -> void override;
14
15 GtkWidget* subWidget = nullptr;
16 };
17
18 }
19
20 #endif