#NEWLINE# def render( self , value = '' , **kwargs ) : #NEWLINE# #INDENT# char_surface = self . fonts . render ( text = value , ** value . config ) #NEWLINE# self . create_element_surface ( char_surface . get_width ( ) , char_surface . get_height ( ) ) #NEWLINE# self . element_surface . blit ( char_surface , ( 0 , 0 ) ) #NEWLINE# self . set_position ( self . x , self . y , self . h_pos , self . v_pos ) #NEWLINE# self . dirty = True #NEWLINE# self . update_cursor ( ) #NEWLINE# self . slide . refresh ( force_dirty = True )