XtCallAcceptFocus(3) XT FUNCTIONS XtCallAcceptFocus(3)

# [NAME](#NAME)

XtCallAcceptFocus - calla widget's accept\_focus procedure

# [SYNTAX](#SYNTAX)

#include &lt;X11/Intrinsic.h&gt;

Boolean XtCallAcceptFocus(Widget *w*, Time \**time*);

# [ARGUMENTS](#ARGUMENTS)

[*time*](#time)

Specifies the X time of the event that is causing the accept focus.

[*w*](#w)

Specifies the widget.

# [DESCRIPTION](#DESCRIPTION)

The **XtCallAcceptFocus** function calls the specified widget's accept\_focus procedure, passing it the specified widget and time, and returns what the accept\_focus procedure returns. If accept\_focus is NULL, **XtCallAcceptFocus** returns **False**.

# [SEE ALSO](#SEE_ALSO)

[XtSetKeyboardFocus(3)](/man/os/libxt/XtSetKeyboardFocus.3)  
*X Toolkit Intrinsics - C Language Interface*  
*Xlib - C Language X Interface*

libXt 1.3.1 X Version 11

---

Document: XtCallAcceptFocus(3) from libxt 1.3.1-r11 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libxt.git
