Re: Closing a window to trigger the 'delete_event' signal



On Thu, 2004-07-29 at 01:44, Francois Marier wrote:

When I run that code (with the "use Gtk2 '-init';" of course), I get
the following error:

  *** unhandled exception in callback:
  ***   variable not allowed to be undef where GdkEvent is wanted at ./window-test line 14.
  ***  ignoring at ./window-test line 20.

Oh, looks like something changed in some wrapper code then.  If you use

  Gtk2::Gdk::Event -> new("nothing")

instead of undef, it should work with Gtk2 >= 1.031, though.




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