utils_ui.get_mouse_position_on_click('_IN_') window.Element('btn_Random').Update(disabled=False) window.Element('btn_Start').Update(disabled=False) drag_rotate.enable_buttons_directions() drag_rotate.clear_records() if event == 'btn_Clear': drag_rotate.clear_records() # END DRAG AND DROP # START RUNE MAKER if event == 'RM_btn_start': rune_maker.making_runes() # END RUNE MAKER # START FLOWER if event == 'F_btn_pos_char': utils_ui.get_mouse_position_on_click('F_txt_pos_char') flower.set_numpad_hotkeys() if event == 'F_btn_pos_bp_first': utils_ui.get_mouse_position_on_click('F_txt_pos_bp_first') # END FLOWER if event is None or event == 'Exit': print('END PROGRAM') break #print(event, values) window.Close()