Gtk2::TreeStore(3)

NAME
Gtk2::TreeStore

HIERARCHY
  Glib::Object
  +----Gtk2::TreeStore

INTERFACES
  Gtk2::TreeModel
  Gtk2::TreeDragSource
  Gtk2::TreeDragDest
  Gtk2::TreeSortable

METHODS

  treestore = Gtk2::TreeStore->new (...)

    * ... (list) of strings, package names

  treeiter = $tree_store->append ($parent)
    * $parent (Gtk2::TreeIter or undef)

  $tree_store->clear

  $tree_store->set_column_types (...)

    * ... (list) of strings, package names

  $tree_store->set ($iter, $col1, $val1, ...)
    * $iter (Gtk2::TreeIter)
    * $col1 (integer) the first column number
    * $val1 (scalar) the first value
    * ... (list) pairs of columns and values

  treeiter = $tree_store->insert ($parent, $position)

    * $parent (Gtk2::TreeIter or undef)
    * $position (integer)

  treeiter = $tree_store->insert_after ($parent, $sibling)

    * $parent (Gtk2::TreeIter or undef)
    * $sibling (Gtk2::TreeIter or undef)

  treeiter = $tree_store->insert_before ($parent, $sibling)

    * $parent (Gtk2::TreeIter or undef)
    * $sibling (Gtk2::TreeIter or undef)

  boolean = $tree_store->is_ancestor ($iter, $descendant)

    * $iter (Gtk2::TreeIter)
    * $descendant (Gtk2::TreeIter)

  integer = $tree_store->iter_depth ($iter)

    * $iter (Gtk2::TreeIter)

  boolean = $tree_store->iter_is_valid ($iter)
    * $iter (Gtk2::TreeIter)

  $tree_store->move_after ($iter, $position)

    * $iter (Gtk2::TreeIter)
    * $position (Gtk2::TreeIter)

  $tree_store->move_before ($iter, $position)

    * $iter (Gtk2::TreeIter)
    * $position (Gtk2::TreeIter)

  treeiter = $tree_store->prepend ($parent)

    * $parent (Gtk2::TreeIter or undef)

  boolean = $tree_store->remove ($iter)
    * $iter (Gtk2::TreeIter)

  $tree_store->reorder ($parent, ...)

    * $parent (Gtk2::TreeIter or undef)
    * ... (list) of integer's, the new_order

  $tree_store->swap ($a, $b)

    * $a (Gtk2::TreeIter)
    * $b (Gtk2::TreeIter)

  $tree_store->set_value ($iter, $col1, $val1, ...)

    * $iter (Gtk2::TreeIter)
    * $col1 (integer) the first column number
    * $val1 (scalar) the first value
    * ... (list) pairs of columns and values

    Alias for Gtk2::TreeStore::set().

SEE ALSO
Gtk2, Glib::Object

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

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