<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jul 1, 2013 at 10:05 PM, Roman Haefeli <span dir="ltr">&lt;<a href="mailto:reduzent@gmail.com" target="_blank">reduzent@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Mon, 2013-07-01 at 20:56 +0200, András Murányi wrote:<br>
&gt; I&#39;m reformulating my question as the problem is evolving:<br>
&gt; do we have an object that<br>
&gt; - Displays and holds a text value (like Symbol or Message box),<br>
<br>
</div>* symbolbox with width set 0 resizes dynamically<br>
* hsl, vsl, cnv, etc. can adjust size with &#39;size&#39; message, can change<br>
displayed text with &#39;label&#39; message<br></blockquote><div><br></div><div>Very good idea, thanks Roman!<br></div><div>Some difficulties I&#39;m having:<br></div><div>- I don&#39;t know how to set the label of [cnv]... is it possible at all?<br>

</div><div>- (ATTN: Ivica) [hsl] seems to have the bounding box (?) miscalculated in l2ork so it doesn&#39;t GOP when it&#39;s less than 2-3px from the border of the parent canvas. Checked in Vanilla, it works as expected ([hsl] can be placed to the very border and it will GOP).<br>

</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
&gt; - is Graph-on-Parent,<br>
<br>
applies to all above solutions.<br>
<div class="im"><br>
&gt; - can be resized (like Number2)? (or small enough by default?)<br>
<br>
</div>see above.<br>
<br>
To make something send a bang, you could put some [bng] objects behind<br>
your whatever text displaying objects. Interestingly, hidden GUI objects<br>
have priority over visible objects when clicked. Another way is to use a<br>
construct like the following to make a slider send bangs only when<br>
clicked, but not when dragged:<br>
<br>
[hsl]<br>
|<br>
[t a a]<br>
  \/<br>
  /\<br>
[sel 0]<br>
<br></blockquote><div><br></div><div>Interesting indeed.<br></div><div>Actually, I don&#39;t need the label to send a bang any more, because [pmenu] won&#39;t pop up when the click happens inside a subpatch, so I need to put the triggering object in the toplevel. (I might still hide it under the GOP abstraction...)<br>

BTW, is it theoretically possible for a GOP object to display a menu on the toplevel (stretching over the GOP area of the subpatch where it is)? If yes, I&#39;d eventually try to hack the pmenu code.<br></div><div> </div>

</div>András
</div></div>