[pygtk] GnomeCanvasGroup mysteriousness

2001-05-06 Thread Martijn Faassen
Hi there, I'm experiencing some mysterious behavior of GnomeCanvasGroup. When I try to move it at one point, it works; all sub-items move as well, as expected and desired. I then connect up the Group with an eventhandler method on an object, like: group.connect("event", self.on_event) When I

[pygtk] GDK bindings?

2000-09-01 Thread Martijn Faassen
Hi there, Yesterday I was playing with PyGTK again. Since I was doing some formatting of fonts on the canvas, eventually I was interested in getting information about the font dimensions and such. Unfortunately, much (most?) of GDK does not appear to be exposed to Python, which was a problem whe

Re: [pygtk] PyGTK and urllib

2000-07-18 Thread Martijn Faassen
James Henstridge wrote: > On Mon, 17 Jul 2000, Martijn Faassen wrote: [snip] > Unless I am mistaken, urllib is a syncronous interface, so it will not > return until it has completed the transfer. This means your application > will not process any events (mouse clicks, expose events

Re: [pygtk] PyGTK and urllib

2000-07-17 Thread Martijn Faassen
who noway wrote: [snip] > I had a similar problem. Glad to hear I'm not the only one. [snip] > I think it was during connect calls that X would become unresponsive. > The problem was fixed when I upgraded my libs. > I had originally been using gtk 1.2.1 and pygtk 0.5.12 > With gtk 1.2.7 and pyg

[pygtk] PyGTK and urllib

2000-07-17 Thread Martijn Faassen
Hi there, I've run into an odd problem with urllib.urlopen() apparently taking a *lot* more time when used through PyGTK (using LibGlade and Gnome) than when I call the same routine through python only. In fact, if I call urlopen() through the Gnome interface, *everything* in X seems to become u

Re: [pygtk] python, libglade, GtkXmHTML

2000-07-17 Thread Martijn Faassen
James Henstridge wrote: > On Mon, 17 Jul 2000, Martijn Faassen wrote: [snip] > > * do a manual .add() of a GtkXmHTML instance to a widget in my > > libglade built window. > > > > This doesn't seem to do anything. Can't even add buttons or labels

[pygtk] python, libglade, GtkXmHTML

2000-07-17 Thread Martijn Faassen
Hi there, I'm not sure if I'm on the right list here for my question. I've been playing with Glade, the python bindings to libglade and to gtk. Actually I just started playing with all of yesterday and I already have a mini application working; kudos to everyone involved! Great stuff. I ran int