Geometry Window Manager method : Frame : GUI Tk PYTHON examples


PYTHON examples » GUI Tk » Frame »

 

Geometry Window Manager method


Geometry Window Manager method

from Tkinter import *

class App:
  def __init__(self, root):
    fm = Frame(root, width=300, height=200, bg="blue")
    fm.pack(side=TOP, expand=NO, fill=NONE)
    
    root.geometry("600x400")   Note geometry Window Manager method

    

root = Tk()
display = App(root)
root.mainloop()


           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo GUI Tk
» Frame