gtkTreeViewNew(show = TRUE)
gtkTreeViewGetLevelIndentation(object)
gtkTreeViewGetShowExpanders(object)
gtkTreeViewSetLevelIndentation(object, indentation)
gtkTreeViewSetShowExpanders(object, enabled)
gtkTreeViewNewWithModel(model = NULL, show = TRUE)
gtkTreeViewGetModel(object)
gtkTreeViewSetModel(object, model = NULL)
gtkTreeViewGetSelection(object)
gtkTreeViewGetHadjustment(object)
gtkTreeViewSetHadjustment(object, adjustment)
gtkTreeViewGetVadjustment(object)
gtkTreeViewSetVadjustment(object, adjustment)
gtkTreeViewGetHeadersVisible(object)
gtkTreeViewSetHeadersVisible(object, headers.visible)
gtkTreeViewColumnsAutosize(object)
gtkTreeViewGetHeadersClickable(object)
gtkTreeViewSetHeadersClickable(object, active)
gtkTreeViewSetRulesHint(object, setting)
gtkTreeViewGetRulesHint(object)
gtkTreeViewAppendColumn(object, column)
gtkTreeViewRemoveColumn(object, column)
gtkTreeViewInsertColumn(object, column, position)
gtkTreeViewInsertColumnWithAttributes(object, position, title, cell, ...)
gtkTreeViewInsertColumnWithDataFunc(object, position, title, cell, func, data = NULL)
gtkTreeViewGetColumn(object, n)
gtkTreeViewGetColumns(object)
gtkTreeViewMoveColumnAfter(object, column, base.column = NULL)
gtkTreeViewSetExpanderColumn(object, column)
gtkTreeViewGetExpanderColumn(object)
gtkTreeViewSetColumnDragFunction(object, func, user.data = NULL)
gtkTreeViewScrollToPoint(object, tree.x, tree.y)
gtkTreeViewScrollToCell(object, path, column = NULL, use.align = FALSE, row.align = 0, col.align = 0)
gtkTreeViewSetCursor(object, path, focus.column = NULL, start.editing = FALSE)
gtkTreeViewSetCursorOnCell(object, path, focus.column = NULL, focus.cell = NULL, start.editing = FALSE)
gtkTreeViewGetCursor(object)
gtkTreeViewRowActivated(object, path, column)
gtkTreeViewExpandAll(object)
gtkTreeViewCollapseAll(object)
gtkTreeViewExpandToPath(object, path)
gtkTreeViewExpandRow(object, path, open.all)
gtkTreeViewCollapseRow(object, path)
gtkTreeViewMapExpandedRows(object, func, data = NULL)
gtkTreeViewRowExpanded(object, path)
gtkTreeViewSetReorderable(object, reorderable)
gtkTreeViewGetReorderable(object)
gtkTreeViewGetPathAtPos(object, x, y)
gtkTreeViewGetCellArea(object, path, column)
gtkTreeViewGetBackgroundArea(object, path, column)
gtkTreeViewGetVisibleRect(object)
gtkTreeViewGetVisibleRange(object)
gtkTreeViewGetBinWindow(object)
gtkTreeViewWidgetToTreeCoords(object, wx, wy)
gtkTreeViewTreeToWidgetCoords(object, tx, ty)
gtkTreeViewConvertBinWindowToTreeCoords(object, bx, by)
gtkTreeViewConvertBinWindowToWidgetCoords(object, bx, by)
gtkTreeViewConvertTreeToBinWindowCoords(object, tx, ty)
gtkTreeViewConvertTreeToWidgetCoords(object, tx, ty)
gtkTreeViewConvertWidgetToBinWindowCoords(object, wx, wy)
gtkTreeViewConvertWidgetToTreeCoords(object, wx, wy)
gtkTreeViewEnableModelDragDest(object, targets, actions)
gtkTreeViewEnableModelDragSource(object, start.button.mask, targets, actions)
gtkTreeViewUnsetRowsDragSource(object)
gtkTreeViewUnsetRowsDragDest(object)
gtkTreeViewSetDragDestRow(object, path, pos)
gtkTreeViewGetDragDestRow(object, path)
gtkTreeViewGetDestRowAtPos(object, drag.x, drag.y)
gtkTreeViewCreateRowDragIcon(object, path)
gtkTreeViewSetEnableSearch(object, enable.search)
gtkTreeViewGetEnableSearch(object)
gtkTreeViewGetSearchColumn(object)
gtkTreeViewSetSearchColumn(object, column)
gtkTreeViewGetSearchEqualFunc(object)
gtkTreeViewSetSearchEqualFunc(object, search.equal.func, search.user.data = NULL)
gtkTreeViewGetSearchEntry(object)
gtkTreeViewSetSearchEntry(object, entry = NULL)
gtkTreeViewGetSearchPositionFunc(object)
gtkTreeViewSetSearchPositionFunc(object, func, data)
gtkTreeViewGetFixedHeightMode(object)
gtkTreeViewSetFixedHeightMode(object, enable)
gtkTreeViewGetHoverSelection(object)
gtkTreeViewSetHoverSelection(object, hover)
gtkTreeViewGetHoverExpand(object)
gtkTreeViewSetHoverExpand(object, expand)
gtkTreeViewSetDestroyCountFunc(object, func, data = NULL)
gtkTreeViewGetRowSeparatorFunc(object)
gtkTreeViewSetRowSeparatorFunc(object, func, data = NULL)
gtkTreeViewGetRubberBanding(object)
gtkTreeViewSetRubberBanding(object, enable)
gtkTreeViewIsRubberBandingActive(object)
gtkTreeViewGetEnableTreeLines(object)
gtkTreeViewSetEnableTreeLines(object, enabled)
gtkTreeViewGetGridLines(object)
gtkTreeViewSetGridLines(object, grid.lines)
gtkTreeViewSetTooltipRow(object, tooltip, path)
gtkTreeViewSetTooltipCell(object, tooltip, path, column, cell)
gtkTreeViewGetTooltipContext(object, x, y, keyboard.tip)
gtkTreeViewGetTooltipColumn(object)
gtkTreeViewSetTooltipColumn(object, column)
gtkTreeView(model = NULL, show = TRUE)
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkTreeView
GtkBuildable
.GtkTreeModel
interface. 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. Several different coordinate systems are exposed in the GtkTreeView API.
These are: widget->window
.
gtkTreeViewConvertWidgetToBinWindowCoords
(and vice versa), for the latter gtkTreeViewConvertBinWindowToTreeCoords
(and vice versa).gtkTreeView
is the result of collapsing the constructors of GtkTreeView
(gtkTreeViewNew
, gtkTreeViewNewWithModel
) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.GtkTreeViewDropPosition
before
after
into-or-before
into-or-after
GtkTreeViewGridLines
none
horizontal
vertical
both
GtkTreeViewColumnDropFunc(tree.view, column, prev.column, next.column, data)
column
can be dropped in a
particular spot (as determined by prev.column
and next.column
). In
left to right locales, prev.column
is on the left of the potential drop
spot, and next.column
is on the right. In right to left mode, this is
reversed. This function should return TRUE
if the spot is a valid drop
spot. Please note that returning TRUE
does not actually indicate that
the column drop was made, but is meant only to indicate a possible drop
spot to the user. tree.view
GtkTreeView
column
GtkTreeViewColumn
being draggedprev.column
GtkTreeViewColumn
on one side of column
next.column
GtkTreeViewColumn
on the other side of column
data
TRUE
, if column
can be dropped in this spot GtkTreeViewMappingFunc(tree.view, path, user.data)
gtkTreeViewMapExpandedRows
. tree.view
GtkTreeView
path
user.data
GtkTreeViewSearchEqualFunc(model, column, key, iter, search.data)
model
matches
a search key string entered by the user. Note the return value
is reversed from what you would normally expect, though it
has some similarity to strcmp()
returning 0 for equal strings. model
GtkTreeModel
being searchedcolumn
gtkTreeViewSetSearchColumn
key
iter
GtkTreeIter
pointing the row of model
that should be compared
with key
.search.data
gtkTreeViewSetSearchEqualFunc
FALSE
if the row matches, TRUE
otherwise. GtkTreeViewSearchPositionFunc()
GtkTreeDestroyCountFunc()
GtkTreeViewRowSeparatorFunc(model, iter, data)
iter
should
be rendered as a separator. A common way to implement this is to have a
boolean column in the model, whose values the GtkTreeViewRowSeparatorFunc
returns. model
GtkTreeModel
iter
GtkTreeIter
pointing at a row in model
data
TRUE
if the row is a separator columns-changed(tree.view, user.data)
tree.view
user.data
cursor-changed(tree.view, user.data)
tree.view
user.data
expand-collapse-cursor-row(tree.view, user.data)
tree.view
user.data
move-cursor(tree.view, user.data)
tree.view
user.data
row-activated(tree.view, path, column, user.data)
gtkTreeViewRowActivated
is called or the user double clicks
a treeview row. It is also emitted when a non-editable row is
selected and one of the keys: Space, Shift+Space, Return or
Enter is pressed. For selection handling refer to the tree
widget conceptual overview as well as GtkTreeSelection
. tree.view
path
GtkTreePath
for the activated rowcolumn
GtkTreeViewColumn
in which the activation occurreduser.data
row-collapsed(tree.view, iter, path, user.data)
tree.view
iter
path
user.data
row-expanded(tree.view, iter, path, user.data)
tree.view
iter
path
user.data
select-all(tree.view, user.data)
tree.view
user.data
select-cursor-parent(tree.view, user.data)
tree.view
user.data
select-cursor-row(tree.view, user.data)
tree.view
user.data
set-scroll-adjustments(horizontal, vertical, user.data)
GtkScrolledWindow
will emit this signal to connect two instances
of GtkScrollbar
to the scroll directions of the GtkTreeView
. horizontal
GtkAdjustment
vertical
GtkAdjustment
user.data
start-interactive-search(tree.view, user.data)
tree.view
user.data
test-collapse-row(tree.view, iter, path, user.data)
tree.view
iter
path
user.data
FALSE
to allow collapsing, TRUE
to reject test-expand-row(tree.view, iter, path, user.data)
tree.view
iter
path
user.data
FALSE
to allow expansion, TRUE
to reject toggle-cursor-row(tree.view, user.data)
tree.view
user.data
unselect-all(tree.view, user.data)
tree.view
user.data
enable-grid-lines
[GtkTreeViewGridLines
: Read / Write]enable-search
[logical : Read / Write]enable-tree-lines
[logical : Read / Write]expander-column
[GtkTreeViewColumn
: * : Read / Write]fixed-height-mode
[logical : Read / Write]TRUE
speeds up
GtkTreeView
by assuming that all rows have the same height.
Only enable this option if all rows are the same height.
Please see gtkTreeViewSetFixedHeightMode
for more
information on this option.
Default value: FALSE Since 2.4 hadjustment
[GtkAdjustment
: * : Read / Write]headers-clickable
[logical : Read / Write]headers-visible
[logical : Read / Write]hover-expand
[logical : Read / Write]tree.view
.
Hover expansion makes rows expand or collapse if the pointer moves
over them. This mode is primarily intended for treeviews in popups, e.g.
in GtkComboBox
or GtkEntryCompletion
.
Default value: FALSE Since 2.6 hover-selection
[logical : Read / Write]tree.view
.
Hover selection makes the selected row follow the pointer.
Currently, this works only for the selection modes
GTK_SELECTION_SINGLE
and GTK_SELECTION_BROWSE
. This mode is primarily intended for treeviews in popups, e.g.
in GtkComboBox
or GtkEntryCompletion
.
Default value: FALSE Since 2.6 level-indentation
[integer : Read / Write]model
[GtkTreeModel
: * : Read / Write]reorderable
[logical : Read / Write]rubber-banding
[logical : Read / Write]rules-hint
[logical : Read / Write]search-column
[integer : Read / Write]show-expanders
[logical : Read / Write]TRUE
if the view has expanders.
Default value: TRUE Since 2.12 tooltip-column
[integer : Read / Write]vadjustment
[GtkAdjustment
: * : Read / Write]allow-rules
[logical : Read]even-row-color
[GdkColor
: * : Read]expander-size
[integer : Read]grid-line-pattern
[character : * : Read]grid-line-width
[integer : Read]horizontal-separator
[integer : Read]indent-expanders
[logical : Read]odd-row-color
[GdkColor
: * : Read]row-ending-details
[logical : Read]tree-line-pattern
[character : * : Read]tree-line-width
[integer : Read]vertical-separator
[integer : Read]GtkTreeViewColumn
GtkTreeSelection
GtkTreeSortable
GtkTreeModelSort
GtkListStore
GtkTreeStore
GtkCellRenderer
GtkCellEditable
GtkCellRendererPixbuf
GtkCellRendererText
GtkCellRendererToggle