Hi,
in the app I am writing using Glade there are a few windows (such as
file selector) that
are created as hidden and on clicking on the relevant menu option
the show() method is called on them
If I close those using the standard button (Cancel or Open) then
everything works fine and I can open
On Mon, 2008-04-21 at 09:40 +0300, Gabor Szabo wrote:
How can I make sure that when the [x] is clicked the window only gets
hidden and not destroyed?
use the delete-event signal and hide it inside the handler:
$dialog-signal_connect(delete_event = sub { $dialog-hide(); TRUE; });
ciao,
On Mon, 2008-04-21 at 12:16 +0300, Gabor Szabo wrote:
I added an AboutDialog that I can close already using the [x] but I could not
find what is the event triggered when clicking on the Close button.
Glade says it is a GtkHButtonBox but it does not show details of the
button inside.
14 MB, music.
http://khemir.net/files_for_download/BRI_Flytrap-and-AsciiO.avi
29 MB, presentation
http://khemir.net/files_for_download/AsciiO_0_96.avi
Cheers, Nadim.
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
On Mon, Apr 21, 2008 at 10:09 AM, Emmanuele Bassi [EMAIL PROTECTED] wrote:
On Mon, 2008-04-21 at 09:40 +0300, Gabor Szabo wrote:
How can I make sure that when the [x] is clicked the window only gets
hidden and not destroyed?
use the delete-event signal and hide it inside the handler:
On Mon, Apr 21, 2008 at 12:25 PM, Emmanuele Bassi [EMAIL PROTECTED] wrote:
On Mon, 2008-04-21 at 12:16 +0300, Gabor Szabo wrote:
I added an AboutDialog that I can close already using the [x] but I could
not
find what is the event triggered when clicking on the Close button.
Glade
I added an AboutDialog that I can close already using the [x] but I could not
find what is the event triggered when clicking on the Close button.
Glade says it is a GtkHButtonBox but it does not show details of the
button inside.
Gabor
___