Fixes for componentized Pagedform
[tcl-tlc.git] / examples / testlookup.tcl
blob6e540aae5799830eb2134ed116d90094b3ed8dd1
1 #!/usr/bin/itkwish3.1
3 source "boilerplate.tcl"
5 proc l {id name} {
8 proc ne {} {
9 $::enabled set_state $::gui_enabled
12 checkbutton .e -text "enabled" -variable gui_enabled -command ne
14 Signal #auto enabled
16 Lookup .l -lookup_command l
17 .l attach_signal $enabled
19 Form .f -schema {
20 "Test" {t lookup}
22 [.f path "Test"] attach_signal $enabled
24 pack .e .l .f -side top -anchor nw
26 wm deiconify .