Nor Jaidi Tuah píše v Po 25. 01. 2010 v 07:58 +0800:
dialog.delete_event.connect (() = {dialog.hide_on_delete ();});
Perhaps you wanted return dialog.hide_on_delete (); there? I didn't do
this in a long time, bug if I recall correctly, you need to stop
delete_event by returning
dialog.delete_event.connect (() = {dialog.hide_on_delete ();});
Perhaps you wanted return dialog.hide_on_delete (); there? I didn't do
this in a long time, bug if I recall correctly, you need to stop
delete_event by returning true.
That fixes the problem. Thanks.
So that is partly a
Nor Jaidi Tuah píše v So 23. 01. 2010 v 10:39 +0800:
I don't know if this is a vala bug or I have missed something.
In the following code I'm creating a Gtk.Dialog and keeping it
handy to be shown non-modal using show(). The trouble is, after
the dialog is closed, reopening it will crash the
I don't know if this is a vala bug or I have missed something.
In the following code I'm creating a Gtk.Dialog and keeping it
handy to be shown non-modal using show(). The trouble is, after
the dialog is closed, reopening it will crash the application
with Segmentation fault no less.
Replacing