⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 internatom.3

📁 linux系统下的音频通信
💻 3
字号:
'\"'\" Copyright (c) 1990 The Regents of the University of California.'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.'\"'\" See the file "license.terms" for information on usage and redistribution'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.'\" '\" SCCS: @(#) InternAtom.3 1.8 96/03/26 18:14:31'\" .so man.macros.TH Tk_InternAtom 3 "" Tk "Tk Library Procedures".BS.SH NAMETk_InternAtom, Tk_GetAtomName \- manage cache of X atoms.SH SYNOPSIS.nf\fB#include <tk.h>\fR.spAtom\fBTk_InternAtom(\fItkwin, name\fR).spchar *\fBTk_GetAtomName(\fItkwin, atom\fR).SH ARGUMENTS.AS Tk_Window parent.AP Tk_Window tkwin inToken for window.  Used to map atom or name relative to a particular display..AP char *name inString name for which atom is desired..AP Atom atom inAtom for which corresponding string name is desired..BE.SH DESCRIPTION.PPThese procedures are similar to the Xlib procedures\fBXInternAtom\fR and \fBXGetAtomName\fR.  \fBTk_InternAtom\fRreturns the atom identifier associated with string given by\fIname\fR;  the atom identifier is only valid for the displayassociated with \fItkwin\fR.\fBTk_GetAtomName\fR returns the string associatedwith \fIatom\fR on \fItkwin\fR's display.  The string returnedby \fBTk_GetAtomName\fR is in Tk's storage:  the caller neednot free this space when finished with the string, and the callershould not modify the contents of the returned string.If there is no atom \fIatom\fR on \fItkwin\fR's display,then \fBTk_GetAtomName\fR returns the string ``?bad atom?''..PPTk cachesthe information returned by \fBTk_InternAtom\fR and \fBTk_GetAtomName\fRso that future callsfor the same information can be serviced from the cache withoutcontacting the server.  Thus \fBTk_InternAtom\fR and \fBTk_GetAtomName\fRare generally much faster than their Xlib counterparts, and theyshould be used in place of the Xlib procedures..SH KEYWORDSatom, cache, display

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -