IUP_GETFOCUS_CB

IUP - Portable User Interface

GETFOCUS_CB

Action generated when an element is given keyboard focus.  This callback is called after the KILLFOCUS_CB.

Callback

int function(Ihandle *self); [in C]
elem:getfocus() -> (ret: number) [in IupLua3]
elem:getfocus_cb() -> (ret: number) [in IupLua5]

self: identifier of the element that received keyboard focus.

Affects

All elements with user interaction, except menus.

See Also

KILLFOCUS_CB