To an event, no. To an element you can set any custom attributes. John, I think you should rethink the callbacks in Script Basic. Let's talk again about the possibilities.
I think that in basic the user could call a custom function IupSetCallback (not the original) that receives a function in basic. Can we retrieve a reference to that function in C? So we can store it and call it later. Best, Scuri Em 30/11/2016 01:59, "John Spikowski" <supp...@scriptbasic.org> escreveu: > Is there a way to add a 'user data tag' to an event? > > At this point without knowing what action fired the event, I'm only able > to assign one 'action' callback per control. > > On Tue, 2016-11-29 at 20:21 -0200, Antonio Scuri wrote: > > Because it was fake. It only worked in some conditions. > > Best, > Scuri > > > On Tue, Nov 29, 2016 at 8:15 PM, John Spikowski <supp...@scriptbasic.org> > wrote: > > Why would such an important function for callback event processing be > omitted and leave nothing in its wake? > > [image: :-!] > > > On Tue, 2016-11-29 at 20:00 -0200, Antonio Scuri wrote: > > No, there isn't. > > Best, > Scuri > > > On Tue, Nov 29, 2016 at 7:08 PM, John Spikowski <supp...@scriptbasic.org> > wrote: > > Antonio, > > Now that IupGetActionName() has been deprecated, is there anyway to get > the action name of the current event from the callback? > > John > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Iup-users mailing > listIup-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/iup-users > > > ------------------------------------------------------------ > ------------------ > > _______________________________________________ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Iup-users mailing > listIup-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/iup-users > > > ------------------------------------------------------------ > ------------------ > > _______________________________________________ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users > >
------------------------------------------------------------------------------
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users