wxPython about event function

Discussion in 'Python' started by RolleXu, May 22, 2004.

  1. RolleXu

    RolleXu Guest

    class container(wxPanel):
    self.compnt is a control

    the event func:

    EVT_LEFT_DOWN(self,self.OnLeftDown)

    when click container
    self.OnLeftDown will be called
    when click self.compnt
    self.OnLeftDown won't be called

    please tell me
    why?
    and how to call the func, both case?

    thanks
    RolleXu, May 22, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anand
    Replies:
    1
    Views:
    342
    Cliff Wells
    Jul 23, 2003
  2. ulysses
    Replies:
    4
    Views:
    751
    Werner Schiendl
    Oct 22, 2003
  3. Logan
    Replies:
    5
    Views:
    749
    David Bolen
    Dec 11, 2003
  4. Ruben Charles
    Replies:
    6
    Views:
    491
    =?ISO-8859-1?Q?Michael_Str=F6der?=
    Oct 25, 2005
  5. Robin Dunn
    Replies:
    0
    Views:
    507
    Robin Dunn
    Mar 28, 2006
Loading...

Share This Page