[pygtk] Is it possible to draw rectangle CANVASES via BUTTONS?

2002-06-10 Thread slim shady
Hi, everyone... Im having trouble of drawing a rectangular canvas via a BUTTON.i can draw the canvases without a button, simply drawing with a mouse. But i want control of adding and deleting rectangular canvases. I hope this makes sense If not then i can e-mail the codewhich mig

Re: [pygtk] Scrollbar events and GtkText

2002-06-10 Thread Andrew Reid
On Mon, Jun 10, 2002 at 11:34:04AM -0400, Shandy Brown wrote: > On Mon, 2002-06-10 at 11:13, Andrew Reid wrote: > > I am working on a "console" window for my application, trying to provide > > a place where users can have arbitrary Python commands interpreted in the > > application's namespace.

Re: [pygtk] Scrollbar events and GtkText

2002-06-10 Thread Shandy Brown
On Mon, 2002-06-10 at 11:13, Andrew Reid wrote: > I am working on a "console" window for my application, trying to provide > a place where users can have arbitrary Python commands interpreted in the > application's namespace. This is a "shell-like" interface, as opposed > to an editor-like inte

[pygtk] Scrollbar events and GtkText

2002-06-10 Thread Andrew Reid
Greetings! I am working on a "console" window for my application, trying to provide a place where users can have arbitrary Python commands interpreted in the application's namespace. This is a "shell-like" interface, as opposed to an editor-like interface -- new text gets added to the botto

[pygtk] question about cyclic referencing GObjects

2002-06-10 Thread Arjan Molenaar
Hi, I have a small question about references. The problem is the DiaCanvas. each canvas item can hold a bunch of sub-items and each canvas item has it's own wrapper object. In combination with some data objects written in Python cyclic references could occur. Normally this would not be a problem