📄 selectiondialog
字号:
#!/bin/sh# ----------------------------------------------------------------------# DEMO: selectiondialog in [incr Widgets]# ----------------------------------------------------------------------#\exec itkwish "$0" ${1+"$@"}package require Iwidgets 3.0# itkwish interprets the rest...# ----------------------------------------------------------------------option add *textBackground seashelliwidgets::selectiondialog .sd -modality application.sd configure -selectionlabel "Font:".sd insert items end Ariel Courier Helvetica Knarly Lucida \ Rumpus Symbol Times "Zapf Dingbats"button .select -text "Font..." -command { if {[.sd activate]} { puts "selected: [.sd get]" } else { puts "cancelled" }}pack .select -side left
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -