IupSetFocus

IUP - Portable User Interface

IupSetFocus

Defines the interface element that will receive the keyboard focus, i.e., the element that will receive keyboard events.

Parameters/Return

Ihandle *IupSetFocus (Ihandle *element); [in C]
IupSetFocus(element: iuplua_tag) -> elem: iuplua_tag [in IupLua3]
iup.SetFocus(element: iuplua_tag) -> elem: iuplua_tag [in IupLua5]

element: identifier of the interface element that will receive the keyboard focus.

This function returns the identifier of the interface element that will receive the keyboard focus.

See Also

IupGetFocus.