XPLoseKeyboardFocus

WIDGET_API void       XPLoseKeyboardFocus(
                         XPWidgetID           inWidget);

This causes the specified widget to lose focus; focus is passed to its parent, or the next parent that will accept it. This routine does nothing if this widget does not have focus.