上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 82 下一页
摘要: class Balloonwidget { inherit itk::Widget itk_option define -balloonhelp balloonHelp BalloonHelp "" private variable balloon_queue "" private variable destroy_queue "" public method enter public method leave public method balloon constructor { args } {bind $itk_componen 阅读全文
posted @ 2011-07-31 16:10 greencolor 阅读(205) 评论(0) 推荐(0)
摘要: itk_component add new_tb { Toolbutton $itk_interior.tbf.toolbar.ntb \ -image ::img::file16x16 \ -command [code $this newSession] \ -balloonhelp "New session" } 阅读全文
posted @ 2011-07-31 13:27 greencolor 阅读(141) 评论(0) 推荐(0)
摘要: $itk_component(sessionmenu) add command \-label "Save as..." \-underline 5 \-command [code $this saveSessionAs]=============Save as... - 阅读全文
posted @ 2011-07-31 10:21 greencolor 阅读(158) 评论(0) 推荐(0)
摘要: set newSessionAccelerator "Control-N" $itk_component(sessionmenu) add command \-label New \-underline 0 \-accelerator $newSessionAccelerator \-command [code $this newSession] 阅读全文
posted @ 2011-07-31 09:53 greencolor 阅读(328) 评论(0) 推荐(0)
摘要: $itk_component(sessionmenu) add command \ -label "Properties" \ -underline 0 \ -state disabled \-command [code $this configureSession]disable menu item 阅读全文
posted @ 2011-07-30 23:42 greencolor 阅读(143) 评论(0) 推荐(0)
摘要: $itk_component(sessionmenu) entryconfigure 1 \ -compound left \ -image ::img::folder16x16 阅读全文
posted @ 2011-07-30 23:38 greencolor 阅读(113) 评论(0) 推荐(0)
摘要: X11/Xmu/StdCmap.h: No such file or directory默认安装的libxmu相关包都不是dev 阅读全文
posted @ 2011-07-30 10:19 greencolor 阅读(1147) 评论(0) 推荐(0)
摘要: itk_component add toolbar_frame { frame $itk_interior.tbf \ -relief raised \ -borderwidth 1}same as:itk_component add toolbar_frame { frame $itk_component(hull).tbf \ -relief raised \ -borderwidth 1}============itk_component add toolbar { frame $itk_interior.tbf.toolbar}same asitk_component add tool 阅读全文
posted @ 2011-07-26 13:10 greencolor 阅读(208) 评论(0) 推荐(0)
摘要: $itk_component(sessionmenu) add separator$itk_component(sessionmenu) add-label "Add images..." \ -underline 4 \ -command [code $this addImages] $itk_component(sessionmenu) add separator 阅读全文
posted @ 2011-07-26 03:38 greencolor 阅读(152) 评论(0) 推荐(0)
摘要: $itk_component(menu) add cascade \ -label "Session" \ -menu $itk_component(sessionmenu)$itk_component(menu) ---> cascade ----> $itk_component(sessionmenu) (menu) 阅读全文
posted @ 2011-07-26 03:28 greencolor 阅读(159) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 82 下一页