You could try listening for the <<Loaded>> event. That gets sent once
the GUI is done loading a patch. Its
from. ::pdtk_canvas::finished_loading_file.
.hc
On Oct 9, 2011, at 11:45 PM, Jonathan Wilkes wrote:
Hi,
I've run into an issue with my tooltips when using manual mode:
[loadbang]
|
[tip 1 hello(
|
[s foo]
[namecanvas foo]
This creates a window with a label that has the text "hello".
But when loadbang'd the label is set too narrow. The text displayed
like this:
h
e
l
l
o
In testing I found I have to use a [del 200] to get the text to
display correctly.
Seems like the dimensions of the patch window aren't fully set at
loadbang time.
Any advice on a way to make it display correctly when loadbang'd?
Patch is at:
https://sourceforge.net/tracker/?func=detail&aid=3383472&group_id=55736&atid=478072
-Jonathan
_______________________________________________
Pd-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev
----------------------------------------------------------------------------
kill your television
_______________________________________________
Pd-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev