[wxPython] wxToolTip on wxGrid

I want to show a
  ToolTip on a wxGrid Window. (plattform Windows an Linux )

Depending on the Row where the mouse is, i want to show
different ToolTip Strings (multiple lines) .

which Events do i have to implement ?

any suggestions ?
thanks

···

===========================================================
Heinl Raimund SSH - Software Systeme Heinl
gepr.Wirtschaftsinformatiker IHK Am Galling 3
Tel. 09151 / 7 10 99 91217 Hersbruck
Fax. coming soon
http: coming soon
Email: heinlr@gmx.de

I want to show a
  ToolTip on a wxGrid Window. (plattform Windows an Linux )

Depending on the Row where the mouse is, i want to show
different ToolTip Strings (multiple lines) .

which Events do i have to implement ?

Something like this maybe, (where self is a grid):

        EVT_MOTION(self.GetGridWindow(), self.OnMouseMotion)

    def OnMouseMotion(self, evt):
        x, y = evt.GetPosition()
        row = self.YToRow(y)
        col = self.XToCol(x)
        self.GetGridWindow().SetToolTipString(
            "Here is the ToolTip for (%d, %d)" % (row, col))
        evt.Skip()

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!