GtkTreeViewColumn {RGtk2}R Documentation

GtkTreeViewColumn

Description

A visible column in a GtkTreeView widget

Methods and Functions

gtkTreeViewColumnNew()
gtkTreeViewColumnNewWithAttributes(title, cell, ...)
gtkTreeViewColumnPackStart(object, cell, expand = TRUE)
gtkTreeViewColumnPackEnd(object, cell, expand = TRUE)
gtkTreeViewColumnClear(object)
gtkTreeViewColumnGetCellRenderers(object)
gtkTreeViewColumnAddAttribute(object, cell.renderer, attribute, column)
gtkTreeViewColumnSetAttributes(object, cell.renderer, ...)
gtkTreeViewColumnSetCellDataFunc(object, cell.renderer, func, func.data = NULL)
gtkTreeViewColumnClearAttributes(object, cell.renderer)
gtkTreeViewColumnSetSpacing(object, spacing)
gtkTreeViewColumnGetSpacing(object)
gtkTreeViewColumnSetVisible(object, visible)
gtkTreeViewColumnGetVisible(object)
gtkTreeViewColumnSetResizable(object, resizable)
gtkTreeViewColumnGetResizable(object)
gtkTreeViewColumnSetSizing(object, type)
gtkTreeViewColumnGetSizing(object)
gtkTreeViewColumnGetWidth(object)
gtkTreeViewColumnGetFixedWidth(object)
gtkTreeViewColumnSetFixedWidth(object, fixed.width)
gtkTreeViewColumnSetMinWidth(object, min.width)
gtkTreeViewColumnGetMinWidth(object)
gtkTreeViewColumnSetMaxWidth(object, max.width)
gtkTreeViewColumnGetMaxWidth(object)
gtkTreeViewColumnClicked(object)
gtkTreeViewColumnSetTitle(object, title)
gtkTreeViewColumnGetTitle(object)
gtkTreeViewColumnSetExpand(object, expand)
gtkTreeViewColumnGetExpand(object)
gtkTreeViewColumnSetClickable(object, active)
gtkTreeViewColumnGetClickable(object)
gtkTreeViewColumnSetWidget(object, widget = NULL)
gtkTreeViewColumnGetWidget(object)
gtkTreeViewColumnSetAlignment(object, xalign)
gtkTreeViewColumnGetAlignment(object)
gtkTreeViewColumnSetReorderable(object, reorderable)
gtkTreeViewColumnGetReorderable(object)
gtkTreeViewColumnSetSortColumnId(object, sort.column.id)
gtkTreeViewColumnGetSortColumnId(object)
gtkTreeViewColumnSetSortIndicator(object, setting)
gtkTreeViewColumnGetSortIndicator(object)
gtkTreeViewColumnSetSortOrder(object, order)
gtkTreeViewColumnGetSortOrder(object)
gtkTreeViewColumnCellSetCellData(object, tree.model, iter, is.expander, is.expanded)
gtkTreeViewColumnCellGetSize(object)
gtkTreeViewColumnCellGetPosition(object, cell.renderer)
gtkTreeViewColumnCellIsVisible(object)
gtkTreeViewColumnFocusCell(object, cell)
gtkTreeViewColumnQueueResize(object)
gtkTreeViewColumnGetTreeView(object)
gtkTreeViewColumn(title, cell, ...)

Hierarchy

GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkTreeViewColumn

Interfaces

GtkTreeViewColumn implements GtkCellLayout and GtkBuildable.

Detailed Description

The GtkTreeViewColumn object represents a visible column in a GtkTreeView widget. It allows to set properties of the column header, and functions as a holding pen for the cell renderers which determine how the data in the column is displayed.

Please refer to the tree widget conceptual overview for an overview of all the objects and data types related to the tree widget and how they work together.

Structures

GtkTreeViewColumn

undocumented

Convenient Construction

gtkTreeViewColumn is the result of collapsing the constructors of GtkTreeViewColumn (gtkTreeViewColumnNew, gtkTreeViewColumnNewWithAttributes) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.

Enums and Flags

GtkTreeViewColumnSizing

The sizing method the column uses to determine its width. Please note that GTK.TREE.VIEW.COLUMN.AUTOSIZE are inefficient for large views, and can make columns appear choppy.

grow-only

Columns only get bigger in reaction to changes in the model

autosize

Columns resize to be the optimal size everytime the model changes.

fixed

Columns are a fixed numbers of pixels wide.

User Functions

GtkTreeCellDataFunc(tree.column, cell, tree.model, iter, data)

A function to set the properties of a cell instead of just using the straight mapping between the cell and the model. This is useful for customizing the cell renderer. For example, a function might get an integer from the tree.model, and render it to the "text" attribute of "cell" by converting it to its written equivilent. This is set by calling gtkTreeViewColumnSetCellDataFunc

tree.column

A

GtkTreeColumn
cell

The GtkCellRenderer that is being rendered by tree.column

tree.model

The GtkTreeModel being rendered

iter

A GtkTreeIter of the current row rendered

data

user data

Signals

clicked(treeviewcolumn, user.data)

undocumented

treeviewcolumn

the object which received the signal.

user.data

user data set when the signal handler was connected.

Properties

Author(s)

Derived by RGtkGen from GTK+ documentation

References

http://library.gnome.org/devel//gtk/GtkTreeViewColumn.html

See Also

GtkTreeView GtkTreeSelection GtkTreeSortable GtkTreeModelSort GtkListStore GtkTreeStore GtkCellRenderer GtkCellEditable GtkCellRendererPixbuf GtkCellRendererText GtkCellRendererToggle


[Package RGtk2 version 2.20.21 Index]