Re: treeview looks like a list not as a tree
- From: anguila <anguila gmail com>
- To: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
- Cc: "gtk-perl-list gnome org List" <gtk-perl-list gnome org>
- Subject: Re: treeview looks like a list not as a tree
- Date: Fri, 24 Jul 2009 01:17:13 +0200
Yes, in my code was here, sry, I traduced the variables to b more readable.
So the problem still exist, i defined relation with child and parent and doesnt looks like a tree..
On Thu, Jul 23, 2009 at 10:53 PM, Emmanuel Rodriguez
<emmanuel rodriguez gmail com> wrote:
Hi
I dont understand why in my treeview looks like a list and not as a tree, i have added a parent in each set and the child doesnt added:
and there in a piece of code i use that:
...
my $obj= $tree_store->append(undef);
$tree_store->set($obj,0=>$def_link, 1=>$logo_server);
my $child= $tree_store->append($obj);
Try to see if you replace this line:
$tree_store->set($fill,0=>"CHILD",1=>$logo_server);
With :
$tree_store->set($child,0=>"CHILD",1=>$logo_server);
--
Emmanuel Rodriguez
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]