parameters: (self, pageContainer)
docstring: Returns the right button position in the navigation area.
  
          :param `pageContainer`: an instance of :class:`FlatNotebook`.
docstring_summary: Returns the right button position in the navigation area.
docstring_tokens: Returns the right button position in the navigation area .
function: def GetRightButtonPos(self, pageContainer):
          """
          Returns the right button position in the navigation area.
  
          :param `pageContainer`: an instance of :class:`FlatNotebook`.
          """
  
          pc = pageContainer
          agwStyle = pc.GetParent().GetAGWWindowStyleFlag()
          rect = pc.GetClientRect()
          clientWidth = rect.width
  
          if agwStyle & FNB_NO_X_BUTTON:
              return clientWidth - 22
          else:
              return clientWidth - 38
function_tokens: def GetRightButtonPos ( self , pageContainer ) : pc = pageContainer agwStyle = pc . GetParent ( ) . GetAGWWindowStyleFlag ( ) rect = pc . GetClientRect ( ) clientWidth = rect . width if agwStyle & FNB_NO_X_BUTTON : return clientWidth - 22 else : return clientWidth - 38