Re: [pygtk] How to get contents of TreeView selection?

2003-02-23 Thread Lars Clausen
On Sun, 23 Feb 2003, Anthony Tekatch wrote: > On Sun, 23 Feb 2003 11:35:23 -0600, Lars Clausen <[EMAIL PROTECTED]> > wrote: >> > Did you know that you can get >> > a list of each functions properties while in python like: >> > >> > $ python >> import gtk >> help (gtk.TreeSelection) [...] >

Re: [pygtk] How to get contents of TreeView selection?

2003-02-23 Thread Anthony Tekatch
On Sun, 23 Feb 2003 11:35:23 -0600, Lars Clausen <[EMAIL PROTECTED]> wrote: > > Did you know that you can get > > a list of each functions properties while in python like: > > > > $ python > import gtk > help (gtk.TreeSelection) > > Er, no, I didn't know that: > > >>> import gtk > >>> he

Re: [pygtk] How to get contents of TreeView selection?

2003-02-23 Thread Lars Clausen
[Sending this back to the mailing list, as it is of general interest] [Casting one vote for the mailing-list having Reply-To: itself] On Sun, 23 Feb 2003, Anthony Tekatch wrote: > On Sun, 23 Feb 2003 00:09:00 -0600, Lars Clausen <[EMAIL PROTECTED]> > wrote: >> The other half is complicated by the

[pygtk] Text properties.

2003-02-23 Thread Radu
Hi I have a t_tag = gtk.TextTagTable() and a t_buf = gtk.TextBuffer(t_tag). What I want to do is to add text to the TextBuffer, then I want to use a different color and different font sizes for some areas of the text. How would I do that ? TIA, Radu. -- Radu <[EMAIL PROTECTED]> It is the wea

Re: [pygtk] Gtk+ 2.0 windows 98 error

2003-02-23 Thread Cedric Gustin
At 05:16 PM 2/22/2003 +0200, Wayne Koorts wrote: I have installed pygtk on windows exactly according to the pygtk FAQ (both methods: see http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq21.002.htp) but I still get the following error when trying to run base.py (or any other example)

Re: [pygtk] Strange change in event behavior in PyGTK2

2003-02-23 Thread James Henstridge
Christian Reis wrote: Would it be correct, according to Python semantics, to pre-copy of the object then? And if so, what are the drawbacks of implementing things that way? The drawback is that a number of GTK APIs simply don't work if you copy the boxed arguments. We used to copy boxed argum

Re: [pygtk] Strange change in event behavior in PyGTK2

2003-02-23 Thread Christian Reis
On Sun, Feb 23, 2003 at 05:32:25PM +0800, James Henstridge wrote: > >behavior of event objects in PyGTK2. The sample program below connects > >to the button press, motion and release events and stores the event > >object of the button_press event in an instance variable. In the motion > >event hand

Re: [pygtk] Strange change in event behavior in PyGTK2

2003-02-23 Thread James Henstridge
Bernhard Herzog wrote: While porting Sketch to PyGTK2 I came across a strange change in the behavior of event objects in PyGTK2. The sample program below connects to the button press, motion and release events and stores the event object of the button_press event in an instance variable. In the mo