Debian Codegraph @

hiro/gtk/widget/button.hpp

raw
1 #if defined(Hiro_Button)
2
3 namespace hiro {
4
5 struct pButton : pWidget {
6 Declare(Button, Widget)
7
8 auto minimumSize() const -> Size override;
9 auto setBordered(bool bordered) -> void;
10 auto setIcon(const image& icon) -> void;
11 auto setOrientation(Orientation orientation) -> void;
12 auto setText(const string& text) -> void;
13
14 auto _doActivate() -> void;
15
16 GtkButton* gtkButton = nullptr;
17 };
18
19 }
20
21 #endif