[pygtk] How can i draw at the root window

2001-01-19 Thread Charles G Waldman
Eduardo Ferro writes: How can i draw some lines at the root_window? Here is a snippet of code I used to draw a grid on the root window: from gtk import _root_window, draw_line rw=_root_window() cm=rw.colormap yellow=cm.alloc("yellow") rgc=rw.new_gc() rgc.foreground=yellow rgc.line_width=1 w

Re: [pygtk] CTrees, ctyles and colours

2001-01-19 Thread Alexandre Fayolle
On Thu, 18 Jan 2001 [EMAIL PROTECTED] wrote: I'm trying to change the style of an entry in a CTree. I can change the font, but I'm having no luck with the colour. style.font = gtk.load_font(font) style.fg[gtk.STATE_NORMAL] = gtk.GdkColor(fg[0], fg[1], fg[2])

Re: [pygtk] Win32 Question

2001-01-19 Thread Alexandre Fayolle
On Thu, 18 Jan 2001, Steffes, Ryan wrote: Since the port on Han's page doesn't seem to come with instructions, and the one on James' page is geared toward Linux, I don't know quite what to do with the bindings I have. My problem is this, I downloaded Han's ports and stuck them in (path

RE: [pygtk] Win32 Question

2001-01-19 Thread Alexandre Fayolle
On Thu, 18 Jan 2001, Steffes, Ryan wrote: Okay, I've done both installed the gimp (which works fine) and put the gtk-1.3.dll gdk-1.3.dll and even gnu-intl.dll in windows\system\ Still giving me: C:\Tools\Pythonpython Python 1.5.2 (#0, Apr 13 1999, 10:51:12) [MSC 32 bit (Intel)] on

[pygtk] I WAS BROKE! ! Now I Earn Thousands Monthly...Here's How...

2001-01-19 Thread r_da7451
Really -- I WAS BROKE!!! And not that long ago, either. Now I don't have to worry about money ever again. Anyone can do what I'm doing and have success. I mean ANYONE! What a difference that growing check for thousands of dollars every month makes! Find out how YOU can take advantage of