bsnes/hiro/gtk/widget/list-view-column.hpp

37 lines
1.1 KiB
C++

#if defined(Hiro_ListView)
namespace hiro {
struct pListViewColumn : pObject {
Declare(ListViewColumn, Object)
auto setActive() -> void;
auto setBackgroundColor(Color color) -> void;
auto setEditable(bool editable) -> void;
auto setExpandable(bool expandable) -> void;
auto setFont(const string& font) -> void override;
auto setForegroundColor(Color color) -> void;
auto setHorizontalAlignment(double alignment) -> void;
auto setIcon(const image& icon) -> void;
auto setResizable(bool resizable) -> void;
auto setText(const string& text) -> void;
auto setVerticalAlignment(double alignment) -> void;
auto setVisible(bool visible) -> void override;
auto setWidth(signed width) -> void;
auto _parent() -> pListView*;
auto _setAlignment() -> void;
GtkTreeViewColumn* gtkColumn = nullptr;
GtkWidget* gtkHeader = nullptr;
GtkWidget* gtkHeaderIcon = nullptr;
GtkWidget* gtkHeaderText = nullptr;
GtkCellRenderer* gtkCellToggle = nullptr;
GtkCellRenderer* gtkCellIcon = nullptr;
GtkCellRenderer* gtkCellText = nullptr;
};
}
#endif