source: trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/WIDGET/xquestion.html @ 402

Last change on this file since 402 was 402, checked in by smasson, 15 years ago

update documentation

File size: 5.7 KB
Line 
1
2
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4  <head>
5    <title>xquestion.pro (SAXO Documentation Assistant)</title>
6  </head>
7
8  <body text="#000000" bgcolor="#FFFFFF">
9
10   
11<!-- Navbar template takes a structure with the following fields:
12       overview_href :
13       overview_selected :
14       dir_overview_href :
15       dir_overview_selected :
16       categories_href :
17       categories_selected :
18       index_href :
19       index_selected :
20       search_href :
21       search_selected :
22       file_selected :
23       source_href :
24       source_selected :
25       help_href :
26       help_selected :
27       etc_selected :
28
29       prev_file_href :
30       next_file_href :
31
32       view_single_page_href :
33       view_frames_href :
34
35       summary_fields_href :
36       summary_routine_href :
37       details_routine_href :
38
39       title :
40       subtitle :
41       user :
42-->
43
44
45<table border="0" cellpadding="0" cellspacing="0" width="98%" bgcolor="#F0F0FF" valign="bottom">
46  <tr>
47    <td width="10%">
48<a href="xnotice.html"><img src="./../../prev.gif" border="0" alt="Previous"></a></td>
49    <td width="80%" align="center" valign="center">
50<font size=-1><i>SAXO Documentation Assistant</i>: <a href="./../../home.html">Overview</a></font></td>
51    <td width="10%" align="right">
52<a href="xx.html"><img src="./../../next.gif" border="0" alt="Next"></a></td>
53  </tr>
54</table>
55
56
57    <h1><font size="-2">ToBeReviewed/WIDGET/</font></h1>
58    <h2>xquestion.pro</h2>
59
60    <dl>
61    </dl>
62
63   
64
65
66 A small widget who ask a question and give an answer.
67   WARNING: For a binary question with yes/no, answer use
68   <a href="/Applications/itt/idl64/help/online_help/DIALOG_MESSAGE.html">DIALOG_MESSAGE</a>.
69
70
71   
72    <h2>Routine summary</h2>
73
74    <dl>
75     
76      <dt><a href="#_xquestion_event">xquestion_event<i>, event</i></a><dt>
77      <dd><font size="-1"> </font></dd>
78     
79      <dt><a href="#_xquestion"><i>result = </i>xquestion(<i>question, proposedanswer</i>, CHKWIDGET=<i>CHKWIDGET</i>, _EXTRA=<i>_EXTRA</i>)</a><dt>
80      <dd><font size="-1"> </font></dd>
81     
82    </dl>
83
84    <p>&nbsp;</p>
85   
86
87     
88      <a name="#_xquestion_event"></a>
89
90      <h2>xquestion_event  <font size="-1" color="#006633">
91</font></h2>
92
93      <p><font face="Courier">xquestion_event<i>, <a href="#_xquestion_event_keyword_event">event</a></i></font></p>
94
95   
96
97
98    <h3>Return value</h3>
99
100
101   
102    <h3>Parameters</h3>
103   
104
105    <a name="#_xquestion_event_keyword_event"></a>
106    <h4>event&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
107     
108     
109     
110     
111     
112     
113     
114     
115    </h4>
116
117   
118
119   
120   
121
122   
123
124    <h3>Examples</h3><pre>
125
126    </pre><h3>Version history</h3>
127   
128    <h4>Version</h4>
129 $Id: xquestion.pro 371 2008-08-07 09:32:02Z pinsard $
130
131    <h4>History</h4>
132
133   
134
135    <h3>Known issues</h3>
136   
137   
138   
139    <h4>Restrictions</h4>
140
141
142    <h3>Other attributes</h3>
143   
144   
145    <h4>Uses routines</h4>
146
147   
148   
149   
150
151    <font size="-3"><p>&nbsp;</p></font>
152    <hr size="1" color="#CCCCCC"/>
153     
154      <a name="#_xquestion"></a>
155
156      <h2>xquestion  <font size="-1" color="#006633">
157 Widget
158</font></h2>
159
160      <p><font face="Courier"><i>result = </i>xquestion(<i><a href="#_xquestion_keyword_question">question</a>, <a href="#_xquestion_keyword_proposedanswer">proposedanswer</a></i>, <a href="#_xquestion_keyword_CHKWIDGET">CHKWIDGET</a>=<i>CHKWIDGET</i>, <a href="#_xquestion_keyword__EXTRA">_EXTRA</a>=<i>_EXTRA</i>)</font></p>
161
162   
163
164
165    <h3>Return value</h3>
166 answer: a string
167
168
169   
170    <h3>Parameters</h3>
171   
172
173    <a name="#_xquestion_keyword_question"></a>
174    <h4>question&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
175     
176     
177     
178     
179     
180      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>A scalar string or a array of string</i></font>
181     
182     
183    </h4>
184
185   
186 If this argument is set to :
187      - an array of strings: each array element is
188        displayed as a separate line of text.
189      - a scalar string: we are looking for the "separate line
190        character" '!C'
191
192   
193
194    <a name="#_xquestion_keyword_proposedanswer"></a>
195    <h4>proposedanswer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
196     
197     
198     
199     
200     
201      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>string</i></font>
202     
203     
204    </h4>
205
206   
207 proposing a answer
208
209   
210   
211
212   
213    <h3>Keywords</h3>
214
215   
216    <a name="#_xquestion_keyword_CHKWIDGET"></a>
217    <h4>CHKWIDGET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
218     
219     
220     
221     
222     
223     
224     
225     
226    </h4>
227
228   
229 Active this keyword if you want that <a href="../..//ToBeReviewed/WIDGET/xquestion.html">xquestion</a>
230 check if managed widget are present. If not, <a href="../..//ToBeReviewed/WIDGET/xquestion.html">xquestion</a> do not
231 open a widget but print the question in the IDL window.
232
233   
234    <a name="#_xquestion_keyword__EXTRA"></a>
235    <h4>_EXTRA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
236     
237     
238     
239     
240     
241     
242     
243     
244    </h4>
245
246   
247 Used to pass keywords
248
249   
250   
251
252    <h3>Examples</h3><pre>
253
254   IDL> help, xquestion('Postscript name')
255 <Expression>    STRING    = 'toto.ps'
256
257    </pre><h3>Version history</h3>
258   
259    <h4>Version</h4>
260 $Id: xquestion.pro 371 2008-08-07 09:32:02Z pinsard $
261
262    <h4>History</h4>
263 Sebastien Masson (smasson@lodyc.jussieu.fr)
264                      13/10/1999
265
266   
267
268    <h3>Known issues</h3>
269   
270   
271   
272    <h4>Restrictions</h4>
273 The function does not return to its caller until the user
274 press "Enter" key in the widget.
275
276
277   
278   
279   
280   
281   
282   
283   
284
285    <font size="-3"><p>&nbsp;</p></font>
286    <hr size="1" color="#CCCCCC"/>
287     
288
289   
290
291    <p><font color="gray" size="-3">&nbsp;&nbsp;Produced by IDLdoc 2.0.</font></p>
292
293  </body>
294</html>
Note: See TracBrowser for help on using the repository browser.