vdk 2.4.0
|
Provides a wrapper for GtkTreeColumn. More...
#include <vdktreeview.h>
Provides a wrapper for GtkTreeColumn.
VDKTreeViewColumn::VDKTreeViewColumn | ( | VDKTreeView * | owner, |
int | column, | ||
char * | title = NULL , |
||
bool | editable = false , |
||
int | editcol = -1 |
||
) |
Constructor
owner | treeview owner |
column | model column number from which data should be gathered |
title | column title |
editable | if true column cells can be edited provided that related editcol cell has a true value (has meaning only if column type is G_TYPE_STRING) |
editcol | model column number that must contain boolean value that flags editable (has meaning only if editable is true) |
VDKTreeViewColumn::~VDKTreeViewColumn | ( | ) |
Destructor
void VDKTreeViewColumn::ActiveTitle | ( | bool | flag = true | ) |
Enable/Disable title, if enabled title can be selected with a click
GtkTreeViewColumn* VDKTreeViewColumn::GtkColumn | ( | ) | [inline] |
Return underlying GtkColumn
VDKTreeView* VDKTreeViewColumn::Owner | ( | ) | [inline] |
Returns column owner
GtkCellRenderer* VDKTreeViewColumn::Renderer | ( | ) | [inline] |
Returns underlying GtkRenderer
VDKReadWriteValueProp<VDKTreeViewColumn,VDKFont*> VDKTreeViewColumn::Font |
Font
VDKReadWriteValueProp<VDKTreeViewColumn,VDKRgb> VDKTreeViewColumn::Foreground |
Foreground
VDKReadWriteValueProp<VDKTreeViewColumn,VDKRgb> VDKTreeViewColumn::NormalBackground |
NormalBackground
VDKReadWriteValueProp<VDKTreeViewColumn,bool> VDKTreeViewColumn::Sortable |
Sortable
VDKReadWriteValueProp<VDKTreeViewColumn,const char*> VDKTreeViewColumn::Title |
Title
VDKReadWriteValueProp<VDKTreeViewColumn,int> VDKTreeViewColumn::Width |
Width Setting this property to a value greater than 0 sets column to a fixed size, setting to 0 makes it auto resizeable