GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Gtk2::TreeView(3) User Contributed Perl Documentation Gtk2::TreeView(3)

Gtk2::TreeView - wrapper for GtkTreeView

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::TreeView

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable

$model (Gtk2::TreeModel)

$model (Gtk2::TreeModel)

$column (Gtk2::TreeViewColumn)

  • $path (Gtk2::TreePath or undef)
  • $column (Gtk2::TreeViewColumn or undef)

  • $path (Gtk2::TreePath or undef)
  • $column (Gtk2::TreeViewColumn or undef)

$path (Gtk2::TreePath)

  • $func (scalar)
  • $data (scalar)

$n (integer)

Returns an array of columns.

  • $bx (integer)
  • $by (integer)

Since: gtk+ 2.12

  • $bx (integer)
  • $by (integer)

Since: gtk+ 2.12

  • $tx (integer)
  • $ty (integer)

Since: gtk+ 2.12

  • $tx (integer)
  • $ty (integer)

Since: gtk+ 2.12

  • $wx (integer)
  • $wy (integer)

Since: gtk+ 2.12

  • $wx (integer)
  • $wy (integer)

Since: gtk+ 2.12

$path (Gtk2::TreePath)

Returns the Gtk2::TreePath and Gtk2::TreeViewColumn of the cell with the keyboard focus cursor. Either may be undef.

  • $path (Gtk2::TreePath)
  • $focus_column (Gtk2::TreeViewColumn or undef)
  • $focus_cell (Gtk2::CellRenderer or undef)
  • $start_editing (boolean)

Since: gtk+ 2.2

  • $path (Gtk2::TreePath)
  • $focus_column (Gtk2::TreeViewColumn or undef)
  • $start_editing (boolean)

  • $drag_x (integer)
  • $drag_y (integer)

  • $path (Gtk2::TreePath or undef)
  • $pos (Gtk2::TreeViewDropPosition)

  • $actions (Gtk2::Gdk::DragAction)
  • ... (list) of Gtk2::TargetEntry's

  • $start_button_mask (Gtk2::Gdk::ModifierType)
  • $actions (Gtk2::Gdk::DragAction)
  • ... (list) of Gtk2::TargetEntry's

$enable_search (boolean)

Since: gtk+ 2.10

$enabled (boolean)

Since: gtk+ 2.10

  • $path (Gtk2::TreePath)
  • $open_all (boolean)

$path (Gtk2::TreePath)

Since: gtk+ 2.2

$column (Gtk2::TreeViewColumn or undef)

Since: gtk+ 2.6

$enable (boolean)

Since: gtk+ 2.6

Since: gtk+ 2.10

$grid_lines (Gtk2::TreeViewGridLines)

Since: gtk+ 2.10

$adjustment (Gtk2::Adjustment or undef)

Since: gtk+ 2.10

$setting (boolean)

$headers_visible (boolean)

Since: gtk+ 2.6

$expand (boolean)

Since: gtk+ 2.6

Since: gtk+ 2.6

$hover (boolean)

Since: gtk+ 2.6

  • $column (Gtk2::TreeViewColumn)
  • $position (integer)

  • $position (integer)
  • $title (string)
  • $cell (Gtk2::CellRenderer)
  • ... (list)

  • $position (integer)
  • $title (string)
  • $cell (Gtk2::CellRenderer)
  • $func (subroutine)
  • $data (scalar)

Insert a column that calls $func every time it needs to fetch the data for a cell. $func will get a cell renderer, the tree model, and the iter of the row in question, and should set the proper value into the cell renderer.

Since: gtk+ 2.12

Since: gtk+ 2.12

$indentation (integer)

Since: gtk+ 2.12

  • $func (scalar)
  • $data (scalar)

$model (Gtk2::TreeModel or undef)

  • $column (Gtk2::TreeViewColumn)
  • $base_column (Gtk2::TreeViewColumn or undef)

  • $x (integer)
  • $y (integer)

Finds the path at the point ($x, $y ), relative to widget coordinates. That is, $x and $y are relative to an event's coordinates. $x and $y must come from an event on the $tree_view only where "$event->window == $tree_view->get_bin_window". It is primarily for things like popup menus. In scalar context, returns the Gtk2::TreePath, in array context, adds the Gtk2::TreeViewColumn, and $x and $y translated to be relative to the cell. This function is only meaningful if $tree_view is realized.

$column (Gtk2::TreeViewColumn)

$reorderable (boolean)

  • $path (Gtk2::TreePath)
  • $column (Gtk2::TreeViewColumn)

$path (Gtk2::TreePath)

  • $func (scalar)
  • $data (scalar)

Since: gtk+ 2.6

Since: gtk+ 2.10

$enable (boolean)

Since: gtk+ 2.10

