Trapping a button click on static text
Baptiste
baptiste.goupil at gmail.com
Mon Jan 1 10:26:53 PST 2007
Hello,
I am also interested by the answer.
I have done :
tag_list =3D wx.StaticText ( self, -1, i )
tag_list.Bind ( wx.EVT_LEFT_DOWN, self.HL )
def HL( self, evt ):
print evt.GetEventObject ( )
and when I click, I have :
<wx._windows.ScrolledWindow; proxy of C++ wxScrolledWindow instance at
_f8227808_p_wxScrolledWindow>
Odd and not convenient, because I need this click...
Thank you for the ideas.
Baptiste.
2006/12/31, Peter Gordon <peter at pg-consultants.com>:
>
> How can I trap a mouse event from a static text?
>
> Thanks,
>
> Peter
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070101/164=
aeabb/attachment.htm
More information about the wx-users
mailing list