Ah, great. Thanks Hans.
-Jonathan
--- On Mon, 2/7/11, Hans-Christoph Steiner hans@at.or.at wrote:
From: Hans-Christoph Steiner hans@at.or.at Subject: Re: [PD] keyword/regexp search of documentation in a plugin To: "Jonathan Wilkes" jancsika@yahoo.com Cc: "pd-list" PD-list@iem.at Date: Monday, February 7, 2011, 12:14 AM
On Feb 6, 2011, at 5:54 PM, Jonathan Wilkes wrote:
--- On Sun, 2/6/11, Hans-Christoph Steiner hans@at.or.at
wrote:
From: Hans-Christoph Steiner hans@at.or.at Subject: Re: [PD] keyword/regexp search of
documentation in a plugin
To: "Jonathan Wilkes" jancsika@yahoo.com Cc: "pd-list" PD-list@iem.at Date: Sunday, February 6, 2011, 11:24 PM
On Feb 6, 2011, at 4:19 PM, Jonathan Wilkes
wrote:
Hi Hans, Two questions:
- widgets and text appear super tiny on
winxp.
But when I create a
widget in the tcl shell, say, with "grid
[button .b
-text Hello]" the
font size looks fine. So what exactly
is
happening in Pd to make
things look too small in windows? (I remember
this was
a problem with the
font bomb but I don't know what the solution
was.)
In order to make the patches all look/work the
same on all
platforms, Tk scaling is turned off. On Windows, this
can mean
small fonts, so you have to use the scaled fonts that are speced
in
pd-gui.tcl.
How do I specify them? I don't see them
specified at all in
the code for the "find" dialog but the fonts look fine
there.
-Jonathan
Its done using classes and the option system. If you make the toplevel of your search like:
toplevel .font -class DialogWindow
It'll inherit stuff like that.
.hc
- What is the "_" command? I.e.:
button .b -text [_ "Search"]
It marks text for localization. So if, for
example,
you are using Pd in German it'll read "suchen" rather then
"search".
.hc
-Jonathan
--- On Wed, 1/12/11, Hans-Christoph Steiner
wrote:
From: Hans-Christoph Steiner hans@at.or.at Subject: [PD] keyword/regexp search of
documentation in a plugin
To: "pd-list" PD-list@iem.at Date: Wednesday, January 12, 2011, 7:10
AM
Hey all,
At the strong urging of Sofy Yuditskaya, I
finally
wrote up
a quick interface for searching the Pd docs using
a
keyword or a
regexp. Its in the form of an 0.43 plugin, so you can
just drop
it into
your user-folder and you should get a "Search"
item on
the Help
menu.
Test it out and let me know how it works
for you.
.hc
-----Inline Attachment Follows-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
All mankind is of one author, and is one volume;
when one
man dies, one chapter is not torn out of the book, but
translated
into a better language; and every chapter must be so
translated.... -John
Donne
“We must become the change we want to see. - Mahatma Gandhi