From: Steve-Kai V. <st...@vy...> - 2006-08-17 00:26:16
|
Hi, > You could accomplish this with a combination of the update > command and the file::readline expression recently added to > CVS. For the line(s) that need to display dynamic > information, setup a script to write that information to a > file when the state changes (incoming call), and then have > the file::readline pull that information periodically (like > 100 ms) > > Widget dynamicline1 { > class 'Text' > expression > file::readline('/tmp/somefile_updated_on_call_state_change',1) update 100 > } > jup I have done this by now, but 2 Problems: 1. it takes extra CPU for creating the file (which has to be done erver xxx Seconds to be uptodate) and you can not change the class i.E from text -> bar > A more elegant solution would be to allow dynamic Layout > changes triggered by timers and other plugin specific > callbacks, but that isn't implemented yet. yes this would be fine :-) Steve |