Re: [pygtk] glade & Gnome

2000-01-20 Thread Matt Wilson
We were using GNOME widgets in Eider without any problems. May be you had a build problem. On Fri, Jan 21, 2000 at 08:27:47AM +0800, Baruch Even wrote: > Hello, > > I want to use Glade to develop the UI of my app and intend to write > the app in python and ofcourse write it Gnomishly. > > I fo

Re: [pygtk] gnome-python / signal / fork

2000-01-20 Thread James Henstridge
The problem here is the way python handles unix signals asynchronously. It just sets a flag in a dummy SIGCHLD handler, then waits for a bit of python code to execute, at which point it will call the python SIGCHLD handler. This may be handled differently if python has been built with threading e

Re: [pygtk] glade & Gnome

2000-01-20 Thread Deirdre Saoirse
On Fri, 21 Jan 2000, Baruch Even wrote: > I want to use Glade to develop the UI of my app and intend to write > the app in python and ofcourse write it Gnomishly. Cool! > I found that pyGlade doesn't support Gnome objects, I would like to > know if there is a version/patch that adds support to

[pygtk] glade & Gnome

2000-01-20 Thread Baruch Even
Hello, I want to use Glade to develop the UI of my app and intend to write the app in python and ofcourse write it Gnomishly. I found that pyGlade doesn't support Gnome objects, I would like to know if there is a version/patch that adds support to Gnome or what is needed in order for me to add G

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] GTK warning in CVS version

2000-01-20 Thread Matt Wilson
On Thu, Jan 20, 2000 at 11:46:52AM -0500, Matt Wilson wrote: > > Gtk-WARNING **: invalid cast from `(unknown)' to `GnomeClient' > > I see that too. Looking into it. This is going to need a little extra work. The problem is the gnome session management client was being passed into Python land s

Re: [pygtk] GTK warning in CVS version

2000-01-20 Thread Matt Wilson
On Thu, Jan 20, 2000 at 04:57:00PM +0100, Martin Preishuber wrote: > Hi again, > > I've just build the current CVS version of gnome-python ... works > fine, except that everytime I quit any program I get some GTK warning: > > Gtk-WARNING **: invalid cast from `(unknown)' to `GnomeClient' I see

Re: [pygtk] GTK warning in CVS version

2000-01-20 Thread Matt Wilson
On Thu, Jan 20, 2000 at 04:57:00PM +0100, Martin Preishuber wrote: > Hi again, > > I've just build the current CVS version of gnome-python ... works > fine, except that everytime I quit any program I get some GTK warning: > > Gtk-WARNING **: invalid cast from `(unknown)' to `GnomeClient' I assu

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] typo in gtk.py

2000-01-20 Thread Matt Wilson
Committed, thanks. Matt On Thu, Jan 20, 2000 at 03:39:42PM +0100, Martin Preishuber wrote: > Hi, > > just found some typo in gtk.py (lines 1220--1221): > > def row_move(self, soure_row, dest_row): >^ should be source_row > _gtk.gtk_clist_row_move(self.

Re: [pygtk] How do I build from cvs sources?

2000-01-20 Thread Martin Preishuber
John Ehresman wrote: > > Hi, > > I'm trying to build from the cvs sources from the gnome cvs server in > order to test Matt's many fixes (thanks!). I've checked out the sources > and realized that I need a patched version of automake, so I went to > Cygnus's site and grabbed the cvs version of

[pygtk] GTK warning in CVS version

2000-01-20 Thread Martin Preishuber
Hi again, I've just build the current CVS version of gnome-python ... works fine, except that everytime I quit any program I get some GTK warning: Gtk-WARNING **: invalid cast from `(unknown)' to `GnomeClient' Martin -- Martin Preishuber - Student, ECLiPt Core Member, SysAdmin http://eclipt.u

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

[pygtk] typo in gtk.py

2000-01-20 Thread Martin Preishuber
Hi, just found some typo in gtk.py (lines 1220--1221): def row_move(self, soure_row, dest_row): ^ should be source_row _gtk.gtk_clist_row_move(self._o, source_row, dest_row) Martin -- Martin Preishuber - Student, ECLiPt Core Member, SysAdmin http://eclipt.un

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