original_docstring: Return the number of columns to pad on the left and right.
          
          Override this method to define custom padding behaviour.
docstring: Return the number of columns to pad on the left and right.
  Override this method to define custom padding behaviour.
docstring_tokens: Return the number of columns to pad on the left and right . Override this method to define custom padding behaviour .
code: def padding_values(self, size, focus):
          """Return the number of columns to pad on the left and right.
          
          Override this method to define custom padding behaviour."""
          maxcol = size[0]
          if self._width_type == CLIP:
              width, ignore = self._original_widget.pack(focus=focus)
              return calculate_left_right_padding(maxcol,
                  self._align_type, self._align_amount, 
                  CLIP, width, None, self.left, self.right)
          if self._width_type == PACK:
              maxwidth = max(maxcol - self.left - self.right, 
                  self.min_width or 0)
              (width, ignore) = self._original_widget.pack((maxwidth,),
                  focus=focus)
              return calculate_left_right_padding(maxcol,
                  self._align_type, self._align_amount, 
                  GIVEN, width, self.min_width, 
                  self.left, self.right) 
          return calculate_left_right_padding(maxcol, 
              self._align_type, self._align_amount,
              self._width_type, self._width_amount,
              self.min_width, self.left, self.right)
code_tokens: def padding_values ( self , size , focus ) : maxcol = size [ 0 ] if self . _width_type == CLIP : width , ignore = self . _original_widget . pack ( focus = focus ) return calculate_left_right_padding ( maxcol , self . _align_type , self . _align_amount , CLIP , width , None , self . left , self . right ) if self . _width_type == PACK : maxwidth = max ( maxcol - self . left - self . right , self . min_width or 0 ) ( width , ignore ) = self . _original_widget . pack ( ( maxwidth , ) , focus = focus ) return calculate_left_right_padding ( maxcol , self . _align_type , self . _align_amount , GIVEN , width , self . min_width , self . left , self . right ) return calculate_left_right_padding ( maxcol , self . _align_type , self . _align_amount , self . _width_type , self . _width_amount , self . min_width , self . left , self . right )
short_docstring: Return the number of columns to pad on the left and right.
short_docstring_tokens: Return the number of columns to pad on the left and right .
comment: """Return the number of columns to pad on the left and right.
          
          Override this method to define custom padding behaviour."""