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)
51 # would then not be anymore one of the auto_path dir, so we use
64 # Either contained in the specified windowId (-use) or
72 {-use -windowId {} "window Id to use (new toplevel otherwise)"}
73 {-display -displayName {} "display name to use (current one otherwise)"}
90 if {![::tcl::OptProcArgGiven "-use"]} {
94 ::tcl::Lassign [tkTopLevel $slave $display] w use
109 if {[string match ".*" $use]} {
110 set windowName $use
111 set use [winfo id $windowName]
120 if {![catch {winfo pathname $use} name]} {
131 error "conflicting -display $display and -use\
132 $use -> $nDisplay"
141 tkInterpInit $slave [list "-use" $use "-display" $display]
273 # return both the toplevel window name and the id to use for embedding