📄 labeledframe
字号:
#!/bin/sh# ----------------------------------------------------------------------# DEMO: labeledframe in [incr Widgets]# ----------------------------------------------------------------------#\exec itkwish "$0" ${1+"$@"}package require Iwidgets 3.0## Demo script for the Labeledframe class#set 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -