On Fri, Aug 3, 2012 at 8:15 AM, Antonio Scuri <[email protected]> wrote: >> On Thu, Aug 2, 2012 at 2:17 PM, Antonio Scuri <[email protected]> >> wrote: >> > Hi Noam, >> > >> > Have you tried changing it to a IupButton and handing the toggle >> > state manually? >> >> What do you mean by "manually"? > > Every time the callback of the IupButton is pressed you toggle the state > of a variable for example.
The callback does get called every time including double clicks, even though the state of the toggle only changes on the single click. Same for IupButton; it looks like it gets pressed only on single clicks while the callback is called for doubleclicks, as expected. ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
