parameters: (self, wnd)
return_statement: return wx.NOT_FOUND
docstring: Returns the tab index based on the window `wnd` associated with it.
  
          :param `wnd`: an instance of :class:`Window`.
docstring_summary: Returns the tab index based on the window `wnd` associated with it.
docstring_tokens: Returns the tab index based on the window wnd associated with it .
function: def GetIdxFromWindow(self, wnd):
          """
          Returns the tab index based on the window `wnd` associated with it.
  
          :param `wnd`: an instance of :class:`Window`.
          """
  
          for indx, page in enumerate(self._pages):
              if page.window == wnd:
                  return indx
  
          return wx.NOT_FOUND
function_tokens: def GetIdxFromWindow ( self , wnd ) : for indx , page in enumerate ( self . _pages ) : if page . window == wnd : return indx return wx . NOT_FOUND