mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 00:07:14 +03:00
Document how to make plugins work with dark theme
This commit is contained in:
parent
4cf2b8706c
commit
fb7b0401fa
@ -55,7 +55,7 @@ def plugin_app(parent):
|
||||
"""
|
||||
Create a TK widget for the EDMC main window
|
||||
"""
|
||||
plugin_app.status = ttk.Label(parent, text="Status:")
|
||||
plugin_app.status = tk.Label(parent, text="Status:")
|
||||
return plugin_app.status
|
||||
|
||||
# later on your event functions can directly update plugin_app.status["text"]
|
||||
|
@ -41,7 +41,7 @@ def plugin_app(parent):
|
||||
:param parent:
|
||||
:return:
|
||||
"""
|
||||
plugin_app.status = ttk.Label(parent, text="---")
|
||||
plugin_app.status = tk.Label(parent, text="---")
|
||||
return plugin_app.status
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user