#NEWLINE# @ synchronized #NEWLINE# def push_solid( self , function ) : #NEWLINE# #INDENT# '\n        Push a function which performs gl commands\n        used to build a display list. (The list is\n        built outside of the function)\n        ' #NEWLINE# assert callable ( function ) #NEWLINE# self . _draw_solid . append ( function ) #NEWLINE# if ( len ( self . _draw_solid ) > self . _max_render_stack_size ) : #NEWLINE# #INDENT# del self . _draw_solid [ 1 ]