1
0
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:
Jonathan Harris 2016-06-03 22:54:19 +01:00
parent 4cf2b8706c
commit fb7b0401fa
No known key found for this signature in database
GPG Key ID: D997C6582365A060
2 changed files with 2 additions and 2 deletions

View File

@ -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"]

View File

@ -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