[pygtk] Re: right clicking on a GtkTreeStore row

2003-09-25 Thread Stephen Kennedy
Here's how I do it. You can convert the path to an iter to get the row data if you like. Stephen. def on_treeview_button_press_event(self, treeview, event): # unselect others if event.button == 3: path, col, cellx, celly = treeview.get_path_at_pos( int(event.x), int(event.y) )

Re: [pygtk] Implementing a Bonobo::Unknown

2003-09-25 Thread Gustavo J. A. M. Carneiro
A Ter, 2003-09-23 às 11:01, Mikoyan escreveu: Hi list, I started experimenting with CORBA/Bonobo in Python. So I created an example IDL file containing a CORBA Interface inherited from Bonobo::Unknown. I load this file using ORBit.load_file and I want to give an implemenation to the CORBA

[pygtk] (no subject)

2003-09-25 Thread Jose Reina
Estoy utilizando python 2.3 con el módulo pygtk-2.0.0 para python 2.3. Las librerías runtime de gtk que estoy utilizando es la versión 2.2.4. El sistema operativo que estoy utilizando es win98se y win2k. Cuando ejecuto los ejemplos del tutorial que hay en la página http://www.moeraki.com me

Re: [pygtk] Making my own widget in Pygthon - Some more info

2003-09-25 Thread Martin Grimme
Hi, You have to derive your widget class from a GTK widget. That way, your widget inherits all necessary methods. If you want to look at some code to see how this is done, you could look at the projects gDeskCal and gDesklets, both on www.pycage.de. :) Basically, it works like this: class

Re: [pygtk] (no subject)

2003-09-25 Thread Michal Pasternak
Jose Reina [Thu, Sep 25, 2003 at 06:40:05PM +0200]: Estoy utilizando python 2.3 con el mdulo pygtk-2.0.0 para python 2.3. Las libreras runtime de gtk que estoy utilizando es la versin 2.2.4. El sistema operativo que estoy utilizando es win98se y win2k. Cuando ejecuto los ejemplos del tutorial

[pygtk] (sin asunto)

2003-09-25 Thread Jose Reina
Los archivos de gtkruntime son de http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ versión 2.2.4. Los tres paquetes: python 2.3, pygtk 2.0 y gtk-runtime 2.2.4 los he instalado tal cual. No he añadido nada al path. ___ pygtk mailing list [EMAIL

[pygtk] (sin asunto)

2003-09-25 Thread Jose Reina
Los archivos de gtkruntime son de http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ versi=F3n 2.2.4. Los tres paquetes: python 2.3, pygtk 2.0 y gtk-runtime 2.2.4 los he instalado tal cual. No he añaadido nada al path. ___ pygtk mailing list [EMAIL

Re: [pygtk] (sin asunto)

2003-09-25 Thread Michal Pasternak
Jose Reina [Thu, Sep 25, 2003 at 08:13:53PM +0200]: Los archivos de gtkruntime son de http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ versi=F3n 2.2.4. Los tres paquetes: python 2.3, pygtk 2.0 y gtk-runtime 2.2.4 los he instalado tal cual. No he a?aadido nada al path. Well, when in doubt and

[pygtk] Showing an inconsistent state with CellRendererToggle?

2003-09-25 Thread David Moore
Is it possible for a TreeModel to tell a CellRendererToggle that it is in an in between (inconsistent) state??? I have a TreeModel class derieved from GenericTreeModel. Each node in the tree can be in one of three states yes, no, or maybe. Can a CellRendererToggle show this or do I need a

Re: [pygtk] Showing an inconsistent state with CellRendererToggle?

2003-09-25 Thread James Henstridge
On 25/09/2003 4:23 AM, David Moore wrote: Is it possible for a TreeModel to tell a CellRendererToggle that it is in an in between (inconsistent) state??? I have a TreeModel class derieved from GenericTreeModel. Each node in the tree can be in one of three states yes, no, or maybe. Can a