[pygtk] Modal Windows

2005-04-20 Thread Paul Malherbe
Hello Please can anyone help me? In the following test script I am creating windows which are transient and modal. If I destroy the last window and try to grab_focus on a widget on the next window it does not happen. I am obviously missing something! Some help would be appreciated. import pygtk

Re: [pygtk] segfault with pygtk 2.4.1 and icon_theme_get_default

2005-04-20 Thread Danny Milosavljevic
Hi, Am Mittwoch, den 20.04.2005, 07:24 +0200 schrieb Danny Milosavljevic: > Hello, > > trying this program: > #!/usr/bin/env python > > import gtk > from xml.dom import minidom > import exceptions > > gtk.icon_theme_get_default() > > try: > doc = minidom.parse("doesntmatter") >

Re: [pygtk] segfault with pygtk 2.4.1 and icon_theme_get_default

2005-04-20 Thread Jesse Pavel
Hmm, on my machine it doesn't segfault. I'm using libxml2 2.5.10, though. Danny Milosavljevic on April 20, 2005 wrote: > Hello, > > trying this program: > #!/usr/bin/env python > > import gtk > from xml.dom import minidom > import exceptions > > gtk.icon_theme_get_default() > > t

Re: [pygtk] Problem using gobject.TYPE_BOOLEAN in a GObject wrapper

2005-04-20 Thread Art Haas
On Wed, Apr 20, 2005 at 09:51:25AM -0300, Johan Dahlin wrote: > > >Traceback (most recent call last): > > File "", line 1, in ? > > File "boolact.py", line 31, in ? > > gobject.type_register(boolAction) > >TypeError: function takes exactly 1 argument (0 given) > > > Art, can you please put this

RE: [pygtk] Control + Click in Tree view

2005-04-20 Thread Hussein Vastani
hooking it to button_press_event worked for me. Thanks :) -h >= Original Message From Christian Robottom Reis <[EMAIL PROTECTED]> = >On Fri, Apr 15, 2005 at 02:34:15PM -0400, Hussein Vastani wrote: >> How do I know if a Cntrl + Click was pressed in a treeview? > >Look at > >http://ww

Re: [pygtk] Problem using gobject.TYPE_BOOLEAN in a GObject wrapper

2005-04-20 Thread Johan Dahlin
Traceback (most recent call last): File "", line 1, in ? File "boolact.py", line 31, in ? gobject.type_register(boolAction) TypeError: function takes exactly 1 argument (0 given) Art, can you please put this in bugzilla, otherwise it'll be forgotten? Once in bugzilla it's automatically going

Re: [pygtk] PyGTK/win32 site down?

2005-04-20 Thread Cedric Gustin
Steve Castellotti wrote: > hey all- > > Looking to take a crack at getting the Gimp to compile with Python > plug-in support under Windows. > > Major problem though, it seems the PyGTK for Win32 site is down: > > > http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ It should be back online

[pygtk] segfault with pygtk 2.4.1 and icon_theme_get_default

2005-04-20 Thread Danny Milosavljevic
Hello, trying this program: #!/usr/bin/env python import gtk from xml.dom import minidom import exceptions gtk.icon_theme_get_default() try: doc = minidom.parse("doesntmatter") print doc except exceptions.IOError,s: pass with python 2.4 and pygtk 2.4.1 (and libxml2-2.6.

[pygtk] PyGTK/win32 site down?

2005-04-20 Thread Steve Castellotti
hey all-     Looking to take a crack at getting the Gimp to compile with Python plug-in support under Windows.     Major problem though, it seems the PyGTK for Win32 site is down: http://www.pcpm.ucl.ac.be/~gustin/win32_ports/     Anyone know of any mirrors or have local copies of the sof