the.bay.news

Second window resizes, when moving Main window

Discussions on Python.org
Second window resizes, when moving Main window
this is only a brain exercise for a 72 yo…coding may be messy, but it works..lol What happens is after generating the random numbers, if you drag the main window, to a new location, the second window resizes…how can I stop it happening. import random import tkinter as tk from tkinter import messagebox second_window = None # --- Tkinter root Setup --- root = tk.Tk() root.title("Unique Random Number Generator") # Define root width and height root_width = 400 root_height = 200 monitor_offset_...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.