projman/hlp/ru/tk/label.html
2015-10-19 14:27:31 +04:00

142 lines
5.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>label</title>
</head>
<body>
<h1>label</h1>
<p>ëÏÍÁÎÄÁ ÓÏÚÄÁÅÔ É ÕÐÒÁ×ÌÑÅÔ ÐÒÉÍÉÔÉ×ÁÍÉ ÑÒÌÙËÏ×.</p>
<h2><a name="óéîôáëóéó"></a>óéîôáëóéó</h2>
<pre>
<strong>label</strong> <em>ÉÍÑðÕÔÉ</em> <em>?ÐÁÒÁÍÅÔÒÙ?</em>
</pre>
<h2><a name="óôáîäáòôîùå_ðáòáíåôòù"></a>óôáîäáòôîùå ðáòáíåôòù</h2>
<ul>
<li><strong>-anchor</strong></li>
<li><strong>-background</strong></li>
<li><strong>-bitmap</strong></li>
<li><strong>-borderwidth</strong></li>
<li><strong>-cursor</strong></li>
<li><strong>-font</strong></li>
<li><strong>-foreground</strong></li>
<li><strong>-highlightbackground</strong></li>
<li><strong>-highlightcolor</strong></li>
<li><strong>-highlightthickness</strong></li>
<li><strong>-image</strong></li>
<li><strong>-justify</strong></li>
<li><strong>-padx</strong></li>
<li><strong>-pady</strong></li>
<li><strong>-relief</strong></li>
<li><strong>-takefocus</strong></li>
<li><strong>-text</strong></li>
<li><strong>-textvariable</strong></li>
<li><strong>-underline</strong></li>
<li><strong>-wraplength</strong></li>
</ul>
<p>ðÏÄÒÏÂÎÏÅ ÏÐÉÓÁÎÉÅ ÜÔÉÈ ÐÁÒÁÍÅÔÒÏ× ÐÒÉ×ÅÄÅÎÏ × ÒÁÚÄÅÌÅ <a
href="options.html"><strong>oÒtions</strong></a>.</p>
<h2><a name="äïðïìîéôåìøîùå_ðáòáíåôòù_ðòéíéôé÷á"></a>äïðïìîéôåìøîùå ðáòáíåôòù ðòéíéôé÷á</h2>
<table>
<tr><td>éÍÑ ÐÁÒÁÍÅÔÒÁ:</td><td><strong>-height</strong></td></tr>
<tr><td>éÍÑ × âÁÚÅ:</td><td><strong>height</strong></td></tr>
<tr><td>ëÌÁÓÓ × âÁÚÅ:</td><td><strong>Height</strong></td></tr>
</table>
<p>úÁÄÁÅÔ ÖÅÌÁÅÍÕÀ ×ÙÓÏÔÕ ÑÒÌÙËÁ. åÓÌÉ × ÑÒÌÙËÅ ×Ù×ÏÄÉÔÓÑ
ÉÚÏÂÒÁÖÅÎÉÅ ÉÌÉ Ä×ÕÃ×ÅÔÎÏÅ ÉÚÏÂÒÁÖÅÎÉÅ, ÔÏ ÚÎÁÞÅÎÉÅ ÐÁÒÁÍÅÔÒÁ
ÚÁÄÁÅÔÓÑ × ÐÉËÓÅÌÑÈ (Ô.Å., × ÌÀÂÏÍ ×ÉÄÅ, ÐÒÉÅÍÌÅÍÏÍ ÄÌÑ
<strong>Tk_GetPixels</strong>); ×ÙÓÏÔÁ ÔÅËÓÔÏ×ÏÇÏ ÑÒÌÙËÁ
ÚÁÄÁÅÔÓÑ ÞÉÓÌÏÍ ÓÔÒÏÞÅË ÔÅËÓÔÁ. åÓÌÉ ÐÁÒÁÍÅÔÒ ÎÅ ÚÁÄÁÎ, ÔÏ
×ÙÓÏÔÁ ÑÒÌÙËÁ ×ÙÞÉÓÌÑÅÔÓÑ ÐÏ ÅÇÏ ÓÏÄÅÒÖÉÍÏÍÕ.</p>
<table>
<tr><td>éÍÑ ÐÁÒÁÍÅÔÒÁ:</td><td><strong>-width</strong></td></tr>
<tr><td>éÍÑ × âÁÚÅ:</td><td><strong>width</strong></td></tr>
<tr><td>ëÌÁÓÓ × âÁÚÅ:</td><td><strong>Width</strong></td></tr>
</table>
<p>úÁÄÁÅÔ ÖÅÌÁÅÍÕÀ ÛÉÒÉÎÕ ÑÒÌÙËÁ. åÓÌÉ × ÑÒÌÙËÅ ×Ù×ÏÄÉÔÓÑ
ÉÚÏÂÒÁÖÅÎÉÅ ÉÌÉ Ä×ÕÃ×ÅÔÎÏÅ ÉÚÏÂÒÁÖÅÎÉÅ, ÔÏ ÚÎÁÞÅÎÉÅ ÐÁÒÁÍÅÔÒÁ
ÚÁÄÁÅÔÓÑ × ÐÉËÓÅÌÑÈ (Ô.Å., × ÌÀÂÏÍ ×ÉÄÅ, ÐÒÉÅÍÌÅÍÏÍ ÄÌÑ
<strong>Tk_GetPixels</strong>); ÛÉÒÉÎÁ ÔÅËÓÔÏ×ÏÇÏ ÑÒÌÙËÁ
ÚÁÄÁÅÔÓÑ ÞÉÓÌÏÍ ÓÉÍ×ÏÌÏ×. åÓÌÉ ÐÁÒÁÍÅÔÒ ÎÅ ÚÁÄÁÎ, ÔÏ ÛÉÒÉÎÁ
ÑÒÌÙËÁ ×ÙÞÉÓÌÑÅÔÓÑ ÐÏ ÅÇÏ ÓÏÄÅÒÖÉÍÏÍÕ.</p>
<h2><a name="ïðéóáîéå"></a>ïðéóáîéå</h2>
<p>ëÏÍÁÎÄÁ <strong>label</strong> ÓÏÚÄÁÅÔ ÎÏ×ÏÅ ÏËÎÏ (ÚÁÄÁ×ÁÅÍÏÅ
ÁÒÇÕÍÅÎÔÏÍ <em>ÉÍÑðÕÔÉ</em>) É ÐÒÅ×ÒÁÝÁÅÔ ÅÇÏ × ÐÒÉÍÉÔÉ×
ÑÒÌÙËÁ. äÅÔÁÌÉ ÉÚÏÂÒÁÖÅÎÉÑ ÑÒÌÙËÁ, ÔÁËÉÅ ËÁË ÅÇÏ Ã×ÅÔÁ, ÛÒÉÆÔ,
ÔÅËÓÔ É ÉÓÈÏÄÎÙÊ ÏÂßÅÍÎÙÊ ×ÉÄ ÚÁÄÁÀÔÓÑ Ó ÐÏÍÏÝØÀ ÏÐÉÓÁÎÎÙÈ ×ÙÛÅ
ÄÏÐÏÌÎÉÔÅÌØÎÙÈ ÐÁÒÁÍÅÔÒÏ×. ëÏÍÁÎÄÁ <strong>label</strong>
×ÏÚ×ÒÁÝÁÅÔ ÁÒÇÕÍÅÎÔ <em>ÉÍÑðÕÔÉ</em>. ÷ ÍÏÍÅÎÔ ×ÙÐÏÌÎÅÎÉÑ ÜÔÏÊ
ËÏÍÁÎÄÙ ÎÅ ÄÏÌÖÎÏ ÓÕÝÅÓÔ×Ï×ÁÔØ ÏËÎÁ Ó ÉÍÅÎÅÍ <em>ÉÍÑðÕÔÉ</em>,
ÎÏ ÄÏÌÖÅÎ ÓÕÝÅÓÔ×Ï×ÁÔØ ÅÇÏ ÐÒÅÄÏË.</p>
<p>ñÒÌÙË ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ÐÒÉÍÉÔÉ×, × ËÏÔÏÒÏÍ ×Ù×ÏÄÉÔÓÑ
ÔÅËÓÔÏ×ÁÑ ÓÔÒÏËÁ, ÉÚÏÂÒÁÖÅÎÉÅ ÉÌÉ Ä×ÕÃ×ÅÔÎÏÅ ÉÚÏÂÒÁÖÅÎÉÅ. ÷ÅÓØ
×Ù×ÏÄÉÍÙÊ ÔÅËÓÔ ÄÏÌÖÅÎ ÂÙÔØ ÚÁÐÉÓÁÎ ÏÄÎÉÍ ÛÒÉÆÔÏÍ, ÏÄÎÁËÏ ÏÎ
ÍÏÖÅÔ ÚÁÎÉÍÁÔØ ÎÅÓËÏÌØËÏ ÓÔÒÏÞÅË ÎÁ ÜËÒÁÎÅ (ÅÓÌÉ × ÎÅÍ ÅÓÔØ
ÓÉÍ×ÏÌÙ ÐÅÒÅ×ÏÄÁ ÓÔÒÏËÉ ÉÌÉ ÚÁÄÁÎ ÐÁÒÁÍÅÔÒ
<strong>wrapLength</strong>). ïÄÉÎ ÉÚ ÓÉÍ×ÏÌÏ× ÔÅËÓÔÁ ÍÏÖÅÔ ÂÙÔØ
ÐÏÄÞÅÒËÎÕÔ (× ÓÏÏÔ×ÅÔÓÔ×ÉÉ ÓÏ ÚÎÁÞÅÎÉÅÍ ÐÁÒÁÍÅÔÒÁ
<strong>underline</strong>). åÓÔØ ÎÅÓËÏÌØËÏ ÐÒÏÓÔÙÈ ÓÐÏÓÏÂÏ×
ÕÐÒÁ×ÌÅÎÉÑ ÑÒÌÙËÏÍ (ÎÁÐÒÉÍÅÒ, ÉÚÍÅÎÅÎÉÑ ÅÇÏ ÆÏÒÍÙ ÉÌÉ
ÒÅÄÁËÔÉÒÏ×ÁÎÉÑ ÔÅËÓÔÁ × ÎÅÍ), ÏÎÉ ÏÐÉÓÁÎÙ ÎÉÖÅ.</p>
<h2><a name="ëïíáîäá_ðòéíéôé÷á"></a>ëïíáîäá ðòéíéôé÷á</h2>
<p>ëÏÍÁÎÄÁ <strong>label</strong> ÓÏÚÄÁÅÔ ÎÏ×ÕÀ ËÏÍÁÎÄÕ Tcl Ó
ÉÍÅÎÅÍ <em>ÉÍÑðÕÔÉ</em>. ó ÐÏÍÏÝØÀ ÜÔÏÊ ËÏÍÁÎÄÙ ÍÏÖÎÏ ×ÙÐÏÌÎÑÔØ
ÒÁÚÌÉÞÎÙÅ ÏÐÅÒÁÃÉÉ ÎÁÄ ÐÒÉÍÉÔÉ×ÏÍ. åÅ ÏÂÝÉÊ ×ÉÄ</p>
<pre>
ÉÍÑðÕÔÉ <em>ÐÁÒÁÍÅÔÒ</em> ?<em>ÁÒÇ ÁÒÇ ...</em>?
</pre>
<p><em>ðÁÒÁÍÅÔÒ</em> É <em>ÁÒÇ</em>ÕÍÅÎÔÙ ÕÔÏÞÎÑÀÔ ÐÏ×ÅÄÅÎÉÅ
ËÏÍÁÎÄÙ. ðÒÉÍÉÔÉ×Ù ÑÒÌÙËÁ ÄÏÐÕÓËÁÀÔ ÓÌÅÄÕÀÝÉÅ ÆÏÒÍÙ ËÏÍÁÎÄÙ:</p>
<dl>
<dt><em>ÉÍÑðÕÔÉ</em> <strong>cget</strong> <em>ÐÁÒÁÍÅÔÒ</em></dt>
<dd>÷ÏÚ×ÒÁÝÁÅÔ ÔÅËÕÝÅÅ ÚÎÁÞÅÎÉÅ ÐÁÒÁÍÅÔÒÁ ËÏÎÆÉÇÕÒÁÃÉÉ Ó ÉÍÅÎÅÍ
<em>ÐÁÒÁÍÅÔÒ</em>. <em>ðÁÒÁÍÅÔÒ</em>ÍÏÖÅÔ ÂÙÔØ ÌÀÂÙÍ ÉÚ
ÐÁÒÁÍÅÔÒÏ× ËÏÍÁÎÄÙ <strong>label</strong>.</dd>
<dt><em>ÉÍÑðÕÔÉ</em> <strong>configure</strong>
?<em>ÐÁÒÁÍÅÔÒ</em>? ?<em>ÚÎÁÞÅÎÉÅ ÐÁÒÁÍÅÔÒ ÚÎÁÞÅÎÉÅ ...</em>?</dt>
<dd>úÁÐÒÁÛÉ×ÁÅÔ ÚÎÁÞÅÎÉÑ ÐÁÒÁÍÅÔÒÏ× ËÏÎÆÉÇÕÒÁÃÉÉ ÐÒÉÍÉÔÉ×Á ÉÌÉ
ÉÚÍÅÎÑÅÔ ÉÈ. åÓÌÉ <em>ÐÁÒÁÍÅÔÒ</em> ÎÅ ÕËÁÚÁÎ, ÔÏ ×ÏÚ×ÒÁÝÁÅÔ
ÓÐÉÓÏË, ÓÏÄÅÒÖÁÝÉÊ ÚÎÁÞÅÎÉÑ ×ÓÅÈ ÄÏÐÕÓÔÉÍÙÈ ×
<em>ÉÍÅÎÉðÕÔÉ</em> ÐÁÒÁÍÅÔÒÏ× (ÆÏÒÍÁÔ ÓÐÉÓËÁ ÏÐÉÓÁÎ
×<strong>Tk_ConfigureInfo</strong>). åÓÌÉ <em>ÐÁÒÁÍÅÔÒ</em>
ÚÁÄÁÎ, Á ÅÇÏ ÎÏ×ÏÅ <em>ÚÎÁÞÅÎÉÅ</em> ÎÅÔ, ÔÏ ËÏÍÁÎÄÁ
×ÏÚ×ÒÁÝÁÅÔ ÞÁÓÔØ ÐÏÌÎÏÇÏ ÓÐÉÓËÁ, ÏÔÎÏÓÑÝÕÀÓÑ Ë ÕËÁÚÁÎÎÏÍÕ
ÐÁÒÁÍÅÔÒÕ. åÓÌÉ ÚÁÄÁÎÙ ÏÄÎÁ ÉÌÉ ÎÅÓËÏÌØËÏ ÐÁÒ
ÐÁÒÁÍÅÔÒ-ÚÎÁÞÅÎÉÅ, ÔÏ ÕËÁÚÁÎÎÙÍ <em>ÐÁÒÁÍÅÔÒÁÍ</em> ÐÒÉÍÉÔÉ×Á
ÐÒÉÓ×ÁÉ×ÁÀÔÓÑ ÎÏ×ÙÅ <em>ÚÎÁÞÅÎÉÑ</em>, Á ËÏÍÁÎÄÁ ×ÏÚ×ÒÁÝÁÅÔ
ÐÕÓÔÕÀ ÓÔÒÏËÕ. <em>ðÁÒÁÍÅÔÒ</em> ÍÏÖÅÔ ÂÙÔØ ÌÀÂÙÍ ÉÚ
ÐÁÒÁÍÅÔÒÏ× ËÏÍÁÎÄÙ <a href=
"button.html"><strong>button</strong></a>.</dd>
</dl>
<h2><a name="ðòé÷ñúëé"></a>ðòé÷ñúëé</h2>
<p>ðÒÉ ÓÏÚÄÁÎÉÉ ÎÏ×ÏÇÏ ÑÒÌÙËÁ ÏÎ ÎÅ ÉÍÅÅÔ ÐÒÉ×ÑÚÏË ÐÏ ÕÍÏÌÞÁÎÉÀ:
ÑÒÌÙËÉ ÎÅ ÐÒÅÄÐÏÌÁÇÁÀÔÓÑ ÉÎÔÅÒÁËÔÉ×ÎÙÍÉ.</p>
</body>
</html>