<HTML> <HEAD><TITLE>PasswdDlg</TITLE></HEAD> <BODY BGCOLOR=white> <DL><DT><I><A HREF="#descr">NAME</A></I></DT> <DD><B>PasswdDlg</B> - Login/Password dialog box </DD></DL> <DL> <DT><I>CREATION</I></DT> <DD><A HREF="#descr"><B>PasswdDlg</B></A> <I>pathName</I> ?<I>option value...</I>?</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> -anchor</TD> <TD> -background or -bg</TD> </TR> <TR> <TD> -homogeneous</TD> <TD> -modal</TD> </TR> <TR> <TD> -padx</TD> <TD> -pady</TD> </TR> <TR> <TD> -parent</TD> <TD> -spacing</TD> </TR> <TR> <TD> -title</TD> </TABLE></DD> </DL> <DL> <DT><I><A HREF="LabelEntry.html">OPTIONS from <B>LabelEntry</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> -disabledforeground</TD> <TD> -entrybg</TD> </TR> <TR> <TD> -entryfg</TD> <TD> -exportselection</TD> </TR> <TR> <TD> -font</TD> <TD> -foreground or -fg</TD> </TR> <TR> <TD> -helptype</TD> <TD> -highlightbackground</TD> </TR> <TR> <TD> -highlightcolor</TD> <TD> -highlightthickness</TD> </TR> <TR> <TD> -insertbackground</TD> <TD> -insertborderwidth</TD> </TR> <TR> <TD> -insertofftime</TD> <TD> -insertontime</TD> </TR> <TR> <TD> -insertwidth</TD> <TD> -labelanchor</TD> </TR> <TR> <TD> -labelfont</TD> <TD> -labelheight</TD> </TR> <TR> <TD> -labeljustify</TD> <TD> -labelwidth</TD> </TR> <TR> <TD> -loginhelptext (see <B>-helptext</B>)</TD> <TD> -loginhelpvar (see <B>-helpvar</B>)</TD> </TR> <TR> <TD> -loginlabel (see <B>-label</B>)</TD> <TD> -logintext (see <B>-text</B>)</TD> </TR> <TR> <TD> -logintextvariable (see <B>-textvariable</B>)</TD> <TD> -loginunderline (see <B>-underline</B>)</TD> </TR> <TR> <TD> -passwdeditable (see <B>-editable</B>)</TD> <TD> -passwdhelptext (see <B>-helptext</B>)</TD> </TR> <TR> <TD> -passwdhelpvar (see <B>-helpvar</B>)</TD> <TD> -passwdlabel (see <B>-label</B>)</TD> </TR> <TR> <TD> -passwdstate (see <B>-state</B>)</TD> <TD> -passwdtext (see <B>-text</B>)</TD> </TR> <TR> <TD> -passwdtextvariable (see <B>-textvariable</B>)</TD> <TD> -passwdunderline (see <B>-underline</B>)</TD> </TR> <TR> <TD> -relief</TD> <TD> -selectbackground</TD> </TR> <TR> <TD> -selectborderwidth</TD> <TD> -selectforeground</TD> </TR> <TR> <TD> -wraplength</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="#-command">-command</A></TR> <TD> <A HREF="#-type">-type</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> PasswdDlg provides a simple way to display a login/password dialog. PasswdDlg::<B>create</B> creates the dialog, displays it, and return the value of login and password in a list, or an empty list if it is destroyed or user press cancel. When returning, the dialog no longer exists. <BR>Additionnal resources can be set to modify other text: <PRE> *loginName Label for login LabelEntry *passwordName Label for password LabelEntry </PRE> </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 ok button. </DD> </DL> <DL><DT><A NAME="-type"><B>-type</B></A></DT> <DD> Specifies a set of buttons to be displayed. The following values are possible: <DD> <P> <DL COMPACT> <DT> <B>ok</B> <DD> Displays one button whose symbolic name is <B>ok</B>.<P> <DT> <B>okcancel</B> <DD> Displays two buttons whose symbolic names are <B>ok</B> and <B>cancel</B>.<P> </DL COMPACT> </DD> </DL> </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> <HR> <ADRESS>Stephane Lavirotte <A HREF="mailto:Stephane.Lavirotte@sophia.inria.fr">(Stephane.Lavirotte@sophia.inria.fr)</A></ADRESS> </BODY></HTML>