Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.TreeViewColumn

Class TreeViewColumn

dui.ObjectG.ObjectG
        dui.DUIObject.DUIObject
                dui.TreeViewColumn.TreeViewColumn

Implemented interfaces:


public class

TreeViewColumn



The columns on the trees and tables.

Constructor Summary
public (GtkObject* gtkObject)
          Creates a new TreeViewColumn from a GtkTreeViewColumn
public ()
          Creates a new TreeViewColumn
(char header, CellRenderer renderer, char type, int column)
          Creates a new Tree view column

Methods Summary
static GType getType()
          Gets this class type
void packStart(CellRenderer cell, bit expand)
          packStart
void packEnd(CellRenderer cell, bit expand)
          packEnd
void clear()
          clear
void addAttribute(CellRenderer cell_renderer, char attribute, gint column)
          
void clearAttributes(CellRenderer cell_renderer)
          
void setSpacing(gint spacing)
          setSpacing
gint getSpacing()
          getSpacing
void setVisible(bit visible)
          setVisible
bit getVisible()
          getVisible
void setResizable(bit resizable)
          If resizable is TRUE, then the user can explicitly resize the column by grabbing the outer edge of the column button.
bit getResizable()
          gets the current resizable mode
gint getWidth()
          
gint getFixedWidth()
          getFixedWidth
void setFixedWidth(gint fixed_width)
          setFixedWidth
void setMinWidth(gint min_width)
          setMinWidth
gint getMinWidth()
          getMinWidth
void setMaxWidth(gint max_width)
          setMaxWidth
gint getMaxWidth()
          getMaxWidth
void clicked()
          clicked
void setTitle(char title)
          setTitle
String getTitle()
          getTitle
void setClicable(bit clickable)
          setClicable
bit getClickable()
          getClickable
void setWidget(Widget widget)
          setWidget
Widget getWidget()
          getWidget
void setAlignment(gfloat xalign)
          setAlignment
gfloat getAlignment()
          getAlignment
void setReorderable(bit reorderable)
          If reorderable is true, then the column can be reordered by the end user dragging the header.
bit getReorderable(bit reorderable)
          Gets if the column can be reordered by the end user dragging the header.
void setSortColumnID(gint sortColumnID)
          /* You probably only want to use gtk_tree_view_column_set_sort_column_id.
gint getSortColumnID()
          Gets the column's sort ID
void setSortIndicator(bit setting)
          Sets the sort indicator visibility
bit getSortIndicator()
          Gets if the sort indicator is visible
void setSortOrder(SortType order)
          Sets the sort order type
SortType getSortOrder()
          Gets the sort order type


getType

static GType getType()
Gets this class type

Returns:
this class type



public ctor(TreeViewColumn)(GtkObject* gtkObject)
Creates a new TreeViewColumn from a GtkTreeViewColumn

Parameters:
gtkObject - the GtkTreeViewColumn



public ctor(TreeViewColumn)()
Creates a new TreeViewColumn



ctor(TreeViewColumn)(char header, CellRenderer renderer, char type, int column)
Creates a new Tree view column

Parameters:
header - th column header text
renderer - the rederer for the column cells
type - the type of data to be displayed (shouldn't this be on the renderer?)
column - the column number

packStart

void packStart(CellRenderer cell, bit expand)
packStart

Parameters:
cell -
expand -

packEnd

void packEnd(CellRenderer cell, bit expand)
packEnd

Parameters:
cell -
expand -

clear

void clear()
clear

addAttribute

void addAttribute(CellRenderer cell_renderer, char attribute, gint column)

clearAttributes

void clearAttributes(CellRenderer cell_renderer)

setSpacing

void setSpacing(gint spacing)
setSpacing

Parameters:
spacing -

getSpacing

gint getSpacing()
getSpacing

Returns:

setVisible

void setVisible(bit visible)
setVisible

Parameters:
visible -

getVisible

bit getVisible()
getVisible

Returns:

setResizable

void setResizable(bit resizable)
If resizable is TRUE, then the user can explicitly resize the column by grabbing the outer edge of the column button.

Parameters:
resizable - the new resizable mode

getResizable

bit getResizable()
gets the current resizable mode

Returns:
the current resizable mode

getWidth

gint getWidth()

getFixedWidth

gint getFixedWidth()
getFixedWidth

Returns:

setFixedWidth

void setFixedWidth(gint fixed_width)
setFixedWidth

Parameters:
fixed_width -

setMinWidth

void setMinWidth(gint min_width)
setMinWidth

Parameters:
min_width -

getMinWidth

gint getMinWidth()
getMinWidth

Returns:

setMaxWidth

void setMaxWidth(gint max_width)
setMaxWidth

Parameters:
max_width -

getMaxWidth

gint getMaxWidth()
getMaxWidth

Returns:

clicked

void clicked()
clicked

setTitle

void setTitle(char title)
setTitle

Parameters:
title -

getTitle

String getTitle()
getTitle

Returns:

setClicable

void setClicable(bit clickable)
setClicable

Parameters:
clickable -

getClickable

bit getClickable()
getClickable

Returns:

setWidget

void setWidget(Widget widget)
setWidget

Parameters:
widget -

getWidget

Widget getWidget()
getWidget

Returns:

setAlignment

void setAlignment(gfloat xalign)
setAlignment

Parameters:
xalign -

getAlignment

gfloat getAlignment()
getAlignment

Returns:

setReorderable

void setReorderable(bit reorderable)
If reorderable is true, then the column can be reordered by the end user dragging the header.

Parameters:
reorderable - the new reorderable mode

getReorderable

bit getReorderable(bit reorderable)
Gets if the column can be reordered by the end user dragging the header.

Returns:
true if the column can be reordered by the end user dragging the header.

setSortColumnID

void setSortColumnID(gint sortColumnID)
/* You probably only want to use gtk_tree_view_column_set_sort_column_id.
The other sorting functions exist primarily to let others do their own custom sorting. Set the column's sort ID

Parameters:
sortColumnID - the new column's sort ID

getSortColumnID

gint getSortColumnID()
Gets the column's sort ID

Returns:
the column's sort ID

setSortIndicator

void setSortIndicator(bit setting)
Sets the sort indicator visibility

Parameters:
setting - the new sort indicator visibility

getSortIndicator

bit getSortIndicator()
Gets if the sort indicator is visible

Returns:
true if the sort indicator is visible

setSortOrder

void setSortOrder(SortType order)
Sets the sort order type

Parameters:
order - the new sort order type

getSortOrder

SortType getSortOrder()
Gets the sort order type

Returns:
the sort order type