From 7505e88db66798b2b8fcdff2d92a7136cd826b5b Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Thu, 9 Sep 2010 02:26:30 +0200 Subject: Upgrading to IUP 3.2 - and cleaning up. --- iup/test/button.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'iup/test/button.c') diff --git a/iup/test/button.c b/iup/test/button.c index f04f082..37c4e68 100755 --- a/iup/test/button.c +++ b/iup/test/button.c @@ -156,7 +156,8 @@ static char* get_name(Ihandle* ih) static int action_cb(Ihandle *ih) { - printf("ACTION(%s)\n", get_name(ih)); + static int count = 1; + printf("ACTION(%s) - %d\n", get_name(ih), count); count++; return IUP_DEFAULT; } @@ -366,6 +367,7 @@ void ButtonTest(void) // IupSetAttribute(button, "ALIGNMENT", "ALEFT"); // IupSetAttribute(button, "RASTERSIZE", "200x100"); IupSetAttribute(button, "FLAT", "YES"); +// IupSetAttribute(button, "CANFOCUS", "NO"); // IupSetAttributeHandle(button, "IMPRESS", image2); // IupSetAttribute(button, "FOCUSONCLICK", "NO"); // IupSetAttribute(button, "RASTERSIZE", "15x15"); -- cgit v1.2.3