style=ttk.Style(self.root) transparentimage = tk.PhotoImage(width=1, height=1,…
Jump to turn (17)
- 1style=ttk.Style(self.root) transparentimage = tk.PhotoImage(width=1, height=1, d
- 2change grip size
- 3def resizewindow(self, event): # Handle the manual resizing of the window width
- 4the grip resize kinda makes look like the .pack buttons glitchy. while the place
- 5can i make tk label transparent?
- 6self.mainframe.place(relx=0.5, anchor="n") i want the left side to be anchor so
- 7how do i set sessiontimings = [] from a .txt file in the program directory
- 8the txt text will contain 10 pic for 30s 5 pic for 45s 2 pic for 1m 2 pic for 2m
- 9concisely tell me how to use try and except
- 10what errors can i put after except. how do i know
- 11try : timefile = self.resourcepath("sessions.txt") except : timefile = "sessions
- 12how do i write sessiontimings = [‘10 pic for 30s’, ‘5 pic for 45s’, ‘2 pic for 1
- 13line 1123, in savetotext with open(self.timefiletarget, 'w') as file: ^^^^^^^^^^
- 14how do i empty the txtx first before exporting
- 15with open(self.timefiletarget, 'w') as file: # Write each session timing followe
- 16it won't write if the file has content in it. it works correctly when the file i
- 17ToolTip(self.exportbutton, msg="save session as default" /n "saved in sessions.t
- User
style=ttk.Style(self.root)
codetransparent_image = tk.PhotoImage(width=1, height=1, data='R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7') style.configure('TSizegrip', background=self.bgcolor, borderwidth=0, relief="flat")#, troughcolor=self.time_background, elementborderwidth=0)how do i make the grip transparent
- Assistant