Lines Matching refs:use
3 # Support procs to use Tk in safe interpreters.
20 # for the actual parameters to use for it's initialization (if allowed),
24 # We use opt (optional arguments parsing)
60 # Either contained in the specified windowId (-use) or
68 {-use -windowId {} "window Id to use (new toplevel otherwise)"}
69 {-display -displayName {} "display name to use (current one otherwise)"}
88 if {![::tcl::OptProcArgGiven "-use"]} {
90 ::tcl::Lassign [tkTopLevel $slave $display] w use
103 if {[string match ".*" $use]} {
104 set windowName $use
105 set use [winfo id $windowName]
112 if {![catch {winfo pathname $use} name]} {
121 error "conflicting -display $display and -use\
122 $use -> $nDisplay"
130 tkInterpInit $slave [list "-use" $use "-display" $display]
264 # return both the toplevel window name and the id to use for embedding