selectiondialog
来自「windows下的GDB insight前端」· 代码 · 共 23 行
TXT
23 行
# ----------------------------------------------------------------------# DEMO: selectiondialog in [incr Widgets]# ----------------------------------------------------------------------package require Iwidgets 4.0option 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 + =
减小字号Ctrl + -
显示快捷键?