Re: Generating event from event
- From: Mike Driscoll <kyosohma@xxxxxxxxx>
- Date: Fri, 30 May 2008 11:27:39 -0700 (PDT)
On May 30, 12:11 pm, Gandalf <goldn...@xxxxxxxxx> wrote:
Hi Diez, I can't see how it matter which GUI-Toolkit i uses because I
can combine libraries.
I think all that matter is that i work with windows XP.
if you ever done something like that or you familiar with article
which can show me how to implement what I asked it would help me
Thank you very much
It matters because each Python GUI toolkit works differently. Tkinter
does it via Tk/tcl calls, wxPython uses the wx library and pyGTK does
it in yet another way. The basic ideas are the same, but the
implementations are quite different.
In wx, for example, there are mouse events called wx.MouseEvent:
http://www.wxpython.org/docs/api/wx.MouseEvent-class.html
In Tkinter, they do the same thing, but the calls are almost
completely different. See the following for examples:
http://www.pythonware.com/library/tkinter/introduction/events-and-bindings.htm
You probably either want the MouseEvents or to create an
AcceleratorTable.
Mike
.
- References:
- Generating event from event
- From: Gandalf
- Re: Generating event from event
- From: Larry Bates
- Re: Generating event from event
- From: Gandalf
- Re: Generating event from event
- From: Diez B. Roggisch
- Re: Generating event from event
- From: Gandalf
- Generating event from event
- Prev by Date: Re: Python 2.5.2 on Ubuntu Hardy Utf-8-Euro error
- Next by Date: Re: PyDev multiple source files?
- Previous by thread: Re: Generating event from event
- Next by thread: SQLObject 0.9.7
- Index(es):
Relevant Pages
|