亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? configwidg.3

?? linux系統下的音頻通信
?? 3
?? 第 1 頁 / 共 2 頁
字號:
'\"'\" Copyright (c) 1990-1994 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: @(#) ConfigWidg.3 1.30 96/08/27 13:21:18'\" .so man.macros.TH Tk_ConfigureWidget 3 4.1 Tk "Tk Library Procedures".BS.SH NAMETk_ConfigureWidget, Tk_Offset, Tk_ConfigureInfo, Tk_ConfigureValue, Tk_FreeOptions \- process configuration options for widgets.SH SYNOPSIS.nf\fB#include <tk.h>\fR.spint\fBTk_ConfigureWidget(\fIinterp, tkwin, specs, argc, argv, widgRec, flags\fB)\fR.spint\fBTk_Offset(\fItype, field\fB)\fR.spint\fBTk_ConfigureInfo(\fIinterp, tkwin, specs, widgRec, argvName, flags\fB)\fR.spint.sp\fBTk_FreeOptions(\fIspecs, widgRec, display, flags\fB)\fR.SH ARGUMENTS.AS Tk_ConfigSpec *widgRec.AP Tcl_Interp *interp inInterpreter to use for returning error messages..AP Tk_Window tkwin inWindow used to represent widget (needed to set up X resources)..AP Tk_ConfigSpec *specs inPointer to table specifying legal configuration options for thiswidget..AP int argc inNumber of arguments in \fIargv\fR..AP char **argv inCommand-line options for configuring widget..AP char *widgRec in/outPoints to widget record structure.  Fields in this structure getmodified by \fBTk_ConfigureWidget\fR to hold configuration information..AP int flags inIf non-zero, then it specifies an OR-ed combination of flags thatcontrol the processing of configuration information.TK_CONFIG_ARGV_ONLY causes the option database and defaults to beignored, and flag bits TK_CONFIG_USER_BIT and higher are used toselectively disable entries in \fIspecs\fR..AP "type name" type inThe name of the type of a widget record..AP "field name" field inThe name of a field in records of type \fItype\fR..AP char *argvName inThe name used on Tcl command lines to refer to a particular option(e.g. when creating a widget or invoking the \fBconfigure\fR widgetcommand).  If non-NULL, then information is returned only for thisoption.  If NULL, then information is returned for all availableoptions..AP Display *display inDisplay containing widget whose record is being freed;  needed inorder to free up resources..BE.SH DESCRIPTION.PP\fBTk_ConfigureWidget\fR is called to configure various aspects of awidget, such as colors, fonts, border width, etc.It is intended as a convenience procedure to reduce the amountof code that must be written in individual widget managers tohandle configuration information.It is typicallyinvoked when widgets are created, and again when the \fBconfigure\fRcommand is invoked for a widget.Although intended primarily for widgets, \fBTk_ConfigureWidget\fRcan be used in other situations where \fIargc-argv\fR informationis to be used to fill in a record structure, such as configuringgraphical elements for a canvas widget or entries of a menu..PP\fBTk_ConfigureWidget\fR processesa table specifying the configuration options that are supported(\fIspecs\fR) and a collection of command-line arguments (\fIargc\fR and\fIargv\fR) to fill in fields of a record (\fIwidgRec\fR).It uses the option database and defaults specified in \fIspecs\fRto fill in fields of \fIwidgRec\fR that are not specified in \fIargv\fR.\fBTk_ConfigureWidget\fR normally returns the value TCL_OK; in thiscase it does not modify \fIinterp\fR.If an erroroccurs then TCL_ERROR is returned and \fBTk_ConfigureWidget\fR willleave an error message in \fIinterp->result\fR in the standard Tclfashion.In the event of an error return, some of the fields of \fIwidgRec\fRcould already have been set, if configuration information for themwas successfully processed before the error occurred.The other fields will be set to reasonable initial values so that\fBTk_FreeOptions\fR can be called for cleanup..PPThe \fIspecs\fR array specifies the kinds of configuration optionsexpected by the widget.  Each of its entries specifies one configurationoption and has the following structure:.CStypedef struct {	int \fItype\fR;	char *\fIargvName\fR;	char *\fIdbName\fR;	char *\fIdbClass\fR;	char *\fIdefValue\fR;	int \fIoffset\fR;	int \fIspecFlags\fR;	Tk_CustomOption *\fIcustomPtr\fR;} Tk_ConfigSpec;.CEThe \fItype\fR field indicates what type of configuration option this is(e.g. TK_CONFIG_COLOR for a color value, or TK_CONFIG_INT foran integer value).  The \fItype\fR field indicates how to use thevalue of the option (more on this below).The \fIargvName\fR field is a string such as ``\-font'' or ``\-bg'',which is compared with the values in \fIargv\fR (if \fIargvName\fR isNULL it means this is a grouped entry;  see GROUPED ENTRIES below).  The\fIdbName\fR and \fIdbClass\fR fields are used to look up a valuefor this option in the option database.  The \fIdefValue\fR fieldspecifies a default value for this configuration option if novalue is specified in either \fIargv\fR or the option database.\fIOffset\fR indicates where in \fIwidgRec\fR to store informationabout this option, and \fIspecFlags\fR contains additional informationto control the processing of this configuration option (see FLAGSbelow).The last field, \fIcustomPtr\fR, is only used if \fItype\fR isTK_CONFIG_CUSTOM;  see CUSTOM OPTION TYPES below..PP\fBTk_ConfigureWidget\fR first processes \fIargv\fR to see which(if any) configuration options are specified there.  \fIArgv\fRmust contain an even number of fields;  the first of each pairof fields must match the \fIargvName\fR of some entry in \fIspecs\fR(unique abbreviations are acceptable),and the second field of the pair contains the value for thatconfiguration option.  If there are entries in \fIspec\fR for whichthere were no matching entries in \fIargv\fR,\fBTk_ConfigureWidget\fR uses the \fIdbName\fR and \fIdbClass\fRfields of the \fIspecs\fR entry to probe the option database;  ifa value is found, then it is used as the value for the option.Finally, if no entry is found in the option database, the\fIdefValue\fR field of the \fIspecs\fR entry is used as thevalue for the configuration option.  If the \fIdefValue\fR isNULL, or if the TK_CONFIG_DONT_SET_DEFAULT bit is set in\fIflags\fR, then there is no default value and this \fIspecs\fR entrywill be ignored if no value is specified in \fIargv\fR or theoption database..PPOnce a string value has been determined for a configuration option,\fBTk_ConfigureWidget\fR translates the string value into a more usefulform, such as a color if \fItype\fR is TK_CONFIG_COLOR or an integerif \fItype\fR is TK_CONFIG_INT.  This value is then stored in therecord pointed to by \fIwidgRec\fR.  This record is assumed tocontain information relevant to the manager of the widget;  its exacttype is unknown to \fBTk_ConfigureWidget\fR.  The \fIoffset\fR fieldof each \fIspecs\fR entry indicates where in \fIwidgRec\fR to storethe information about this configuration option.  You should use the\fBTk_Offset\fR macro to generate \fIoffset\fR values (see below fora description of \fBTk_Offset\fR).  The location indicated by\fIwidgRec\fR and \fIoffset\fR will be referred to as the ``target''in the descriptions below..PPThe \fItype\fR field of each entry in \fIspecs\fR determines whatto do with the string value of that configuration option.  Thelegal values for \fItype\fR, and the corresponding actions, are:.TP\fBTK_CONFIG_ACTIVE_CURSOR\fRThe valuemust be an ASCII string identifying a cursor in a formsuitable for passing to \fBTk_GetCursor\fR. The value is converted to a \fBTk_Cursor\fR by calling\fBTk_GetCursor\fR and the result is stored in the target.In addition, the resulting cursor is made the active cursorfor \fItkwin\fR by calling \fBXDefineCursor\fR.If TK_CONFIG_NULL_OK is specified in \fIspecFlags\fR then the valuemay be an empty string, in which case the target and \fItkwin\fR'sactive cursor will be set to \fBNone\fR.If the previous value of the targetwasn't \fBNone\fR, then it is freed by passing it to \fBTk_FreeCursor\fR..TP\fBTK_CONFIG_ANCHOR\fRThe value must be an ASCII string identifying an anchor point in one of the waysaccepted by \fBTk_GetAnchor\fR.The string is converted to a \fBTk_Anchor\fR by calling\fBTk_GetAnchor\fR and the result is stored in the target..TP\fBTK_CONFIG_BITMAP\fRThe value must be an ASCII string identifying a bitmap in a formsuitable for passing to \fBTk_GetBitmap\fR.  The value is convertedto a \fBPixmap\fR by calling \fBTk_GetBitmap\fR and the resultis stored in the target.If TK_CONFIG_NULL_OK is specified in \fIspecFlags\fR then the valuemay be an empty string, in which case the target is set to \fBNone\fR.If the previous value of the targetwasn't \fBNone\fR, then it is freed by passing it to \fBTk_FreeBitmap\fR..TP\fBTK_CONFIG_BOOLEAN\fRThe value must be an ASCII string specifying a boolean value.  Anyof the values ``true'', ``yes'', ``on'', or ``1'',or an abbreviation of one of these values, means true;any of the values ``false'', ``no'', ``off'', or ``0'', or an abbreviation ofone of these values, means false.The target is expected to be an integer;  for true values it willbe set to 1 and for false values it will be set to 0..TP\fBTK_CONFIG_BORDER\fRThe value must be an ASCII string identifying a border color in a formsuitable for passing to \fBTk_Get3DBorder\fR.  The value is convertedto a (\fBTk_3DBorder *\fR) by calling \fBTk_Get3DBorder\fR and the resultis stored in the target.If TK_CONFIG_NULL_OK is specified in \fIspecFlags\fR then the valuemay be an empty string, in which case the target will be set to NULL.If the previous value of the targetwasn't NULL, then it is freed by passing it to \fBTk_Free3DBorder\fR..TP\fBTK_CONFIG_CAP_STYLE\fRThe value must bean ASCII string identifying a cap style in one of the waysaccepted by \fBTk_GetCapStyle\fR.The string is converted to an integer value correspondingto the cap style by calling\fBTk_GetCapStyle\fR and the result is stored in the target..TP\fBTK_CONFIG_COLOR\fRThe value must be an ASCII string identifying a color in a formsuitable for passing to \fBTk_GetColor\fR.  The value is convertedto an (\fBXColor *\fR) by calling \fBTk_GetColor\fR and the resultis stored in the target.If TK_CONFIG_NULL_OK is specified in \fIspecFlags\fR then the valuemay be an empty string, in which case the target will be set to \fBNone\fR.If the previous value of the targetwasn't NULL, then it is freed by passing it to \fBTk_FreeColor\fR..TP\fBTK_CONFIG_CURSOR\fRThis option is identical to \fBTK_CONFIG_ACTIVE_CURSOR\fR exceptthat the new cursor is not made the active one for \fItkwin\fR..TP\fBTK_CONFIG_CUSTOM\fRThis option allows applications to define new option types.The \fIcustomPtr\fR field of the entry points to a structuredefining the new option type.See the section CUSTOM OPTION TYPES below for details..TP\fBTK_CONFIG_DOUBLE\fRThe value must be an ASCII floating-point number inthe format accepted by \fBstrtol\fR.  The string is convertedto a \fBdouble\fR value, and the value is stored in thetarget..TP\fBTK_CONFIG_END\fRMarks the end of the table.  The last entry in \fIspecs\fRmust have this type;  all of its other fields are ignored and itwill never match any arguments..TP\fBTK_CONFIG_FONT\fRThe value must be an ASCII string identifying a font in a formsuitable for passing to \fBTk_GetFontStruct\fR.  The value is convertedto an (\fBXFontStruct *\fR) by calling \fBTk_GetFontStruct\fR and the resultis stored in the target.If TK_CONFIG_NULL_OK is specified in \fIspecFlags\fR then the valuemay be an empty string, in which case the target will be set to NULL.If the previous value of the targetwasn't NULL, then it is freed by passing it to \fBTk_FreeFontStruct\fR..TP\fBTK_CONFIG_INT\fRThe value must be an ASCII integer stringin the format accepted by \fBstrtol\fR (e.g. ``0''and ``0x'' prefixes may be used to specify octal or hexadecimalnumbers, respectively).  The string is converted to an integervalue and the integer is stored in the target..TP\fBTK_CONFIG_JOIN_STYLE\fRThe value must bean ASCII string identifying a join style in one of the waysaccepted by \fBTk_GetJoinStyle\fR.The string is converted to an integer value correspondingto the join style by calling\fBTk_GetJoinStyle\fR and the result is stored in the target..TP\fBTK_CONFIG_JUSTIFY\fRThe value must bean ASCII string identifying a justification method in one of theways accepted by \fBTk_GetJustify\fR.The string is converted to a \fBTk_Justify\fR by calling\fBTk_GetJustify\fR and the result is stored in the target..TP\fBTK_CONFIG_MM\fRThe value must specify a screen distance in one of the forms acceptableto \fBTk_GetScreenMM\fR.The string is converted to double-precision floating-point distancein millimeters and the value is stored in the target..TP\fBTK_CONFIG_PIXELS\fRThe value must specify screen units in one of the forms acceptableto \fBTk_GetPixels\fR.The string is converted to an integer distance in pixels and thevalue is stored in the target..TP\fBTK_CONFIG_RELIEF\fRThe value must be an ASCII string identifying a relief in a formsuitable for passing to \fBTk_GetRelief\fR.  The value is convertedto an integer relief value by calling \fBTk_GetRelief\fR and the resultis stored in the target..TP\fBTK_CONFIG_STRING\fRA copyof the value is made by allocating memory space with

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产精品视频| 不卡一区中文字幕| 懂色av中文字幕一区二区三区 | 欧美日韩一级二级| 日韩美女天天操| 国产精品激情偷乱一区二区∴| 亚洲成a人片在线不卡一二三区| 国产精品一区二区不卡| 精品久久一区二区三区| 亚洲自拍都市欧美小说| 国产69精品久久99不卡| 精品蜜桃在线看| 日日摸夜夜添夜夜添国产精品| av网站免费线看精品| 久久这里只有精品首页| 五月天亚洲婷婷| 色屁屁一区二区| 亚洲情趣在线观看| 岛国一区二区三区| 久久精品亚洲精品国产欧美| 美女脱光内衣内裤视频久久影院| 欧美日韩午夜在线| 亚洲第一狼人社区| 欧美丝袜丝交足nylons| 尤物在线观看一区| 色88888久久久久久影院野外| 国产人妖乱国产精品人妖| 久久超碰97中文字幕| 日韩欧美国产精品| 麻豆国产精品一区二区三区| 精品日韩99亚洲| 美女看a上一区| 精品国产露脸精彩对白| 美女视频黄 久久| 久久影视一区二区| 国产成人综合网| 国产精品久久久久永久免费观看| 国产剧情在线观看一区二区| 国产欧美中文在线| 高潮精品一区videoshd| 国产精品久久久久四虎| 99久久精品99国产精品| 亚洲最新视频在线播放| 欧美蜜桃一区二区三区| 日本va欧美va精品| 精品国产免费人成在线观看| 国产一区二区视频在线| 国产精品美女一区二区三区| 91麻豆蜜桃一区二区三区| 亚洲成人精品一区| 精品欧美黑人一区二区三区| 国产精品一区免费视频| 亚洲欧美日韩一区二区三区在线观看| 91一区二区在线| 亚洲国产精品久久人人爱| 日韩精品一区二区三区中文不卡| 国产一区二区三区美女| 国产精品麻豆视频| 欧美日韩aaa| 国产成人亚洲精品狼色在线| 亚洲免费观看高清完整版在线观看 | 欧美精品一区视频| 成人午夜又粗又硬又大| 亚洲在线视频免费观看| 欧美一二三区在线观看| 成人av电影观看| 日韩国产在线一| 欧美极品美女视频| 欧美日韩一区二区三区在线看| 美女网站一区二区| 亚洲黄色av一区| 精品蜜桃在线看| 欧美亚洲国产一区二区三区| 精一区二区三区| 亚洲精品视频观看| 久久久99久久精品欧美| 欧美色综合久久| 豆国产96在线|亚洲| 日本最新不卡在线| 中文字幕在线观看一区二区| 日韩午夜精品视频| 欧美综合亚洲图片综合区| 国产成人综合亚洲91猫咪| 视频一区二区中文字幕| 最新久久zyz资源站| 欧美mv日韩mv亚洲| 欧美视频中文字幕| 成人午夜在线播放| 国产主播一区二区| 日韩1区2区日韩1区2区| 亚洲欧美偷拍三级| 国产精品拍天天在线| 欧美成人在线直播| 精品视频在线免费| www.欧美色图| 粉嫩13p一区二区三区| 国产一区91精品张津瑜| 蜜臀av性久久久久蜜臀aⅴ四虎 | 在线中文字幕一区| 成人在线视频一区| 久久不见久久见免费视频1| 一区二区三区成人在线视频| 国产精品少妇自拍| 精品1区2区在线观看| 91精品国产综合久久久久| 色婷婷精品久久二区二区蜜臀av| 国产成人h网站| 国内精品久久久久影院薰衣草| 麻豆91在线观看| 日本欧美在线观看| 视频一区视频二区在线观看| 亚洲动漫第一页| 午夜精品一区二区三区三上悠亚| 一区二区视频在线| 亚洲精品视频在线观看网站| 亚洲色图.com| 一区二区在线观看免费视频播放 | 精品国产免费一区二区三区香蕉| 91精品国产aⅴ一区二区| 欧美日韩一二三| 欧美精品日韩精品| 91精品国产91综合久久蜜臀| 欧美一区二区三区电影| 日韩欧美国产不卡| 欧美精品一区二区蜜臀亚洲| 国产亚洲综合在线| 国产精品全国免费观看高清| 久久久精品免费免费| 欧美国产精品一区二区| 中文字幕一区二区三区蜜月| 亚洲卡通欧美制服中文| 亚洲午夜视频在线| 免费在线观看视频一区| 国内精品伊人久久久久av影院| 国产成人日日夜夜| 91啪在线观看| 91精品国产入口在线| 久久久久久亚洲综合影院红桃| 欧美高清在线精品一区| 亚洲激情图片一区| 三级影片在线观看欧美日韩一区二区| 日韩影院在线观看| 国产a精品视频| 在线精品视频免费播放| 67194成人在线观看| 久久毛片高清国产| 一区二区久久久| 国产不卡高清在线观看视频| eeuss鲁一区二区三区| 欧美性做爰猛烈叫床潮| 日韩欧美一级精品久久| 亚洲欧洲国产专区| 日本中文在线一区| 国产成人免费视频网站| 欧美综合天天夜夜久久| 26uuu欧美| 亚洲一区二区三区在线| 国产一区二区三区四区五区美女| 99re视频这里只有精品| 欧美精品丝袜中出| 中文字幕一区二区三区在线观看| 日韩av网站免费在线| 91在线观看污| 久久综合精品国产一区二区三区| 亚洲女厕所小便bbb| 国产真实乱偷精品视频免| 欧美色涩在线第一页| 国产精品久久久久桃色tv| 精品制服美女丁香| 欧美日韩一区久久| 亚洲免费观看高清完整| 国产精品1024| 欧美一区二区成人6969| 伊人色综合久久天天| 成人精品视频.| 精品国产一区二区亚洲人成毛片| 亚洲一级二级在线| 北岛玲一区二区三区四区| 精品精品国产高清一毛片一天堂| 亚洲国产视频一区二区| av日韩在线网站| 国产精品黄色在线观看| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 国产欧美日韩在线视频| 日韩成人av影视| 欧美色倩网站大全免费| 亚洲精品视频在线看| 99r国产精品| 亚洲欧洲美洲综合色网| 国产91精品在线观看| 久久久久久久综合| 国产资源在线一区| 久久亚洲免费视频| 国产精品综合二区| 久久精品水蜜桃av综合天堂| 国产一区二区电影| 久久精品日韩一区二区三区| 国模无码大尺度一区二区三区| 欧美成人一区二区三区在线观看| 日韩激情av在线|