Changeset 6dc91d2 in tol for tolbase/lib/toltk/tolprj.tcl
- Timestamp:
- Nov 23, 2016, 12:06:20 PM (10 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- cc64b09
- Parents:
- ffeacdc
- File:
-
- 1 edited
-
tolbase/lib/toltk/tolprj.tcl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tolbase/lib/toltk/tolprj.tcl
rffeacdc r6dc91d2 408 408 set tv [::wtree $f.sw.t -table 0 -filter no \ 409 409 -background white -showroot 1 -selectmode single -showheader 0 \ 410 -selectcommand "::TolProject::SelectProc $this" \ 410 411 -highlightbackground gray75 -highlightcolor black \ 411 412 -highlightthickness 0 -font $toltk_options(fonts,Label) \ … … 425 426 $tv column configure "range 1 end" -visible no 426 427 $tv column configure first -expand yes -weight 1 427 $tv column configure all -itembackground "" 428 $tv notify bind $tv <Selection> "::TolProject::SelectProc $this" 428 $tv column configure all -itembackground "" 429 429 430 430 $f.sw setwidget $f.sw.t … … 441 441 grid columnconfigure $f 0 -weight 1 442 442 443 444 bind $tv.frameTree.t <Control-KeyRelease> [list ::TolProject::OnControlKey $this %K %k] 445 446 bind $tv.frameTree.t <Button-1> "::focus $tv" 447 448 bind $tv.frameTree.t <Button-3> +[list ::TolProject::PostVariable $this %X %Y] 449 450 set prevBind [bind $tv.frameTree.t <Double-1>] 451 set newBind "[lrange $prevBind 0 [expr [llength $prevBind]-3]] ; mdidoc disableglobalraise ; ::TolProject::OpenNodeIfTerminal $this ; break" 452 #@ mdidoc disableglobalraise y break parece que cumplen el mismo cometido 453 bind $tv.frameTree.t <Double-1> $newBind 454 455 set prevBind [bind $tv.frameTree.t <KeyPress-Return>] 456 set newBind "[lrange $prevBind 0 [expr [llength $prevBind]-3]] ; ::TolProject::OpenNodeIfTerminal $this ; break" 457 bind $tv.frameTree.t <KeyPress-Return> $newBind 458 459 bind $tv.frameTree.t <KeyPress-space> +[list ::TolProject::NodeActiveAttributes $this] 460 bind $tv.frameTree.t <KeyPress-Delete> +[list ::TolProject::DeleteActiveNode $this] 461 bind $tv.frameTree.t <KeyPress-F9> "::TolProject::CompileActiveNode $this ; break" 462 bind $tv.frameTree.t <KeyPress-F8> "::TolProject::DecompileActiveNode $this ; break" 443 bind $tv <Control-KeyRelease> [list ::TolProject::OnControlKey $this %K %k] 444 bind $tv <Button-1> "::focus $tv" 445 bind $tv <Button-3> +[list ::TolProject::PostVariable $this %X %Y] 446 447 bind $tv <Double-1> "mdidoc disableglobalraise ; ::TolProject::OpenNodeIfTerminal $this" 448 bind $tv <KeyPress-Return> "::TolProject::OpenNodeIfTerminal $this" 449 450 bind $tv <KeyPress-space> +[list ::TolProject::NodeActiveAttributes $this] 451 bind $tv <KeyPress-Delete> +[list ::TolProject::DeleteActiveNode $this] 452 bind $tv <KeyPress-F9> "::TolProject::CompileActiveNode $this ; break" 453 bind $tv <KeyPress-F8> "::TolProject::DecompileActiveNode $this ; break" 463 454 464 455 set data(mainMenu) [menu $tv.m -tearoff 0]
Note: See TracChangeset
for help on using the changeset viewer.
