Hi all.
I've just paid a developer to build a distribution of Perl & Gtk3 & bindings for Windows ( I tried building it myself, but there were just too many issues ). It's working great, with only 2 apparent issues:Gtk3::Image->new_from_icon_name( $this_item->{icon_name}, "button" );
gtk_image_new_from_icon_name (const gchar *icon_name
,
GtkIconSize size
);
Why are some icons not being rendered? Is this a packaging issue? I see the same issue in the gtk demo apps. Also note that there is an image in the combo box that's also not being rendered. I'm hoping this is just a case of chucking a png file or 2 in the correct place now :)
Some screenshots of Linux vs Windows:
http://tesla.duckdns.org/downloads/gtk_linux.png
http://tesla.duckdns.org/downloads/gtk_windows.png
2) More disturbingly, I'm getting some errors in Windows that I don't see in Linux:The code in question here is again rendering some icons:
*** unhandled exception in callback:
*** Can't locate object method "new_from_file_at_size" via package "Gtk3::Gdk::Pixbuf" at window/browser.pm line 84.
*** ignoring at C:/strawberry/perl/site/lib/Gtk3.pm line 318.
# render icons
$self->{icons}->{CONNECTION} = Gtk3::Gdk::Pixbuf->new_from_file_at_size( $icon_folder . "/connection.png", 24, 24 );
$self->{icons}->{DATABASE} = Gtk3::Gdk::Pixbuf->new_from_file_at_size( $icon_folder . "/database.png", 24, 24 );
$self->{icons}->{TABLE} = Gtk3::Gdk::Pixbuf->new_from_file_at_size( $icon_folder . "/table.png", 24, 24 );
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list