HyperMesh二次开发技术—鼠标调整插件界面位置功能开发(二)
1.代码实例 #新建过程subWindow proc subWindow {} { toplevel .subWindow -background {black} wm overrideredirect .subWindow true wm attribute .subWindow -topmost true wm geometry .subWindow 296x120+300+250 frame .subWindow.f -relief flat label .subWindow.f.label01 -text "" -width 1 -height 5 -background {black} grid .subWindow.f.label01 -column 0 -row 0 -padx 2 -sticky ew labelframe .subWindow.f.part01 -text "workPath" -width 25 -height 100 label .subWindow.f.part01.label00 -text "HomeDir" -font {arial 8 bold} -width 8 label .subWindow.f.part01.label10 -text "" -width 20 -height 2 -relief groove