summaryrefslogtreecommitdiff
path: root/iup/test/button.c
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-09-09 02:26:30 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-09-09 02:32:26 +0200
commit7505e88db66798b2b8fcdff2d92a7136cd826b5b (patch)
treeb6ced565318f8e8112e35cb0ad53abe4212ef8de /iup/test/button.c
parente9a184546b18cf3b796bd560561f312934004c54 (diff)
Upgrading to IUP 3.2 - and cleaning up.
Diffstat (limited to 'iup/test/button.c')
-rwxr-xr-xiup/test/button.c4
1 files changed, 3 insertions, 1 deletions
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");