1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 00:07:14 +03:00

Doc tweak.

This commit is contained in:
Jonathan Harris 2016-01-09 16:18:17 +00:00
parent a337319475
commit 9e42b5b25f

View File

@ -61,8 +61,7 @@ plugin_app.status['text'] = "Status: Happy!"
## Events
Once you have created your plugin and EDMC has loaded it there in addition to the `plugin_prefs()` and `plugin_app()` functions there are two other functions you can define to be notified by EDMC when something happens.
`system_changed()` and `cmdr_data()`.
Once you have created your plugin and EDMC has loaded it there are two other functions you can define to be notified by EDMC when something happens: `system_changed()` and `cmdr_data()`.
Your events all get called on the main tkinter loop so be sure not to block for very long or the EDMC will appear to freeze. If you have a long running operation then you should take a look at how to do background updates in tkinter - http://effbot.org/zone/tkinter-threads.htm