mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-15 23:02:16 +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
|
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
|
return plugin_app.status
|
||||||
|
|
||||||
# later on your event functions can directly update plugin_app.status["text"]
|
# later on your event functions can directly update plugin_app.status["text"]
|
||||||
|
@ -41,7 +41,7 @@ def plugin_app(parent):
|
|||||||
:param parent:
|
:param parent:
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
plugin_app.status = ttk.Label(parent, text="---")
|
plugin_app.status = tk.Label(parent, text="---")
|
||||||
return plugin_app.status
|
return plugin_app.status
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user