GrSetFocus

Name

GrSetFocus -- Set the focus to a specified window

Synopsis

void GrSetFocus (
  GR_WINDOW_ID wid
);
     

Parameters

wid

The window ID of the window to get focus.

Description

The GrSetFocus function sets the focus to the wid window. When you set the focust to a window, only that window (or its children) will receive keyboard events. If you set the focus to the root window, then the input focus follows the pointer.