Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Why does tk_popup magically reappear?

46 views
Skip to first unread message

Busirane

unread,
May 3, 2018, 2:40:18 PM5/3/18
to
What's the explanation for this behavior:

(Desktop) 1 % set tcl_platform(platform)
windows
(Desktop) 2 % info patchlevel
8.5.13
(Desktop) 3 % rename tk_popup _tk_popup
(Desktop) 4 % info proc tk_popup
(Desktop) 5 % tk_popup
wrong # args: should be "tk_popup menu x y ?entry?"
(Desktop) 6 % info proc tk_popup
tk_popup

Why does tk_popup reappear after being renamed; aome kind of bgerror handling?

Busirane

unread,
May 3, 2018, 3:19:21 PM5/3/18
to
On Thursday, May 3, 2018 at 2:40:18 PM UTC-4, Busirane wrote:
> aome kind of bgerror handling?

That should, of course, be "some kind of bgerror handling?".

Interestingly, it doesn't reappear if you actually define a new tk_popup:

(Desktop) 1 % rename tk_popup _tk_popup
(Desktop) 2 % proc tk_popup args {}
(Desktop) 3 % tk_popup
(Desktop) 4 %

Christian Gollwitzer

unread,
May 3, 2018, 4:38:45 PM5/3/18
to
Am 03.05.18 um 21:19 schrieb Busirane:
https://www.tcl.tk/man/tcl8.6/TclCmd/library.htm#M8

Christian

Busirane

unread,
May 4, 2018, 2:13:28 PM5/4/18
to
On Thursday, May 3, 2018 at 4:38:45 PM UTC-4, Christian Gollwitzer wrote:
> https://www.tcl.tk/man/tcl8.6/TclCmd/library.htm#M8

D'oh! Thanks, Christian.
0 new messages