摘要:
button .a \ -text "aaa" \ -command {pack forget .b}button .b \ -text "bbb" \button .c \ -text "ccc" \ -command {pack .b}pack .apack .cpack .b 阅读全文
摘要:
puts $this.bb.c.body.cellref.normal.rf.sf.sc.eenamespace tail $this.bb.c.body.cellref.normal.rf.sf.sc 阅读全文
摘要:
class testt {inherit itk::Widget private variable socket public method acceptSocketConnectionpublic method processMessagepublic method sendCommandconstructor {args} {set server [socket -server acceptSocketConnection -myaddr 127.0.0.1 2200] itk_component add buttone { button .b \-text "aaa" 阅读全文
摘要:
set socket ""class testt { private variable socket public method acceptSocketConnectionpublic method processMessageconstructor {args} {set server [socket -server acceptSocketConnection -myaddr 127.0.0.1 2200]vwait forever }}body testt::acceptSocketConnection { a_sock an_addr a_port } { glo 阅读全文