Re: redrawing gtkhpaned



muppet <scott asofyet org> writes:

Can you post a screenshot and minimal code example?  (Alt+PrintScreen  
is likely your best bet.)


This is a reduced code though the widgets are generated from a glade xml
file.

use strict;
use warnings;
use Gtk2 -init;
use Gtk2::GladeXML;
use Gtk2::SimpleList;

my ($tree_view,@mycolumns,$gladexml,$slist);
$gladexml = Gtk2::GladeXML->new("D:/scripts/kminT.glade");
$gladexml->signal_autoconnect_from_package('main');
@mycolumns = ('col1','col2');
$tree_view   = $gladexml->get_widget('treeview2');
$slist = Gtk2::SimpleList->new_from_treeview($tree_view,
                                              $mycolumns[0] => 'text',
                                              $mycolumns[1] => 'text',
                                             );

Gtk2->main;

Attachment: gtkhpaned.png
Description: gtkhpaned.png



-- 
Radek


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