Python/wxPython/wx.CheckBox: Difference between revisions
Jump to navigation
Jump to search
(→XRC) |
|||
| Line 5: | Line 5: | ||
= wxPython = | = wxPython = | ||
<source lang="python"> | <source lang="python"> | ||
self.chk1 = wx.CheckBox(self, label='1') | |||
self.chk1.SetValue(True) | |||
self.chk1.Bind(wx.EVT_CHECKBOX, self.OnCheck) | |||
</source> | </source> | ||