If your db table has an 'updated time' column that is automatically
updated, and that column is indexed, your thread can simply ask (is
there anything that has been updated with an update time >= to the time
I have for my most recently updated item.
Alternatively, you can explicitly ask for the current time, and query
based on intervals resulting from consecutive queries.
- Josiah
···
"Andrea Gavana" <andrea.gavana@gmail.com> wrote:
I could go using a timer or a monitoring thread to update the
treectrl, but I would like to ask for suggestions to you
wxPython/Python gurus if there is a better way to make my multiple
GUIs aware of database changes.