Re: expanding a ctree



On Sun, 19 May 2002, Max Moser wrote:

I got a ctree object, all works fine till now. In my code i rebuild the tree sometimes and the it is 
collapsed again.
is there a way to expand the tree in the program automaticly? is there a call for that?

from gtk-perl tutorial:

     $ctree->insert_node( $parent,
                          $sibling,
                          $text,
                          $spacing,
                          $pixmap_closed,
                          $mask_closed,
                          $pixmap_opened,
                          $mask_opened,
                          $is_leaf,
                          $expanded );

that last $expanded argument, if true (=1) adds the tree node in expanded state.

lanzz
--
$_=q<$_=q<,>;s/,/$_/;print;>;s/,/$_/;





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]