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) )
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
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
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
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
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
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
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
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
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
10 matches
Mail list logo