Re: [pygtk] Dialog Lifecycle?

2008-03-23 Thread steve george
Darren Hart wrote: Also, the dialog is visible by default, so part of my start -up sequence is to hide it but you can see the wm animation... so I don't think that is the right way either. Does this faq help your hide problem? http://faq.pygtk.org/index.py?req=showfile=faq22.006.htp

Re: [pygtk] confused with menu creation, manual was not clear.

2008-02-18 Thread steve george
I've been using the UI manager (under impression that was the newest way to do it) http://www.pygtk.org/pygtk2tutorial/sec-UIManager.html (uimanager.py http://www.pygtk.org/pygtk2tutorial/examples/uimanager.py from tute is good example of course I had to read through the reference

Re: [pygtk] Loading of images

2008-01-29 Thread steve george
I'd be suspecting something to do with escaped characters in your string. try something like button_image.set_from_file(uicons/dvd.png) button_image.set_from_file(uicons/video.png) have a look at http://docs.python.org/ref/strings.html [EMAIL PROTECTED] wrote: Hello, I'm a having a very

[pygtk] Using glade in large applications

2007-09-17 Thread steve george
Saw the following text at http://www.exit1.org/Gtk2-Ex-FormFactory/ RAD tools like Glade are fine for small applications but not if you want to have a consistent look and feel in bigger and modular applications Got me wondering, .. how do you all feel about using Glade for large scale

Re: [pygtk] python problem

2001-06-26 Thread Steve George
Hi, My guess is that in cut-n-pasting from the web page you have messed up the spacing. Here's what I used and it worked fine; #!/usr/bin/env python from gtk import * def hello_cb(button): print Hello World window.destroy() window = GtkWindow(WINDOW_TOPLEVEL) # create a top

Re: [pygtk] Horizontal scrolling failure

2001-06-24 Thread Steve George
for completeness. Thanks for your answer, Steve On Sun, Jun 24, 2001 at 11:10:32AM +0800, James Henstridge wrote: On Sat, 23 Jun 2001, Steve George wrote: Hi, I've been playing around with scrollbars and can't get horizontal scrolling to work. I tried playing with line and word wrapping

[pygtk] Horizontal scrolling failure

2001-06-23 Thread Steve George
Hi, I've been playing around with scrollbars and can't get horizontal scrolling to work. I tried playing with line and word wrapping but it doesn't seem to work. Here's my short test program: #!/usr/bin/env python import gtk class GUI: Form the GUI and bootstrap the application

Re: [pygtk] Password entry...

2001-06-23 Thread Steve George
Hi, If you're specifically trying to do something with ssh there is gnome_ask_pass package which does what you describe. But, assuming this is a general question my attempts below. It's just GtkEntry with the 'set_visbility' method used. The only thing I couldn't work out was how to get it to