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

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

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