Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xtreservepropertyatom(3) [x11r4 man page]

XtReservePropertyAtom(3)					   XT FUNCTIONS 					  XtReservePropertyAtom(3)

NAME
XtReservePropertyAtom, XtReleasePropertyAtom - maintain a cache of property atoms SYNTAX
Widget XtReservePropertyAtom(Widget w); void XtReleasePropertyAtom(Widget w, Atom atom); ARGUMENTS
w Specifies the widget used to reserve the atom. atom Specifies the atom whose reservation is to be released. DESCRIPTION
XtReservePropertyAtom returns an atom that may be used for properties in conjunction with conversion requests from widget w. The atom returned will be unique for the display of the widget specified. SEE ALSO
X Toolkit Intrinsics - C Language Interface Xlib - C Language X Interface X Version 11 libXt 1.0.5 XtReservePropertyAtom(3)

Check Out this Related Man Page

Tk_InternAtom(3)					       Tk Library Procedures						  Tk_InternAtom(3)

__________________________________________________________________________________________________________________________________________________

NAME
Tk_InternAtom, Tk_GetAtomName - manage cache of X atoms SYNOPSIS
#include <tk.h> Atom Tk_InternAtom(tkwin, name) const char * Tk_GetAtomName(tkwin, atom) ARGUMENTS
Tk_Window tkwin (in) Token for window. Used to map atom or name relative to a particular display. const char *name (in) String name for which atom is desired. Atom atom (in) Atom for which corresponding string name is desired. _________________________________________________________________ DESCRIPTION
These procedures are similar to the Xlib procedures XInternAtom and XGetAtomName. Tk_InternAtom returns the atom identifier associated with string given by name; the atom identifier is only valid for the display associated with tkwin. Tk_GetAtomName returns the string associated with atom on tkwin's display. The string returned by Tk_GetAtomName is in Tk's storage: the caller need not free this space when finished with the string, and the caller should not modify the contents of the returned string. If there is no atom atom on tkwin's display, then Tk_GetAtomName returns the string "?bad atom?". Tk caches the information returned by Tk_InternAtom and Tk_GetAtomName so that future calls for the same information can be serviced from the cache without contacting the server. Thus Tk_InternAtom and Tk_GetAtomName are generally much faster than their Xlib counterparts, and they should be used in place of the Xlib procedures. KEYWORDS
atom, cache, display Tk Tk_InternAtom(3)
Man Page

We Also Found This Discussion For You

1. UNIX for Advanced & Expert Users

Shopt -s histappend

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)
Discussion started by: cokedude
3 Replies