[PD-dev] loadbang and sys_vgui
Hans-Christoph Steiner
hans at at.or.at
Mon Oct 10 20:25:14 CEST 2011
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
> Pd-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
----------------------------------------------------------------------------
kill your television
More information about the Pd-dev
mailing list