"Use the source, Luke."
https://github.com/pure-data/pure-data/blob/master/tcl/pdwindow.tcl#L451 https://github.com/pure-data/pure-data/blob/master/tcl/pdwindow.tcl#L451
The pd window text console is .pdwindow.text. You can send the -font command to it in TCL: https://tcl.tk/man/tcl8.6/TkCmd/options.htm#M-font https://tcl.tk/man/tcl8.6/TkCmd/options.htm#M-font
As for "internal Pd message" I don't believe there is one in this case as the core doesn't send setup info on this directly to the GUI like it does for the patch window canvases. This is why you didn't get a response yet with the exact answer to your request: I don't believe there is one. What you can do is use one of the GUI plugins and/or external objects which allows you to send TCL to the GUI directly.
On Apr 15, 2023, at 9:00 PM, pd-list-request@lists.iem.at wrote:
It would have been nice to simply find out the name of the Pd console for sending internal Pd messages until I get done with all of it. Until then the software is probably not going to be usable with small screens for a while. Oh well . . . (My users don't have access to the regular Pd gui - it's a hardware box with a dedicated user interface for non-programmers.)
Ingo
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Thanks, Dan!
I'll try to find something in the source code.
Although I can't really read or write these source codes since I have absolutely no programming background except for Pd itself.
.pdwindow.text doesn't seem to be a top level window so I get error messages when trying to do anything with it.
I tried other options that were mentioned in the source code without success.
I have been going through pretty much all error messages (that makes sense to me) from [hcs/sys_gui] when entering wrong commands on purpose.
None of those mentions "font" as an option.
On the Tcl/Tk font manual I can find some information but I have no idea how to put things in a format to use it with [hcs/sys_gui] from within Pd.
https://www.tcl.tk/man/tcl/TkCmd/font.html
Thanks anyway!
Ingo
From: Dan Wilcox [mailto:danomatika@gmail.com] Sent: Sunday, April 16, 2023 1:22 AM To: Ingo Cc: Pd-List Subject: Re: [PD] Pd complete listing of internal Pd messages? - sending to the Pd window
"Use the source, Luke."
https://github.com/pure-data/pure-data/blob/master/tcl/pdwindow.tcl#L451
The pd window text console is .pdwindow.text. You can send the -font command to it in TCL: https://tcl.tk/man/tcl8.6/TkCmd/options.htm#M-font
As for "internal Pd message" I don't believe there is one in this case as the core doesn't send setup info on this directly to the GUI like it does for the patch window canvases. This is why you didn't get a response yet with the exact answer to your request: I don't believe there is one. What you can do is use one of the GUI plugins and/or external objects which allows you to send TCL to the GUI directly.
On Apr 15, 2023, at 9:00 PM, pd-list-request@lists.iem.at mailto:pd-list-request@lists.iem.at wrote:
It would have been nice to simply find out the name of the Pd console for sending internal Pd messages until I get done with all of it. Until then the software is probably not going to be usable with small screens for a while. Oh well . . . (My users don't have access to the regular Pd gui - it's a hardware box with a dedicated user interface for non-programmers.)
Ingo
Dan Wilcox
@danomatika http://twitter.com/danomatika
danomatika.com http://danomatika.com
robotcowboy.com http://robotcowboy.com