Re: [pygtk] How to draw images inside GnomeCanvas polygons?

2000-08-05 Thread James Henstridge
On Fri, 4 Aug 2000, Ben Escoto wrote: I would like to fill a GnomeCanvasItem on the GnomeCanvas with an xpm. How is this done? The Gnome User Interface API documentation says that, for instance, GnomeCanvasEllipse takes a GdkWindow object as the fill_stipple argument, and

Re: [pygtk] cschtml

2000-08-05 Thread acano
On Sat, 05 Aug 2000 01:55:53 +0200, Tom Cato Amundsen [EMAIL PROTECTED] wrote: Has anyone on this list considered making python bindings for cschtml, http://www.cscmail.net/cschtml? It is the (IMO wrongly named) GtkHTML widget ported to Gtk, without depending on all the gnome libs. Tom

Re: [pygtk] cschtml

2000-08-05 Thread Matt Wilson
public serive announcement FORKED LIBRARIES ARE BAD. Don't promote the use of them. If you have a problem with the GtkHTML requirement on gnome-print, send in a patch -- DON'T FORK IT. Jeez. /public service announcement Matt On Sat, Aug 05, 2000 at 09:48:04AM -0400, [EMAIL PROTECTED]

Re: [pygtk] cschtml

2000-08-05 Thread Tom Cato Amundsen
Matt Wilson wrote: public serive announcement FORKED LIBRARIES ARE BAD. Don't promote the use of them. If you have Forcing everybody to use gnome, is not that good either... Gnome is NICE, but sometimes you want to go with just gtk+. a problem with the GtkHTML requirement on

Re: [pygtk] cschtml

2000-08-05 Thread Matt Wilson
On Sat, Aug 05, 2000 at 06:26:22PM +0200, Tom Cato Amundsen wrote: Forcing everybody to use gnome, is not that good either... Gnome is NICE, but sometimes you want to go with just gtk+. GtkHTML isn't designed to force everyone to use GNOME. If there is a problem, it's purely technical, not

[pygtk] Threading

2000-08-05 Thread Rich Wellner
I'm having a hard time getting threading to work. Even when wrapping using threads_enter and threads_leave I can't get any but the primary thread to have an effect on the gui. Does anyone have an example of how this is supposed to work? rw2 -- I think Slashdot represents the oafish bourgeois

Re: [pygtk] How to draw images inside GnomeCanvas polygons?

2000-08-05 Thread Ben Escoto
"JH" == James Henstridge [EMAIL PROTECTED] wrote the following on Sat, 5 Aug 2000 17:04:23 +0800 (WST) I would like to fill a GnomeCanvasItem on the GnomeCanvas with an xpm. How is this done? JH A stipple is a bitmap, so unless the image is only two colours, JH I don't think this

Re: [pygtk] Threading

2000-08-05 Thread Matt Wilson
Here: from gtk import * from threading import * import time class Worker(Thread): def __init__ (self, widget): Thread.__init__(self) self.counter = 0 self.widget = widget def run (self): while 1: threads_enter()

Re: [pygtk] How to draw images inside GnomeCanvas polygons?

2000-08-05 Thread James Henstridge
On Sat, 5 Aug 2000, Ben Escoto wrote: "JH" == James Henstridge [EMAIL PROTECTED] wrote the following on Sat, 5 Aug 2000 17:04:23 +0800 (WST) I would like to fill a GnomeCanvasItem on the GnomeCanvas with an xpm. How is this done? JH A stipple is a bitmap, so unless the image