python - How to change text on gtk.label in frequent intervals - PyGTK -


i coding desktop application shows contents text file in gtk.label, update text file, once in every 15 mints. are there methods make application read text file in constant intervals , display without restarting window

on platforms, can call gobject.timeout_add() read file every once in while, or gobject.idle_add() mtime check when app idle.

on linux, i'd recommend using pyinotify monitor file , re-read when it's updated.


Comments

Popular posts from this blog

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -

xslt - Umbraco and EXSLT sets do not work -