parameters: (self, x, y)
return_statement: return self
docstring: Sets the best size of the pane.
  
          :see: :meth:`BestSize` for an explanation of input parameters.
docstring_summary: Sets the best size of the pane.
docstring_tokens: Sets the best size of the pane .
function: def BestSize2(self, x, y):
          """
          Sets the best size of the pane.
  
          :see: :meth:`BestSize` for an explanation of input parameters.
          """
  
          self.best_size.Set(x,y)
          return self
function_tokens: def BestSize2 ( self , x , y ) : self . best_size . Set ( x , y ) return self