On Wed, 2003-01-29 at 19:37, Pablo Endres wrote:
> Hi guys,
> 
> I'm still porting my app from pygtk-0.6.x to pygtk-1.9x.
> I've translated the .glade files with the script, but now some of my signal handlers 
>don't work.
> 
> I have a splash screen that has a timeout, wen it dies I useed to capture the 
>gtk_widget_destroy event

  he he! You're a bit confused. The signal name is just "destroy" not
"gtk_widget_destroy".

  BTW, you are defeating the purpose of the splash screen. It makes no
sense to start the application only after the splash screen has been
released. You should:
        1. Create/show splash screen window;
        2. Initialize the application;
        3. Show the main window;
        4. while gtk.events_pending():
                gtk.main_iteration()
        5. Hide/destroy the splash screen window
        6. gtk.mainloop()


> to launch my app.  Now I get the following error:
> 
> C:\tmp\ssemamonWin32>python splash.py
> 
> ** (splash.py:584): WARNING **: could not find handler `gtk_widget_destroy'
> 
> And wen I try to run the app withput the splashscreen I get the window up but it 
>freezes, is there
> anything else that I have to have in mind?
> 
> thanks in advance
> 
> 
>                 Muchas personas creen que piensan,
>                 cuando en realidad s�lo est�n reordenando sus
>                 prejuicios.
>                                                             - William James
> 
> Pablo Endres
> Centro de Datos
> 
> GSM:  +584127347610
> Off:      +584128085690
> 
> _______________________________________________
> pygtk mailing list   [EMAIL PROTECTED]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
-- 
Gustavo Jo�o Alves Marques Carneiro
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to