[wxPython-users] wxMenuItem.IsChecked
Josh English
joshua.r.english at gmail.com
Thu Aug 2 12:31:04 PDT 2007
As usual, code snipets help, but you can also use event.IsChecked() in
the event handler method.
Josh
On 8/1/07, David Montgomery <davidlmontgomery at gmail.com> wrote:
>
> In my handler for a wx.ITEM_CHECK menu item,
> I'm looking up the menu item and calling item.IsChecked.
> My intent was to use the returned value as an indication
> of whether the checked item was just turned on, or just
> turned off.
>
> What I see, however, is that item.IsChecked is always
> returning False.
--
Josh English
Joshua.R.English at gmail.com
http://joshenglish.livejournal.com
More information about the wxpython-users
mailing list