Untitled
unknown
plain_text
5 months ago
396 B
3
Indexable
# Create settings menu and button settings_menu = SettingsMenu(root, DARK_MODE) settings_button = SettingsButton( main_frame, dark_mode=DARK_MODE, command=lambda: settings_menu.show() if settings_menu.place_info()['x'] == str(root.winfo_width()) else settings_menu.hide() ) settings_button.place(x=root.winfo_screenwidth()-90, y=10) # Position it 50px left of the close button
Editor is loading...
Leave a Comment