diff options
Diffstat (limited to 'iup/test/button.c')
-rwxr-xr-x | iup/test/button.c | 4 |
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"); |