- Russian help files was conerting into utf-8 encode

This commit is contained in:
Sergey Kalinin
2018-02-05 17:22:04 +03:00
parent cd2bfad674
commit 1bd581d380
159 changed files with 15510 additions and 15836 deletions

View File

@@ -1,107 +1,107 @@
<HTML><HEAD><TITLE>Tk Built-In Commands - menubutton manual page</TITLE></HEAD><BODY>
<DL>
<DD><A HREF="menubutton.htm#M2" NAME="L775">NAME</A>
<DD><A HREF=menubutton.htm#M2 NAME=L775>NAME</A>
<DL><DD>menubutton - Create and manipulate menubutton widgets</DL>
<DD><A HREF="menubutton.htm#M3" NAME="L776">SYNOPSIS</A>
<DD><A HREF=menubutton.htm#M3 NAME=L776>SYNOPSIS</A>
<DL>
<DD><B>menubutton</B> <I>pathName </I>?<I>options</I>?
</DL>
<DD><A HREF="menubutton.htm#M4" NAME="L777">STANDARD OPTIONS</A>
<DD><A HREF=menubutton.htm#M4 NAME=L777>STANDARD OPTIONS</A>
<DL>
<DD><A HREF="options.htm#M-activebackground">-activebackground, activeBackground, Foreground</A>
<DD><A HREF="options.htm#M-activeforeground">-activeforeground, activeForeground, Background</A>
<DD><A HREF="options.htm#M-anchor">-anchor, anchor, Anchor</A>
<DD><A HREF="options.htm#M-background">-background or -bg, background, Background</A>
<DD><A HREF="options.htm#M-bitmap">-bitmap, bitmap, Bitmap</A>
<DD><A HREF="options.htm#M-borderwidth">-borderwidth or -bd, borderWidth, BorderWidth</A>
<DD><A HREF="options.htm#M-cursor">-cursor, cursor, Cursor</A>
<DD><A HREF="options.htm#M-disabledforeground">-disabledforeground, disabledForeground, DisabledForeground</A>
<DD><A HREF="options.htm#M-font">-font, font, Font</A>
<DD><A HREF="options.htm#M-foreground">-foreground or -fg, foreground, Foreground</A>
<DD><A HREF="options.htm#M-highlightbackground">-highlightbackground, highlightBackground, HighlightBackground</A>
<DD><A HREF="options.htm#M-highlightcolor">-highlightcolor, highlightColor, HighlightColor</A>
<DD><A HREF="options.htm#M-highlightthickness">-highlightthickness, highlightThickness, HighlightThickness</A>
<DD><A HREF="options.htm#M-image">-image, image, Image</A>
<DD><A HREF="options.htm#M-justify">-justify, justify, Justify</A>
<DD><A HREF="options.htm#M-padx">-padx, padX, Pad</A>
<DD><A HREF="options.htm#M-pady">-pady, padY, Pad</A>
<DD><A HREF="options.htm#M-relief">-relief, relief, Relief</A>
<DD><A HREF="options.htm#M-takefocus">-takefocus, takeFocus, TakeFocus</A>
<DD><A HREF="options.htm#M-text">-text, text, Text</A>
<DD><A HREF="options.htm#M-textvariable">-textvariable, textVariable, Variable</A>
<DD><A HREF="options.htm#M-underline">-underline, underline, Underline</A>
<DD><A HREF="options.htm#M-wraplength">-wraplength, wrapLength, WrapLength</A>
<DD><A HREF=options.htm#M-activebackground>-activebackground, activeBackground, Foreground</A>
<DD><A HREF=options.htm#M-activeforeground>-activeforeground, activeForeground, Background</A>
<DD><A HREF=options.htm#M-anchor>-anchor, anchor, Anchor</A>
<DD><A HREF=options.htm#M-background>-background or -bg, background, Background</A>
<DD><A HREF=options.htm#M-bitmap>-bitmap, bitmap, Bitmap</A>
<DD><A HREF=options.htm#M-borderwidth>-borderwidth or -bd, borderWidth, BorderWidth</A>
<DD><A HREF=options.htm#M-cursor>-cursor, cursor, Cursor</A>
<DD><A HREF=options.htm#M-disabledforeground>-disabledforeground, disabledForeground, DisabledForeground</A>
<DD><A HREF=options.htm#M-font>-font, font, Font</A>
<DD><A HREF=options.htm#M-foreground>-foreground or -fg, foreground, Foreground</A>
<DD><A HREF=options.htm#M-highlightbackground>-highlightbackground, highlightBackground, HighlightBackground</A>
<DD><A HREF=options.htm#M-highlightcolor>-highlightcolor, highlightColor, HighlightColor</A>
<DD><A HREF=options.htm#M-highlightthickness>-highlightthickness, highlightThickness, HighlightThickness</A>
<DD><A HREF=options.htm#M-image>-image, image, Image</A>
<DD><A HREF=options.htm#M-justify>-justify, justify, Justify</A>
<DD><A HREF=options.htm#M-padx>-padx, padX, Pad</A>
<DD><A HREF=options.htm#M-pady>-pady, padY, Pad</A>
<DD><A HREF=options.htm#M-relief>-relief, relief, Relief</A>
<DD><A HREF=options.htm#M-takefocus>-takefocus, takeFocus, TakeFocus</A>
<DD><A HREF=options.htm#M-text>-text, text, Text</A>
<DD><A HREF=options.htm#M-textvariable>-textvariable, textVariable, Variable</A>
<DD><A HREF=options.htm#M-underline>-underline, underline, Underline</A>
<DD><A HREF=options.htm#M-wraplength>-wraplength, wrapLength, WrapLength</A>
</DL>
<DD><A HREF="menubutton.htm#M5" NAME="L778">WIDGET-SPECIFIC OPTIONS</A>
<DD><A HREF=menubutton.htm#M5 NAME=L778>WIDGET-SPECIFIC OPTIONS</A>
<DL>
<DD><A HREF="menubutton.htm#M6" NAME="L779">-direction, direction, Height</A>
<DD><A HREF="menubutton.htm#M7" NAME="L780">-height, height, Height</A>
<DD><A HREF="menubutton.htm#M8" NAME="L781">-indicatoron, indicatorOn, IndicatorOn</A>
<DD><A HREF="menubutton.htm#M9" NAME="L782">-menu, menu, MenuName</A>
<DD><A HREF="menubutton.htm#M10" NAME="L783">-state, state, State</A>
<DD><A HREF="menubutton.htm#M11" NAME="L784">-width, width, Width</A>
<DD><A HREF=menubutton.htm#M6 NAME=L779>-direction, direction, Height</A>
<DD><A HREF=menubutton.htm#M7 NAME=L780>-height, height, Height</A>
<DD><A HREF=menubutton.htm#M8 NAME=L781>-indicatoron, indicatorOn, IndicatorOn</A>
<DD><A HREF=menubutton.htm#M9 NAME=L782>-menu, menu, MenuName</A>
<DD><A HREF=menubutton.htm#M10 NAME=L783>-state, state, State</A>
<DD><A HREF=menubutton.htm#M11 NAME=L784>-width, width, Width</A>
</DL>
<DD><A HREF="menubutton.htm#M12" NAME="L785">INTRODUCTION</A>
<DD><A HREF="menubutton.htm#M13" NAME="L786">WIDGET COMMAND</A>
<DD><A HREF=menubutton.htm#M12 NAME=L785>INTRODUCTION</A>
<DD><A HREF=menubutton.htm#M13 NAME=L786>WIDGET COMMAND</A>
<DL>
<DD><A HREF="menubutton.htm#M14" NAME="L787"><I>pathName </I><B>cget</B> <I>option</I></A>
<DD><A HREF="menubutton.htm#M15" NAME="L788"><I>pathName </I><B>configure</B> ?<I>option</I>? ?<I>value option value ...</I>?</A>
<DD><A HREF=menubutton.htm#M14 NAME=L787><I>pathName </I><B>cget</B> <I>option</I></A>
<DD><A HREF=menubutton.htm#M15 NAME=L788><I>pathName </I><B>configure</B> ?<I>option</I>? ?<I>value option value ...</I>?</A>
</DL>
<DD><A HREF="menubutton.htm#M16" NAME="L789">DEFAULT BINDINGS</A>
<DD><A HREF=menubutton.htm#M16 NAME=L789>DEFAULT BINDINGS</A>
<DL>
</DL>
<DD><A HREF="menubutton.htm#M17" NAME="L790">KEYWORDS</A>
<DD><A HREF=menubutton.htm#M17 NAME=L790>KEYWORDS</A>
</DL><HR>
<H3><A NAME="M2">NAME</A></H3>
<H3><A NAME=M2>NAME</A></H3>
menubutton - Create and manipulate menubutton widgets
<H3><A NAME="M3">SYNOPSIS</A></H3>
<H3><A NAME=M3>SYNOPSIS</A></H3>
<B>menubutton</B> <I>pathName </I>?<I>options</I>?<BR>
<H3><A NAME="M4">STANDARD OPTIONS</A></H3>
<H3><A NAME=M4>STANDARD OPTIONS</A></H3>
<DL>
<DT><B><A HREF="options.htm#M-activebackground">-activebackground, activeBackground, Foreground</A></B>
<DT><B><A HREF="options.htm#M-activeforeground">-activeforeground, activeForeground, Background</A></B>
<DT><B><A HREF="options.htm#M-anchor">-anchor, anchor, Anchor</A></B>
<DT><B><A HREF="options.htm#M-background">-background or -bg, background, Background</A></B>
<DT><B><A HREF="options.htm#M-bitmap">-bitmap, bitmap, Bitmap</A></B>
<DT><B><A HREF="options.htm#M-borderwidth">-borderwidth or -bd, borderWidth, BorderWidth</A></B>
<DT><B><A HREF="options.htm#M-cursor">-cursor, cursor, Cursor</A></B>
<DT><B><A HREF="options.htm#M-disabledforeground">-disabledforeground, disabledForeground, DisabledForeground</A></B>
<DT><B><A HREF="options.htm#M-font">-font, font, Font</A></B>
<DT><B><A HREF="options.htm#M-foreground">-foreground or -fg, foreground, Foreground</A></B>
<DT><B><A HREF="options.htm#M-highlightbackground">-highlightbackground, highlightBackground, HighlightBackground</A></B>
<DT><B><A HREF="options.htm#M-highlightcolor">-highlightcolor, highlightColor, HighlightColor</A></B>
<DT><B><A HREF="options.htm#M-highlightthickness">-highlightthickness, highlightThickness, HighlightThickness</A></B>
<DT><B><A HREF="options.htm#M-image">-image, image, Image</A></B>
<DT><B><A HREF="options.htm#M-justify">-justify, justify, Justify</A></B>
<DT><B><A HREF="options.htm#M-padx">-padx, padX, Pad</A></B>
<DT><B><A HREF="options.htm#M-pady">-pady, padY, Pad</A></B>
<DT><B><A HREF="options.htm#M-relief">-relief, relief, Relief</A></B>
<DT><B><A HREF="options.htm#M-takefocus">-takefocus, takeFocus, TakeFocus</A></B>
<DT><B><A HREF="options.htm#M-text">-text, text, Text</A></B>
<DT><B><A HREF="options.htm#M-textvariable">-textvariable, textVariable, Variable</A></B>
<DT><B><A HREF="options.htm#M-underline">-underline, underline, Underline</A></B>
<DT><B><A HREF="options.htm#M-wraplength">-wraplength, wrapLength, WrapLength</A></B>
<DT><B><A HREF=options.htm#M-activebackground>-activebackground, activeBackground, Foreground</A></B>
<DT><B><A HREF=options.htm#M-activeforeground>-activeforeground, activeForeground, Background</A></B>
<DT><B><A HREF=options.htm#M-anchor>-anchor, anchor, Anchor</A></B>
<DT><B><A HREF=options.htm#M-background>-background or -bg, background, Background</A></B>
<DT><B><A HREF=options.htm#M-bitmap>-bitmap, bitmap, Bitmap</A></B>
<DT><B><A HREF=options.htm#M-borderwidth>-borderwidth or -bd, borderWidth, BorderWidth</A></B>
<DT><B><A HREF=options.htm#M-cursor>-cursor, cursor, Cursor</A></B>
<DT><B><A HREF=options.htm#M-disabledforeground>-disabledforeground, disabledForeground, DisabledForeground</A></B>
<DT><B><A HREF=options.htm#M-font>-font, font, Font</A></B>
<DT><B><A HREF=options.htm#M-foreground>-foreground or -fg, foreground, Foreground</A></B>
<DT><B><A HREF=options.htm#M-highlightbackground>-highlightbackground, highlightBackground, HighlightBackground</A></B>
<DT><B><A HREF=options.htm#M-highlightcolor>-highlightcolor, highlightColor, HighlightColor</A></B>
<DT><B><A HREF=options.htm#M-highlightthickness>-highlightthickness, highlightThickness, HighlightThickness</A></B>
<DT><B><A HREF=options.htm#M-image>-image, image, Image</A></B>
<DT><B><A HREF=options.htm#M-justify>-justify, justify, Justify</A></B>
<DT><B><A HREF=options.htm#M-padx>-padx, padX, Pad</A></B>
<DT><B><A HREF=options.htm#M-pady>-pady, padY, Pad</A></B>
<DT><B><A HREF=options.htm#M-relief>-relief, relief, Relief</A></B>
<DT><B><A HREF=options.htm#M-takefocus>-takefocus, takeFocus, TakeFocus</A></B>
<DT><B><A HREF=options.htm#M-text>-text, text, Text</A></B>
<DT><B><A HREF=options.htm#M-textvariable>-textvariable, textVariable, Variable</A></B>
<DT><B><A HREF=options.htm#M-underline>-underline, underline, Underline</A></B>
<DT><B><A HREF=options.htm#M-wraplength>-wraplength, wrapLength, WrapLength</A></B>
</DL>
<H3><A NAME="M5">WIDGET-SPECIFIC OPTIONS</A></H3>
<H3><A NAME=M5>WIDGET-SPECIFIC OPTIONS</A></H3>
<DL>
<DT>Command-Line Name: <B><A NAME="M6">-direction</A></B>
<DT>Command-Line Name: <B><A NAME=M6>-direction</A></B>
<DT>Database Name: <B>direction</B>
<DT>Database Class: <B>Height</B>
<DD>Specifies where the menu is going to be popup up. <B>above</B> tries to
pop the menu above the menubutton. <B>below</B> tries to pop the menu
below the menubutton. <B>left</B> tries to pop the menu to the left of
the menubutton. <B>right</B> tries to pop the menu to the right of the
menu button. <B><A HREF="../TkCmd/flush.htm">flush</A></B> pops the menu directly over the menubutton.
<P><DT>Command-Line Name: <B><A NAME="M7">-height</A></B>
menu button. <B><A HREF=../TkCmd/flush.htm>flush</A></B> pops the menu directly over the menubutton.
<P><DT>Command-Line Name: <B><A NAME=M7>-height</A></B>
<DT>Database Name: <B>height</B>
<DT>Database Class: <B>Height</B>
<DD>Specifies a desired height for the menubutton.
If an image or bitmap is being displayed in the menubutton then the value is in
screen units (i.e. any of the forms acceptable to <B><A HREF="../TclLib/GetPixels.htm">Tk_GetPixels</A></B>);
screen units (i.e. any of the forms acceptable to <B><A HREF=../TclLib/GetPixels.htm>Tk_GetPixels</A></B>);
for text it is in lines of text.
If this option isn't specified, the menubutton's desired height is computed
from the size of the image or bitmap or text being displayed in it.
<P><DT>Command-Line Name: <B><A NAME="M8">-indicatoron</A></B>
<P><DT>Command-Line Name: <B><A NAME=M8>-indicatoron</A></B>
<DT>Database Name: <B>indicatorOn</B>
<DT>Database Class: <B>IndicatorOn</B>
<DD>The value must be a proper boolean value. If it is true then
@@ -109,12 +109,12 @@ a small indicator rectangle will be displayed on the right side
of the menubutton and the default menu bindings will treat this
as an option menubutton. If false then no indicator will be
displayed.
<P><DT>Command-Line Name: <B><A NAME="M9">-menu</A></B>
<DT>Database Name: <B><A HREF="../TclCmd/menu.htm">menu</A></B>
<P><DT>Command-Line Name: <B><A NAME=M9>-menu</A></B>
<DT>Database Name: <B><A HREF=../TclCmd/menu.htm>menu</A></B>
<DT>Database Class: <B>MenuName</B>
<DD>Specifies the path name of the menu associated with this menubutton.
The menu must be a child of the menubutton.
<P><DT>Command-Line Name: <B><A NAME="M10">-state</A></B>
<P><DT>Command-Line Name: <B><A NAME=M10>-state</A></B>
<DT>Database Name: <B>state</B>
<DT>Database Class: <B>State</B>
<DD>Specifies one of three states for the menubutton: <B>normal</B>, <B>active</B>,
@@ -127,17 +127,17 @@ should be insensitive: the default bindings will refuse to activate
the widget and will ignore mouse button presses.
In this state the <B>disabledForeground</B> and
<B>background</B> options determine how the button is displayed.
<P><DT>Command-Line Name: <B><A NAME="M11">-width</A></B>
<P><DT>Command-Line Name: <B><A NAME=M11>-width</A></B>
<DT>Database Name: <B>width</B>
<DT>Database Class: <B>Width</B>
<DD>Specifies a desired width for the menubutton.
If an image or bitmap is being displayed in the menubutton then the value is in
screen units (i.e. any of the forms acceptable to <B><A HREF="../TclLib/GetPixels.htm">Tk_GetPixels</A></B>);
screen units (i.e. any of the forms acceptable to <B><A HREF=../TclLib/GetPixels.htm>Tk_GetPixels</A></B>);
for text it is in characters.
If this option isn't specified, the menubutton's desired width is computed
from the size of the image or bitmap or text being displayed in it.
</DL>
<H3><A NAME="M12">INTRODUCTION</A></H3>
<H3><A NAME=M12>INTRODUCTION</A></H3>
The <B>menubutton</B> command creates a new window (given by the
<I>pathName</I> argument) and makes it into a menubutton widget.
Additional
@@ -171,10 +171,10 @@ menu of the first menubutton is unposted and the menu of the
new menubutton is posted instead.
<P>
There are several interactions between menubuttons and menus; see
the <B><A HREF="../TclCmd/menu.htm">menu</A></B> manual entry for information on various menu configurations,
the <B><A HREF=../TclCmd/menu.htm>menu</A></B> manual entry for information on various menu configurations,
such as pulldown menus and option menus.
<H3><A NAME="M13">WIDGET COMMAND</A></H3>
<H3><A NAME=M13>WIDGET COMMAND</A></H3>
The <B>menubutton</B> command creates a new Tcl command whose
name is <I>pathName</I>. This
command may be used to invoke various
@@ -185,15 +185,15 @@ determine the exact behavior of the command. The following
commands are possible for menubutton widgets:
<P>
<DL>
<P><DT><A NAME="M14"><I>pathName </I><B>cget</B> <I>option</I></A><DD>
<P><DT><A NAME=M14><I>pathName </I><B>cget</B> <I>option</I></A><DD>
Returns the current value of the configuration option given
by <I>option</I>.
<I>Option</I> may have any of the values accepted by the <B>menubutton</B>
command.
<P><DT><A NAME="M15"><I>pathName </I><B>configure</B> ?<I>option</I>? ?<I>value option value ...</I>?</A><DD>
<P><DT><A NAME=M15><I>pathName </I><B>configure</B> ?<I>option</I>? ?<I>value option value ...</I>?</A><DD>
Query or modify the configuration options of the widget.
If no <I>option</I> is specified, returns a list describing all of
the available options for <I>pathName</I> (see <B><A HREF="../TclLib/ConfigWidg.htm">Tk_ConfigureInfo</A></B> for
the available options for <I>pathName</I> (see <B><A HREF=../TclLib/ConfigWidg.htm>Tk_ConfigureInfo</A></B> for
information on the format of this list). If <I>option</I> is specified
with no <I>value</I>, then the command returns a list describing the
one named option (this list will be identical to the corresponding
@@ -205,7 +205,7 @@ this case the command returns an empty string.
command.
<P></DL>
<H3><A NAME="M16">DEFAULT BINDINGS</A></H3>
<H3><A NAME=M16>DEFAULT BINDINGS</A></H3>
Tk automatically creates class bindings for menubuttons that give them
the following default behavior:
<P>
@@ -236,7 +236,7 @@ any menu entry.
<P><DT>[6]<DD>
When a menubutton is posted, its associated menu claims the input
focus to allow keyboard traversal of the menu and its submenus.
See the <B><A HREF="../TclCmd/menu.htm">menu</A></B> manual entry for details on these bindings.
See the <B><A HREF=../TclCmd/menu.htm>menu</A></B> manual entry for details on these bindings.
<P><DT>[7]<DD>
If the <B>underline</B> option has been specified for a menubutton
then keyboard traversal may be used to post the menubutton:
@@ -257,10 +257,11 @@ actions occur: the menubutton is completely non-responsive.
The behavior of menubuttons can be changed by defining new bindings for
individual widgets or by redefining the class bindings.
<H3><A NAME="M17">KEYWORDS</A></H3>
<A href="../Keywords/M.htm#menubutton">menubutton</A>, <A href="../Keywords/W.htm#widget">widget</A>
<H3><A NAME=M17>KEYWORDS</A></H3>
<A href=../Keywords/M.htm#menubutton>menubutton</A>, <A href=../Keywords/W.htm#widget>widget</A>
<HR><PRE>
<A HREF="../copyright.htm">Copyright</A> &#169; 1990-1994 The Regents of the University of California.
<A HREF="../copyright.htm">Copyright</A> &#169; 1994-1997 Sun Microsystems, Inc.
<A HREF="../copyright.htm">Copyright</A> &#169; 1995-1997 Roger E. Critchlow Jr.</PRE>
<A HREF=../copyright.htm>Copyright</A> &#169; 1990-1994 The Regents of the University of California.
<A HREF=../copyright.htm>Copyright</A> &#169; 1994-1997 Sun Microsystems, Inc.
<A HREF=../copyright.htm>Copyright</A> &#169; 1995-1997 Roger E. Critchlow Jr.</PRE>
</BODY></HTML>