Hi Urban, Button's label can contain a variable part, like in your example "numb %floatnum", but this value must be known at compile time. The only way to really "display" values is to use (h|v)bargraphs.
Cheers Yann Le 13/01/2014 14:20, urban a écrit : > Hi, > > I'm experimenting with GUI design with the JACK GTK architecture and I > need to display numerical values in the GUI as in the following minimal > example: > > //--------------------------------------------- > > //in real life this is a room acoustic calculation: > floatnum = nentry("roomsize",0,0.,4.,0.01); > > label(x) = attach(x, button("numb %floatnum")); > > process = label ; > > > //--------------------------------------------- > // ERROR : the node of the tree is not an int nor a > float:SigNumEntry[cons[test,nil],cons[0,cons[0,cons[4,cons[0.01,nil]]]]] > > What is the correct way (if any) of doing it ?! > > greetings, > Urban > > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Faudiostream-devel mailing list > Faudiostream-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/faudiostream-devel > > ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Faudiostream-devel mailing list Faudiostream-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-devel