listbox loosing selection with tk_getSaveFile
From: Mathieu Malaterre (mmalaterNOSP_at_Mnycap.rr.com)
Date: 03/28/05
- Next message: Roberta Hatch: "Re: Proportional spacing and widgets"
- Previous message: Googie: "TclMixer for Win32 platform"
- Next in thread: Bryan Oakley: "Re: listbox loosing selection with tk_getSaveFile"
- Reply: Bryan Oakley: "Re: listbox loosing selection with tk_getSaveFile"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Mar 2005 21:13:39 GMT
Hello,
I am trying to use a listbox in combination with a savefile dialog. but
it seems that I am loosing my selection whenever I open the save dialog.
Could someone please give it a try/correct my mistake.
Thanks.
Mathieu
set items [ list one two three four five ]
listbox .lb -selectmode extended
foreach item $items {
.lb insert end $item
}
button .b -text "Save" -command {tk_getSaveFile}
pack .lb .b
Sys
Debian testing uptodate (tk 8.4.9)
- Next message: Roberta Hatch: "Re: Proportional spacing and widgets"
- Previous message: Googie: "TclMixer for Win32 platform"
- Next in thread: Bryan Oakley: "Re: listbox loosing selection with tk_getSaveFile"
- Reply: Bryan Oakley: "Re: listbox loosing selection with tk_getSaveFile"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]