From: Hugh S. S. E. E. <hg...@dm...> - 2003-07-29 15:54:09
|
I see that FXTimer is not used in the Ruby side of FXRuby. Instead I see addTimeout() and removeTimeout methods of FXApp. I think I'm fairly clear about how to use this (though I'll have to brush up on define my own selectors). My question is: What does adding a timeout do to the object, and should I be able to see the timeout when I marshal/yaml it? I'm wondering if it would be prorgrammatically simpler to store the timeouts with objects that I save to disk, so that if they are restored "too late" then action is taken, just as if they never went into persistant storage and the timeout happened normally. It may bulk up the data, but if it means I write less code, that is probably good. Hugh |