I'm currently developing a (library) stack which should automatically become visible, when it's contents have changed. Initially, it is invisible (not even open, just loaded by "start using"), and after becoming visible, the user may decide to hide it again (until the next change).
The stacks contents may change quite often (also when the stack has already been made visible, i.e., when making it visible once again is useless) - thus, what is the most efficient way to make the stack visible upon a change?
I'm currently using:
Code: Select all
open (the long name of me); show me
Or should I open but hide the stack (i.e. window) in the "LibraryStack" handler already? This would only require
Code: Select all
show me
What is the recommended approach?