[wxPython-users] no longer binding wx.EVT_TOGGLEBUTTON
Raffaello Barella
barbarossa.platz at gmail.com
Fri Jan 4 13:49:06 PST 2008
Thank you: problem solved.
2008/1/4, Robin Dunn <robin at alldunn.com>:
>
> Raffaello Barella wrote:
> > All my applications stopped abruptly binding the event
> > wx.EVT_TOGGLEBUTTON to the required methods.
> > The sample code is:
> > self.Bind(wx.EVT_TOGGLEBUTTON, self.OnTick, btSpunta)
> >
> > Until yesterday evening the buttons (that are all
> > GenBitmapTextToggleButton) worked properly.
>
> I don't see how. The generic buttons only send the EVT_BUTTON event,
> not EVT_TOGGLEBUTTON. See wx/lib/buttons.py for details.
>
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org Java give you jitters? Relax with wxPython!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200801=
04/d24b9720/attachment.htm
More information about the wxpython-users
mailing list