#NEWLINE# def RequestUserAttention( self , dc , window , text , rect , pane ) : #NEWLINE# #INDENT# '\n        Requests the user attention by intermittently highlighting the pane caption.\n\n        :param `dc`: a :class:`DC` device context;\n        :param `window`: an instance of :class:`Window`;\n        :param string `text`: the text to be displayed;\n        :param Rect `rect`: the pane caption rectangle;\n        :param `pane`: the pane for which the text is drawn.\n        ' #NEWLINE# state = pane . state #NEWLINE# pane . state &= ( ~ optionActive ) #NEWLINE# for indx in xrange ( 6 ) : #NEWLINE# #INDENT# active = ( ( ( ( indx % 2 ) == 0 ) and [ True ] ) or [ False ] ) [ 0 ] #NEWLINE# if active : #NEWLINE# #INDENT# pane . state |= optionActive #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# pane . state &= ( ~ optionActive ) #NEWLINE# #UNINDENT# self . DrawCaptionBackground ( dc , rect , pane ) #NEWLINE# self . DrawCaption ( dc , window , text , rect , pane ) #NEWLINE# wx . SafeYield ( ) #NEWLINE# wx . MilliSleep ( 350 ) #NEWLINE# #UNINDENT# pane . state = state