For some reason the toggle control is unresponsive for about a second
after clicking. So, for instance, a double click will change the state
only once. Toggling with the keyboard works at normal speed. I used
the following code to test, built with CVS version on Windows:

#include <iup.h>

int main(int argc, char** argv)
{
    IupOpen(&argc, &argv);

    Ihandle* main_window = IupDialog(IupToggle("CLICK ME", NULL));
    IupSetAttribute(main_window, "TITLE", "a dialog");

    IupShow(main_window);
    IupMainLoop();

    IupDestroy(main_window);
    IupClose();
    return 0;
}

------------------------------------------------------------------------------
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

Reply via email to