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

📄 label.n

📁 linux系统下的音频通信
💻 N
字号:
'\"'\" 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: @(#) label.n 1.30 97/10/31 12:58:49'\" .so man.macros.TH label n 4.0 Tk "Tk Built-In Commands".BS'\" Note:  do not modify the .SH NAME line immediately below!.SH NAMElabel \- Create and manipulate label widgets.SH SYNOPSIS\fBlabel\fR \fIpathName \fR?\fIoptions\fR?.SO\-anchor	\-font	\-image	\-takefocus\-background	\-foreground	\-justify	\-text\-bitmap	\-highlightbackground	\-padx	\-textvariable\-borderwidth	\-highlightcolor	\-pady	\-underline\-cursor	\-highlightthickness	\-relief	\-wraplength.SE.SH "WIDGET-SPECIFIC OPTIONS".OP \-height height HeightSpecifies a desired height for the label.If an image or bitmap is being displayed in the label then the value is inscreen units (i.e. any of the forms acceptable to \fBTk_GetPixels\fR);for text it is in lines of text.If this option isn't specified, the label's desired height is computedfrom the size of the image or bitmap or text being displayed in it..OP \-width width WidthSpecifies a desired width for the label.If an image or bitmap is being displayed in the label then the value is inscreen units (i.e. any of the forms acceptable to \fBTk_GetPixels\fR);for text it is in characters.If this option isn't specified, the label's desired width is computedfrom the size of the image or bitmap or text being displayed in it..BE.SH DESCRIPTION.PPThe \fBlabel\fR command creates a new window (given by the\fIpathName\fR argument) and makes it into a label widget.Additionaloptions, described above, may be specified on the command lineor in the option databaseto configure aspects of the label such as its colors, font,text, and initial relief.  The \fBlabel\fR command returns its\fIpathName\fR argument.  At the time this command is invoked,there must not exist a window named \fIpathName\fR, but\fIpathName\fR's parent must exist..PPA label is a widget that displays a textual string, bitmap or image.If text is displayed, it must all be in a single font, but itcan occupy multiple lines on the screen (if it contains newlinesor if wrapping occurs because of the \fBwrapLength\fR option) andone of the characters may optionally be underlined using the\fBunderline\fR option.The label can be manipulated in a few simple ways, such aschanging its relief or text, using the commands described below..SH "WIDGET COMMAND".PPThe \fBlabel\fR command creates a new Tcl command whosename is \fIpathName\fR.  Thiscommand may be used to invoke variousoperations on the widget.  It has the following general form:.CS\fIpathName option \fR?\fIarg arg ...\fR?.CE\fIOption\fR and the \fIarg\fRsdetermine the exact behavior of the command.  The followingcommands are possible for label widgets:.TP\fIpathName \fBcget\fR \fIoption\fRReturns the current value of the configuration option givenby \fIoption\fR.\fIOption\fR may have any of the values accepted by the \fBlabel\fRcommand..TP\fIpathName \fBconfigure\fR ?\fIoption\fR? ?\fIvalue option value ...\fR?Query or modify the configuration options of the widget.If no \fIoption\fR is specified, returns a list describing all ofthe available options for \fIpathName\fR (see \fBTk_ConfigureInfo\fR forinformation on the format of this list).  If \fIoption\fR is specifiedwith no \fIvalue\fR, then the command returns a list describing theone named option (this list will be identical to the correspondingsublist of the value returned if no \fIoption\fR is specified).  Ifone or more \fIoption\-value\fR pairs are specified, then the commandmodifies the given widget option(s) to have the given value(s);  inthis case the command returns an empty string.\fIOption\fR may have any of the values accepted by the \fBlabel\fRcommand..SH BINDINGS.PPWhen a new label is created, it has no default event bindings:labels are not intended to be interactive..SH KEYWORDSlabel, widget

⌨️ 快捷键说明

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