parameters: (self, id)
docstring: Gets the value of a certain setting.
  
          :param integer `id`: can be one of the size values in `Metric Ordinals`.
docstring_summary: Gets the value of a certain setting.
docstring_tokens: Gets the value of a certain setting .
function: def GetMetric(self, id):
          """
          Gets the value of a certain setting.
  
          :param integer `id`: can be one of the size values in `Metric Ordinals`.
          """
  
  
          if id == AUI_DOCKART_SASH_SIZE:
              return self._sash_size
          elif id == AUI_DOCKART_CAPTION_SIZE:
              return self._caption_size
          elif id == AUI_DOCKART_GRIPPER_SIZE:
              return self._gripper_size
          elif id == AUI_DOCKART_PANE_BORDER_SIZE:
              return self._border_size
          elif id == AUI_DOCKART_PANE_BUTTON_SIZE:
              return self._button_size
          elif id == AUI_DOCKART_GRADIENT_TYPE:
              return self._gradient_type
          elif id == AUI_DOCKART_DRAW_SASH_GRIP:
              return self._draw_sash
          else:
              raise Exception("Invalid Metric Ordinal.")
function_tokens: def GetMetric ( self , id ) : if id == AUI_DOCKART_SASH_SIZE : return self . _sash_size elif id == AUI_DOCKART_CAPTION_SIZE : return self . _caption_size elif id == AUI_DOCKART_GRIPPER_SIZE : return self . _gripper_size elif id == AUI_DOCKART_PANE_BORDER_SIZE : return self . _border_size elif id == AUI_DOCKART_PANE_BUTTON_SIZE : return self . _button_size elif id == AUI_DOCKART_GRADIENT_TYPE : return self . _gradient_type elif id == AUI_DOCKART_DRAW_SASH_GRIP : return self . _draw_sash else : raise Exception ( "Invalid Metric Ordinal." )