Re: [pygtk] PNG icons not rendering correctly

2005-03-01 Thread Gabriel Munoz
On Mon, Feb 28, 2005 at 12:06:08PM -0600, Gabriel Munoz wrote: I'm experiencing a strange issue with some images I'm using for toolbar icons. They aren't rendering correctly with some versions of gtk. Here is how it looks under Mnadrake-9.2:

Re: [pygtk] no invisible cursor

2005-03-01 Thread Ionutz Borcoman
John Finlay wrote: Ionutz Borcoman wrote: Hi, The reference says: To make the cursor invisible, use gtk.gdk.Cursor() to create a cursor with no pixels in it. When I try to use it, I get an error: import gtk gtk.pygtk_version (2, 4, 1) c = gtk.gdk.Cursor() Traceback (most recent call last):

[pygtk] When was gnomeprint.pango_create_context added to the API?

2005-03-01 Thread Thomas Mills Hinkle
I have a user reporting the following error with my newest gnomeprint implentation: gnomeprint.pango_create_context(gnomeprint.pango_get_default_font_map()) AttributeError: 'module' object has no attribute 'pango_create_context' I assume this error is a result of his using an older version of

Re: [pygtk] When was gnomeprint.pango_create_context added to the API?

2005-03-01 Thread Gustavo J. A. M. Carneiro
On Tue, 2005-03-01 at 06:50 -0500, Thomas Mills Hinkle wrote: I have a user reporting the following error with my newest gnomeprint implentation: gnomeprint.pango_create_context(gnomeprint.pango_get_default_font_map()) AttributeError: 'module' object has no attribute 'pango_create_context' I

[pygtk] get the XID from gtk.Drawingarea

2005-03-01 Thread Holger Reinmann
Hello Folks, I want to write a small mplayer GUI in pygtk. The Gui contain a gtk.Drawingarea in that mplayer should display the video. For this I need the XID from the Drawingarea. How do i get this? I have read the tutorial and the reference very often but it don't work. I also read the

Re: [pygtk] Simple questions

2005-03-01 Thread Johan Dahlin
Eric Jardim wrote: Hi, I am a little new to gtk+2.0 bindings to Python and I have a few questions. Context: I want to develop Free Software applications with the Gtk toolkit using the Python bindings. Not only this, I want to use some of its extensions like the Libglade, Gnome, the GnomeCanvas

Re: [pygtk] Where is gnome-python?

2005-03-01 Thread Murray Cumming
On Mon, 2005-02-28 at 21:47 -0700, Elijah Newren wrote: On Tue, 1 Mar 2005 01:31:31 -0300, Eric Jardim [EMAIL PROTECTED] wrote: Why does gnome-python and other specific bindings besides PyGTK do not appear on this page on the GNOME project? http://www.gnome.org/start/2.9/bindings/#python

Re: [pygtk] Where is gnome-python?

2005-03-01 Thread Gustavo J. A. M. Carneiro
On Tue, 2005-03-01 at 14:26 +0100, Murray Cumming wrote: On Mon, 2005-02-28 at 21:47 -0700, Elijah Newren wrote: On Tue, 1 Mar 2005 01:31:31 -0300, Eric Jardim [EMAIL PROTECTED] wrote: Why does gnome-python and other specific bindings besides PyGTK do not appear on this page on the GNOME

Re: [pygtk] Where is gnome-python?

2005-03-01 Thread Murray Cumming
On Tue, 2005-03-01 at 13:33 +, Gustavo J. A. M. Carneiro wrote: On Tue, 2005-03-01 at 14:26 +0100, Murray Cumming wrote: On Mon, 2005-02-28 at 21:47 -0700, Elijah Newren wrote: On Tue, 1 Mar 2005 01:31:31 -0300, Eric Jardim [EMAIL PROTECTED] wrote: Why does gnome-python and other

Re: [pygtk] get the XID from gtk.Drawingarea

2005-03-01 Thread Rafael Villar Burke
Holger Reinmann wrote: Hello Folks, I want to write a small mplayer GUI in pygtk. The Gui contain a gtk.Drawingarea in that mplayer should display the video. For this I need the XID from the Drawingarea. How do i get this? I have read the tutorial and the reference very often but it don't work.

[pygtk] [announce] gSmile 0.1.0 released

2005-03-01 Thread Federico Pelloni
Hi everybody I'm so glad to announce the first public release of gSmile: gSmile 0.1.0 *gSmile* is an open-source emoticon manager, that is a nice piece of software that helps you to keep your emoticons and smilies organized and to find them quickly whenever you need one of them. It supports

[pygtk] Flushing pending non-idle events

2005-03-01 Thread Franck Pommereau
Hi all, Before to perform some long computation, I would like to commit all the pending events (and in particular the one which changes the mouse cursor to a clock), so I use: while gtk.events_pending() : gtk.main_iteration(gtk.FALSE) Unfortunately, if I used

Re: [pygtk] Flushing pending non-idle events

2005-03-01 Thread David Eriksson
On Tue, 2005-03-01 at 16:49 +0100, Franck Pommereau wrote: Hi all, Before to perform some long computation, I would like to commit all the pending events (and in particular the one which changes the mouse cursor to a clock), so I use: while gtk.events_pending() :

[pygtk] codegen and const object args

2005-03-01 Thread Gert Wollny
Hello, I'm playing around with the code generator to create bindings for some GObject derived classes. Since I have some functions like I have a class called MiaVector3d and amongst others a method gfloat mia_vector3d_dot(const MiaVector3d *a, const MiaVector3d *b); In the original codegen

[pygtk] Focus Cycling

2005-03-01 Thread Paul Malherbe
Hello I posted a similar query earlier but I think I phrased it badly. What I am wanting to do is to disable the focus cycling facility of the TAB key. I do realise that I can use the unset_flags option to disable focus on a widget but this also disables explicit focus on that widget. I would

Re: [pygtk] Focus Cycling

2005-03-01 Thread Gian Mario Tagliaretti
On Tue, 1 Mar 2005 21:55:22 +0200 (SAST), Paul Malherbe [EMAIL PROTECTED] wrote: What I am wanting to do is to disable the focus cycling facility of the TAB key. I think you should connect a key_press_event signal to the main window self.win.connect(key_press_event, self.doKeyPress) and