Yeah, should be possible, but a bit weird, since you'll be writing Tcl
via Pd. It might be easier to write a separate Tcl script that does
what you want it to, then load it using the Tcl 'source' command sent
to [sys_gui].
so you could make your own Tcl proc like:
proc displaytext {x y args} { # code here to place the text in $args at ($x, $y) }
Then invoke it using [sys_gui]
[ displaytext 25 100 this is the text to display( | [sys_gui]
.hc
On Apr 12, 2010, at 2:07 PM, Gintaras Lau. wrote:
That works fine, thank you. The first part of my question was to place symbols on that window. Can you help to achieve that.
Is that something like:
[text( | [<something> $1( | [sys_gui]
Thank you
2010/4/12 Hans-Christoph Steiner hans@at.or.at:
You need to 'raise' the window to put it in front. Try this:
.hc
On Apr 11, 2010, at 5:22 PM, Gintaras Lau. wrote:
Dear list,
I have created window with a commands using sys_gui:
[toplevel .new( [.new configure -bg black( [wm atributes .new -fullscreen 1( | [sys_gui]
I have read manuals from some sites recommended by Hans-Christoph Steiner, but commands presented there are not accepted by pd except those I wrote as message flags. My mission is to read text from text file (what I already solved)
and present text on that full screen .new window. Can you replay to me a guide, syntax, or way how to make text appear on that window? Text file contains 6 short lines. How that .new window is going to interact with a gem window (also
full screen, topmost) when it will be created?Thank you and Respect.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
If you are not part of the solution, you are part of the problem.
"Free software means you control what your computer does. Non-free
software means someone else controls that, and to some extent controls
you." - Richard M. Stallman