Re: flowbox missing?



> GtkFlowBox was introduced in gtk+ 3.12; maybe you have an older version installed?

[dave box ~]$ rpm -q gtk3
gtk3-3.10.9-2.fc20.x86_64

sigh... Spot on.

Thanks,
Dave M

On Sat, Nov 15, 2014 at 8:09 AM, Torsten Schoenfeld <kaffeetisch gmx de> wrote:
On 15.11.2014 11:47, Dave M wrote:
> Can't locate object method "new" via package "Gtk3::FlowBox" (perhaps
> you forgot to load "Gtk3::FlowBox"?) at flowbox_demo.pl
> <http://flowbox_demo.pl> line 26.

Works for me after this change:

-        my $image  = Gtk3::Image->new_from_stock( $b );
+        my $image  = Gtk3::Image->new_from_stock( $b, 'button' );

GtkFlowBox was introduced in gtk+ 3.12; maybe you have an older version
installed?
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list



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