[wxpython-users] Binding to a single control
Raffaello Barella
barbarossa.platz at gmail.com
Sun Mar 30 11:04:29 PDT 2008
Sorry, I just wrote something stupid.
Coming back to my senses, the problem is not in evt.Skip(), but in the
handler that never receives the event, and so cannot make any Skip().
2008/3/30, Raffaello Barella <barbarossa.platz at gmail.com>:
>
> My code =ABsends=BB the event: evt.Skip(True or False) is used in the rou=
tine
> that =ABhandles=BB the event.
>
> 2008/3/30, Oswaldo Hern=E1ndez <listas at soft-com.es>:
> >
> > Raffaello Barella escribi=F3:
> >
> > > Is there a limit to the number of bindings we can make not to the
> > frame
> > > but to the single control?
> > >
> > > To explain the sense of my question, I subclassed a wx.ComboBox, and
> > > inside the class there's a self.Bind(wx.EVT_COMBOBOX...).
> > > When using this subclass in an application, I put another
> > > myCombo.Bind(wx.EVT_COMBOBOX...), and the binding did not work.
> > > I replaced the second binding with a self.Bind(wx.EVT_COMBOBOX,
> > > self.OnEVT_COMBOBOX, myCombo) and now it works.
> > >
> > >
> >
> >
> > evt.Skip() ????
> >
> > --
> > *****************************************
> > Oswaldo Hern=E1ndez
> > oswaldo (@) soft-com (.) es
> > *****************************************
> > PD:
> > Antes de imprimir este mensaje, aseg=FArese de que es necesario.
> > El medio ambiente est=E1 en nuestra mano.
> > _______________________________________________
> > wxpython-users mailing list
> > wxpython-users at lists.wxwidgets.org
> > http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200803=
30/27df9cb6/attachment.htm
More information about the wxpython-users
mailing list