Re: [pygtk] using a quit dialog

2004-11-21 Thread Christian Robottom Reis
On Sun, Nov 21, 2004 at 12:21:27AM +0100, Martijn Brouwer wrote: I am writing my first program using python + gtk + glade. I want to show dialog when the user pressed the close button of the main window. This happens, but still the mainwindow is closed, immediately, before the user has done

Re: [pygtk] GenericCellRenderer shows text vertically

2004-11-21 Thread Tim Evans
David Gil Oliva wrote: Hello! I have found the following code on the Internet. My problem is that when I run the program, MyGenericCellRenderer shows the text vertically, not horizontally. What is happening? [snip] layout.set_width(cell_area.width) The docs don't make it clear, but experimentation

[pygtk] ANNOUNCE: gnome-python 2.9.0 (unstable)

2004-11-21 Thread Gustavo J. A. M. Carneiro
gnome-python 2.9.0 has been just released. This is the first *unstable* release of the series leading up to gnome-python 2.10. This release contains some internal reorganisations in the modules, as previously announced in pygtk list. gnome-python provides python interfacing modules for the

[pygtk] ANNOUNCE: gnome-python-extras 2.9.0 (unstable)

2004-11-21 Thread Gustavo J. A. M. Carneiro
gnome-python-extras 2.9.0 has been just released. This is a companion release to gnome-python 2.9.0, containing the modules that were removed from it due to wrapping libraries not part of the GNOME Developer Platform. The source tarball can be found here:

Re: [pygtk] subclasses

2004-11-21 Thread Christian Robottom Reis
On Thu, Jul 29, 2004 at 11:23:10AM +0200, Marco Mariani wrote: I've just upgraded my app to gtk2, and got this message: TypeError: pixmap_create_from_xpm() argument 1 must be gtk.gdk.Window, not Xyz Xyz is a subclass of [a subclass of] Window, and it worked flawlessly with version 0.6.9

[pygtk] DevHelp book for the reference manual

2004-11-21 Thread Johan Dahlin
Hi I just modified James' devhelp stylesheet from gtk-doc and applied it to the pygtk reference manual. The result is that a .devhelp file will be created when you generate the html documentation. For that's too impatient to make their own documentation, use the tarball[1] I created and extract

Re: [pygtk] pygtk-2.2/pygtk-2.4 and pyOpenGL

2004-11-21 Thread Bernhard . Rumpler
Johan Dahlin [EMAIL PROTECTED] wrote on 12.08.2004 14:23:48: tor 2004-08-12 klockan 14.09 skrev [EMAIL PROTECTED]: TypeError: multiple bases have instance lay-out conflict Can you provide us with a small testcase? Hopefully without any pyOpenGL code at all. Unfortunately, the problem seems

Re: [pygtk] PyGTK for Mac OS X?

2004-11-21 Thread Christian Robottom Reis
On Thu, Aug 19, 2004 at 10:56:16AM -0700, David M. Cook wrote: On Thu, Aug 19, 2004 at 11:31:35AM +0400, Mikhail Sobolev wrote: I looked around for PyGTK port for Mac OS X, and it looks like such a thing does not exist (at least, as an official release). Is my impression correct?

Re: [pygtk] I must be missing something - can't get label of a menu item

2004-11-21 Thread Skip Montanaro
Christian One alternative which I use daily is, instead of relying on Christian the label, doing a set_data() on the menuitems as you put Christian them into the menu, and then using get_data() to grab it Christian back. I suppose I can figure it out, but is that an option from a