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 *ih); [in C]
elem:getfocus_cb() -> (ret: number) [in Lua]

ih: identifier of the element that received keyboard focus.

The return value is ignored.

Affects

All elements with user interaction, except menus.

See Also

KILLFOCUS_CB