Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 91213ddcfbe7f54821d42c2d9e091326 > files > 3047

gap-system-packages-4.4.12-5mdv2010.0.i586.rpm

<html><head><title>[xgap] 7.3 Dialogs</title></head>
<body text="#000000" bgcolor="#ffffff">
[<a href = "C007S000.htm">Up</a>] [<a href ="C007S002.htm">Previous</a>] [<a href ="C007S004.htm">Next</a>] [<a href = "theindex.htm">Index</a>]
<h1>7.3 Dialogs</h1><p>
<p>
<a name = "SSEC1"></a>
<li><code>Dialog( </code><var>type</var><code>, </code><var>text</var><code> ) O</code>
<p>
creates a dialog box and returns a <font face="Gill Sans,Helvetica,Arial">GAP</font> object describing it. There are
currently two types of dialogs: A file selector dialog (called
<code>Filename</code>) and a dialog type called <code>OKcancel</code>. <var>text</var> is a text that
appears as a title in the dialog box.
<p>
<a name = "SSEC2"></a>
<li><code>Query( </code><var>obj</var><code> ) O</code>
<li><code>Query( </code><var>obj</var><code>, </code><var>default</var><code> ) O</code>
<p>
Puts a dialog on screen. Returns <code>false</code> if the user clicks ``Cancel'' and
a string value or filename, if the user clicks ``OK'', depending on the
type of dialog. <var>default</var> is an optional initialization value for the 
string.
<p>
<p>
[<a href = "C007S000.htm">Up</a>] [<a href ="C007S002.htm">Previous</a>] [<a href ="C007S004.htm">Next</a>] [<a href = "theindex.htm">Index</a>]
<P>
<address>xgap manual<br>Mai 2003
</address></body></html>