XtAppLock(3) XT FUNCTIONS XtAppLock(3)NAME
XtAppLock, XtAppUnlock - lock and unlock application context
SYNTAX
void XtAppLock(XtAppContext app_context);
void XtAppUnlock(XtAppContext app_context);
ARGUMENTS
app_context
Specifies the application context.
DESCRIPTION
XtAppLock locks the application context including all its related displays and widgets.
XtAppUnlock unlocks the application context.
SEE ALSO
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 libXt 1.0.5 XtAppLock(3)
Check Out this Related Man Page
XtCreateApplicationContext(3) XT FUNCTIONS XtCreateApplicationContext(3)NAME
XtCreateApplicationContext, XtDestroyApplicationContext, XtWidgetToApplicationContext, XtToolkitInitialize - create, destroy, and obtain an
application context
SYNTAX
XtAppContext XtCreateApplicationContext(void);
void XtDestroyApplicationContext(XtAppContext app_context);
XtAppContext XtWidgetToApplicationContext(Widget w);
void XtToolkitInitialize(void);
ARGUMENTS
app_context
Specifies the application context.
w Specifies the widget .
DESCRIPTION
The XtCreateApplicationContext function returns an application context, which is an opaque type. Every application must have at least one
application context.
The XtDestroyApplicationContext function destroys the specified application context as soon as it is safe to do so. If called from with an
event dispatch (for example, a callback procedure), XtDestroyApplicationContext does not destroy the application context until the dispatch
is complete.
The XtWidgetToApplicationContext function returns the application context for the specified widget.
The XtToolkitInitialize function initializes the Intrinsics internals. If XtToolkitInitialize was previously called it returns immedi-
ately.
SEE ALSO XtDisplayInitialize(3)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 libXt 1.1.3 XtCreateApplicationContext(3)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)