RE: Failed to install Gtk2 module on windows

2012-07-19 Thread YangXi
I run your script. While running Makefile.PL for Glib, it claims no glib library was included: Including generated API documentation...Note (probably harmless): No library found for -lgobject-2.0Note (probably harmless): No library found for -lgthread-2.0Note (probably harmless): No library

RE: Failed to install Gtk2 module on windows

2012-07-19 Thread Martin Schlemmer
Hi, Yes, that is MakeMaker not finding .dll.a import libraries (should really try to track it down and report it at some stage). Do the same with attached script as the last (it copies the .dll.a to .a) and try again. Regards, Martin On 7/19/2012 at 2:56 PM, YangXi jianding...@msn.com

Subclassing Gtk2::Window

2012-07-19 Thread Jeffrey Ratcliffe
I'm trying to subclass Gtk2::Window with a property which decides whether to hide or destroy the window. Demo code is attached. Trapping the delete and destroy events to hide the window works, as does allowing destroy to destroy, but I can't get the delete event to destroy. What am I missing?

Re: Subclassing Gtk2::Window

2012-07-19 Thread Kevin Ryde
Jeffrey Ratcliffe jeffrey.ratcli...@gmail.com writes: Trapping the delete and destroy events to hide the window works, as does allowing destroy to destroy, but I can't get the delete event to destroy. It seems a little better for me to $widget-destroy in the delete instead of chaining up, but