getoption.3

来自「linux系统下的音频通信」· 3 代码 · 共 47 行

3
47
字号
'\"'\" 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: @(#) GetOption.3 1.9 96/03/26 18:11:11'\" .so man.macros.TH Tk_GetOption 3 "" Tk "Tk Library Procedures".BS.SH NAMETk_GetOption \- retrieve an option from the option database.SH SYNOPSIS.nf\fB#include <tk.h>\fR.spTk_Uid\fBTk_GetOption\fR(\fItkwin, name, class\fR).SH ARGUMENTS.AS Tk_Window *class.AP Tk_Window tkwin inToken for window..AP char *name inName of desired option..AP char *class inClass of desired option.  Null means there is no class forthis option;  do lookup based on name only..BE.SH DESCRIPTION.PPThis procedure is invoked to retrieve an option from the databaseassociated with \fItkwin\fR's main window.  If there is an optionfor \fItkwin\fR that matches the given \fIname\fR or \fIclass\fR,then it is returned in the form of a Tk_Uid.  If multiple optionsmatch \fIname\fR and \fIclass\fR, then the highest-priority oneis returned.  If no option matches, then NULL is returned..PP\fBTk_GetOption\fR caches options related to \fItkwin\fR so thatsuccessive calls for the same \fItkwin\fR will execute much morequickly than successive calls for different windows..SH KEYWORDSclass, name, option, retrieve

⌨️ 快捷键说明

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