Home > Archive > Tcl > July 2004 > iwidget hierarchy refresh
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
iwidget hierarchy refresh
|
|
| Dmurray2 2004-07-20, 8:58 pm |
| Can anyone tell me how to get my hierarchy widget to refresh list of files
when a new file is created or deleted? I have tried inserting the draw
command into my proc that updates files as well as tying it to a button,
but neither works.
Thanks.
| |
| Hooz Tawkin 2004-07-23, 3:58 pm |
| "Dmurray2" <Dmurray2@aol.com> wrote in message news:< cfd3a90476685c7b6b0db99f4a9e3296@localho
st.talkaboutprogramming.com>...
> Can anyone tell me how to get my hierarchy widget to refresh list of files
> when a new file is created or deleted? I have tried inserting the draw
> command into my proc that updates files as well as tying it to a button,
> but neither works.
>
> Thanks.
Config'ing the directory forces a refresh for
iwidgets::fileselectionbox widget on Windows.
For example
set fsb [iwidgets::fileselectionbox ...
....
$fsb configure -directory [file join user data]
That might do it for hierarchy.
Hooz
| |
| Dmurray2 2004-07-28, 9:08 pm |
| Thanks for the help, but unfortunatly, your suggestion didn't work.
Apparently -directory is not a valid option for hierarchy.
|
|
|
|
|