Norman Vine wrote: > Erik Hofman writes: > > >>Isn't there any trick with the puObject member either (I just need to >>know which menu entry is causing the callback)? > > > why not just use use the puObject pointer ???? > > /* print the 'menu text' of calling menu entry on stdout */ > void tattle_tale_cb( puObject *me) > { > printf("%s\n",me->getLegend()); > /* do something useful now */ > }
Ah,that seems a nice start. Thanks. Erik _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel