Re: [pygtk] 2 simple ctree questions

2000-01-20 Thread Alexei Gilchrist
On Thu, 20 Jan 2000, Frederic Gobry wrote: > > * How do I put pixmap into a row? An example would be really helpful. > > See the enclosed example... BTW, does anybody know why I don't get > transparency with PNG files ? Thanks a lot! :-) I got the images, I also had problems with the transpar

Re: [pygtk] 2 simple ctree questions

2000-01-20 Thread Alexei Gilchrist
Hi, The reason I ask is that it would be nice to be able to navigate via the keyboard in a ctree so that hitting the left arrow takes you to the parent node. This would require transfering the focus to the parent node. It's easy to come up with other examples that would be useful (eg some find

Re: [pygtk] 2 simple ctree questions

2000-01-20 Thread Matt Wilson
The clist API doesn't have a function for setting it, so clearly it's not meant to be a read/write member of the structure. Matt On Thu, Jan 20, 2000 at 09:40:13PM +0100, Andreas Degert wrote: > Matt Wilson <[EMAIL PROTECTED]> writes: > > > On Thu, Jan 20, 2000 at 11:55:58AM +0100, Frederic Gob

Re: [pygtk] 2 simple ctree questions

2000-01-20 Thread Andreas Degert
Matt Wilson <[EMAIL PROTECTED]> writes: > On Thu, Jan 20, 2000 at 11:55:58AM +0100, Frederic Gobry wrote: > > Hi ! > > > > > * How do I get and set the row with the current focus (ie different > > > from the current selections)? > > > > You get the focus row with tree.focus_row... I don't know

Re: [pygtk] 2 simple ctree questions

2000-01-20 Thread Matt Wilson
The patch lives in the Python .src.rpm on Red Hat Linux 6.1. The patch is attached. On Thu, Jan 20, 2000 at 04:31:28PM +0100, Frederic Gobry wrote: > > Are you using Python 1.5.2? If so, a change in module loading libdl > > calls breaks the way imlib does image loader plugins. It's fixed > > (

Re: [pygtk] 2 simple ctree questions

2000-01-20 Thread Frederic Gobry
> Are you using Python 1.5.2? If so, a change in module loading libdl > calls breaks the way imlib does image loader plugins. It's fixed > (well, at least patched to work) in Red Hat Linux's Python 1.5.2 > packages. Do you have a reference to the actual patch, as I need to install from the sour

Re: [pygtk] 2 simple ctree questions

2000-01-20 Thread Matt Wilson
On Thu, Jan 20, 2000 at 11:55:58AM +0100, Frederic Gobry wrote: > Hi ! > > > * How do I get and set the row with the current focus (ie different > > from the current selections)? > > You get the focus row with tree.focus_row... I don't know if you can set it. Setting it shouldn't be allowed. >

Re: [pygtk] 2 simple ctree questions

2000-01-20 Thread Frederic Gobry
Hi ! > * How do I get and set the row with the current focus (ie different > from the current selections)? You get the focus row with tree.focus_row... I don't know if you can set it. > * How do I put pixmap into a row? An example would be really helpful. See the enclosed example... BTW, does

[pygtk] 2 simple ctree questions

2000-01-20 Thread Alexei Gilchrist
Hi, I'm playing around with GtkCTree but have got stuck on two points: * How do I get and set the row with the current focus (ie different from the current selections)? * How do I put pixmap into a row? An example would be really helpful. Heaps of thanks in advance, cheers, Alexei To uns