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

📄 options.n

📁 linux系统下的音频通信
💻 N
📖 第 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: @(#) options.n 1.47 97/05/31 17:12:19'\" .so man.macros.TH options n 4.4 Tk "Tk Built-In Commands".BS'\" Note:  do not modify the .SH NAME line immediately below!.SH NAMEoptions \- Standard options supported by widgets.BE.SH DESCRIPTIONThis manual entry describes the common configuration options supportedby widgets in the Tk toolkit.  Every widget does not necessarily supportevery option (see the manual entries for individual widgets for a listof the standard options supported by that widget), but if a widget doessupport an option with one of the names listed below, then the optionhas exactly the effect described below..PPIn the descriptions below, ``Command-Line Name'' refers to theswitch used in class commands and \fBconfigure\fR widget commands toset this value.  For example, if an option's command-line switch is\fB\-foreground\fR and there exists a widget \fB.a.b.c\fR, then thecommand.CS\&\fB.a.b.c\0\0configure\0\0\-foreground black\fR.CEmay be used to specify the value \fBblack\fR for the option in thethe widget \fB.a.b.c\fR.  Command-line switches may be abbreviated,as long as the abbreviation is unambiguous.``Database Name'' refers to the option's name in the option database (e.g.in .Xdefaults files).  ``Database Class'' refers to the option's class valuein the option database..OP \-activebackground activeBackground ForegroundSpecifies background color to use when drawing active elements.An element (a widget or portion of a widget) is active if themouse cursor is positioned over the element and pressing a mouse buttonwill cause some action to occur.If strict Motif compliance has been requested by setting the\fBtk_strictMotif\fR variable, this option will normally beignored;  the normal background color will be used instead..VSFor some elements on Windows and Macintosh systems, the active colorwill only be used while mouse button 1 is pressed over the element..VE.OP \-activeborderwidth activeBorderWidth BorderWidthSpecifies a non-negative value indicatingthe width of the 3-D border drawn around active elements.  See above fordefinition of active elements.The value may have any of the forms acceptable to \fBTk_GetPixels\fR.This option is typically only available in widgets displaying morethan one element at a time (e.g. menus but not buttons)..OP \-activeforeground activeForeground BackgroundSpecifies foreground color to use when drawing active elements.See above for definition of active elements..OP \-anchor anchor AnchorSpecifies how the information in a widget (e.g. text or a bitmap)is to be displayed in the widget.Must be one of the values \fBn\fR, \fBne\fR, \fBe\fR, \fBse\fR,\fBs\fR, \fBsw\fR, \fBw\fR, \fBnw\fR, or \fBcenter\fR.For example, \fBnw\fR means display the information such that itstop-left corner is at the top-left corner of the widget..OP "\-background or \-bg" background BackgroundSpecifies the normal background color to use when displaying thewidget..OP \-bitmap bitmap BitmapSpecifies a bitmap to display in the widget, in any of the formsacceptable to \fBTk_GetBitmap\fR.The exact way in which the bitmap is displayed may be affected byother options such as \fBanchor\fR or \fBjustify\fR.Typically, if this option is specified then it overrides otheroptions that specify a textual value to display in the widget;the \fBbitmap\fR option may be reset to an empty string to re-enablea text display.In widgets that support both \fBbitmap\fR and \fBimage\fR options,\fBimage\fR will usually override \fBbitmap\fR..OP "\-borderwidth or \-bd" borderWidth BorderWidthSpecifies a non-negative value indicating the widthof the 3-D border to draw around the outside of the widget (if such aborder is being drawn;  the \fBrelief\fR option typically determinesthis).  The value may also be used when drawing 3-D effects in theinterior of the widget.The value may have any of the forms acceptable to \fBTk_GetPixels\fR..OP \-cursor cursor CursorSpecifies the mouse cursor to be used for the widget.The value may have any of the forms acceptable to \fBTk_GetCursor\fR..OP \-disabledforeground disabledForeground DisabledForegroundSpecifies foreground color to use when drawing a disabled element.If the option is specified as an empty string (which is typically thecase on monochrome displays), disabled elements are drawn with thenormal foreground color but they are dimmed by drawing themwith a stippled fill pattern..OP \-exportselection exportSelection ExportSelectionSpecifies whether or not a selection in the widget should also bethe X selection.The value may have any of the forms accepted by \fBTcl_GetBoolean\fR,such as \fBtrue\fR, \fBfalse\fR, \fB0\fR, \fB1\fR, \fByes\fR, or \fBno\fR.If the selection is exported, then selecting in the widget deselectsthe current X selection, selecting outside the widget deselects anywidget selection, and the widget will respond to selection retrievalrequests when it has a selection.  The default is usually for widgetsto export selections..OP \-font font FontSpecifies the font to use when drawing text inside the widget..OP "\-foreground or \-fg" foreground ForegroundSpecifies the normal foreground color to use when displaying the widget..OP \-highlightbackground highlightBackground HighlightBackgroundSpecifies the color to display in the traversal highlight region whenthe widget does not have the input focus..OP \-highlightcolor highlightColor HighlightColorSpecifies the color to use for the traversal highlight rectangle that isdrawn around the widget when it has the input focus..OP \-highlightthickness highlightThickness HighlightThicknessSpecifies a non-negative value indicating the width of the highlightrectangle to draw around the outside of the widget when it has theinput focus.The value may have any of the forms acceptable to \fBTk_GetPixels\fR.If the value is zero, no focus highlight is drawn around the widget..OP \-image image ImageSpecifies an image to display in the widget, which must have beencreated with the \fBimage create\fR command.Typically, if the \fBimage\fR option is specified then it overrides otheroptions that specify a bitmap or textual value to display in the widget;the \fBimage\fR option may be reset to an empty string to re-enablea bitmap or text display..OP \-insertbackground insertBackground ForegroundSpecifies the color to use as background in the area covered by theinsertion cursor.  This color will normally override either the normalbackground for the widget (or the selection background if the insertioncursor happens to fall in the selection)..OP \-insertborderwidth insertBorderWidth BorderWidthSpecifies a non-negative value indicating the widthof the 3-D border to draw around the insertion cursor.The value may have any of the forms acceptable to \fBTk_GetPixels\fR..OP \-insertofftime insertOffTime OffTimeSpecifies a non-negative integer value indicating the number ofmilliseconds the insertion cursor should remain ``off'' in each blink cycle.If this option is zero then the cursor doesn't blink:  it is onall the time..OP \-insertontime insertOnTime OnTimeSpecifies a non-negative integer value indicating the number ofmilliseconds the insertion cursor should remain ``on'' in each blink cycle..OP \-insertwidth insertWidth InsertWidthSpecifies a  value indicating the total width of the insertion cursor.The value may have any of the forms acceptable to \fBTk_GetPixels\fR.If a border has been specified for the insertioncursor (using the \fBinsertBorderWidth\fR option), the borderwill be drawn inside the width specified by the \fBinsertWidth\fRoption..OP \-jump jump JumpFor widgets with a slider that can be dragged to adjust a value,such as scrollbars, this option determines whennotifications are made about changes in the value.The option's value must be a boolean of the form accepted by\fBTcl_GetBoolean\fR.If the value is false, updates are made continuously as theslider is dragged.If the value is true, updates are delayed until the mouse buttonis released to end the drag;  at that point a single notification

⌨️ 快捷键说明

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