From: Ian Jackson Date: Sat, 9 Jun 2012 18:40:20 +0000 (+0100) Subject: actually mention msel X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl-applet.git;a=commitdiff_plain;h=19512a7a55f2f18b3731702c0b63cfdbdd4fad04 actually mention msel --- diff --git a/applet.tcl b/applet.tcl index 8a0193f..c68d6e9 100644 --- a/applet.tcl +++ b/applet.tcl @@ -47,6 +47,9 @@ package require tktray # Alternatively caller may call applet::setup-button-menu $b # which will generate a menu .m$b which the user can configure # and which will automatically be posted and unposted etc. +# In this case the caller should arrange that all of their +# menus, when an item is selected, call +# applet::msel wm withdraw .