wx.EVT_TOOL_RCLICKED

g.franzkowiak g.franzkowiak at onlinehome.de
Sun Oct 29 12:14:23 EST 2006


Hi everybody,

I want use wx.EVT_TOOL_RCLICKED for an toolbar, but I've got no 
responcses under Linux.

The following part works under MSW, but under Linux..., the
"wx.EVT_TOOL_RCLICKED" generate nothing:

tb.AddTool(TB_ID, './*.png',isToggle=True)
self.Bind(wx.EVT_TOOL,          self.OnToolLeftClick,  id=TB_ID)
self.Bind(wx.EVT_TOOL_RCLICKED, self.OnToolRightClick, id=TB_ID)


Can somebody help ?

gerd


PS:

System parts:

	wxPython 2.6.3.2
	(wxGTK, unicode, gtk2, wx-assertions-off, SWIG-1.3.27)
	Running on Python 2.3.5

AND

	wxPython 2.6.1.2pre
	(wxGTK, unicode, gtk2, wx-assertions-off)
	Running on Python 2.4.3




More information about the Python-list mailing list