<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 - widget_class (library)</TITLE> </HEAD> <BODY> Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_127.html">previous</A>, <A HREF="ciao_129.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="SEC548" HREF="ciao_toc.html#TOC548">widget_class (library)</A></H1> <P> <A NAME="IDX6191"></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#150 (2003/12/4, 17:35:4 CET) <UL> <LI><A HREF="ciao_128.html#SEC549">Usage and interface (widget_class)</A> <LI><A HREF="ciao_128.html#SEC550">Documentation on exports (widget_class)</A> </UL> <H2><A NAME="SEC549" HREF="ciao_toc.html#TOC549">Usage and interface (<CODE>widget_class</CODE>)</A></H2> <div class="cartouche"> <UL> <LI><STRONG>Library usage:</STRONG> <CODE>:- use_module(library(widget_class)).</CODE> <LI><STRONG>Exports:</STRONG> <UL> <LI><EM>Predicates:</EM> <A NAME="IDX6192"></A> <CODE>text_characters/1</CODE>, <A NAME="IDX6193"></A> <CODE>font_type/1</CODE>, <A NAME="IDX6194"></A> <CODE>background_color/1</CODE>, <A NAME="IDX6195"></A> <CODE>borderwidth_value/1</CODE>, <A NAME="IDX6196"></A> <CODE>foreground_color/1</CODE>, <A NAME="IDX6197"></A> <CODE>highlightbackground_color/1</CODE>, <A NAME="IDX6198"></A> <CODE>highlight_color/1</CODE>, <A NAME="IDX6199"></A> <CODE>width_value/1</CODE>, <A NAME="IDX6200"></A> <CODE>relief_type/1</CODE>, <A NAME="IDX6201"></A> <CODE>side_type/1</CODE>, <A NAME="IDX6202"></A> <CODE>expand_value/1</CODE>, <A NAME="IDX6203"></A> <CODE>fill_type/1</CODE>, <A NAME="IDX6204"></A> <CODE>padx_value/1</CODE>, <A NAME="IDX6205"></A> <CODE>pady_value/1</CODE>, <A NAME="IDX6206"></A> <CODE>row_value/1</CODE>, <A NAME="IDX6207"></A> <CODE>rowspan_value/1</CODE>, <A NAME="IDX6208"></A> <CODE>column_value/1</CODE>, <A NAME="IDX6209"></A> <CODE>columnspan_value/1</CODE>, <A NAME="IDX6210"></A> <CODE>event_type_widget/1</CODE>, <A NAME="IDX6211"></A> <CODE>action_widget/3</CODE>, <A NAME="IDX6212"></A> <CODE>action_widget/1</CODE>, <A NAME="IDX6213"></A> <CODE>creation_options/1</CODE>, <A NAME="IDX6214"></A> <CODE>creation_position/1</CODE>, <A NAME="IDX6215"></A> <CODE>creation_position_grid/1</CODE>, <A NAME="IDX6216"></A> <CODE>creation_bind/1</CODE>. </UL> <LI><STRONG>Other modules used:</STRONG> <UL> <LI><EM>System library modules:</EM> <A NAME="IDX6217"></A> <CODE>objects/objects_rt</CODE>. </UL> </UL> </div class="cartouche"> <H2><A NAME="SEC550" HREF="ciao_toc.html#TOC550">Documentation on exports (<CODE>widget_class</CODE>)</A></H2> <P> <A NAME="IDX6218"></A> <A NAME="IDX6219"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>text_characters/1:</B> <DD><A NAME="IDX6220"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>text_characters(+Text)</CODE> <UL> <LI><EM>Description:</EM> Indicates the <CODE>Text</CODE> to be displayed in the widget. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Text</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>text_characters(-Text)</CODE> <UL> <LI><EM>Description:</EM> <CODE>Text</CODE> which is displayed in the widget. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Text</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> </DL> <P> <A NAME="IDX6221"></A> <A NAME="IDX6222"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>font_type/1:</B> <DD><A NAME="IDX6223"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>font_type(+Font)</CODE> <UL> <LI><EM>Description:</EM> Indicates the <CODE>Font</CODE> of the widget's text. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Font</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>font_type(-Font)</CODE> <UL> <LI><EM>Description:</EM> Gets the <CODE>Font</CODE> of the widget's text. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Font</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> </DL> <P> <A NAME="IDX6224"></A> <A NAME="IDX6225"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>background_color/1:</B> <DD><A NAME="IDX6226"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>background_color(+Background)</CODE> <UL> <LI><EM>Description:</EM> Indicates the <CODE>Background</CODE> color. Default to gray. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Background</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>background_color(-Background)</CODE> <UL> <LI><EM>Description:</EM> Returns the <CODE>Background</CODE> color. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Background</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> </DL> <P> <A NAME="IDX6227"></A> <A NAME="IDX6228"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>borderwidth_value/1:</B> <DD><A NAME="IDX6229"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>borderwidth_value(+BorderWidth)</CODE> <UL> <LI><EM>Description:</EM> Indicates the width's border. Default to 2. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+BorderWidth</CODE> is a number. (<CODE>basic_props:num/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>borderwidth_value(-BorderWidth)</CODE> <UL> <LI><EM>Description:</EM> Gets the width's border. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-BorderWidth</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> </DL> <P> <A NAME="IDX6230"></A> <A NAME="IDX6231"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>foreground_color/1:</B> <DD><A NAME="IDX6232"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>foreground_color(+Foreground)</CODE> <UL> <LI><EM>Description:</EM> Indicates the <CODE>Foreground</CODE> color. Default to black <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Foreground</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>foreground_color(-Foreground)</CODE> <UL> <LI><EM>Description:</EM> Gets the <CODE>Foreground</CODE> color. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Foreground</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> </DL> <P> <A NAME="IDX6233"></A> <A NAME="IDX6234"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>highlightbackground_color/1:</B> <DD><A NAME="IDX6235"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>highlightbackground_color(+Color)</CODE> <UL> <LI><EM>Description:</EM> <CODE>Color</CODE> specifies the highlight background color. Default to white <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Color</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>highlightbackground_color(-Color)</CODE> <UL> <LI><EM>Description:</EM> Gets the <CODE>Color</CODE> of the highlight background. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Color</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> </DL> <P> <A NAME="IDX6236"></A> <A NAME="IDX6237"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>highlight_color/1:</B> <DD><A NAME="IDX6238"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>highlight_color(+Color)</CODE> <UL> <LI><EM>Description:</EM> <CODE>Color</CODE> specifies the highlight color. Default to white <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Color</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>highlight_color(-Color)</CODE> <UL> <LI><EM>Description:</EM> Gets the <CODE>Color</CODE> of the highlight. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Color</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> </DL> <P> <A NAME="IDX6239"></A> <A NAME="IDX6240"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>width_value/1:</B> <DD><A NAME="IDX6241"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>width_value(+Width)</CODE> <UL> <LI><EM>Description:</EM> Specifies the <CODE>Width</CODE> for the widget. Default to 0 <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Width</CODE> is an integer. (<CODE>basic_props:int/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>width_value(+Width)</CODE> <UL> <LI><EM>Description:</EM> Gets the <CODE>Width</CODE> specified for the widget. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Width</CODE> is an integer. (<CODE>basic_props:int/1</CODE>) </UL> </DL> <P> <A NAME="IDX6242"></A> <A NAME="IDX6243"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>relief_type/1:</B> <DD><A NAME="IDX6244"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>relief_type(+Relief)</CODE> <UL> <LI><EM>Description:</EM> Specifies a desired <CODE>Relief</CODE> for the widget. Default to sunken <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Relief</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>relief_type(-Relief)</CODE> <UL> <LI><EM>Description:</EM> Gets the <CODE>Relief</CODE> of the widget. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Relief</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> </DL> <P> <A NAME="IDX6245"></A> <A NAME="IDX6246"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>side_type/1:</B> <DD><A NAME="IDX6247"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>side_type(+Side)</CODE> <UL> <LI><EM>Description:</EM> Specifies which <CODE>Side</CODE> of the master, the slave(s) will be packed against. Must be left, right, top or bottom. Defaults to top <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Side</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>side_type(-Side)</CODE> <UL> <LI><EM>Description:</EM> Gets the position of the canvas. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Side</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> </DL> <P> <A NAME="IDX6248"></A> <A NAME="IDX6249"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>expand_value/1:</B> <DD><A NAME="IDX6250"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>expand_value(+Value)</CODE> <UL> <LI><EM>Description:</EM> Specifies whether the slaves should be expanded to consume extra space in their master. <CODE>Value</CODE> may have any proper boolean value, such as 1 or 0. Defaults to 0 <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Value</CODE> is an integer. (<CODE>basic_props:int/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>expand_value(-Value)</CODE> <UL> <LI><EM>Description:</EM> Gets the boolean value which indicates if the slaves should be expanded or no. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Value</CODE> is an integer. (<CODE>basic_props:int/1</CODE>) </UL> </DL> <P> <A NAME="IDX6251"></A> <A NAME="IDX6252"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>fill_type/1:</B> <DD><A NAME="IDX6253"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>fill_type(+Option)</CODE> <UL> <LI><EM>Description:</EM> If a slave's parcel is larger than its requested dimensions, this option may be used to stretch the slave. <CODE>Option</CODE> must have one of the following values: none ( this is the default), x, y, both <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Option</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>fill_type(-Option)</CODE> <UL> <LI><EM>Description:</EM> Gets the fill value of the canvas <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Option</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> </DL> <P> <A NAME="IDX6254"></A> <A NAME="IDX6255"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>padx_value/1:</B> <DD><A NAME="IDX6256"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>padx_value(+Amount)</CODE> <UL> <LI><EM>Description:</EM> <CODE>Amount</CODE> specifies how much horizontal external padding to leave on each side of the slave(s). Amount defaults to 0 <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Amount</CODE> is an integer. (<CODE>basic_props:int/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>padx_value(-Amount)</CODE> <UL> <LI><EM>Description:</EM> Gets the <CODE>Amount</CODE> which specifies how much horizontal external padding to leave on each side of the slaves. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Amount</CODE> is an integer. (<CODE>basic_props:int/1</CODE>) </UL> </DL> <P> <A NAME="IDX6257"></A> <A NAME="IDX6258"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>pady_value/1:</B> <DD><A NAME="IDX6259"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>pady_value(+Amount)</CODE> <UL> <LI><EM>Description:</EM> <CODE>Amount</CODE> specifies how much vertical external padding to leave on each side of the slave(s). Amount defaults to 0 <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Amount</CODE> is an integer. (<CODE>basic_props:int/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>pady_value(-Amount)</CODE> <UL> <LI><EM>Description:</EM> Gets the <CODE>Amount</CODE> which specifies how much vertical external padding to leave on each side of the slaves. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Amount</CODE> is an integer. (<CODE>basic_props:int/1</CODE>) </UL> </DL> <P> <A NAME="IDX6260"></A> <A NAME="IDX6261"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>row_value/1:</B> <DD><A NAME="IDX6262"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>row_value(+Row)</CODE> <UL> <LI><EM>Description:</EM> Indicates the <CODE>Row</CODE> in which the widget should be allocated. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Row</CODE> is an integer. (<CODE>basic_props:int/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>row_value(-Row)</CODE> <UL> <LI><EM>Description:</EM> Gets the <CODE>Row</CODE> in which the widget is allocated. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Row</CODE> is an integer. (<CODE>basic_props:int/1</CODE>) </UL> </DL> <P> <A NAME="IDX6263"></A> <A NAME="IDX6264"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>rowspan_value/1:</B> <DD><A NAME="IDX6265"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>rowspan_value(+Row)</CODE> <UL> <LI><EM>Description:</EM> Indicates the number of <CODE>Row</CODE> which are going to be occupied in the grid. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Row</CODE> is an integer. (<CODE>basic_props:int/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>rowspan_value(-Row)</CODE> <UL> <LI><EM>Description:</EM> Gets the number of <CODE>Row</CODE> which are occupied by the widget in the grid. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Row</CODE> is an integer. (<CODE>basic_props:int/1</CODE>) </UL> </DL> <P> <A NAME="IDX6266"></A> <A NAME="IDX6267"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>column_value/1:</B> <DD><A NAME="IDX6268"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>column_value(+Column)</CODE> <UL> <LI><EM>Description:</EM> Indicates the <CODE>Column</CODE> in which the widget should be allocated. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Column</CODE> is an integer. (<CODE>basic_props:int/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>column_value(-Column)</CODE> <UL> <LI><EM>Description:</EM> Gets the <CODE>Column</CODE> in which the widget is allocated. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Column</CODE> is an integer. (<CODE>basic_props:int/1</CODE>) </UL> </DL> <P> <A NAME="IDX6269"></A> <A NAME="IDX6270"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>columnspan_value/1:</B> <DD><A NAME="IDX6271"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>columnspan_value(+Column)</CODE> <UL> <LI><EM>Description:</EM> Indicates the number of <CODE>Column</CODE> which are going to be occupied in the grid. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Column</CODE> is an integer. (<CODE>basic_props:int/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>columnspan_value(-Column)</CODE> <UL> <LI><EM>Description:</EM> Gets the number of <CODE>Column</CODE> which are occupied by the widget in the grid. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Column</CODE> is an integer. (<CODE>basic_props:int/1</CODE>) </UL> </DL> <P> <A NAME="IDX6272"></A> <A NAME="IDX6273"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>event_type_widget/1:</B> <DD><A NAME="IDX6274"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>event_type_widget(+EventType)</CODE> <UL> <LI><EM>Description:</EM> The event <CODE>EventType</CODE> is going to be manage by the interface. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+EventType</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>event_type_widget(-EventType)</CODE> <UL> <LI><EM>Description:</EM> Gets the event <CODE>EventType</CODE> which is going to be manage by the interface. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-EventType</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> </DL> <P> <A NAME="IDX6275"></A> <A NAME="IDX6276"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>action_widget/3:</B> <DD><A NAME="IDX6277"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>action_widget(+Input, +Output, +Term)</CODE> <UL> <LI><EM>Description:</EM> Executes <CODE>Term</CODE> with <CODE>Input</CODE> value and <CODE>Output</CODE> variable. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Input</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) <CODE>+Output</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) <CODE>+Term</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>action_widget(+Input, +Output, -Term)</CODE> <UL> <LI><EM>Description:</EM> <CODE>Term</CODE> is associated to the action of the object indicated with the operacion <EM>event_type_widget</EM>. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Input</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) <CODE>+Output</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) <CODE>-Term</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> </DL> <P> <A NAME="IDX6278"></A> <A NAME="IDX6279"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>action_widget/1:</B> <DD><A NAME="IDX6280"></A> <P> <STRONG>Usage 1:</STRONG> <CODE>action_widget(+Term)</CODE> <UL> <LI><EM>Description:</EM> <CODE>Term</CODE> is going to be associated to the action of the object indicated with the operacion <EM>event_type_widget</EM>. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>+Term</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> <P> <STRONG>Usage 2:</STRONG> <CODE>action_widget(-Term)</CODE> <UL> <LI><EM>Description:</EM> <CODE>Term</CODE> is associated to the action of the object indicated with the operacion <EM>event_type_widget</EM>. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-Term</CODE> is currently instantiated to an atom. (<CODE>term_typing:atom/1</CODE>) </UL> </DL> <P> <A NAME="IDX6281"></A> <A NAME="IDX6282"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>creation_options/1:</B> <DD><A NAME="IDX6283"></A> <P> <STRONG>Usage:</STRONG> <CODE>creation_options(-OptionsList)</CODE> <UL> <LI><EM>Description:</EM> Creates a list with the options supported by the widget. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-OptionsList</CODE> is a list. (<CODE>basic_props:list/1</CODE>) </UL> </DL> <P> <A NAME="IDX6284"></A> <A NAME="IDX6285"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>creation_position/1:</B> <DD><A NAME="IDX6286"></A> <P> <STRONG>Usage:</STRONG> <CODE>creation_position(-OptionsList)</CODE> <UL> <LI><EM>Description:</EM> Creates a list with the options supported by the pack command. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-OptionsList</CODE> is a list. (<CODE>basic_props:list/1</CODE>) </UL> </DL> <P> <A NAME="IDX6287"></A> <A NAME="IDX6288"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>creation_position_grid/1:</B> <DD><A NAME="IDX6289"></A> <P> <STRONG>Usage:</STRONG> <CODE>creation_position_grid(-OptionsList)</CODE> <UL> <LI><EM>Description:</EM> Creates a list with the options supported by the grid command. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-OptionsList</CODE> is a list. (<CODE>basic_props:list/1</CODE>) </UL> </DL> <P> <A NAME="IDX6290"></A> <A NAME="IDX6291"></A> <DL> <DT><span class="define">PREDICATE:</span> <B>creation_bind/1:</B> <DD><A NAME="IDX6292"></A> <P> <STRONG>Usage:</STRONG> <CODE>creation_bind(-BindList)</CODE> <UL> <LI><EM>Description:</EM> Creates a list with the event to be manage and the action associated to this event. <LI><EM>Call and exit should be <EM>compatible</EM> with:</EM> <CODE>-BindList</CODE> is a list. (<CODE>basic_props:list/1</CODE>) </UL> </DL> <P><HR><P> Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_127.html">previous</A>, <A HREF="ciao_129.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>. </BODY> </HTML>