Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 5e1854624d3bc613bdd0dd13d1ef9ac7 > files > 3458

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

<html><head><title>[xgap] 7 User Communication</title></head>
<body text="#000000" bgcolor="#ffffff">
[<a href = "chapters.htm">Up</a>] [<a href ="C006S000.htm">Previous</a>] [<a href ="C008S000.htm">Next</a>] [<a href = "theindex.htm">Index</a>]
<h1>7 User Communication</h1><p>
<P>
<H3>Sections</H3>
<oL>
<li> <A HREF="C007S001.htm">Menus in Graphic Sheets</a>
<li> <A HREF="C007S002.htm">Mouse Events</a>
<li> <A HREF="C007S003.htm">Dialogs</a>
<li> <A HREF="C007S004.htm">Popups</a>
</ol><p>
<p>
XGAP has two main means to communicate with the user. The first is the
normal command processing: The user types commands, they are transmitted to 
<font face="Gill Sans,Helvetica,Arial">GAP</font>, are executed, and produce output, which is displayed in the command
window. The second is the mouse and the other parts of the graphical user
interface. This latter part can be divided into menus, mouse events,
dialogs, and popups.
<p>
<p>
<dl compact>
<dt>Menus <dd> Most of the windows of XGAP have menus. The user can select
entries in them and this information is transformed to a function call in
<font face="Gill Sans,Helvetica,Arial">GAP</font>. Menu entries can be checked or not, so menus can also display
information. 
<p>
<dt>Mouse Events <dd> A mouse event is the pressing or releasing of a mouse
button, together with the position where the mouse pointer is in the exact
moment this happens and the state of certain keyboard keys (mainly shift
and control). Such events also trigger <font face="Gill Sans,Helvetica,Arial">GAP</font> function calls and the
corresponding functions can react on these events and for example wait for
others. 
<p>
<dt>Dialogs <dd> Dialogs are windows which display information and into which
the user can enter information for example in form of text fields.
<p>
<dt>Popups <dd> Popups are special dialogs where the user can not type text but
can only click on certain buttons. XGAP has so called ``text selectors'' 
which are a convenient construct to display textual information and let the
user select parts of it.
</dl>
<p>
Most of those graphical objects have corresponding <font face="Gill Sans,Helvetica,Arial">GAP</font> objects, which
are created by constructors and can be used later on by operations.
<p>
<p>
[<a href = "chapters.htm">Up</a>] [<a href ="C006S000.htm">Previous</a>] [<a href ="C008S000.htm">Next</a>] [<a href = "theindex.htm">Index</a>]
<P>
<address>xgap manual<br>Mai 2003
</address></body></html>