$setting (boolean)

  • $path (Gtk2::TreePath or undef)
  • $column (Gtk2::TreeViewColumn or undef)
  • $use_align (boolean)
  • $row_align (double)
  • $col_align (double)

  • $tree_x (scalar)
  • $tree_y (scalar)

$column (integer)

Since: gtk+ 2.10

$entry (Gtk2::Entry or undef)

Since: gtk+ 2.10

  • $func (subroutine)
  • $data (scalar)

  • $func (scalar)
  • $user_data (scalar)

Pass undef for the func to restore the default search position function.

Since: gtk+ 2.10

Since: gtk+ 2.12

$enabled (boolean)

Since: gtk+ 2.12

  • $tooltip (Gtk2::Tooltip)
  • $path (Gtk2::TreePath)
  • $column (Gtk2::TreeViewColumn)
  • $cell (Gtk2::CellRenderer)

Since: gtk+ 2.12

Since: gtk+ 2.12

$column (integer)

Since: gtk+ 2.12

  • $x (integer)
  • $y (integer)
  • $keyboard_tip (boolean)

Since: gtk+ 2.12

  • $tooltip (Gtk2::Tooltip)
  • $path (Gtk2::TreePath)

Since: gtk+ 2.12

  • $tx (integer)
  • $ty (integer)

$adjustment (Gtk2::Adjustment or undef)

Since: gtk+ 2.8

  • $wx (integer)
  • $wy (integer)

'enable-grid-lines' (Gtk2::TreeViewGridLines : default "none" : readable / writable / private / static-nick / static-blurb)
Whether grid lines should be drawn in the tree view
'enable-search' (boolean : default true : readable / writable / private / static-nick / static-blurb)
View allows user to search through columns interactively
'enable-tree-lines' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether tree lines should be drawn in the tree view
'expander-column' (Gtk2::TreeViewColumn : default undef : readable / writable / private / static-nick / static-blurb)
Set the column for the expander column
'fixed-height-mode' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Speeds up GtkTreeView by assuming that all rows have the same height
'hadjustment' (Gtk2::Adjustment : default undef : readable / writable / private / static-nick / static-blurb)
Horizontal Adjustment for the widget
'headers-clickable' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Column headers respond to click events
'headers-visible' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Show the column header buttons
'hover-expand' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether rows should be expanded/collapsed when the pointer moves over them
'hover-selection' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether the selection should follow the pointer
'level-indentation' (integer : default 0 : readable / writable / private / static-nick / static-blurb)
Extra indentation for each level
'model' (Gtk2::TreeModel : default undef : readable / writable / private / static-nick / static-blurb)
The model for the tree view
'reorderable' (boolean : default false : readable / writable / private / static-nick / static-blurb)
View is reorderable
'rubber-banding' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether to enable selection of multiple items by dragging the mouse pointer
'rules-hint' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Set a hint to the theme engine to draw rows in alternating colors
'search-column' (integer : default -1 : readable / writable / private / static-nick / static-blurb)
Model column to search through during interactive search
'show-expanders' (boolean : default true : readable / writable / private / static-nick / static-blurb)
View has expanders
'tooltip-column' (integer : default -1 : readable / writable / private / static-nick / static-blurb)
The column in the model containing the tooltip texts for the rows
'vadjustment' (Gtk2::Adjustment : default undef : readable / writable / private / static-nick / static-blurb)
Vertical Adjustment for the widget

'allow-rules' (boolean : default true : readable / private / static-nick / static-blurb)
Allow drawing of alternating color rows
'even-row-color' (Gtk2::Gdk::Color : default undef : readable / private / static-nick / static-blurb)
Color to use for even rows
'expander-size' (integer : default 12 : readable / private / static-nick / static-blurb)
Size of the expander arrow
'grid-line-pattern' (string : default "\1\1" : readable / private / static-nick / static-blurb)
Dash pattern used to draw the tree view grid lines
'grid-line-width' (integer : default 1 : readable / private / static-nick / static-blurb)
Width, in pixels, of the tree view grid lines
'horizontal-separator' (integer : default 2 : readable / private / static-nick / static-blurb)
Horizontal space between cells. Must be an even number
'indent-expanders' (boolean : default true : readable / private / static-nick / static-blurb)
Make the expanders indented
'odd-row-color' (Gtk2::Gdk::Color : default undef : readable / private / static-nick / static-blurb)
Color to use for odd rows
'row-ending-details' (boolean : default false : readable / private / static-nick / static-blurb)
Enable extended row background theming
'tree-line-pattern' (string : default "\1\1" : readable / private / static-nick / static-blurb)
Dash pattern used to draw the tree view lines
'tree-line-width' (integer : default 1 : readable / private / static-nick / static-blurb)
Width, in pixels, of the tree view lines
'vertical-separator' (integer : default 2 : readable / private / static-nick / static-blurb)
Vertical space between cells. Must be an even number

