in reply to about liststore treeview of tkx

First of all, Tkx dosn't have a liststore or treeview. You are confusing Tkx with Gtk2.

See gtk2-perl-tut and gtk2-perl studyguide, especially Treeview


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Replies are listed 'Best First'.
Re^2: about liststore treeview of tkx
by yyqdian (Initiate) on Jan 29, 2014 at 17:03 UTC
    you are right.gtk2 glade is under.But I saw the Tkx :: ttk__treeview (): Reference:http://www.tkdocs.com/tutorial/tree.html#adding
      Would need to see code to understand what's wrong. While I haven't used TreeView specifically, tkdocs has been very good with everything else I've looked up.
         $liststore1->set($liststore1->append,1, "12", 2, "12"); Above this code is not shown. Why? Thank you very much to answer ===========================================
        use warnings; use Glib qw{ TRUE FALSE }; use Gtk2 '-init'; my $builder; my $window; # get a new builder object $builder = Gtk2::Builder->new(); $builder->add_from_file( "test.glade" ) or die "Error loading GLADE file"; $window = $builder->get_object( "window1" ) or die "Error while creating Main Window"; $liststore1 = $builder->get_object( "liststore1" ); $liststore1->set($liststore1->append,1, "12", 2, "12");