William F Pokorny <ano### [at] anonymousorg> wrote:
> On 8/16/21 8:08 AM, jr wrote:
> > ...
> Re: dbus, pipes. Your guessing my aims correctly.
> There are crude ways to call povray in a loop today - adjusting say
> spline control points. Such an approach which would be made much cleaner
> with some sort of window id / into functionality as you've suggested.
> Such an approach if, working with Tk frame widows, opens up Python and
> Tcl as the scripting mechanism for "modeling/simple POV-Ray created
> widget windows."
XReparentWindow()'s documentation says "...if the specified window was
originally mapped, the X server automatically performs a MapWindow request on
so,wondering whether you'll indulge me and run a test (somewhere under the 'jr
causing trouble' directory. :-)) with a new command-line option.
I looked at xterm code. the '-into' arg is converted (strtol()) and cast to
Window type. it is passed to 'misc.c:xtermEmbedWindow', where it's used as
third arg in XReparentWindow. I also looked at your 'disp_x11.cpp', the
XMapWindow call in line 429. so, why not try and place a call to
XReparentWindow in line 430? I've attached a simple Tk UI which provides a
800x600 frame[*] and outputs its window id to stderr. if you can get that into
[*] can easily be changed in line 12.
of course it's a hack, and probably will "flicker" once as it would be unmapped
immediately after line 429, but hey..
> However, I'd like something a step beyond this coupled with rtr - which
> in my minds eye at the moment - requires a couple of os level tasks be
> talking to each other(1) continuously - or to, perhaps, be aware of X11
> events in a shared way.
> I'm ignorant of too much at the moment to know what I really want.
didn't the Sex Pistols sing "I don't know what I want, but I know how to get
> ... Pipe dream I expect, but a push here and a push there and maybe
> some path to such a thing opens up....
another lyric ;-) -- "little by little, and stone by stone (rich man's mountain
comes crumbling down)" (UB40)
Post a reply to this message
Download 'frm.tk.txt' (1 KB)