columns-changed (Gtk2::TreeView)
cursor-changed (Gtk2::TreeView)
boolean = expand-collapse-cursor-row (Gtk2::TreeView, boolean, boolean, boolean)
boolean = move-cursor (Gtk2::TreeView, Gtk2::MovementStep, integer)
row-activated (Gtk2::TreeView, Gtk2::TreePath, Gtk2::TreeViewColumn)
row-collapsed (Gtk2::TreeView, Gtk2::TreeIter, Gtk2::TreePath)
row-expanded (Gtk2::TreeView, Gtk2::TreeIter, Gtk2::TreePath)
boolean = select-all (Gtk2::TreeView)
boolean = select-cursor-parent (Gtk2::TreeView)
boolean = select-cursor-row (Gtk2::TreeView, boolean)
set-scroll-adjustments (Gtk2::TreeView, Gtk2::Adjustment, Gtk2::Adjustment)
boolean = start-interactive-search (Gtk2::TreeView)
boolean = test-collapse-row (Gtk2::TreeView, Gtk2::TreeIter, Gtk2::TreePath)
boolean = test-expand-row (Gtk2::TreeView, Gtk2::TreeIter, Gtk2::TreePath)
boolean = toggle-cursor-row (Gtk2::TreeView)
boolean = unselect-all (Gtk2::TreeView)

  • 'default' / 'GDK_ACTION_DEFAULT'
  • 'copy' / 'GDK_ACTION_COPY'
  • 'move' / 'GDK_ACTION_MOVE'
  • 'link' / 'GDK_ACTION_LINK'
  • 'private' / 'GDK_ACTION_PRIVATE'
  • 'ask' / 'GDK_ACTION_ASK'

  • 'shift-mask' / 'GDK_SHIFT_MASK'
  • 'lock-mask' / 'GDK_LOCK_MASK'
  • 'control-mask' / 'GDK_CONTROL_MASK'
  • 'mod1-mask' / 'GDK_MOD1_MASK'
  • 'mod2-mask' / 'GDK_MOD2_MASK'
  • 'mod3-mask' / 'GDK_MOD3_MASK'
  • 'mod4-mask' / 'GDK_MOD4_MASK'
  • 'mod5-mask' / 'GDK_MOD5_MASK'
  • 'button1-mask' / 'GDK_BUTTON1_MASK'
  • 'button2-mask' / 'GDK_BUTTON2_MASK'
  • 'button3-mask' / 'GDK_BUTTON3_MASK'
  • 'button4-mask' / 'GDK_BUTTON4_MASK'
  • 'button5-mask' / 'GDK_BUTTON5_MASK'
  • 'super-mask' / 'GDK_SUPER_MASK'
  • 'hyper-mask' / 'GDK_HYPER_MASK'
  • 'meta-mask' / 'GDK_META_MASK'
  • 'release-mask' / 'GDK_RELEASE_MASK'
  • 'modifier-mask' / 'GDK_MODIFIER_MASK'

  • 'logical-positions' / 'GTK_MOVEMENT_LOGICAL_POSITIONS'
  • 'visual-positions' / 'GTK_MOVEMENT_VISUAL_POSITIONS'
  • 'words' / 'GTK_MOVEMENT_WORDS'
  • 'display-lines' / 'GTK_MOVEMENT_DISPLAY_LINES'
  • 'display-line-ends' / 'GTK_MOVEMENT_DISPLAY_LINE_ENDS'
  • 'paragraphs' / 'GTK_MOVEMENT_PARAGRAPHS'
  • 'paragraph-ends' / 'GTK_MOVEMENT_PARAGRAPH_ENDS'
  • 'pages' / 'GTK_MOVEMENT_PAGES'
  • 'buffer-ends' / 'GTK_MOVEMENT_BUFFER_ENDS'
  • 'horizontal-pages' / 'GTK_MOVEMENT_HORIZONTAL_PAGES'

  • 'before' / 'GTK_TREE_VIEW_DROP_BEFORE'
  • 'after' / 'GTK_TREE_VIEW_DROP_AFTER'
  • 'into-or-before' / 'GTK_TREE_VIEW_DROP_INTO_OR_BEFORE'
  • 'into-or-after' / 'GTK_TREE_VIEW_DROP_INTO_OR_AFTER'

  • 'none' / 'GTK_TREE_VIEW_GRID_LINES_NONE'
  • 'horizontal' / 'GTK_TREE_VIEW_GRID_LINES_HORIZONTAL'
  • 'vertical' / 'GTK_TREE_VIEW_GRID_LINES_VERTICAL'
  • 'both' / 'GTK_TREE_VIEW_GRID_LINES_BOTH'

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.

2022-06-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.