mirror of
https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux.git
synced 2025-11-10 23:35:44 +01:00
Update setup.py
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
|
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
# Name: Autodesk Fusion 360 - Setup Wizard (Linux) #
|
# Name: Autodesk Fusion 360 - Setup Wizard (Linux) #
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
# Author URI: https://cryinkfly.com #
|
# Author URI: https://cryinkfly.com #
|
||||||
# License: MIT #
|
# License: MIT #
|
||||||
# Copyright (c) 2020-2022 #
|
# Copyright (c) 2020-2022 #
|
||||||
# Time/Date: 12:00/13.12.2022 #
|
# Time/Date: 11:55/14.12.2022 #
|
||||||
# Version: 1.8.1 > 1.8.2 #
|
# Version: 1.8.1 > 1.8.2 #
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
|
|
||||||
@@ -131,8 +131,10 @@ notebook_style_root.theme_create( "theme_notebook_tabs_root", parent="alt", sett
|
|||||||
"TNotebook":{"configure":{"tabmargins":[2,5,2,0]}},
|
"TNotebook":{"configure":{"tabmargins":[2,5,2,0]}},
|
||||||
"TNotebook.Tab":{
|
"TNotebook.Tab":{
|
||||||
"configure":{"padding":[5, 1],"background":color3},
|
"configure":{"padding":[5, 1],"background":color3},
|
||||||
"map": {"background": [("selected", color2)], "foreground": [("selected", color3)],
|
"map":{"background":[("selected",color2)],"foreground":[("selected",color3)],"expand":[("selected",[1, 1, 1, 0])]}
|
||||||
"expand": [("selected", [1, 1, 1, 0])] } } } )
|
}
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
notebook_style_root.theme_use("theme_notebook_tabs_root")
|
notebook_style_root.theme_use("theme_notebook_tabs_root")
|
||||||
notebook_style_root=ttk.Style(window)
|
notebook_style_root=ttk.Style(window)
|
||||||
@@ -168,7 +170,9 @@ notebook_root.pack(pady=20,padx=20, expand=True)
|
|||||||
|
|
||||||
# Frame 1 - Left-Side:
|
# Frame 1 - Left-Side:
|
||||||
notebook_root_tab1_frame_photo=tk.PhotoImage(file='../images/welcome.png')
|
notebook_root_tab1_frame_photo=tk.PhotoImage(file='../images/welcome.png')
|
||||||
notebook_root_tab1_frame_image_label = ttk.Label(notebook_root_tab1, image=notebook_root_tab1_frame_photo, background=color3)
|
notebook_root_tab1_frame_image_label=ttk.Label(notebook_root_tab1,
|
||||||
|
image=notebook_root_tab1_frame_photo,
|
||||||
|
background=color3)
|
||||||
notebook_root_tab1_frame_image_label.pack(padx=20,side='left',expand=False)
|
notebook_root_tab1_frame_image_label.pack(padx=20,side='left',expand=False)
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------------------------- #
|
# ----------------------------------------------------------------------------------------------- #
|
||||||
@@ -292,24 +296,26 @@ def change_language(event):
|
|||||||
|
|
||||||
# Show a list of supported languages:
|
# Show a list of supported languages:
|
||||||
selected_language=tk.StringVar()
|
selected_language=tk.StringVar()
|
||||||
languages = ['Čeština',
|
languages=['Čeština','English', 'Deutsch', 'Español','Français','Italiano', '日本','한국인','中国人']
|
||||||
'English',
|
|
||||||
'Deutsch',
|
|
||||||
'Español',
|
|
||||||
'Français',
|
|
||||||
'Italiano',
|
|
||||||
'日本',
|
|
||||||
'한국인',
|
|
||||||
'中国人']
|
|
||||||
|
|
||||||
# --------------------------------------------------- #
|
# --------------------------------------------------- #
|
||||||
|
|
||||||
combobox=ttk.Style()
|
combobox=ttk.Style()
|
||||||
combobox.configure("custom.TCombobox", fieldbackground=color3, background=color3, foreground=color2, selectforeground=color2, selectbackground=color3)
|
combobox.configure("custom.TCombobox",
|
||||||
|
fieldbackground=color3,
|
||||||
|
background=color3,
|
||||||
|
foreground=color2,
|
||||||
|
selectforeground=color2,
|
||||||
|
selectbackground=color3)
|
||||||
|
|
||||||
# --------------------------------------------------- #
|
# --------------------------------------------------- #
|
||||||
|
|
||||||
notebook_root_tab1_frame_combobox1 = ttk.Combobox(notebook_root_tab1_frame_text, values=languages, textvariable=selected_language, width=8, justify='center', style="custom.TCombobox")
|
notebook_root_tab1_frame_combobox1=ttk.Combobox(notebook_root_tab1_frame_text,
|
||||||
|
values=languages,
|
||||||
|
textvariable=selected_language,
|
||||||
|
width=8,
|
||||||
|
justify='center',
|
||||||
|
style="custom.TCombobox")
|
||||||
notebook_root_tab1_frame_combobox1.pack(side='left',fill='x')
|
notebook_root_tab1_frame_combobox1.pack(side='left',fill='x')
|
||||||
notebook_root_tab1_frame_combobox1.set('English') # default selected option
|
notebook_root_tab1_frame_combobox1.set('English') # default selected option
|
||||||
notebook_root_tab1_frame_combobox1['state']='readonly'
|
notebook_root_tab1_frame_combobox1['state']='readonly'
|
||||||
@@ -321,14 +327,42 @@ notebook_root_tab1_frame_combobox1.bind("<<ComboboxSelected>>", change_language)
|
|||||||
# Frame 2 - Right-Side:
|
# Frame 2 - Right-Side:
|
||||||
notebook_root_tab1_frame_button_area=tk.Frame(notebook_root_tab1,background=color3)
|
notebook_root_tab1_frame_button_area=tk.Frame(notebook_root_tab1,background=color3)
|
||||||
notebook_root_tab1_frame_button_area.pack(padx=15,pady=15,side='bottom',anchor="e")
|
notebook_root_tab1_frame_button_area.pack(padx=15,pady=15,side='bottom',anchor="e")
|
||||||
notebook_root_tab1_frame_button_back = tk.Button(notebook_root_tab1_frame_button_area,text='< Back',width=6,height=1, underline=2, state=tk.DISABLED, background=color2, foreground=color3)
|
notebook_root_tab1_frame_button_back=tk.Button(notebook_root_tab1_frame_button_area,
|
||||||
|
text='< Back',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=2,
|
||||||
|
state=tk.DISABLED,
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab1_frame_button_back.grid(row=0,column=0,padx=5,pady=5)
|
notebook_root_tab1_frame_button_back.grid(row=0,column=0,padx=5,pady=5)
|
||||||
notebook_root_tab1_frame_button_back.grid_rowconfigure(0,weight=1)
|
notebook_root_tab1_frame_button_back.grid_rowconfigure(0,weight=1)
|
||||||
notebook_root_tab1_frame_button_cancel = tk.Button(notebook_root_tab1_frame_button_area,text='Cancel',width=6,height=1, underline=0, command=lambda:window.quit(), background=color2, foreground=color3)
|
notebook_root_tab1_frame_button_cancel=tk.Button(notebook_root_tab1_frame_button_area,
|
||||||
|
text='Cancel',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
command=lambda:window.quit(),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab1_frame_button_cancel.grid(row=0,column=1,padx=5,pady=5)
|
notebook_root_tab1_frame_button_cancel.grid(row=0,column=1,padx=5,pady=5)
|
||||||
notebook_root_tab1_frame_button_next = tk.Button(notebook_root_tab1_frame_button_area,text='Next >',width=6,height=1, underline=0, command=lambda:notebook_root.select(notebook_root_tab2), background=color2, foreground=color3)
|
notebook_root_tab1_frame_button_next=tk.Button(notebook_root_tab1_frame_button_area,
|
||||||
|
text='Next >',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
command=lambda:notebook_root.select(notebook_root_tab2),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab1_frame_button_next.grid(row=0,column=2,padx=5,pady=5)
|
notebook_root_tab1_frame_button_next.grid(row=0,column=2,padx=5,pady=5)
|
||||||
notebook_root_tab1_frame_button_help = tk.Button(notebook_root_tab1_frame_button_area,text='Help',width=6,height=1, underline=0, command=lambda:notebook_root.select(notebook_root_tab6), background=color2, foreground=color3)
|
notebook_root_tab1_frame_button_help=tk.Button(notebook_root_tab1_frame_button_area,
|
||||||
|
text='Help',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
command=lambda:notebook_root.select(notebook_root_tab6),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab1_frame_button_help.grid(row=0,column=3,padx=5,pady=5)
|
notebook_root_tab1_frame_button_help.grid(row=0,column=3,padx=5,pady=5)
|
||||||
|
|
||||||
###############################################################################################################################################################
|
###############################################################################################################################################################
|
||||||
@@ -345,9 +379,18 @@ notebook_root_tab2_frame_image_label.pack(padx=20, pady=20, side='left', fill='b
|
|||||||
# Frame 1 - Right-Side:
|
# Frame 1 - Right-Side:
|
||||||
notebook_root_tab2_frame_text=tk.Frame(notebook_root_tab2,background=color3)
|
notebook_root_tab2_frame_text=tk.Frame(notebook_root_tab2,background=color3)
|
||||||
notebook_root_tab2_frame_text.pack(padx=40,anchor="w")
|
notebook_root_tab2_frame_text.pack(padx=40,anchor="w")
|
||||||
notebook_root_tab2_frame_title = tk.Label(notebook_root_tab2_frame_text, text="Configure the Autodesk Fusion 360 for Linux Setup Wizard", font=(24), background=color3, foreground=color2)
|
notebook_root_tab2_frame_title=tk.Label(notebook_root_tab2_frame_text,
|
||||||
|
text="Configure the Autodesk Fusion 360 for Linux Setup Wizard",
|
||||||
|
font=(24),
|
||||||
|
background=color3,
|
||||||
|
foreground=color2)
|
||||||
notebook_root_tab2_frame_title.pack(pady=20,anchor="w")
|
notebook_root_tab2_frame_title.pack(pady=20,anchor="w")
|
||||||
notebook_root_tab2_frame_label1 = tk.Label(notebook_root_tab2_frame_text, text="In this step you can change some settings to apply your desired configuration of Autodesk Fusion 360 on your computer.", wraplength=430, justify="left", background=color3, foreground=color2)
|
notebook_root_tab2_frame_label1=tk.Label(notebook_root_tab2_frame_text,
|
||||||
|
text="In this step you can change some settings to apply your desired configuration of Autodesk Fusion 360 on your computer.",
|
||||||
|
wraplength=430,
|
||||||
|
justify="left",
|
||||||
|
background=color3,
|
||||||
|
foreground=color2)
|
||||||
notebook_root_tab2_frame_label1.pack(pady=5,anchor="w")
|
notebook_root_tab2_frame_label1.pack(pady=5,anchor="w")
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------------------------- #
|
# ----------------------------------------------------------------------------------------------- #
|
||||||
@@ -415,49 +458,129 @@ def change_distro_logo(event):
|
|||||||
|
|
||||||
# Show a list of supported Linux Distro's
|
# Show a list of supported Linux Distro's
|
||||||
selected_linux_distro=tk.StringVar()
|
selected_linux_distro=tk.StringVar()
|
||||||
linux_distros = ['Arch Linux',
|
linux_distros = ['Arch Linux','Debian','Fedora','Linux Mint','MX Linux','Manjaro','openSUSE','Pop!_OS','RPi Desktop','Red Hat','Solus','Ubuntu','Void Linux','Gentoo']
|
||||||
'Debian',
|
|
||||||
'Fedora',
|
|
||||||
'Linux Mint',
|
|
||||||
'MX Linux',
|
|
||||||
'Manjaro',
|
|
||||||
'openSUSE',
|
|
||||||
'Pop!_OS',
|
|
||||||
'RPi Desktop',
|
|
||||||
'Red Hat',
|
|
||||||
'Solus',
|
|
||||||
'Ubuntu',
|
|
||||||
'Void Linux',
|
|
||||||
'Gentoo']
|
|
||||||
|
|
||||||
style_missed_combobox=ttk.Style()
|
style_missed_combobox=ttk.Style()
|
||||||
style_missed_combobox.configure("Red.TCombobox", fieldbackground=color3, background=color1, foreground=color2, selectforeground=color2, selectbackground=color3)
|
style_missed_combobox.configure("Red.TCombobox",
|
||||||
|
fieldbackground=color3,
|
||||||
|
background=color1,
|
||||||
|
foreground=color2,
|
||||||
|
selectforeground=color2,
|
||||||
|
selectbackground=color3)
|
||||||
|
|
||||||
notebook_root_tab2_frame_label2 = ttk.Label(notebook_root_tab2_frame_text, text="1.) Select your installed Linux distro:", background=color3)
|
# ----------------------------------------------------------------------------------------------- #
|
||||||
notebook_root_tab2_frame_label2.pack(fill='x', padx=5, pady=5)
|
|
||||||
|
|
||||||
notebook_root_tab2_frame_photo1 = ImageTk.PhotoImage(Image.open("../images/opensuse.png"))
|
notebook_root_tab2_frame_text1=tk.Frame(notebook_root_tab2,background=color3)
|
||||||
notebook_root_tab2_frame_image_label1 = ttk.Label(notebook_root_tab2_frame_text, image=notebook_root_tab2_frame_photo1, background=color3)
|
notebook_root_tab2_frame_text1.pack(padx=40,anchor="w")
|
||||||
notebook_root_tab2_frame_image_label1.pack(side='left', padx=(20, 10))
|
notebook_root_tab2_frame_label2=ttk.Label(notebook_root_tab2_frame_text1,
|
||||||
notebook_root_tab2_frame_combobox1 = ttk.Combobox(notebook_root_tab2_frame_text, values=linux_distros, textvariable=selected_linux_distro, width=15, justify='center', style="Red.TCombobox")
|
text="1.) Select your installed Linux distro:",
|
||||||
|
background=color3)
|
||||||
|
notebook_root_tab2_frame_label2.pack(side='left',padx=5,pady=5)
|
||||||
|
notebook_root_tab2_frame_combobox1=ttk.Combobox(notebook_root_tab2_frame_text1,
|
||||||
|
values=linux_distros,
|
||||||
|
textvariable=selected_linux_distro,
|
||||||
|
width=15,
|
||||||
|
justify='center',
|
||||||
|
style="Red.TCombobox")
|
||||||
notebook_root_tab2_frame_combobox1.pack(side='left',fill='x')
|
notebook_root_tab2_frame_combobox1.pack(side='left',fill='x')
|
||||||
notebook_root_tab2_frame_combobox1.set('openSUSE') # default selected option
|
notebook_root_tab2_frame_combobox1.set('openSUSE') # default selected option
|
||||||
notebook_root_tab2_frame_combobox1['state']='readonly'
|
notebook_root_tab2_frame_combobox1['state']='readonly'
|
||||||
notebook_root_tab2_frame_combobox1.bind("<<ComboboxSelected>>",change_distro_logo)
|
notebook_root_tab2_frame_combobox1.bind("<<ComboboxSelected>>",change_distro_logo)
|
||||||
|
notebook_root_tab2_frame_photo1=ImageTk.PhotoImage(Image.open("../images/opensuse.png"))
|
||||||
|
notebook_root_tab2_frame_image_label1=ttk.Label(notebook_root_tab2_frame_text1,
|
||||||
|
image=notebook_root_tab2_frame_photo1,
|
||||||
|
background=color3)
|
||||||
|
notebook_root_tab2_frame_image_label1.pack(side='left', padx=5)
|
||||||
|
|
||||||
|
# ----------------------------------------------------------------------------------------------- #
|
||||||
|
|
||||||
|
# Change the logo of the selected GPU:
|
||||||
|
|
||||||
|
def change_gpu_logo(event):
|
||||||
|
if selected_gpu.get()=='AMD':
|
||||||
|
notebook_root_tab2_frame_photo2=ImageTk.PhotoImage(Image.open("../images/amd.png"))
|
||||||
|
notebook_root_tab2_frame_image_label2.configure(image=notebook_root_tab2_frame_photo2)
|
||||||
|
notebook_root_tab2_frame_image_label2.image=notebook_root_tab2_frame_photo2
|
||||||
|
elif selected_gpu.get()=='INTEL':
|
||||||
|
notebook_root_tab2_frame_photo2=ImageTk.PhotoImage(Image.open("../images/intel.png"))
|
||||||
|
notebook_root_tab2_frame_image_label2.configure(image=notebook_root_tab2_frame_photo2)
|
||||||
|
notebook_root_tab2_frame_image_label2.image=notebook_root_tab2_frame_photo2
|
||||||
|
elif selected_gpu.get()=='NVIDIA':
|
||||||
|
notebook_root_tab2_frame_photo2=ImageTk.PhotoImage(Image.open("../images/nvidia.png"))
|
||||||
|
notebook_root_tab2_frame_image_label2.configure(image=notebook_root_tab2_frame_photo2)
|
||||||
|
notebook_root_tab2_frame_image_label2.image=notebook_root_tab2_frame_photo2
|
||||||
|
|
||||||
|
# ----------------------------------------------------------------------------------------------- #
|
||||||
|
|
||||||
|
# Show a list of supported GPU's
|
||||||
|
selected_gpu=tk.StringVar()
|
||||||
|
list_gpu=['AMD','INTEL','NVIDIA']
|
||||||
|
|
||||||
|
# ----------------------------------------------------------------------------------------------- #
|
||||||
|
|
||||||
|
notebook_root_tab2_frame_text2=tk.Frame(notebook_root_tab2,background=color3)
|
||||||
|
notebook_root_tab2_frame_text2.pack(padx=40,anchor="w")
|
||||||
|
notebook_root_tab2_frame_label3=ttk.Label(notebook_root_tab2_frame_text2,
|
||||||
|
text="2.) Select your installed GPU:",
|
||||||
|
background=color3)
|
||||||
|
notebook_root_tab2_frame_label3.pack(side='left',padx=5,pady=5,anchor="w")
|
||||||
|
notebook_root_tab2_frame_combobox2=ttk.Combobox(notebook_root_tab2_frame_text2,
|
||||||
|
values=list_gpu,
|
||||||
|
textvariable=selected_gpu,
|
||||||
|
width=10,
|
||||||
|
justify='center',
|
||||||
|
style="Red.TCombobox")
|
||||||
|
notebook_root_tab2_frame_combobox2.pack(side='left',fill='x')
|
||||||
|
notebook_root_tab2_frame_combobox2.set('AMD') # default selected option
|
||||||
|
notebook_root_tab2_frame_combobox2['state']='readonly'
|
||||||
|
notebook_root_tab2_frame_combobox2.bind("<<ComboboxSelected>>",change_gpu_logo)
|
||||||
|
notebook_root_tab2_frame_photo2=ImageTk.PhotoImage(Image.open("../images/amd.png"))
|
||||||
|
notebook_root_tab2_frame_image_label2=ttk.Label(notebook_root_tab2_frame_text2,
|
||||||
|
image=notebook_root_tab2_frame_photo2,
|
||||||
|
background=color3)
|
||||||
|
notebook_root_tab2_frame_image_label2.pack(side='left',padx=5)
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------------------------- #
|
# ----------------------------------------------------------------------------------------------- #
|
||||||
|
|
||||||
# Frame 2 - Right-Side:
|
# Frame 2 - Right-Side:
|
||||||
notebook_root_tab2_frame_button_area=tk.Frame(notebook_root_tab2,background=color3)
|
notebook_root_tab2_frame_button_area=tk.Frame(notebook_root_tab2,background=color3)
|
||||||
notebook_root_tab2_frame_button_area.pack(padx=15,pady=15,side='bottom',anchor="e")
|
notebook_root_tab2_frame_button_area.pack(padx=15,pady=15,side='bottom',anchor="e")
|
||||||
notebook_root_tab2_frame_button_back = tk.Button(notebook_root_tab2_frame_button_area,text='< Back',width=6,height=1, underline=2, command=lambda:notebook_root.select(notebook_root_tab1), background=color2, foreground=color3)
|
notebook_root_tab2_frame_button_back=tk.Button(notebook_root_tab2_frame_button_area,
|
||||||
|
text='< Back',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=2,
|
||||||
|
command=lambda:notebook_root.select(notebook_root_tab1),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab2_frame_button_back.grid(row=0,column=0,padx=5,pady=5)
|
notebook_root_tab2_frame_button_back.grid(row=0,column=0,padx=5,pady=5)
|
||||||
notebook_root_tab2_frame_button_back.grid_rowconfigure(0,weight=1)
|
notebook_root_tab2_frame_button_back.grid_rowconfigure(0,weight=1)
|
||||||
notebook_root_tab2_frame_button_cancel = tk.Button(notebook_root_tab2_frame_button_area,text='Cancel',width=6,height=1, underline=0, command=lambda:window.quit(), background=color2, foreground=color3)
|
notebook_root_tab2_frame_button_cancel=tk.Button(notebook_root_tab2_frame_button_area,
|
||||||
|
text='Cancel',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
command=lambda:window.quit(),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab2_frame_button_cancel.grid(row=0,column=1,padx=5,pady=5)
|
notebook_root_tab2_frame_button_cancel.grid(row=0,column=1,padx=5,pady=5)
|
||||||
notebook_root_tab2_frame_button_next = tk.Button(notebook_root_tab2_frame_button_area,text='Next >',width=6,height=1, underline=0, command=lambda:notebook_root.select(notebook_root_tab3), background=color2, foreground=color3)
|
notebook_root_tab2_frame_button_next=tk.Button(notebook_root_tab2_frame_button_area,
|
||||||
|
text='Next >',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
command=lambda:notebook_root.select(notebook_root_tab3),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab2_frame_button_next.grid(row=0,column=2,padx=5,pady=5)
|
notebook_root_tab2_frame_button_next.grid(row=0,column=2,padx=5,pady=5)
|
||||||
notebook_root_tab2_frame_button_help = tk.Button(notebook_root_tab2_frame_button_area,text='Help',width=6,height=1, underline=0, command=lambda:notebook_root.select(notebook_root_tab6), background=color2, foreground=color3)
|
notebook_root_tab2_frame_button_help=tk.Button(notebook_root_tab2_frame_button_area,
|
||||||
|
text='Help',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
command=lambda:notebook_root.select(notebook_root_tab6),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab2_frame_button_help.grid(row=0,column=3,padx=5,pady=5)
|
notebook_root_tab2_frame_button_help.grid(row=0,column=3,padx=5,pady=5)
|
||||||
|
|
||||||
###############################################################################################################################################################
|
###############################################################################################################################################################
|
||||||
@@ -474,9 +597,18 @@ notebook_root_tab3_frame_image_label.pack(padx=20, pady=20, side='left', fill='b
|
|||||||
# Frame 1 - Right-Side:
|
# Frame 1 - Right-Side:
|
||||||
notebook_root_tab3_frame_text=tk.Frame(notebook_root_tab3,background=color3)
|
notebook_root_tab3_frame_text=tk.Frame(notebook_root_tab3,background=color3)
|
||||||
notebook_root_tab3_frame_text.pack(padx=40, anchor="w")
|
notebook_root_tab3_frame_text.pack(padx=40, anchor="w")
|
||||||
notebook_root_tab3_frame_title = tk.Label(notebook_root_tab3_frame_text, text="Configure the plugins", font=(24), background=color3, foreground=color2)
|
notebook_root_tab3_frame_title=tk.Label(notebook_root_tab3_frame_text,
|
||||||
|
text="Configure the plugins",
|
||||||
|
font=(24),
|
||||||
|
background=color3,
|
||||||
|
foreground=color2)
|
||||||
notebook_root_tab3_frame_title.pack(pady=20,anchor="w")
|
notebook_root_tab3_frame_title.pack(pady=20,anchor="w")
|
||||||
notebook_root_tab3_frame_label1 = tk.Label(notebook_root_tab3_frame_text, text="In this step you can see a list of available and tested plugins for Autodesk Fusion 360. It is recommended if you want to add additional functionality to your workflow.", wraplength=430, justify="left", background=color3, foreground=color2)
|
notebook_root_tab3_frame_label1=tk.Label(notebook_root_tab3_frame_text,
|
||||||
|
text="In this step you can see a list of available and tested plugins for Autodesk Fusion 360. It is recommended if you want to add additional functionality to your workflow.",
|
||||||
|
wraplength=430,
|
||||||
|
justify="left",
|
||||||
|
background=color3,
|
||||||
|
foreground=color2)
|
||||||
notebook_root_tab3_frame_label1.pack(pady=5,anchor="w")
|
notebook_root_tab3_frame_label1.pack(pady=5,anchor="w")
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------------------------- #
|
# ----------------------------------------------------------------------------------------------- #
|
||||||
@@ -545,14 +677,23 @@ listbox_plugins.bind('<<ListboxSelect>>', add_selected_plugins)
|
|||||||
notebook_root_tab3_frame_text_notice=tk.Frame(notebook_root_tab3,background=color3)
|
notebook_root_tab3_frame_text_notice=tk.Frame(notebook_root_tab3,background=color3)
|
||||||
notebook_root_tab3_frame_text_notice.pack(padx=40, anchor="w")
|
notebook_root_tab3_frame_text_notice.pack(padx=40, anchor="w")
|
||||||
|
|
||||||
notebook_root_tab4_frame_label2 = tk.Label(notebook_root_tab3_frame_text_notice, text="More information can be found here:", wraplength=430, justify="left", background=color3, foreground=color2)
|
notebook_root_tab4_frame_label2=tk.Label(notebook_root_tab3_frame_text_notice,
|
||||||
|
text="More information can be found here:",
|
||||||
|
wraplength=430,
|
||||||
|
justify="left",
|
||||||
|
background=color3,
|
||||||
|
foreground=color2)
|
||||||
notebook_root_tab4_frame_label2.pack(side=tk.LEFT)
|
notebook_root_tab4_frame_label2.pack(side=tk.LEFT)
|
||||||
|
|
||||||
# Open the documentation:
|
# Open the documentation:
|
||||||
def plugins_callback(url):
|
def plugins_callback(url):
|
||||||
webbrowser.open_new(url)
|
webbrowser.open_new(url)
|
||||||
|
|
||||||
notebook_root_tab4_frame_label3 = tk.Label(notebook_root_tab3_frame_text_notice, text="Extensions for Autodesk Fusion 360", fg=color4, bg=color3, cursor="hand2")
|
notebook_root_tab4_frame_label3=tk.Label(notebook_root_tab3_frame_text_notice,
|
||||||
|
text="Extensions for Autodesk Fusion 360",
|
||||||
|
fg=color4,
|
||||||
|
bg=color3,
|
||||||
|
cursor="hand2")
|
||||||
notebook_root_tab4_frame_label3.pack(side=tk.LEFT)
|
notebook_root_tab4_frame_label3.pack(side=tk.LEFT)
|
||||||
notebook_root_tab4_frame_label3.bind("<Button-1>",lambda e: plugins_callback("https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/tree/main/files/docs/en-US/extensions"))
|
notebook_root_tab4_frame_label3.bind("<Button-1>",lambda e: plugins_callback("https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/tree/main/files/docs/en-US/extensions"))
|
||||||
|
|
||||||
@@ -562,14 +703,42 @@ notebook_root_tab4_frame_label3.bind("<Button-1>", lambda e: plugins_callback("h
|
|||||||
# Frame 3 - Right-Side:
|
# Frame 3 - Right-Side:
|
||||||
notebook_root_tab3_frame_button_area=tk.Frame(notebook_root_tab3, background=color3)
|
notebook_root_tab3_frame_button_area=tk.Frame(notebook_root_tab3, background=color3)
|
||||||
notebook_root_tab3_frame_button_area.pack(padx=15,pady=15,side='bottom',anchor="e")
|
notebook_root_tab3_frame_button_area.pack(padx=15,pady=15,side='bottom',anchor="e")
|
||||||
notebook_root_tab3_frame_button_back = tk.Button(notebook_root_tab3_frame_button_area,text='< Back',width=6,height=1, underline=2, command=lambda:notebook_root.select(notebook_root_tab2), background=color2, foreground=color3)
|
notebook_root_tab3_frame_button_back=tk.Button(notebook_root_tab3_frame_button_area,
|
||||||
|
text='< Back',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=2,
|
||||||
|
command=lambda:notebook_root.select(notebook_root_tab2),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab3_frame_button_back.grid(row=0,column=0,padx=5,pady=5)
|
notebook_root_tab3_frame_button_back.grid(row=0,column=0,padx=5,pady=5)
|
||||||
notebook_root_tab3_frame_button_back.grid_rowconfigure(0, weight=1)
|
notebook_root_tab3_frame_button_back.grid_rowconfigure(0, weight=1)
|
||||||
notebook_root_tab3_frame_button_cancel = tk.Button(notebook_root_tab3_frame_button_area,text='Cancel',width=6,height=1, underline=0, command=lambda:window.quit(), background=color2, foreground=color3)
|
notebook_root_tab3_frame_button_cancel=tk.Button(notebook_root_tab3_frame_button_area,
|
||||||
|
text='Cancel',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
command=lambda:window.quit(),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab3_frame_button_cancel.grid(row=0,column=1,padx=5,pady=5)
|
notebook_root_tab3_frame_button_cancel.grid(row=0,column=1,padx=5,pady=5)
|
||||||
notebook_root_tab3_frame_button_next = tk.Button(notebook_root_tab3_frame_button_area,text='Next >',width=6,height=1, underline=0, command=lambda:notebook_root.select(notebook_root_tab4), background=color2, foreground=color3)
|
notebook_root_tab3_frame_button_next=tk.Button(notebook_root_tab3_frame_button_area,
|
||||||
|
text='Next >',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
command=lambda:notebook_root.select(notebook_root_tab4),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab3_frame_button_next.grid(row=0,column=2,padx=5,pady=5)
|
notebook_root_tab3_frame_button_next.grid(row=0,column=2,padx=5,pady=5)
|
||||||
notebook_root_tab3_frame_button_help = tk.Button(notebook_root_tab3_frame_button_area,text='Help',width=6,height=1, underline=0, command=lambda:notebook_root.select(notebook_root_tab6), background=color2, foreground=color3)
|
notebook_root_tab3_frame_button_help=tk.Button(notebook_root_tab3_frame_button_area,
|
||||||
|
text='Help',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
command=lambda:notebook_root.select(notebook_root_tab6),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab3_frame_button_help.grid(row=0,column=3,padx=5,pady=5)
|
notebook_root_tab3_frame_button_help.grid(row=0,column=3,padx=5,pady=5)
|
||||||
|
|
||||||
###############################################################################################################################################################
|
###############################################################################################################################################################
|
||||||
@@ -586,9 +755,18 @@ notebook_root_tab4_frame_image_label.pack(padx=20, pady=20, side='left', fill='b
|
|||||||
# Frame 1 - Right-Side:
|
# Frame 1 - Right-Side:
|
||||||
notebook_root_tab4_frame_text=tk.Frame(notebook_root_tab4,background=color3)
|
notebook_root_tab4_frame_text=tk.Frame(notebook_root_tab4,background=color3)
|
||||||
notebook_root_tab4_frame_text.pack(padx=40,anchor="w")
|
notebook_root_tab4_frame_text.pack(padx=40,anchor="w")
|
||||||
notebook_root_tab4_frame_title = tk.Label(notebook_root_tab4_frame_text, text="System Information", font=(24), background=color3, foreground=color2)
|
notebook_root_tab4_frame_title=tk.Label(notebook_root_tab4_frame_text,
|
||||||
|
text="System Information",
|
||||||
|
font=(24),
|
||||||
|
background=color3,
|
||||||
|
foreground=color2)
|
||||||
notebook_root_tab4_frame_title.pack(pady=20,anchor="w")
|
notebook_root_tab4_frame_title.pack(pady=20,anchor="w")
|
||||||
notebook_root_tab4_frame_label1 = tk.Label(notebook_root_tab4_frame_text, text="In this step you can see a list of available and tested plugins for Autodesk Fusion 360. It is recommended if you want to add additional functionality to your workflow.", wraplength=430, justify="left", background=color3, foreground=color2)
|
notebook_root_tab4_frame_label1=tk.Label(notebook_root_tab4_frame_text,
|
||||||
|
text="In this step you can see a list of available and tested plugins for Autodesk Fusion 360. It is recommended if you want to add additional functionality to your workflow.",
|
||||||
|
wraplength=430,
|
||||||
|
justify="left",
|
||||||
|
background=color3,
|
||||||
|
foreground=color2)
|
||||||
notebook_root_tab4_frame_label1.pack(pady=5,anchor="w")
|
notebook_root_tab4_frame_label1.pack(pady=5,anchor="w")
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------------------------- #
|
# ----------------------------------------------------------------------------------------------- #
|
||||||
@@ -605,17 +783,31 @@ system_info = system_info_get.read()
|
|||||||
|
|
||||||
# ----------------------------------------------------------------------------------------------- #
|
# ----------------------------------------------------------------------------------------------- #
|
||||||
|
|
||||||
notebook_root_tab4_frame_label2 = tk.Label(notebook_root_tab4_frame_text, text="" + system_info, wraplength=430, justify="left", background=color3, foreground=color2)
|
notebook_root_tab4_frame_label2=tk.Label(notebook_root_tab4_frame_text,
|
||||||
|
text="" + system_info,
|
||||||
|
wraplength=430,
|
||||||
|
justify="left",
|
||||||
|
background=color3,
|
||||||
|
foreground=color2)
|
||||||
notebook_root_tab4_frame_label2.pack(pady=10,anchor="w")
|
notebook_root_tab4_frame_label2.pack(pady=10,anchor="w")
|
||||||
|
|
||||||
notebook_root_tab4_frame_label3 = tk.Label(notebook_root_tab4_frame_text, text="More information can be found here:", wraplength=430, justify="left", background=color3, foreground=color2)
|
notebook_root_tab4_frame_label3=tk.Label(notebook_root_tab4_frame_text,
|
||||||
|
text="More information can be found here:",
|
||||||
|
wraplength=430,
|
||||||
|
justify="left",
|
||||||
|
background=color3,
|
||||||
|
foreground=color2)
|
||||||
notebook_root_tab4_frame_label3.pack(side=tk.LEFT)
|
notebook_root_tab4_frame_label3.pack(side=tk.LEFT)
|
||||||
|
|
||||||
# Open the documentation:
|
# Open the documentation:
|
||||||
def documentation_callback(url):
|
def documentation_callback(url):
|
||||||
webbrowser.open_new(url)
|
webbrowser.open_new(url)
|
||||||
|
|
||||||
notebook_root_tab4_frame_label4 = tk.Label(notebook_root_tab4_frame_text, text="Project Documentation", fg=color4, bg=color3, cursor="hand2")
|
notebook_root_tab4_frame_label4=tk.Label(notebook_root_tab4_frame_text,
|
||||||
|
text="Project Documentation",
|
||||||
|
fg=color4,
|
||||||
|
bg=color3,
|
||||||
|
cursor="hand2")
|
||||||
notebook_root_tab4_frame_label4.pack(side=tk.LEFT)
|
notebook_root_tab4_frame_label4.pack(side=tk.LEFT)
|
||||||
notebook_root_tab4_frame_label4.bind("<Button-1>",lambda e: documentation_callback("https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/wiki/Documentation"))
|
notebook_root_tab4_frame_label4.bind("<Button-1>",lambda e: documentation_callback("https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/wiki/Documentation"))
|
||||||
|
|
||||||
@@ -625,14 +817,42 @@ notebook_root_tab4_frame_label4.bind("<Button-1>", lambda e: documentation_callb
|
|||||||
# Frame 2 - Right-Side:
|
# Frame 2 - Right-Side:
|
||||||
notebook_root_tab4_frame_button_area=tk.Frame(notebook_root_tab4,background=color3)
|
notebook_root_tab4_frame_button_area=tk.Frame(notebook_root_tab4,background=color3)
|
||||||
notebook_root_tab4_frame_button_area.pack(padx=15,pady=15,side='bottom',anchor="e")
|
notebook_root_tab4_frame_button_area.pack(padx=15,pady=15,side='bottom',anchor="e")
|
||||||
notebook_root_tab4_frame_button_back = tk.Button(notebook_root_tab4_frame_button_area,text='< Back',width=6,height=1, underline=2, command=lambda:notebook_root.select(notebook_root_tab3), background=color2, foreground=color3)
|
notebook_root_tab4_frame_button_back=tk.Button(notebook_root_tab4_frame_button_area,
|
||||||
|
text='< Back',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=2,
|
||||||
|
command=lambda:notebook_root.select(notebook_root_tab3),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab4_frame_button_back.grid(row=0,column=0,padx=5,pady=5)
|
notebook_root_tab4_frame_button_back.grid(row=0,column=0,padx=5,pady=5)
|
||||||
notebook_root_tab4_frame_button_back.grid_rowconfigure(0,weight=1)
|
notebook_root_tab4_frame_button_back.grid_rowconfigure(0,weight=1)
|
||||||
notebook_root_tab4_frame_button_cancel = tk.Button(notebook_root_tab4_frame_button_area,text='Cancel',width=6,height=1, underline=0, command=lambda:window.quit(), background=color2, foreground=color3)
|
notebook_root_tab4_frame_button_cancel=tk.Button(notebook_root_tab4_frame_button_area,
|
||||||
|
text='Cancel',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
command=lambda:window.quit(),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab4_frame_button_cancel.grid(row=0,column=1,padx=5,pady=5)
|
notebook_root_tab4_frame_button_cancel.grid(row=0,column=1,padx=5,pady=5)
|
||||||
notebook_root_tab4_frame_button_next = tk.Button(notebook_root_tab4_frame_button_area,text='Next >',width=6,height=1, underline=0, command=lambda:notebook_root.select(notebook_root_tab5), background=color2, foreground=color3)
|
notebook_root_tab4_frame_button_next=tk.Button(notebook_root_tab4_frame_button_area,
|
||||||
|
text='Next >',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
command=lambda:notebook_root.select(notebook_root_tab5),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab4_frame_button_next.grid(row=0,column=2,padx=5,pady=5)
|
notebook_root_tab4_frame_button_next.grid(row=0,column=2,padx=5,pady=5)
|
||||||
notebook_root_tab4_frame_button_help = tk.Button(notebook_root_tab4_frame_button_area,text='Help',width=6,height=1, underline=0, command=lambda:notebook_root.select(notebook_root_tab6), background=color2, foreground=color3)
|
notebook_root_tab4_frame_button_help=tk.Button(notebook_root_tab4_frame_button_area,
|
||||||
|
text='Help',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
command=lambda:notebook_root.select(notebook_root_tab6),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab4_frame_button_help.grid(row=0,column=3,padx=5,pady=5)
|
notebook_root_tab4_frame_button_help.grid(row=0,column=3,padx=5,pady=5)
|
||||||
|
|
||||||
###############################################################################################################################################################
|
###############################################################################################################################################################
|
||||||
@@ -649,9 +869,18 @@ notebook_root_tab5_frame_image_label.pack(padx=20, pady=20, side='left', fill='b
|
|||||||
# Frame 1 - Right-Side:
|
# Frame 1 - Right-Side:
|
||||||
notebook_root_tab5_frame_text=tk.Frame(notebook_root_tab5,background=color3,width=100)
|
notebook_root_tab5_frame_text=tk.Frame(notebook_root_tab5,background=color3,width=100)
|
||||||
notebook_root_tab5_frame_text.pack(padx=40,anchor="w")
|
notebook_root_tab5_frame_text.pack(padx=40,anchor="w")
|
||||||
notebook_root_tab5_frame_title = tk.Label(notebook_root_tab5_frame_text, text="About", font=(24), background=color3, foreground=color2)
|
notebook_root_tab5_frame_title=tk.Label(notebook_root_tab5_frame_text,
|
||||||
|
text="About",
|
||||||
|
font=(24),
|
||||||
|
background=color3,
|
||||||
|
foreground=color2)
|
||||||
notebook_root_tab5_frame_title.pack(pady=20,anchor="w")
|
notebook_root_tab5_frame_title.pack(pady=20,anchor="w")
|
||||||
notebook_root_tab5_frame_label1 = tk.Label(notebook_root_tab5_frame_text, text="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.", wraplength=430, justify="left", background=color3, foreground=color2)
|
notebook_root_tab5_frame_label1=tk.Label(notebook_root_tab5_frame_text,
|
||||||
|
text="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.",
|
||||||
|
wraplength=430,
|
||||||
|
justify="left",
|
||||||
|
background=color3,
|
||||||
|
foreground=color2)
|
||||||
notebook_root_tab5_frame_label1.pack(pady=5,anchor="w")
|
notebook_root_tab5_frame_label1.pack(pady=5,anchor="w")
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------------------------- #
|
# ----------------------------------------------------------------------------------------------- #
|
||||||
@@ -659,14 +888,42 @@ notebook_root_tab5_frame_label1.pack(pady=5, anchor="w")
|
|||||||
# Frame 2 - Right-Side:
|
# Frame 2 - Right-Side:
|
||||||
notebook_root_tab5_frame_button_area=tk.Frame(notebook_root_tab5,background=color3)
|
notebook_root_tab5_frame_button_area=tk.Frame(notebook_root_tab5,background=color3)
|
||||||
notebook_root_tab5_frame_button_area.pack(padx=15,pady=15,side='bottom',anchor="e")
|
notebook_root_tab5_frame_button_area.pack(padx=15,pady=15,side='bottom',anchor="e")
|
||||||
notebook_root_tab5_frame_button_back = tk.Button(notebook_root_tab5_frame_button_area,text='< Back',width=6,height=1, underline=2, command=lambda:notebook_root.select(notebook_root_tab4), background=color2, foreground=color3)
|
notebook_root_tab5_frame_button_back=tk.Button(notebook_root_tab5_frame_button_area,
|
||||||
|
text='< Back',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=2,
|
||||||
|
command=lambda:notebook_root.select(notebook_root_tab4),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab5_frame_button_back.grid(row=0,column=0,padx=5,pady=5)
|
notebook_root_tab5_frame_button_back.grid(row=0,column=0,padx=5,pady=5)
|
||||||
notebook_root_tab5_frame_button_back.grid_rowconfigure(0,weight=1)
|
notebook_root_tab5_frame_button_back.grid_rowconfigure(0,weight=1)
|
||||||
notebook_root_tab5_frame_button_cancel = tk.Button(notebook_root_tab5_frame_button_area,text='Cancel',width=6,height=1, underline=0, command=lambda:window.quit(), background=color2, foreground=color3)
|
notebook_root_tab5_frame_button_cancel=tk.Button(notebook_root_tab5_frame_button_area,
|
||||||
|
text='Cancel',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
command=lambda:window.quit(),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab5_frame_button_cancel.grid(row=0,column=1,padx=5,pady=5)
|
notebook_root_tab5_frame_button_cancel.grid(row=0,column=1,padx=5,pady=5)
|
||||||
notebook_root_tab5_frame_button_next = tk.Button(notebook_root_tab5_frame_button_area,text='Next >',width=6,height=1, underline=0, command=lambda:notebook_root.select(notebook_root_tab6), background=color2, foreground=color3)
|
notebook_root_tab5_frame_button_next=tk.Button(notebook_root_tab5_frame_button_area,
|
||||||
|
text='Next >',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
command=lambda:notebook_root.select(notebook_root_tab6),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab5_frame_button_next.grid(row=0,column=2,padx=5,pady=5)
|
notebook_root_tab5_frame_button_next.grid(row=0,column=2,padx=5,pady=5)
|
||||||
notebook_root_tab5_frame_button_help = tk.Button(notebook_root_tab5_frame_button_area,text='Help',width=6,height=1, underline=0, command=lambda:notebook_root.select(notebook_root_tab6), background=color2, foreground=color3)
|
notebook_root_tab5_frame_button_help=tk.Button(notebook_root_tab5_frame_button_area,
|
||||||
|
text='Help',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
command=lambda:notebook_root.select(notebook_root_tab6),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab5_frame_button_help.grid(row=0,column=3,padx=5,pady=5)
|
notebook_root_tab5_frame_button_help.grid(row=0,column=3,padx=5,pady=5)
|
||||||
|
|
||||||
###############################################################################################################################################################
|
###############################################################################################################################################################
|
||||||
@@ -683,9 +940,18 @@ notebook_root_tab6_frame_image_label.pack(padx=20, pady=20, side='left', fill='b
|
|||||||
# Frame 1 - Right-Side:
|
# Frame 1 - Right-Side:
|
||||||
notebook_root_tab6_frame_text=tk.Frame(notebook_root_tab6, background=color3)
|
notebook_root_tab6_frame_text=tk.Frame(notebook_root_tab6, background=color3)
|
||||||
notebook_root_tab6_frame_text.pack(padx=40,anchor="w")
|
notebook_root_tab6_frame_text.pack(padx=40,anchor="w")
|
||||||
notebook_root_tab6_frame_title = tk.Label(notebook_root_tab6_frame_text, text="Documentation", font=(24), background=color3, foreground=color2)
|
notebook_root_tab6_frame_title=tk.Label(notebook_root_tab6_frame_text,
|
||||||
|
text="Documentation",
|
||||||
|
font=(24),
|
||||||
|
background=color3,
|
||||||
|
foreground=color2)
|
||||||
notebook_root_tab6_frame_title.pack(pady=20,anchor="w")
|
notebook_root_tab6_frame_title.pack(pady=20,anchor="w")
|
||||||
notebook_root_tab6_frame_label1 = tk.Label(notebook_root_tab6_frame_text, text="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.", wraplength=430, justify="left", background=color3, foreground=color2)
|
notebook_root_tab6_frame_label1=tk.Label(notebook_root_tab6_frame_text,
|
||||||
|
text="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.",
|
||||||
|
wraplength=430,
|
||||||
|
justify="left",
|
||||||
|
background=color3,
|
||||||
|
foreground=color2)
|
||||||
notebook_root_tab6_frame_label1.pack(pady=5,anchor="w")
|
notebook_root_tab6_frame_label1.pack(pady=5,anchor="w")
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------------------------- #
|
# ----------------------------------------------------------------------------------------------- #
|
||||||
@@ -693,14 +959,42 @@ notebook_root_tab6_frame_label1.pack(pady=5, anchor="w")
|
|||||||
# Frame 2 - Right-Side:
|
# Frame 2 - Right-Side:
|
||||||
notebook_root_tab6_frame_button_area=tk.Frame(notebook_root_tab6,background=color3)
|
notebook_root_tab6_frame_button_area=tk.Frame(notebook_root_tab6,background=color3)
|
||||||
notebook_root_tab6_frame_button_area.pack(padx=15,pady=15,side='bottom',anchor="e")
|
notebook_root_tab6_frame_button_area.pack(padx=15,pady=15,side='bottom',anchor="e")
|
||||||
notebook_root_tab6_frame_button_back = tk.Button(notebook_root_tab6_frame_button_area,text='< Back',width=6,height=1, underline=2, command=lambda:notebook_root.select(notebook_root_tab5), background=color2, foreground=color3)
|
notebook_root_tab6_frame_button_back=tk.Button(notebook_root_tab6_frame_button_area,
|
||||||
|
text='< Back',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=2,
|
||||||
|
command=lambda:notebook_root.select(notebook_root_tab5),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab6_frame_button_back.grid(row=0,column=0,padx=5,pady=5)
|
notebook_root_tab6_frame_button_back.grid(row=0,column=0,padx=5,pady=5)
|
||||||
notebook_root_tab6_frame_button_back.grid_rowconfigure(0,weight=1)
|
notebook_root_tab6_frame_button_back.grid_rowconfigure(0,weight=1)
|
||||||
notebook_root_tab6_frame_button_cancel = tk.Button(notebook_root_tab6_frame_button_area,text='Cancel',width=6,height=1, underline=0, command=lambda:window.quit(), background=color2, foreground=color3)
|
notebook_root_tab6_frame_button_cancel=tk.Button(notebook_root_tab6_frame_button_area,
|
||||||
|
text='Cancel',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
command=lambda:window.quit(),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab6_frame_button_cancel.grid(row=0,column=1,padx=5,pady=5)
|
notebook_root_tab6_frame_button_cancel.grid(row=0,column=1,padx=5,pady=5)
|
||||||
notebook_root_tab6_frame_button_next = tk.Button(notebook_root_tab6_frame_button_area,text='Next >',width=6,height=1, underline=0, command=lambda:notebook_root.select(notebook_root_tab6), background=color2, foreground=color3)
|
notebook_root_tab6_frame_button_next=tk.Button(notebook_root_tab6_frame_button_area,
|
||||||
|
text='Next >',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
command=lambda:notebook_root.select(notebook_root_tab6),
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab6_frame_button_next.grid(row=0,column=2,padx=5,pady=5)
|
notebook_root_tab6_frame_button_next.grid(row=0,column=2,padx=5,pady=5)
|
||||||
notebook_root_tab6_frame_button_help = tk.Button(notebook_root_tab6_frame_button_area,text='Help',width=6,height=1, underline=0, state=tk.DISABLED, background=color2, foreground=color3)
|
notebook_root_tab6_frame_button_help=tk.Button(notebook_root_tab6_frame_button_area,
|
||||||
|
text='Help',
|
||||||
|
width=6,
|
||||||
|
height=1,
|
||||||
|
underline=0,
|
||||||
|
state=tk.DISABLED,
|
||||||
|
background=color2,
|
||||||
|
foreground=color3)
|
||||||
notebook_root_tab6_frame_button_help.grid(row=0,column=3,padx=5,pady=5)
|
notebook_root_tab6_frame_button_help.grid(row=0,column=3,padx=5,pady=5)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user