Re: I need an embeddable menu widget
- From: hidetoshi.nagai@xxxxxxxxx
- Date: 30 Jan 2007 19:02:08 -0800
Jeff Hobbs wrote:
Does it have to be an embedded clone?
Yes, I think so.
Probably, my poor English fails to describe what I want.
For example, there is a {Ruby,Tcl}/Tk code which runs on the local
windowing system. The code has menus which can be teared off.
I want to run the code (without modification) on a slave interprter
when there is no window manager running (e.g. Xvnc server is running,
but no window manager process is running).
To do that, the master interpreter's canvas widget works as a
pseudo window manager (e.g. Xvnc server + fullsize canvas).
toplevel, wm and winfo command on the slave are wrapped.
That is, when toplevel command is called on the slave,
the master hooks it and embeds the new toplevel widget into
a container frame (with a window frame like as a frame of general
window manager) on the canvas.
By starting a Xvnc process and a Ruby/Tk process (loading
{Ruby,Tcl}/Tk code on slaves) for a request from the Net,
I can easily set up GUI services to the Net.
Almost all of commands on a standard Tcl/Tk can be wrapped for
a pseudo window manager by pure-{Ruby,Tcl}/Tk codes.
But, only tearoff operation (when selected the tearoff entry)
cannot be wrapped by such method.
--
Hidetoshi NAGAI (nagai@xxxxxxxxxxxxxxxx)
.
- References:
- I need an embeddable menu widget
- From: hidetoshi . nagai
- Re: I need an embeddable menu widget
- From: Jeff Hobbs
- I need an embeddable menu widget
- Prev by Date: Re: how to control the console on windows platform
- Next by Date: Re: teapot package: what is?
- Previous by thread: Re: I need an embeddable menu widget
- Next by thread: if else else
- Index(es):
Relevant Pages
|