📄 panedwindow.html
字号:
<HTML><HEAD><TITLE>PanedWindow</TITLE></HEAD><BODY BGCOLOR=white><DL><DT><I><A HREF="#descr">NAME</A></I></DT><DD><B>PanedWindow</B> - Tiled layout manager widget</DD></DL><DL><DT><I>CREATION</I></DT><DD><A HREF="#descr"><B>PanedWindow</B></A> <I>pathName</I> ?<I>option value...</I>?</DD></DL><DL><DT><I>STANDARD OPTIONS</I></DT><DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0><TR><TD> <A HREF="options.htm#M-background">-background or -bg</A></TD></TABLE></DD></DL><DL><DT><I><A HREF="#wso">WIDGET-SPECIFIC OPTIONS</A></I></DT><DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0><TR><TD> <A HREF="#-pad">-pad</A></TR><TD> <A HREF="#-side">-side</A></TR></TR><TR><TD> <A HREF="#-weights">-weights</A></TR><TD> <A HREF="#-width">-width</A></TR></TABLE></DD></DL><DL><DT><I><A HREF="#wc">WIDGET COMMAND</A></I></DT><DD><I>pathName</I> <A HREF="#add"><B>add</B></A> ?<I>option value...</I>?</DD><DD><I>pathName</I> <A HREF="#cget"><B>cget</B></A> <I>option</I></DD><DD><I>pathName</I> <A HREF="#configure"><B>configure</B></A> ?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?</DD><DD><I>pathName</I> <A HREF="#getframe"><B>getframe</B></A> <I>index</I></DD></DL><BR><HR WIDTH="100%"><BR><B><A NAME="descr"></A>DESCRIPTION</B><BR><P>PanedWindow is a widget that lays out children ina vertically or horizontally tiled format.The user can adjust the size of the panes, with a pane control sash createdbetween children.</P><BR><HR WIDTH="50%"><BR><B><A NAME="wso">WIDGET-SPECIFIC OPTIONS</A></B><BR><DL><DT><A NAME="-pad"><B>-pad (read-only)</B></A></DT><DD>Specifies additional space between the button of the sash and children.</DD></DL><DL><DT><A NAME="-side"><B>-side (read-only)</B></A></DT><DD>Specifies the side of the sash, which implies the layout: <B>top</B> or <B>bottom</B>(horizontal layout), <B>left</B> or <B>right</B> (vertical layout).</DD></DL><DL><DT><A NAME="-weights"><B>-weights (read-only)</B></A></DT><DD>Specifies how the weights specified when adding panes should be used. Must be<B>extra</B> or <B>available</B>. When using <I>extra</I>, only extra space isdevided among the diffferent panes relative to their weight. When using<I>available</I>, all space is devided among the diffferent panes relative totheir weight. Default value for <B>weights</B> is <I>extra</I>.</DD></DL><DL><DT><A NAME="-width"><B>-width (read-only)</B></A></DT><DD>Specifies the width of the button of the sash.</DD></DL><HR WIDTH="50%"><BR><B><A NAME="wc">WIDGET COMMAND</A></B><BR><DL><DT><A NAME="add"><I>pathName</I> <B>add</B></A> ?<I>option value...</I>?</DT><DD>This command add a new pane. The new pane is placed below the previous pane forvertical layout or at right for horizontal layout. This command returns a framewhere user can place its widget. Valid options are:<P><DL><DT><A NAME="Pane-minsize"><B>-minsize</B></A></DT><DD>Specifies the minimum size requested for the pane.See the <B>grid</B> command for more information.</DD></DL><DL><DT><A NAME="Pane-weight"><B>-weight</B></A></DT><DD>Specifies the relative weight for apportioning any extra spaces among panes.See the <B>grid</B> command for more information.</DD></DL></DD></DL><DL><DT><A NAME="cget"><I>pathName</I> <B>cget</B></A> <I>option</I></DT><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 creation command.</DD></DL><DL><DT><A NAME="configure"><I>pathName</I> <B>configure</B></A> ?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?</DT><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>.If <I>option</I> is specified with no <I>value</I>, then the command returns a listdescribing the one named <I>option</I> (this list will be identical to the correspondingsublist of the value returned if no <I>option</I> is specified). If one ormore <I>option-value</I> pairs are specified, then the command modifies the given widgetoption(s) to have the given value(s); in this case the command returns an empty string.<I>Option</I> may have any of the values accepted by the creation command.Read-only options are not be modified.</DD></DL><DL><DT><A NAME="getframe"><I>pathName</I> <B>getframe</B></A> <I>index</I></DT><DD>Returns the pathname of the <I>index</I>th added pane.</DD></DL></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -