Re: [PD-dev] glist_grab not grabbing arrows

2007-09-05 Thread federico
*embarrassment* -_- nevermind the discussion about strcmp(), De Morgan's laws, and such I got confused about strcmp() the function returns a comparison result. In order to interpret it as the boolean strings are equal should be inverted... so my discussion actually is pointless :) (the

Re: [PD-dev] glist_grab not grabbing arrows

2007-09-05 Thread Hans-Christoph Steiner
On Sep 5, 2007, at 4:53 PM, federico wrote: I searched thru the externals... didn't found one using arrow keys. anyone can give an example of capturing arrow keys? There are internals for that: [key], [keyup] and [keyname], you can look at their code in x_gui.c ok, I understand pd_bind().

[PD-dev] glist_grab not grabbing arrows

2007-09-03 Thread federico
I searched thru the externals... didn't found one using arrow keys. anyone can give an example of capturing arrow keys? here's my code calling glist_grab: static int grid_click(t_gobj* z, t_glist* glist, int xpix, int ypix, int shift, int alt, int dbl, int doit) { t_grid* x = (t_grid*)z;

Re: [PD-dev] glist_grab not grabbing arrows

2007-09-03 Thread Frank Barknecht
Hallo, federico hat gesagt: // federico wrote: I searched thru the externals... didn't found one using arrow keys. anyone can give an example of capturing arrow keys? There are internals for that: [key], [keyup] and [keyname], you can look at their code in x_gui.c Ciao -- Frank Barknecht

Re: [PD-dev] glist_grab not grabbing arrows

2007-09-03 Thread Frank Barknecht
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote: There are internals for that: [key], [keyup] and [keyname], you can look at their code in x_gui.c ... and g_editor.c Ciao -- Frank Barknecht _ __footils.org_ __goto10.org__