-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathface_ui_frames.py
26 lines (19 loc) · 952 Bytes
/
face_ui_frames.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
# coding=utf-8
import Tkinter as tk
import tkFont
class AlertPopup(tk.Toplevel):
def __init__(self, top, left):
tk.Toplevel.__init__(self)
self.geometry('750x110+{0}+{1}'.format(left, top))
self.overrideredirect(True)
container = tk.Frame(self, bg='white', bd=1, padx=1, pady=1)
container.pack(expand=tk.YES, fill=tk.BOTH)
container = tk.Frame(container, bg='black', bd=1, padx=5, pady=5)
container.pack(expand=tk.YES, fill=tk.BOTH)
container = tk.Frame(container, bg='red', bd=0, padx=5, pady=5)
container.pack(expand=tk.YES, fill=tk.BOTH)
container = tk.Frame(container, bg='black', bd=0, padx=5, pady=5)
self.fontFamily = 'System'
labelFont = tkFont.Font(family=self.fontFamily, size=40)
tk.Label(container, text='SUJETO NO RECONOCIDO', bg='black', fg='red', font=labelFont).pack()
container.pack(expand=tk.YES, fill=tk.BOTH)