[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

Re: [pygtk] GDK bindings?

2000-09-01 Thread James Henstridge
On Fri, 1 Sep 2000, Martijn Faassen wrote: 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

[pygtk] GDK Bindings ?

2000-01-22 Thread Martin Preishuber
Hi there, are there any of the bindings for gdk* functions (e.g. gdk_screen_width or gdk_window_get_pointer) ? or alternatively, has anyone some idea to realize this problem: I have some gnome-applet and want to open a popup window, where the window should appear just over the icon in the

Re: [pygtk] GDK Bindings ?

2000-01-22 Thread Matt Wilson
from gtk import * print screen_width(), screen_height() you can use the get_pointer method of GtkWidget to get a (x, y) tuple of the current pointer position. On Sat, Jan 22, 2000 at 06:02:05PM +0100, Martin Preishuber wrote: Hi there, are there any of the bindings for gdk* functions (e.g.