September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import tkinter as tk # import the module.
|
||||
|
||||
root = tk.Tk() # Create an instance of the class.
|
||||
root.state('zoomed') # Maximized the window.
|
||||
root.update_idletasks() # Update the display.
|
||||
tk.Label(root, text=(str(root.winfo_width())+ " x " +str(root.winfo_height())),
|
||||
font=("Helvetica", 25)).pack() # add a label and set the size to text.
|
||||
root.mainloop()
|
||||
Loading…
Add table
Add a link
Reference in a new issue