On Thu, Jul 23, 2009 at 9:46 PM, anguila <angu...@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
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to