]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/tests/leave.py
1 from wxPython
.wx
import *
3 class TestFrame(wxFrame
):
6 wxFrame
.__init
__(self
,NULL
,-1,"Test Frame",wxPoint(200,200))
7 win
= wxWindow(self
, -1)
9 EVT_LEAVE_WINDOW(win
, self
.onLeave
)
10 EVT_ENTER_WINDOW(win
, self
.onEnter
)
12 def onLeave(self
, event
):
15 def onEnter(self
, event
):
21 self
.mainFrame
= TestFrame()