CTK WM_Class #2657
-
I'm currently struggling to change the WM_Class name on my app to a different one. I've had success by using "xdotool search --class Tk set_window --class MyApp" However this doesn't seem like the accurate solution, is there any way to change the WM_Class name so that I can use it on a .desktop? An alternative would be to use the Tk on the .desktop file, but this would mean that other tk apps would also get the same icon as this app, which is undesirable. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
When defining the class: class MyApp(customtkinter.CTk): |
Beta Was this translation helpful? Give feedback.
When defining the class:
class MyApp(customtkinter.CTk):
def init(self):
super().init(className='MyApp'')
....