Yo, I just added an idea to http://puredata.info/dev/GuiIdeas and thought I'd post it here too for discussion, since one day I may get around to doing it (or perhaps someone else with more pd-hacking talent wants to :) )
An object, [contextitem 1 Change colors...] would add a "Change colors..." item to either the current canvas, the parent of the object (when the object was right clicked), or both depending on the first argument (0, 1, or 2 respectively). The remaining arguments would specify the name of the context item (to allow for spaces), and the [contextitem] object would have a single outlet which would [bang( when the context item was clicked.
This (combined with a state-saving solution) would allow emulation of "Properties" dialogs, and would be generally useful for embedding functionality in tight spaces.
Cheers Luke
I think it is an interesting idea worth trying. You might also be
interested in the "iemguts" properties support for abstractions that
IOhannes wrote.
.hc
On Jun 16, 2008, at 7:46 AM, Luke Iannini wrote:
Yo, I just added an idea to http://puredata.info/dev/GuiIdeas and thought I'd post it here too for discussion, since one day I may get around to doing it (or perhaps someone else with more pd-hacking talent wants to :) )
An object, [contextitem 1 Change colors...] would add a "Change colors..." item to either the current canvas, the parent of the object (when the object was right clicked), or both depending on the first argument (0, 1, or 2 respectively). The remaining arguments would specify the name of the context item (to allow for spaces), and the [contextitem] object would have a single outlet which would [bang( when the context item was clicked.
This (combined with a state-saving solution) would allow emulation of "Properties" dialogs, and would be generally useful for embedding functionality in tight spaces.
Cheers Luke
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
I have the audacity to believe that peoples everywhere can have three
meals a day for their bodies, education and culture for their minds,
and dignity, equality and freedom for their spirits. - Martin
Luther King, Jr.