gtkutil::IconTextColumn Class Reference

#include <IconTextColumn.h>

Public Member Functions

 IconTextColumn (const std::string &title, gint textCol, gint iconCol, bool useMarkup=false)
 operator GtkTreeViewColumn * ()

Private Attributes

GtkTreeViewColumn * _column

Detailed Description

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.


Constructor & Destructor Documentation

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.

Parameters:
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.


Member Function Documentation

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.


Field Documentation

GtkTreeViewColumn* gtkutil::IconTextColumn::_column [private]

Definition at line 18 of file IconTextColumn.h.

Referenced by IconTextColumn(), and operator GtkTreeViewColumn *().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2