Re: redrawing gtkhpaned



Can you send this glade file as well? I'm on windows right now. I
might be able to confirm the problem.

On 6/17/07, rahed <raherh gmail com> wrote:
> 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;


--
Radek

_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list






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