parameters: (self, index)
docstring: Set the selected page
          @param index: index of page to select
docstring_summary: Set the selected page
          @param index: index of page to select
docstring_tokens: Set the selected page @param index : index of page to select
function: def SetSelection(self, index):
          """Set the selected page
          @param index: index of page to select
  
          """
          csel = self._segbar.GetSelection()
          if csel != index:
              self._segbar.SetSelection(index)
              self._DoPageChange(csel, index)
function_tokens: def SetSelection ( self , index ) : csel = self . _segbar . GetSelection ( ) if csel != index : self . _segbar . SetSelection ( index ) self . _DoPageChange ( csel , index )