On Wed, 18 Feb 2004, B. Bogart wrote:
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!)
Sorry, no idea yet, I probably will find the time to check what happens over the weekend. To debug it would be best to print the whole window path name of the button widget and compare it to the window path name PD sends to the GUI.
Guenter
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.
PD-dev mailing list PD-dev@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-dev