RE: signals of a GtkWindow



        It's impossible to block the kill signal (SIGKILL).

        Instead you can add:

        signal(SIGTERM, <mytermsignalhandler>); ... (see the examples in
man)
and atexit (<myexithandler>);      
        

-----Original Message-----
From: Ludovic Larue [mailto:ludovic larue1 mageos com]
Sent: Tuesday 27 February 2001 11:23
To: gtk-app-devel-list gnome org
Subject: signals of a GtkWindow


Hello.                                                                
Can someone tell me what signals are emitted when i click on the      
'kill' button that is in the titlebar of a toplevel window ?          
I would like to have a popup window raised when i click on this       
button, that window would ask me the classical "save", with three     
buttons 'Yes', 'No' and 'cancel'.                                     
I currently use the destroy signal (as in the simple examples in the  
tutorial), but the main window disappears before the popup window is  
shown. I read in the reference that user defined callbacks are always 
called after default callbacks.                                       
Is there a solution ?                                                 
                                                                      
I have another question, about the "full screen" button. What signal  
does it emit ? Because I would like my window to be full screen when  
it opens.                                                             
                                                                      
Thanks in advance for your answers.                                   
                                                                      
Ludo                                                                  

**** DISCLAIMER **** 
"This e-mail and any attachments thereto may contain information 
which is confidential and/or protected by intellectual property 
rights and are intended for the sole use of the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, 
total or partial reproduction, communication or distribution in any form) 
by persons other than the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either 
by telephone or by e-mail and delete the material from any computer. 
Thank you for your cooperation."





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