forked from anubhavsinha98/MyCollegeDatabase
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopen.py
More file actions
20 lines (18 loc) · 619 Bytes
/
Copy pathopen.py
File metadata and controls
20 lines (18 loc) · 619 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#gui functionality of the project
from tkinter import *
root = Tk()
#home of the application
var = StringVar()
#defining objects of the required tkinter classes
label = Label(root, textvariable = var, font='Helvetica 20 bold italic', fg='blue', bg='white')
var.set("Jaypee Institute Of Infromation Technology")
menu = Menu(root)
root.config(menu=menu)
subMenu = Menu(menu)
menu.add_cascade(label='Select The Hub', menu=subMenu)
subMenu.add_command(label='Robotics')
subMenu.add_command(label='Graphicas')
subMenu.add_command(label='Thespian')
#packing the different gui objects together
label.pack()
root.mainloop()