4 # Copyright 2016,2020 Ian Jackson
5 # SPDX-License-Identifier: GPL-3.0-or-later
6 # There is NO WARRANTY.
18 applet::setup-button-menu $b
21 .m1 add command -command { applet::msel; puts hi } -label hi
22 .m3 add command -command { applet::msel; puts boo } -label boo
24 #image create bitmap ims -file gs_s.xbm
25 #image create bitmap ims -file /usr/share/ghostscript/8.71/lib/gs_s.xbm
29 applet::setup-tooltip { puts VIS } { puts INVIS }
30 applet::tooltip-set "line\nanother"
32 proc cmdline {id orientation} {
34 return [concat $argv $id]
37 applet::setup-subproc cmdline