Re: dialog response signal class closure



Kevin Ryde wrote:
The program below is an attempt to subclass Gtk2::Dialog and use a class
closure to get a new default response signal handler.  But it gets
response values as numbers like -5 for the button or -4 for a
delete-event, instead of the 'ok' and 'delete-event' strings which come
from an ordinary $dialog->signal_connect.  Is that meant to be so?  If
yes are there constants for GTK_RESPONSE_OK etc lurking around to test
the values against?

I filed this issue in Bugzilla so we don't forget about it:
<http://bugzilla.gnome.org/show_bug.cgi?id=549138>.

-- 
Bye,
-Torsten



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