-
Notifications
You must be signed in to change notification settings - Fork 1
/
govcon.py
68 lines (41 loc) · 2.95 KB
/
govcon.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import tkinter as tk
from tkinter import *
from PIL import ImageTk,Image
pathway = tk.Tk()
screen_width = pathway.winfo_screenwidth()
screen_height = pathway.winfo_screenheight()
pathway.geometry('1800x800+0+0')
pathway.geometry(f"{screen_width}x{screen_height}+0+0")
pathway.title ("Career Counselling")
bgimage = ImageTk.PhotoImage(file='pathbg.png')
bglabel = Label(pathway, image=bgimage)
bglabel.place(x=0,y=0)
logo = ImageTk.PhotoImage(file='logo.png')
logolabel = Label(pathway,image=logo,)
logolabel.place(x=1,y=5)
Label = tk.Label(pathway, text="GOVERNMENT CONTRACTOR", font=('Arial', 25))
Label.pack(padx=20, pady=100)
T = Text(pathway, height = 15, width = 80, font=10)
Fact = """ A government contractor is a private company that produces goods and services for public government agencies. Contractors become employed by the government by winning contracts that are out for bid. Government contractors are able to win contracts by submitting the lowest cost bid in response to a proposal, which is required by law. Just like government agencies, government contractors come in all different sizes.
Larger companies will seek out government contracts in the tens of millions of dollars. These larger corporations will usually bid on federal projects, but they are also interested in state and local contracts. Smaller companies generally seek out smaller contracts that best match their business qualifications and scope of work. With more limited resources, smaller companies will tend to seek out state and more localized contracts.."""
T.pack()
T.insert(tk.END, Fact)
frame0 = Frame(pathway, width=1800, height=70, bg="black",)
frame0.place(x=0,y=0)
def home():
pathway.destroy()
import mainmenu
newaccbutton = Button(frame0, text="Home", font=('open sans', 12,'bold'), fg= 'white', bg='black', activeforeground='white' ,activebackground='black' ,cursor='hand2', bd=0,width=12,command= home).place(x= 950, y=30 )
newaccbutton = Button(frame0, text="Services", font=('open sans', 12,'bold'), fg= 'white', bg='black', activeforeground='white' ,activebackground='black' ,cursor='hand2', bd=0,width=12,).place(x= 1050, y=30 )
newaccbutton = Button(frame0, text="About Us", font=('open sans', 12,'bold'), fg= 'white', bg='black', activeforeground='white' ,activebackground='black' ,cursor='hand2', bd=0,width=12,).place(x= 1150, y=30 )
newaccbutton = Button(frame0, text="LogOut", font=('open sans', 12,'bold'), fg= 'white', bg='black', activeforeground='white' ,activebackground='black' ,cursor='hand2', bd=0,width=12,).place(x= 1250, y=30 )
userimg = ImageTk.PhotoImage(file='user2.png')
userimg_pil = Image.open('user2.png')
userimg_small_pil = userimg_pil.resize((60, 60)) # Reduce image size to 100x100
userimg_small = ImageTk.PhotoImage(userimg_small_pil)
button = Button(frame0, image=userimg_small, bg='black')
button.place(x=1410, y=0)
logo = ImageTk.PhotoImage(file='logo.png')
logolabel = Label(pathway,image=logo,)
logolabel.place(x=1,y=5)
pathway.mainloop()