|
From: Damon C. <dam...@tc...> - 2005-07-21 13:46:19
|
> But there is a no -textvariable for a text widget, or other
> more complex client areas. Yes, I've seen this be an issue
> before - there should be an option to withdraw the dialog
> without destroying it. Possibly in line with the persistent
> dialogs mentioned? Also useful as a feature where dialogs
> would be reused (even maintaining last state). Perhaps all
> a bit too much for a simple API, but delayed destruction is
> important.
Actually, I'm adding this type of feature to the BWidget Dialogs (and
the new ChooseDirectory widget). I just added a -name option to the
dialogs that would provide a name for the dialog, and they remember
state from the last instance. Example:
ChooseDirectory .d -name OpenImage
That way, even though choosing a directory can be done in many
different places throughout an application, each one remembers its
state. I like this better than a global state because I like to
remember where the user was last when the clicked this particular
dialog.
Damon
|