Debian Codegraph @

hiro/gtk/widget/table-view-column.hpp

raw
1 #if defined(Hiro_TableView)
2
3 namespace hiro {
4
5 struct pTableViewColumn : pObject {
6 Declare(TableViewColumn, Object)
7
8 auto setActive() -> void;
9 auto setAlignment(Alignment alignment) -> void;
10 auto setBackgroundColor(Color color) -> void;
11 auto setEditable(bool editable) -> void;
12 auto setExpandable(bool expandable) -> void;
13 auto setFont(const Font& font) -> void override;
14 auto setForegroundColor(Color color) -> void;
15 auto setHorizontalAlignment(double) -> void {}
16 auto setIcon(const image& icon) -> void;
17 auto setResizable(bool resizable) -> void;
18 auto setSorting(Sort sorting) -> void;
19 auto setText(const string& text) -> void;
20 auto setVerticalAlignment(double) -> void {}
21 auto setVisible(bool visible) -> void override;
22 auto setWidth(s32 width) -> void;
23
24 auto _parent() -> maybe<pTableView&>;
25
26 GtkTreeViewColumn* gtkColumn = nullptr;
27 GtkWidget* gtkHeader = nullptr;
28 GtkWidget* gtkHeaderIcon = nullptr;
29 GtkWidget* gtkHeaderText = nullptr;
30 GtkWidget* gtkHeaderSort = nullptr;
31 GtkCellRenderer* gtkCellToggle = nullptr;
32 GtkCellRenderer* gtkCellIcon = nullptr;
33 GtkCellRenderer* gtkCellText = nullptr;
34 };
35
36 }
37
38 #endif