[pygtk] Quickly open and colse a windows due to a .hide() at start

2009-09-03 Thread Alexandre González
Hi guys!

I have an application that has two windows in the .glade: a main window and
a help window. When I run the application, the two windows are showed, so I
.hide() the help window... well.. here is the problem. Is It a good way to
do it?

In Ubuntu with gnome, (rox+xfce)... no problem! But when I test it in debian
Lenny with official repos, so I ask me if the problem could be a bug on
pygtk libraries in debian? It's the same computer, so no problem with
velocity or RAM.

Thanks!
Álex González

-- 
Please, don't send me files with extensions: .doc, .docx, .xls, .xlsx, .ppt
and/or .pptx
http://mirblu.com
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Re: [pygtk] Quickly open and colse a windows due to a .hide() at start

2009-09-03 Thread Timo
Alexandre González schreef:
 Hi guys!

 I have an application that has two windows in the .glade: a main 
 window and a help window. When I run the application, the two windows 
 are showed, so I .hide() the help window... well.. here is the 
 problem. Is It a good way to do it?
Why not set the Visible option to False in the Glade file (it's in the 
common-tab I think).
So the window isn't shown at program start and you can do a .show() when 
you need it.

Timo

 In Ubuntu with gnome, (rox+xfce)... no problem! But when I test it in 
 debian Lenny with official repos, so I ask me if the problem could be 
 a bug on pygtk libraries in debian? It's the same computer, so no 
 problem with velocity or RAM.

 Thanks!
 Álex González

 -- 
 Please, don't send me files with extensions: .doc, .docx, .xls, .xlsx, 
 .ppt and/or .pptx
 

 ___
 pygtk mailing list   pygtk@daa.com.au
 http://www.daa.com.au/mailman/listinfo/pygtk
 Read the PyGTK FAQ: http://faq.pygtk.org/

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Re: [pygtk] Quickly open and colse a windows due to a .hide() at start

2009-09-03 Thread Alexandre González
Good! It's solved... sorry, this is a stupid question because I've used
glade-3 since I develop python+pygtk, but this application is old and need
glade-2 and I've never see this option so, I think that it isn't allowed in
glade-2 ;)

Thanks for a good answer to my stupid question ;D
Álex González

2009/9/3 Timo timomli...@gmail.com

 Alexandre González schreef:

 Hi guys!

 I have an application that has two windows in the .glade: a main window
 and a help window. When I run the application, the two windows are showed,
 so I .hide() the help window... well.. here is the problem. Is It a good way
 to do it?

 Why not set the Visible option to False in the Glade file (it's in the
 common-tab I think).
 So the window isn't shown at program start and you can do a .show() when
 you need it.

 Timo


 In Ubuntu with gnome, (rox+xfce)... no problem! But when I test it in
 debian Lenny with official repos, so I ask me if the problem could be a bug
 on pygtk libraries in debian? It's the same computer, so no problem with
 velocity or RAM.

 Thanks!
 Álex González

 --
 Please, don't send me files with extensions: .doc, .docx, .xls, .xlsx,
 .ppt and/or .pptx
 

 ___
 pygtk mailing list   pygtk@daa.com.au
 http://www.daa.com.au/mailman/listinfo/pygtk
 Read the PyGTK FAQ: http://faq.pygtk.org/





-- 
Please, don't send me files with extensions: .doc, .docx, .xls, .xlsx, .ppt
and/or .pptx
http://mirblu.com
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/