Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtCallAccep(3) — OSF1 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtSetKeyboardFocus(1)

Core(3)

accept_focus(4)

 

Name

XtCallAcceptFocus — call a widget’s accept_focus procedure. 

Synopsis

Boolean XtCallAcceptFocus(w, time)

    Widget w;
    Time ∗time;

Arguments

wSpecifies the widget. 

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

Description

XtCallAcceptFocus calls the specified widget’s accept_focus method, passing it the specified widget and time, and returns whatever the accept_focus method returns.  If the accept_focus method is NULL, XtCallAcceptFocus returns False. 

XtCallAcceptFocus does not actually set the keyboard focus; it is used to determine if the widget would take the focus if offered.  XtSetKeyboardFocus and the Xlib function XSetInputFocus actually pass the focus to a child. 

The accept_focus method is part of the Core class structure. 

See Also

XtSetKeyboardFocus(1),
Core(3),
accept_focus(4). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026