Re: I need an embeddable menu widget



Thank you for your message.
But, I think that buttons cannot rescue me from this problem.

As you know, a tearoff entry creates a clone menu.
Usually, the menu is reparented into a window controlled by
a window manager. However, in this case, there is no window
manager which accepts the menu. I have to reparent the menu
into a container frame of the master interpreter. When obeying
the important rules "never patch to libraries except Ruby/Tk"
and "no need to modify the Ruby/Tk or Tcl/Tk source code to
run on the slave interpreter", I couldn't find the way to do
that except the trick shown in my last message.

As you say, it will be possible to create a pseudo menu by
buttons and menus. But it is too hard to make the pseudo
menu indistinguishable from a clone menu.

.


Quantcast