Debian Codegraph @

hiro/cocoa/widget/table-view-cell.hpp

raw
1 #if defined(Hiro_TableView)
2
3 namespace hiro {
4
5 struct pTableViewCell : pObject {
6 Declare(TableViewCell, Object)
7
8 auto setAlignment(Alignment alignment) -> void;
9 auto setBackgroundColor(Color color) -> void;
10 auto setCheckable(bool checkable) -> void;
11 auto setChecked(bool checked) -> void;
12 auto setForegroundColor(Color color) -> void;
13 auto setIcon(const image& icon) -> void;
14 auto setText(const string& text) -> void;
15
16 auto _grandparent() -> maybe<pTableView&>;
17 auto _parent() -> maybe<pTableViewItem&>;
18 auto _redraw() -> void;
19 };
20
21 }
22
23 #endif