[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-gtk-general
Subject:    Re: [PHP-GTK] gtktreeview: record-expanded and record-collapsed callbacks
From:       "Marc Quinton" <mquinton () gmail ! com>
Date:       2007-02-23 15:49:26
Message-ID: 69ef070e0702230749x353018f2l5a5dcfd66ccd70d4 () mail ! gmail ! com
[Download RAW message or body]

On 2/23/07, antonix <antonixyz@gmx.net> wrote:
> The second argument is a gtktreeiter, the third a - so far unknown -
> array of integers.

the third parameter is the "path" as you can see in official gtk documentation :

 http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeModel.html#GtkTreePath

- as example, GtkTreeView::get_path_at_pos return such value.
- look at GtkTreeView classes, you will see some methods requiring or
returning path.

Imagine a  Tree :

 1
 2
   2.1
   2.2
 3

1 has path 0,
2 has path 1
2.1 has path 1.0
2.2 has path 1.1
3 has path 2

-- 
PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic