#! /usr/bin/env python
#  -*- coding: utf-8 -*-
#
# GUI module generated by PAGE version 7.5e
#  in conjunction with Tcl version 8.6
#    May 28, 2022 07:55:19 AM PDT  platform: Linux

import sys
import tkinter as tk
import tkinter.ttk as ttk
from tkinter.constants import *
import os.path

_script = sys.argv[0]
_location = os.path.dirname(_script)

import cal_support

_bgcolor = 'wheat'  # X11 color: #f5deb3
_fgcolor = '#000000'  # X11 color: 'black'
_compcolor = '#b2c9f4' # Closest X11 color: 'SlateGray2'
_ana1color = '#eaf4b2' # Closest X11 color: '{pale goldenrod}'
_ana2color = '#f4bcb2' # Closest X11 color: 'RosyBrown2'
_tabfg1 = 'black' 
_tabfg2 = 'black' 
_tabbg1 = 'grey75' 
_tabbg2 = 'grey89' 
_bgmode = 'light' 

class Toplevel1:
    def __init__(self, top=None):
        '''This class configures and populates the toplevel window.
           top is the toplevel containing window.'''

        top.geometry("176x223+840+432")
        top.minsize(1, 1)
        top.maxsize(1905, 1170)
        top.resizable(1,  1)
        top.title("Calendar")
        top.configure(background="wheat")
        top.configure(highlightbackground="wheat")
        top.configure(highlightcolor="black")

        self.top = top

        self.Text1 = tk.Text(self.top)
        self.Text1.place(relx=0.0, rely=0.0, relheight=0.632, relwidth=0.983)
        self.Text1.configure(background="white")
        self.Text1.configure(highlightbackground="wheat")
        self.Text1.configure(selectbackground="#ddc8a1")
        self.Text1.configure(wrap="word")

        self.Button1 = tk.Button(self.top)
        self.Button1.place(relx=0.011, rely=0.682, height=29, width=51)
        self.Button1.configure(activebackground="#f4bcb2")
        self.Button1.configure(background="wheat")
        self.Button1.configure(command=cal_support.last)
        self.Button1.configure(disabledforeground="#b8a786")
        self.Button1.configure(highlightbackground="wheat")
        self.Button1.configure(text='''Last''')

        self.Button2 = tk.Button(self.top)
        self.Button2.place(relx=0.295, rely=0.682, height=29, width=63)
        self.Button2.configure(activebackground="#f4bcb2")
        self.Button2.configure(background="wheat")
        self.Button2.configure(command=cal_support.current)
        self.Button2.configure(disabledforeground="#b8a786")
        self.Button2.configure(highlightbackground="wheat")
        self.Button2.configure(text='''Current''')

        self.Button3 = tk.Button(self.top)
        self.Button3.place(relx=0.682, rely=0.677, height=29, width=51)
        self.Button3.configure(activebackground="#f4bcb2")
        self.Button3.configure(background="wheat")
        self.Button3.configure(command=cal_support.next)
        self.Button3.configure(disabledforeground="#b8a786")
        self.Button3.configure(highlightbackground="wheat")
        self.Button3.configure(text='''Next''')

        self.Button4 = tk.Button(self.top)
        self.Button4.place(relx=0.057, rely=0.843, height=30, width=154)
        self.Button4.configure(activebackground="#f4bcb2")
        self.Button4.configure(background="wheat")
        self.Button4.configure(command=cal_support.quit)
        self.Button4.configure(disabledforeground="#b8a786")
        self.Button4.configure(highlightbackground="wheat")
        self.Button4.configure(text='''Quit''')

def start_up():
    cal_support.main()

if __name__ == '__main__':
    cal_support.main()




