Daniel Kasak wrote:
> my $sw = Gtk2::ScrolledWindow->new;
[...]
> $sw->add_with_viewport( $self->{treeview} );
BZZT!
TreeView is a natively-scrollable widget, so adding with a viewport actually
breaks some of the built-in sizing and scrolling logic. That should, instead,
be
$sw->ad
Hi all.
I've always used Gtk2::GladeXML to construct my treeviews. Now I'm
trying adding a treeview in code:
if ( $self->{vbox} ) {
my $sw = Gtk2::ScrolledWindow->new;
$sw->set_policy( "automatic", "automatic" );
$self->{vbox}->pack_start( $sw, TRUE, TRUE, 0 );
$self->{treeview}