<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 - entry_class (library)</TITLE> </HEAD> <BODY> Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_133.html">previous</A>, <A HREF="ciao_135.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="SEC566" HREF="ciao_toc.html#TOC566">entry_class (library)</A></H1> <P> <A NAME="IDX6388"></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#127 (2003/12/4, 17:33:22 CET) <UL> <LI><A HREF="ciao_134.html#SEC567">Usage and interface (entry_class)</A> <LI><A HREF="ciao_134.html#SEC568">Documentation on exports (entry_class)</A> </UL> <H2><A NAME="SEC567" HREF="ciao_toc.html#TOC567">Usage and interface (<CODE>entry_class</CODE>)</A></H2> <div class="cartouche"> <UL> <LI><STRONG>Library usage:</STRONG> <CODE>:- use_module(library(entry_class)).</CODE> <LI><STRONG>Exports:</STRONG> <UL> <LI><EM>Predicates:</EM> <A NAME="IDX6389"></A> <CODE>textvariable_entry/1</CODE>, <A NAME="IDX6390"></A> <CODE>textvariablevalue_string/1</CODE>, <A NAME="IDX6391"></A> <CODE>textvariablevalue_number/1</CODE>, <A NAME="IDX6392"></A> <CODE>justify_entry/1</CODE>. </UL> <LI><STRONG>Other modules used:</STRONG> <UL> <LI><EM>System library modules:</EM> <A NAME="IDX6393"></A> <CODE>objects/objects_rt</CODE>, <A NAME="IDX6394"></A> <CODE>lists</CODE>, <A NAME="IDX6395"></A> <CODE>tcltk/examples/tk_test_aux</CODE>, <A NAME="IDX6396"></A> <CODE>tcltk/tcltk</CODE>. </UL> </UL> </div class="cartouche"> <H2><A NAME="SEC568" HREF="ciao_toc.html#TOC568">Documentation on exports (<CODE>entry_class</CODE>)</A></H2> <P> <A NAME="IDX6397"></A> <A NAME="IDX6398"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>textvariable_entry/1:</B> <DD><A NAME="IDX6399"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>textvariable_entry(+Variable)</CODE> <UL> <LI><EM>Description:</EM> <CODE>Variable</CODE> specifies the name of the Tcl variable <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Variable</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>textvariable_entry(-Variable)</CODE> <UL> <LI><EM>Description:</EM> Gets the name of the Tcl <CODE>Variable</CODE> associated to the entry <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Variable</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> </DL> <P> <A NAME="IDX6400"></A> <A NAME="IDX6401"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>textvariablevalue_string/1:</B> <DD><A NAME="IDX6402"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>textvariablevalue_string(+Value)</CODE> <UL> <LI><EM>Description:</EM> Specifies the <CODE>Value</CODE> of the Tcl variable associated to the entry. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Value</CODE> is a number. (<CODE>basic_props:num/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>textvariablevalue_string(-Value)</CODE> <UL> <LI><EM>Description:</EM> <CODE>Value</CODE> is the value of the Tcl variable associated to the entry. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Value</CODE> is a number. (<CODE>basic_props:num/1</CODE>) </UL> </DL> <P> <A NAME="IDX6403"></A> <A NAME="IDX6404"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>textvariablevalue_number/1:</B> <DD><A NAME="IDX6405"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>textvariablevalue_number(+Value)</CODE> <UL> <LI><EM>Description:</EM> Specifies the <CODE>Value</CODE> of the Tcl variable associated to the entry. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Value</CODE> is a number. (<CODE>basic_props:num/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>textvariablevalue_number(-Value)</CODE> <UL> <LI><EM>Description:</EM> <CODE>Value</CODE> is the value of the Tcl variable associated to the entry. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Value</CODE> is a number. (<CODE>basic_props:num/1</CODE>) </UL> </DL> <P> <A NAME="IDX6406"></A> <A NAME="IDX6407"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>justify_entry/1:</B> <DD><A NAME="IDX6408"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>justify_entry(+How)</CODE> <UL> <LI><EM>Description:</EM> <CODE>How</CODE> specifies how to justify the text in the entry. <CODE>How</CODE> must be one of the values left, right or center. This option defaluts to left. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+How</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>justify_entry(-How)</CODE> <UL> <LI><EM>Description:</EM> Gets <CODE>How</CODE> is justified the text. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-How</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_133.html">previous</A>, <A HREF="ciao_135.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>. </BODY> </HTML>