Re: [pygtk] GtkDialog error?

2003-10-17 Thread liquid
On Friday 17 October 2003 23:33, Willy Gardiol wrote: > > Good, thanks for the help, now the point is: i do not have pygtk 1.2, where > can i find it? it seems i can find only pygtk 2.0 and 1.99 :( > In the cd-rom of your distro? :-) (redhat, mdk, suse or something like that) apt-get for knoppix

Re: [pygtk] GtkDialog error?

2003-10-17 Thread Willy Gardiol
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Good, thanks for the help, now the point is: i do not have pygtk 1.2, where can i find it? it seems i can find only pygtk 2.0 and 1.99 :( Alle Friday 17 October 2003 23:30, Jon Willeke ha scritto: > Sorry, I need to correct both suggestions. If you

Re: [pygtk] GtkDialog error?

2003-10-17 Thread Jon Willeke
Sorry, I need to correct both suggestions. If you call the require() function, you want '1.2', not '0.6': pygtk.require( '1.2' ) I got the pygtk.pth versions backwards. Your system probably defaults to gtk-2.0, whereas the script wants gtk-1.2. At 10/17/2003, Jon Willeke wrote: The GtkDial

Re: [pygtk] GtkDialog error?

2003-10-17 Thread Jon Willeke
The GtkDialog module is from PyGTK 0.6. Your system may default to PyGTK 2.0, which uses the name gtk.Dialog. If you have PyGTK 0.6 installed, you can add the following to the script (untested): import pygtk pygtk.require( '0.6' ) Alternatively, if you don't need to use PyGTK 2.0, you can

[pygtk] GtkDialog error?

2003-10-17 Thread Willy Gardiol
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! i am trying to run the "pluepin" utility from bluez, which is written in python using pygtk (i think) I get the following error every time i run it: Traceback (most recent call last): File "/bin/bluepin", line 43, in ? class Dialog(GtkDial

[pygtk] Re: Win32 install problem - import gtk fails

2003-10-17 Thread Derek Croxton
--- Gary Ruben <[EMAIL PROTECTED]> wrote: > I solved it. > I had missed the link in the FAQ to the installers at > and had tried to > install it the hard way and was probably missing some dependencies. > It's sorted now - thanks to those who made sugges

[pygtk] How change the foreground color of a entry?

2003-10-17 Thread Michel Thadeu
Hi guys! I want to know how to change the foreground color of a GtkEntry... I tried entry.set_use_markup(gtk.TRUE) and then use the pango markup to edit the color, but the entry does not have a set_use_markup method. I tried to use style setting (style['fg']=color_red) but I couldn't change the