[PD] How to update GOP GUI features
Christopher Charles
schraubzwingenhalterung at web.de
Thu Feb 9 20:46:06 CET 2006
Ed Kelly wrote:
> Hi List,
>
> I'm trying to create a patch where the gui changes
> according to a selector, and I want this changing GUI
> to be displayed GOP when the patch is called as an
> abstraction.
>
>
hi,
my favourite method of hiding gui elements is moving them, not out of
the frame, but behind a canvas. ex: i have a patch which has a
background canvas with a label at its top and some hsls and some radios
under the title. actually, the background canvas is 2 canvasses: the
upper one (with the height of a slider), created after all other
elements, the lower one created before. if you move the sliders around,
they will sit on the lower canvas, but hide behind the upper one. dirty,
but it works. be sure not to put your selector or anything on the top
canvas, for the elements beneath it still receive mouse actions. (see an
example of a 16 page synth:
https://www.puredata.org/Members/syntax_the_nerd/bot.synth2-pages/image)
apropos: is there any way to change the behaviour of stacked gui
elements? i mean if i cascade 2 big toggles, and click on an overlapping
area, the lower toggle will get the click. not the behavior one would
expect...
mfg
charlie
More information about the Pd-list
mailing list