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: ihandle) -> elem: ihandle [in IupLua3]
iup.SetFocus(element: ihandle) -> elem: ihandle [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.