Tk Source Code

Artifact [c495b511]
Login

Artifact c495b5111d96526c59ed89c866fb6af5b1e8d293:

Attachment "ftypebug.tcl" to ticket [3588462f] added by auriocus 2012-11-19 16:20:53.
package require tcltest
package require Tk

puts [tk_getSaveFile -initialfile foo -typevariable seltype -filetypes {{TEXT *.txt}}]
puts $seltype

# behaviour before the patch
# Win: TEXT
# Tk/Carbon: TEXT
# Tk/Cocoa: seltype is undefined
# X11: TEXT (*.txt)
#
# after the patch
# X11: TEXT