- Translate file de_De complete
- new FrameWidget for rename Entry and rename Button
This commit is contained in:
parent
e719a1f23f
commit
1f80d5342c
11
Changelog
11
Changelog
@ -8,6 +8,14 @@ My standard System: Linux Mint 22 Cinnamon
|
|||||||
- for loops with lists replaced by List Comprehensions
|
- for loops with lists replaced by List Comprehensions
|
||||||
- Update search after start of Wire-Py
|
- Update search after start of Wire-Py
|
||||||
|
|
||||||
|
|
||||||
|
### Added
|
||||||
|
10-11-2024
|
||||||
|
|
||||||
|
- Translate file de_De complete
|
||||||
|
- new FrameWidget for rename Entry and rename Button
|
||||||
|
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
09-11-2024
|
09-11-2024
|
||||||
|
|
||||||
@ -15,7 +23,6 @@ My standard System: Linux Mint 22 Cinnamon
|
|||||||
- Move Version Variable in main script
|
- Move Version Variable in main script
|
||||||
- Edit Class GiteaUpdate for requests in api_down and download
|
- Edit Class GiteaUpdate for requests in api_down and download
|
||||||
- Description on Class GiteaUpdate
|
- Description on Class GiteaUpdate
|
||||||
- Translate file De complete
|
|
||||||
|
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
@ -25,6 +32,7 @@ My standard System: Linux Mint 22 Cinnamon
|
|||||||
- separate folder for general icons
|
- separate folder for general icons
|
||||||
- install edit for new dir lx-icons
|
- install edit for new dir lx-icons
|
||||||
|
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
08-11-2024
|
08-11-2024
|
||||||
|
|
||||||
@ -33,6 +41,7 @@ My standard System: Linux Mint 22 Cinnamon
|
|||||||
- add new Frame for Widgets on Bottom
|
- add new Frame for Widgets on Bottom
|
||||||
- optimize from tkinter * to from tkinter import filedialog, ttk, TclError
|
- optimize from tkinter * to from tkinter import filedialog, ttk, TclError
|
||||||
|
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
07-11-2024
|
07-11-2024
|
||||||
|
|
||||||
|
17
wg_main.py
17
wg_main.py
@ -14,7 +14,7 @@ from cls_mth_fc import (Tunnel, msg_window, GiteaUpdate, _u, wg_tips, wg_set)
|
|||||||
tcl_path = Path('/usr/share/TK-Themes')
|
tcl_path = Path('/usr/share/TK-Themes')
|
||||||
|
|
||||||
''' 1 = 1. Year, 09 = Month of the Year, 2924 = Day and Year of the Year '''
|
''' 1 = 1. Year, 09 = Month of the Year, 2924 = Day and Year of the Year '''
|
||||||
version = 'v. 1.11.0924'
|
version = 'v. 1.11.1024'
|
||||||
|
|
||||||
res = GiteaUpdate.api_down('https://git.ilunix.de/api/v1/repos/punix/Wire-Py/releases', version)
|
res = GiteaUpdate.api_down('https://git.ilunix.de/api/v1/repos/punix/Wire-Py/releases', version)
|
||||||
|
|
||||||
@ -178,7 +178,7 @@ class FrameWidgets(ttk.Frame):
|
|||||||
window.my_tool_tip.destroy()
|
window.my_tool_tip.destroy()
|
||||||
|
|
||||||
self.options_btn = ttk.Menubutton(self.menu_frame, text=_('Options'))
|
self.options_btn = ttk.Menubutton(self.menu_frame, text=_('Options'))
|
||||||
self.options_btn.grid(column=1, row=0)
|
self.options_btn.grid(column=1, columnspan=1, row=0)
|
||||||
|
|
||||||
def sets_enter(event):
|
def sets_enter(event):
|
||||||
""" The mouse moves into the entry widget """
|
""" The mouse moves into the entry widget """
|
||||||
@ -205,12 +205,12 @@ class FrameWidgets(ttk.Frame):
|
|||||||
|
|
||||||
''' About BTN Menu / Label '''
|
''' About BTN Menu / Label '''
|
||||||
self.about_btn = ttk.Button(self.menu_frame, text=_('About'), style='Toolbutton', command=info)
|
self.about_btn = ttk.Button(self.menu_frame, text=_('About'), style='Toolbutton', command=info)
|
||||||
self.about_btn.grid(column=2, row=0)
|
self.about_btn.grid(column=2, columnspan=2, row=0)
|
||||||
self.readme = tk.Menu(self)
|
self.readme = tk.Menu(self)
|
||||||
|
|
||||||
''' Update and Tooltip Label '''
|
''' Update and Tooltip Label '''
|
||||||
self.updates_lb = ttk.Label(self.menu_frame)
|
self.updates_lb = ttk.Label(self.menu_frame)
|
||||||
self.updates_lb.grid(column=3, row=0, padx=10)
|
self.updates_lb.grid(column=3, columnspan=3, row=0, padx=10)
|
||||||
'''View Checkbox for enable or disable Tooltip '''
|
'''View Checkbox for enable or disable Tooltip '''
|
||||||
if wg_tips:
|
if wg_tips:
|
||||||
set_tip.set(value=False)
|
set_tip.set(value=False)
|
||||||
@ -304,6 +304,11 @@ class FrameWidgets(ttk.Frame):
|
|||||||
self.lb_frame3.configure(relief='flat')
|
self.lb_frame3.configure(relief='flat')
|
||||||
self.lb_frame3.grid(column=0, row=5, columnspan=4, sticky='snew', padx=2, pady=2)
|
self.lb_frame3.grid(column=0, row=5, columnspan=4, sticky='snew', padx=2, pady=2)
|
||||||
|
|
||||||
|
''' Bottom Frame 5 '''
|
||||||
|
self.lb_frame4 = ttk.Frame(self)
|
||||||
|
self.lb_frame4.configure(relief='flat')
|
||||||
|
self.lb_frame4.grid(column=2, row=5, columnspan=3, sticky='e', padx=15)
|
||||||
|
|
||||||
''' Show active Label '''
|
''' Show active Label '''
|
||||||
self.select_tunnel = None
|
self.select_tunnel = None
|
||||||
self.lb = ttk.Label(self, text=_('Active: '))
|
self.lb = ttk.Label(self, text=_('Active: '))
|
||||||
@ -561,7 +566,7 @@ class FrameWidgets(ttk.Frame):
|
|||||||
self.btn_exp.bind('<Leave>', exp_leave)
|
self.btn_exp.bind('<Leave>', exp_leave)
|
||||||
|
|
||||||
''' Label Entry '''
|
''' Label Entry '''
|
||||||
self.lb_rename = ttk.Entry(self.lb_frame3, width=20)
|
self.lb_rename = ttk.Entry(self.lb_frame4, width=20)
|
||||||
self.lb_rename.grid(column=2, row=0, padx=8, pady=10, sticky='ne')
|
self.lb_rename.grid(column=2, row=0, padx=8, pady=10, sticky='ne')
|
||||||
self.lb_rename.insert(0, _('Max. 12 characters!'))
|
self.lb_rename.insert(0, _('Max. 12 characters!'))
|
||||||
self.lb_rename.config(state='disable')
|
self.lb_rename.config(state='disable')
|
||||||
@ -662,7 +667,7 @@ class FrameWidgets(ttk.Frame):
|
|||||||
msg_window(iw, ii, wt, msg_t)
|
msg_window(iw, ii, wt, msg_t)
|
||||||
|
|
||||||
''' Button Rename '''
|
''' Button Rename '''
|
||||||
self.btn_rename = ttk.Button(self.lb_frame3, text=_('Rename'), state='disable', command=tl_rename, padding=4,
|
self.btn_rename = ttk.Button(self.lb_frame4, text=_('Rename'), state='disable', command=tl_rename, padding=4,
|
||||||
style='RnButton.TButton')
|
style='RnButton.TButton')
|
||||||
self.btn_rename.grid(column=3, row=0, padx=5, pady=10, sticky='ne')
|
self.btn_rename.grid(column=3, row=0, padx=5, pady=10, sticky='ne')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user