[PD-dev] array of t_symbols and GGEE button GOP?
B. Bogart
ben at ekran.org
Wed Feb 18 17:30:00 CET 2004
Hello all,
after much struggling with trying to change toxy examples in order to
get what I'm after I've decided to start coding my own GUI externals
for the popup menu and the text entry.
I'm basing this code off of the GUI externals in GGEE (since they are
closest to what I'm after, little vector drawing, mostely popping tk
widgets into an external) This is going very well, only after a day of
work. I do have a problem with the "button" gui object where it does GOP
but if I try and move the GOP patch PD can't find the canvas id for the
widget "bad window pathname ..." I had button print out the canvas id
and it does match, so I guess GOP does something special with widget
names? Any ideas on how to fix this? (my externals have little purpose
without GOP!)
Also I want to create an array of t_symbols to store the popup menu
options and am having issues. (ah pointers!) in my structure I have
defined:
t_symbol* x_options[MAXOPTIONS];
and I'm trying to set the values in it with:
x->x_options[0] = atom_getsymbol(argv);
I think I'm missing an * somewhere, but my pointers are (very) rusty.
Any help would be appreciated!
Ben
PS: thanks for all the "dripping" suggestions, I've been able to modify
Johannes suggestion to suit my needs.
More information about the Pd-dev
mailing list