---
name: "XtCallAcceptFocus"
section: "3"
platform: "linux"
package: "libxt"
version: "1.3.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XtCallAcceptFocus"
---

# XtCallAcceptFocus(3)

calla widget's accept\_focus procedure

## NAME

XtCallAcceptFocus - calla widget's accept\_focus procedure

## SYNTAX

\#include \<X11/Intrinsic.h\>

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

## ARGUMENTS

- *time*

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

- *w*

  Specifies the widget.

## 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

[XtSetKeyboardFocus(3)](/XtSetKeyboardFocus/3.md)\
 *X Toolkit Intrinsics - C Language Interface*\
 *Xlib - C Language X Interface*
