144 lines
4.1 KiB
HTML
144 lines
4.1 KiB
HTML
|
<HTML>
|
||
|
<HEAD><TITLE>ProgressDlg</TITLE></HEAD>
|
||
|
<BODY BGCOLOR=white>
|
||
|
<DL><DT><I><A HREF="#descr">NAME</A></I></DT>
|
||
|
<DD><B>ProgressDlg</B>
|
||
|
- Progress indicator dialog box
|
||
|
</DD></DL>
|
||
|
<DL>
|
||
|
<DT><I>CREATION</I></DT>
|
||
|
<DD><A HREF="#descr"><B>ProgressDlg</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-font">-font</A></TR>
|
||
|
<TD> <A HREF="options.htm#M-textvariable">-textvariable</A></TR>
|
||
|
</TR>
|
||
|
</TABLE></DD>
|
||
|
</DL>
|
||
|
<DL>
|
||
|
<DT><I><A HREF="Dialog.html">OPTIONS from <B>Dialog</B></A></I></DT>
|
||
|
<DD><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
|
||
|
<TR>
|
||
|
<TD> -background or -bg</TD>
|
||
|
<TD> -parent</TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TD> -separator</TD>
|
||
|
<TD> -title</TD>
|
||
|
</TR>
|
||
|
</TABLE></DD>
|
||
|
</DL>
|
||
|
<DL>
|
||
|
<DT><I><A HREF="ProgressBar.html">OPTIONS from <B>ProgressBar</B></A></I></DT>
|
||
|
<DD><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
|
||
|
<TR>
|
||
|
<TD> -background or -bg</TD>
|
||
|
<TD> -borderwidth or -bd</TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TD> -foreground or -fg</TD>
|
||
|
<TD> -maximum</TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TD> -relief</TD>
|
||
|
<TD> -troughcolor</TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TD> -type</TD>
|
||
|
<TD> -variable</TD>
|
||
|
</TR>
|
||
|
</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="#-command">-command</A></TR>
|
||
|
<TD> <A HREF="#-height">-height</A></TR>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TD> <A HREF="#-stop">-stop</A></TR>
|
||
|
<TD> <A HREF="#-width">-width</A></TR>
|
||
|
</TR>
|
||
|
</TABLE></DD>
|
||
|
</DL>
|
||
|
<DL>
|
||
|
<DT><I><A HREF="#wc">WIDGET COMMAND</A></I></DT>
|
||
|
<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>
|
||
|
</DL>
|
||
|
<BR><HR WIDTH="100%"><BR>
|
||
|
<B><A NAME="descr"></A>DESCRIPTION</B><BR>
|
||
|
<P>
|
||
|
|
||
|
ProgressDlg provides a simple way to display a progress indicator dialog.
|
||
|
ProgressDlg::<B>create</B> creates the dialog, displays it, set a local
|
||
|
grab to it and immediatly return. The dialog is updated by modifying the
|
||
|
value of the variable of options <B>-textvariable</B> and <B>-variable</B>.
|
||
|
You have to destroy the dialog after use.
|
||
|
|
||
|
</P>
|
||
|
<BR><HR WIDTH="50%"><BR>
|
||
|
<B><A NAME="wso">WIDGET-SPECIFIC OPTIONS</A></B><BR>
|
||
|
<DL><DT><A NAME="-command"><B>-command</B></A></DT>
|
||
|
<DD>
|
||
|
|
||
|
Specifies a command to call when user press stop button.
|
||
|
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<DL><DT><A NAME="-height"><B>-height</B></A></DT>
|
||
|
<DD>
|
||
|
|
||
|
Specifies a desired height for the label in lines of text.
|
||
|
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<DL><DT><A NAME="-stop"><B>-stop</B></A></DT>
|
||
|
<DD>
|
||
|
|
||
|
Specifies the text of the button typically used to stop process. If empty, no button will
|
||
|
be drawn. This can be a symbolic name.
|
||
|
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<DL><DT><A NAME="-width"><B>-width</B></A></DT>
|
||
|
<DD>
|
||
|
|
||
|
Specifies a desired width for the label in characters.
|
||
|
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR WIDTH="50%"><BR>
|
||
|
<B><A NAME="wc">WIDGET COMMAND</A></B><BR>
|
||
|
<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 list
|
||
|
describing the one named <I>option</I> (this list will be identical to the corresponding
|
||
|
sublist of the value returned if no <I>option</I> is specified). If one or
|
||
|
more <I>option-value</I> pairs are specified, then the command modifies the given widget
|
||
|
option(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>
|
||
|
</BODY></HTML>
|