#include <IconTextColumn.h>
Public Member Functions | |
IconTextColumn (const std::string &title, gint textCol, gint iconCol, bool useMarkup=false) | |
operator GtkTreeViewColumn * () | |
Private Attributes | |
GtkTreeViewColumn * | _column |
A TreeViewColumn which contains an icon and a text value, the contents of which are both retrieved from specified columns in the tree model.
Definition at line 15 of file IconTextColumn.h.
gtkutil::IconTextColumn::IconTextColumn | ( | const std::string & | title, | |
gint | textCol, | |||
gint | iconCol, | |||
bool | useMarkup = false | |||
) | [inline] |
Construct an IconTextColumn with values retrieved from the specified columns.
title | The text title of the column. | |
textCol | TreeModel column containing text to display. | |
iconCol | TreeModel column containing the icon. | |
useMarkup | Whether Pango markup should be used to set the text for the column. |
Definition at line 38 of file IconTextColumn.h.
References _column.
gtkutil::IconTextColumn::operator GtkTreeViewColumn * | ( | ) | [inline] |
Operator cast to GtkTreeViewColumn* for packing into a tree view.
Definition at line 59 of file IconTextColumn.h.
References _column.
GtkTreeViewColumn* gtkutil::IconTextColumn::_column [private] |
Definition at line 18 of file IconTextColumn.h.
Referenced by IconTextColumn(), and operator GtkTreeViewColumn *().