labeledframe
来自「windows下的GDB insight前端」· 代码 · 共 48 行
TXT
48 行
# ----------------------------------------------------------------------# DEMO: labeledframe in [incr Widgets]# ----------------------------------------------------------------------package require Iwidgets 4.0set tk_strictMotif 1iwidgets::Labeledframe .pr -labelpos ne -labeltext "Print range"set cs [.pr childsite] radiobutton $cs.all \ -highlightthickness 0 \ -anchor w \ -justify left \ -text "All" \ -underline 0 \ -value 1radiobutton $cs.range \ -highlightthickness 0 \ -anchor w \ -justify left \ -text "Pages" \ -underline 2 \ -value 0iwidgets::entryfield $cs.from \ -highlightthickness 0 \ -labelpos w \ -labeltext "from:" \ -width 10[$cs.from component label] configure -justify left -underline 0iwidgets::entryfield $cs.to \ -highlightthickness 0 \ -labelpos w \ -labeltext "to:" \ -width 10[$cs.to component label] configure -justify left -underline 0pack $cs.all -side top -fill x -anchor wpack $cs.range -side left -fill x -anchor wpack $cs.from -side left -fill x -anchor wpack $cs.to -side left -fill x -anchor wpack .pr -fill both
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?