-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapplication.py
33 lines (27 loc) · 895 Bytes
/
application.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
from tkinter import ttk
from ProgressWindow import ProgressWindow
from tkinter.ttk import Frame
from ControlsBar import ControlsBar
from PDFLabels import PDFLabels
import tkinter as tk
import os
class Application(Frame):
def __init__(self, master=None):
super().__init__(master)
self.outputFileName = ""
self.pdfMerger = None
self.progressLabel = None
self.progressMarker = None
self.buttonControls = ControlsBar(self, row=1, column=0)
self.PDFLabels = PDFLabels(self, row=0, column=0)
self.grid()
self.createWidgets()
def createWidgets(self):
top = self.winfo_toplevel()
top.rowconfigure(0, weight=1)
top.columnconfigure(0, weight=1)
self.rowconfigure(0, weight=1)
self.columnconfigure(0, weight=1)
app = Application()
app.master.title('PDF Merger')
app.mainloop()