[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Gtk2 1.191 (unstable) available
- From: Kevin Ryde <user42 zip com au>
- To: gtk-perl-list gnome org
- Subject: Re: Gtk2 1.191 (unstable) available
- Date: Tue, 19 Aug 2008 10:27:42 +1000
Torsten Schoenfeld <kaffeetisch gmx de> writes:
>
> * Wrap gtk_widget_hide_on_delete.
In which case in GtkWindow ...
Index: GtkWindow.xs
===================================================================
RCS file: /cvsroot/gtk2-perl/gtk2-perl-xs/Gtk2/xs/GtkWindow.xs,v
retrieving revision 1.47
diff -u -u -r1.47 GtkWindow.xs
--- GtkWindow.xs 17 Aug 2008 17:45:22 -0000 1.47
+++ GtkWindow.xs 19 Aug 2008 00:26:22 -0000
@@ -56,8 +56,8 @@
In a dialog or secondary app window you might not want to destroy but
instead just hide ready for later re-use.
- $dialog->signal_connect (delete_event =>
- sub { $dialog->hide (); TRUE; });
+ $dialog->signal_connect
+ (delete_event => \&Gtk2::Widget::hide_on_delete);
The choice between destroying or hiding is normally just a matter of
memory saved against the time to re-create, and how likely the dialog
--
An actuary can tell you how many people will die next year.
A Scicilian actuary can tell you their names and addresses too.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]