+Fri Mar 22 01:04:59 2002 Pat Thoyts <patthoyts@users.sourceforge.net>
+
+ * globals_list.tcl:
+ * value.tcl: Bug #533367: use default Tk file selection dialogs.
+
Thu Mar 21 15:27:53 2002 Pat Thoyts <patthoyts@users.sourceforge.net>
* tkinspect.tcl: Improved the dde send implementation and fixed
$self.t see end
}
method save {} {
- filechooser $self.save -title "Save $slot(variable) Trace" -newfile 1
- set file [$self.save run]
+ #filechooser $self.save -title "Save $slot(variable) Trace" -newfile 1
+ #set file [$self.save run]
+ set file [tk_getSaveFile -title "Save $slot(variable) Trace"]
if {![string length $file]} return
set fp [open $file w]
puts $fp [$self.t get 1.0 end]
}
}
method save {} {
- filechooser $self.fc -newfile 1 -title "Save Value"
- set file [$self.fc run]
+ #filechooser $self.fc -newfile 1 -title "Save Value"
+ #set file [$self.fc run]
+ set file [tk_getSaveFile -title "Save Value"]
if ![string length $file] {
$slot(main) status "Save cancelled."
return
$slot(main) status "Value saved to \"$file\""
}
method load {} {
- filechooser $self.fc -title "Load Value"
- set file [$self.fc run]
+ #filechooser $self.fc -title "Load Value"
+ #set file [$self.fc run]
+ set file [tk_getOpenFile -title "Load Value"]
if ![string length $file] {
$slot(main) status "Load cancelled."
return