Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > 2fc07611b08d4a735fd34d5eb60d8e16 > files > 2081

ciao-1.10p8-3mdv2010.0.i586.rpm

<HTML>
<HEAD>
<!-- Created by texi2html 1.56k + clip patches and <A href="http://www.clip.dia.fi.upm.es/Software">lpdoc</A> from ciao.texi on 28 January 2007 -->

<LINK rel="stylesheet" href="ciao.css" type="text/css">
<TITLE>The Ciao Prolog System               - menubutton_class (library)</TITLE>
</HEAD>
<BODY> 
Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_135.html">previous</A>, <A HREF="ciao_137.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>.
<P><HR><P>


<H1><A NAME="SEC572" HREF="ciao_toc.html#TOC572">menubutton_class (library)</A></H1>
<P>
<A NAME="IDX6415"></A>


<P>
<STRONG>Author(s):</STRONG> Montserrat Urraca.


<P>
<STRONG>Version:</STRONG> 1.10#7 (2006/4/26, 19:22:13 CEST)


<P>
<STRONG>Version of last change:</STRONG> 1.9#137 (2003/12/4, 17:34:7 CET)



<UL>
<LI><A HREF="ciao_136.html#SEC573">Usage and interface (menubutton_class)</A>
<LI><A HREF="ciao_136.html#SEC574">Documentation on exports (menubutton_class)</A>
</UL>



<H2><A NAME="SEC573" HREF="ciao_toc.html#TOC573">Usage and interface (<CODE>menubutton_class</CODE>)</A></H2>

<div class="cartouche">

<UL>

<LI><STRONG>Library usage:</STRONG>

<CODE>:- use_module(library(menubutton_class)).</CODE>

<LI><STRONG>Exports:</STRONG>


<UL>

<LI><EM>Predicates:</EM>

<A NAME="IDX6416"></A>
<CODE>menu_name/1</CODE>.

</UL>

<LI><STRONG>Other modules used:</STRONG>


<UL>

<LI><EM>System library modules:</EM>

<A NAME="IDX6417"></A>
<CODE>objects/objects_rt</CODE>, 
<A NAME="IDX6418"></A>
<CODE>lists</CODE>.

</UL>

</UL>

</div class="cartouche">



<H2><A NAME="SEC574" HREF="ciao_toc.html#TOC574">Documentation on exports (<CODE>menubutton_class</CODE>)</A></H2>
<P>
<A NAME="IDX6419"></A>
<A NAME="IDX6420"></A>
<DL>
<DT><span class="define">PREDICATE:</span> <B>menu_name/1:</B>
<DD><A NAME="IDX6421"></A>


<P>
<STRONG>Usage 1:</STRONG> <CODE>menu_name(+Menu)</CODE>

<UL>
<LI><EM>Description:</EM> <CODE>Menu</CODE> posted when menubutton is clicked.

<LI><EM>Call and exit should be <EM>compatible</EM> with:</EM>

<CODE>+Menu</CODE> is currently instantiated to an atom.
 (<CODE>term_typing:atom/1</CODE>)
</UL>

<P>
<STRONG>Usage 2:</STRONG> <CODE>menu_name(-Menu)</CODE>

<UL>
<LI><EM>Description:</EM> Gets the name of the <CODE>Menu</CODE> asociated to the menubutton.

<LI><EM>Call and exit should be <EM>compatible</EM> with:</EM>

<CODE>-Menu</CODE> is currently instantiated to an atom.
 (<CODE>term_typing:atom/1</CODE>)
</UL>

</DL>

<P><HR><P>
Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_135.html">previous</A>, <A HREF="ciao_137.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>.
</BODY>
</HTML>