#NEWLINE# def SetFont( self , id , font ) : #NEWLINE# #INDENT# '\n        Sets a font setting.\n\n        :param integer `id`: must be ``AUI_DOCKART_CAPTION_FONT``;\n        :param `font`: an instance of :class:`Font`.\n        ' #NEWLINE# if ( id == AUI_DOCKART_CAPTION_FONT ) : #NEWLINE# #INDENT# self . _caption_font = font