-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain_with_gui.py
More file actions
34 lines (31 loc) · 878 Bytes
/
main_with_gui.py
File metadata and controls
34 lines (31 loc) · 878 Bytes
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
import main
import sys
sys.path.insert(0, "/Users/nicolasbraun/Sources/Gooey")
from gooey import Gooey
from gooey import GooeyParser
@Gooey(
program_name="R20Translator",
program_description="Translate ZIP Exports from R20Exporter",
menu=[
{
"name": "About",
"items": [
{
"menuTitle": "About",
"type": "AboutDialog",
"name ": "R20Translator",
"description": "Automated translation for R20Exporter",
"website": "https://github.com/nicolasbraun/R20Translator",
}
],
}
],
disable_progress_bar_animation=True,
clear_before_run=True,
default_size=(610, 530),
required_cols=1
)
def launchGUI():
main.process()
if __name__ == "__main__":
launchGUI()