Deutsch English Français Italiano |
<vc3srk$1eqlo$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: greg <gregor.ebbing@gmx.de> Newsgroups: comp.lang.tcl Subject: Re: ISO a way to select programmatically an entry from a popup Date: Sat, 14 Sep 2024 13:38:26 +0200 Organization: A noiseless patient Spider Lines: 28 Message-ID: <vc3srk$1eqlo$1@dont-email.me> References: <l4t6ejp2n55d7dpkt497ntummfi1m7ns9h@4ax.com> <vc37rg$1ajh6$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 14 Sep 2024 13:42:44 +0200 (CEST) Injection-Info: dont-email.me; posting-host="d0be020874f76676317894402e841f0e"; logging-data="1534648"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18J9q2vPlnhnJDgjz+ZijtL8rZzT2LWziI=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:9aOax+QhOXSefTIcDgNWZDtSnXY= Content-Language: de-DE In-Reply-To: <vc37rg$1ajh6$1@dont-email.me> Bytes: 1799 Am 14.09.24 um 07:44 schrieb greg: > Am 13.09.24 um 01:31 schrieb Helmut Giese: >> Oh, this is on Windows 64 bit under Tcl 8.6.10 > > > Hello > with event, invoke and unpost > > https://www.tcl.tk/man/tcl8.6/TkCmd/menu.htm#M41 > > > > event generate $c <$event> -button 3 -x 100 -y 100 -warp 1 > #num 1 or 2, 0 is the label > .popup invoke $num > .popup unpost > from manual pathName unpost Unmap the window so that it is no longer displayed. If a lower-level cascaded menu is posted, unpost that menu. Returns an empty string. This subcommand does not work on Windows and the Macintosh, as those platforms have their own way of unposting menus. My suggestion with unpost doesn't help with Windows.