diff --git a/journal.py b/journal.py new file mode 100755 index 0000000..6d85fc5 --- /dev/null +++ b/journal.py @@ -0,0 +1,23 @@ +#!/usr/bin/python3 + +from tkinter import Tk, Frame, BOTH + +class Example(Frame): + + def __init__(self, parent): + Frame.__init__(self, parent , background = "black") + + self.parent = parent + + self.parent.title("Ameland Kinderjournal") + self.pack(fill=BOTH, expand=1) + +journal = Tk() + +# set Window to fullscreen (dependend of the actual screensize) +width = journal.winfo_screenwidth() +height = journal.winfo_screenheight() +journal.geometry("%dx%d" % (width, height)) + +app = Example(journal) +journal.mainloop()