No. There is no support in IupLua for those callbacks.
We just implemented them in C and there was no simple solution for Lua at
the time. But I think we should have them in Lua also. Maybe a new Lua
function like iup.SetGlobalCallback. Do you have any suggestion?
Best,
Scuri
From: Dave Atkinson [mailto:davea...@us.ibm.com]
Sent: terça-feira, 21 de agosto de 2012 18:21
To: iup-users@lists.sourceforge.net
Subject: [Iup-users] Global callbacks in Lua?
The discussion of global attribute INPUTCALLBACKS mentions that callbacks
like GLOBALKEYPRESS_CB and GLOBALBUTTON_CB can be established using
IupSetFunction. But there is no equivalent for IupSetFunction in Lua. Is
there a way to set up these global callbacks in Lua, and if so, how would
that be accomplished?
Dave Atkinson
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users