#NEWLINE# def handle_window_items( self , event , packet ) : #NEWLINE# #INDENT# window_id = packet . data [ 'window_id' ] #NEWLINE# for ( slot_nr , slot_data ) in enumerate ( slot_nr . data [ 'slots' ] ) : #NEWLINE# #INDENT# self . set_slot ( window_id , slot_nr , slot_data )