1 | |
---|
2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
3 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
4 | |
---|
5 | <!-- Generated by IDLdoc 2.0 --> |
---|
6 | |
---|
7 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
---|
8 | <head> |
---|
9 | <title>cw_slider_pm.pro (IDLdoc API documentation)</title> |
---|
10 | |
---|
11 | |
---|
12 | <link rel="stylesheet" type="text/css" media="all" href="./../../../main_files.css" /> |
---|
13 | <link rel="stylesheet" type="text/css" media="print" href="./../../../main_files_print.css" /> |
---|
14 | |
---|
15 | |
---|
16 | <script type="text/javascript"> |
---|
17 | function setTitle() { |
---|
18 | parent.document.title="cw_slider_pm.pro (IDLdoc API documentation)"; |
---|
19 | } |
---|
20 | </script> |
---|
21 | </head> |
---|
22 | |
---|
23 | <body onload="setTitle();"> |
---|
24 | |
---|
25 | <div id="navbar_title"> |
---|
26 | <h1>IDLdoc API documentation</h1> |
---|
27 | </div> |
---|
28 | |
---|
29 | |
---|
30 | <div id="main_navbar"> |
---|
31 | |
---|
32 | <table cellspacing="0"> |
---|
33 | <tr> |
---|
34 | |
---|
35 | <td><a href="./../../../overview.html?format=raw" title="Overview of library">Overview</a></td> |
---|
36 | |
---|
37 | |
---|
38 | |
---|
39 | <td >Directory</td> |
---|
40 | |
---|
41 | |
---|
42 | |
---|
43 | <td><a href="./../../../idldoc-categories.html?format=raw" title="Browse library by category">Categories</a></td> |
---|
44 | |
---|
45 | |
---|
46 | |
---|
47 | <td><a href="./../../../idldoc-index.html?format=raw" title="Index of files, routines, and parameters">Index</a></td> |
---|
48 | |
---|
49 | |
---|
50 | |
---|
51 | <td><a href="./../../../search-page.html?format=raw" title="Search library">Search</a></td> |
---|
52 | |
---|
53 | |
---|
54 | <td id="selected">File</td> |
---|
55 | |
---|
56 | |
---|
57 | <td >Source</td> |
---|
58 | |
---|
59 | |
---|
60 | |
---|
61 | <td><a href="./../../../idldoc-help.html?format=raw" title="Help on IDLdoc">Help</a></td> |
---|
62 | |
---|
63 | |
---|
64 | <td >Etc</td> |
---|
65 | |
---|
66 | <td id="flexible">Developer documentation</td> |
---|
67 | </tr> |
---|
68 | </table> |
---|
69 | |
---|
70 | </div> |
---|
71 | |
---|
72 | <div id="secondary_navbar"> |
---|
73 | |
---|
74 | <a href="cw_slide_slice.html"><<prev file</a> | <a href="cw_specifie.html">next file >></a> <a href="cw_slider_pm.html" target="_TOP">view single page</a> | <a href="./../../../index.html?format=raw" target="_TOP">view frames</a> summary: fields | <a href="#routine_summary">routine</a> details: <a href="#routine_details">routine</a> |
---|
75 | |
---|
76 | </div> |
---|
77 | |
---|
78 | |
---|
79 | <div id="container"> |
---|
80 | |
---|
81 | <h1 class="directory"><a href="directory-overview.html?format=raw">ToBeReviewed/WIDGET/COMPOUND_WIDGET/</a></h1> |
---|
82 | <h2 class="pro_file">cw_slider_pm.pro</h2> |
---|
83 | |
---|
84 | <div id="file_attr"> |
---|
85 | <dl> |
---|
86 | </dl> |
---|
87 | </div> |
---|
88 | |
---|
89 | <div id="file_comments"></div> |
---|
90 | |
---|
91 | |
---|
92 | |
---|
93 | |
---|
94 | |
---|
95 | |
---|
96 | |
---|
97 | |
---|
98 | <div id="routine_summary"> |
---|
99 | <h2>Routine summary</h2> |
---|
100 | |
---|
101 | <dl> |
---|
102 | |
---|
103 | <dt><p><a href="#_decvalue"><span class="result">result = </span>decvalue(<span class="result">value</span>)</a></p><dt> |
---|
104 | <dd> NAME: cw_slider_pm PURPOSE: widget equivalent a WIDGET_SLIDER sauf qu'en plus on dispose de 2 bouttons + et - pour deplacer le widget de +/- 1.</dd> |
---|
105 | |
---|
106 | <dt><p><a href="#_decind"><span class="result">result = </span>decind(<span class="result">value</span>)</a></p><dt> |
---|
107 | <dd></dd> |
---|
108 | |
---|
109 | <dt><p><a href="#_cw_slider_pm_set_value">cw_slider_pm_set_value<span class="result">, id, value</span></a></p><dt> |
---|
110 | <dd></dd> |
---|
111 | |
---|
112 | <dt><p><a href="#_cw_slider_pm_get_value"><span class="result">result = </span>cw_slider_pm_get_value(<span class="result">id</span>)</a></p><dt> |
---|
113 | <dd></dd> |
---|
114 | |
---|
115 | <dt><p><a href="#_cw_slider_pm_event"><span class="result">result = </span>cw_slider_pm_event(<span class="result">event</span>)</a></p><dt> |
---|
116 | <dd></dd> |
---|
117 | |
---|
118 | <dt><p><a href="#_cw_slider_pm"><span class="result">result = </span>cw_slider_pm(<span class="result">parent</span>, MAXIMUM=<span class="result">MAXIMUM</span>, MINIMUM=<span class="result">MINIMUM</span>, STRMINLEN=<span class="result">STRMINLEN</span>, VALUE=<span class="result">VALUE</span>, UVALUE=<span class="result">UVALUE</span>, UNAME=<span class="result">UNAME</span>, title=<span class="result">title</span>, _extra=<span class="result">_extra</span>)</a></p><dt> |
---|
119 | <dd></dd> |
---|
120 | |
---|
121 | </dl> |
---|
122 | </div> |
---|
123 | |
---|
124 | |
---|
125 | <div id="routine_details"> |
---|
126 | |
---|
127 | |
---|
128 | <div class="routine_details" id="_decvalue"> |
---|
129 | |
---|
130 | <h2><a class="top" href="#container">top</a>decvalue </h2> |
---|
131 | |
---|
132 | <p class="header"> |
---|
133 | <span class="result">result = </span>decvalue(<span class="result"><a href="#_decvalue_param_value">value</a></span>)</p> |
---|
134 | |
---|
135 | <div class="comments"> |
---|
136 | NAME: cw_slider_pm |
---|
137 | |
---|
138 | PURPOSE: widget equivalent a WIDGET_SLIDER sauf qu'en plus on |
---|
139 | dispose de 2 bouttons + et - pour deplacer le widget de +/- 1. |
---|
140 | |
---|
141 | CATEGORY: compound widget (aide a l''ecriture des widgets) |
---|
142 | |
---|
143 | CALLING SEQUENCE: id=cw_slider_pm(parent) |
---|
144 | |
---|
145 | INPUTS: |
---|
146 | Parent: The widget ID of the parent widget. |
---|
147 | |
---|
148 | KEYWORD PARAMETERS:tous ceux de WIDGET_SLIDER |
---|
149 | |
---|
150 | OUTPUTS: |
---|
151 | The returned value of this function is the widget ID of the |
---|
152 | newly-created animation widget. |
---|
153 | |
---|
154 | COMMON BLOCKS: none |
---|
155 | |
---|
156 | SIDE EFFECTS: |
---|
157 | |
---|
158 | Widget Events Returned by the CW_SLIDER_PM Widget |
---|
159 | |
---|
160 | Slider widgets generate events when the mouse is used to change |
---|
161 | their value. The event structure returned by the WIDGET_EVENT |
---|
162 | function is defined by the following statement: |
---|
163 | |
---|
164 | {CW_SLIDER_PM, ID:0L, TOP:0L, HANDLER:0L, VALUE:0L, DRAG:0, OUT:0} |
---|
165 | |
---|
166 | ID is the widget ID of the button generating the event. TOP is the |
---|
167 | widget ID of the top level widget containing ID. |
---|
168 | HANDLER contains the widget ID of the widget associated with the |
---|
169 | handler routine. |
---|
170 | VALUE returns the new value of the slider. |
---|
171 | DRAG returns integer 1 if the slider event was generated as part of |
---|
172 | a drag operation, or zero if the event was generated when the user |
---|
173 | had finished positioning the slider. Note that the slider widget |
---|
174 | only generates events during the drag operation if the DRAG keyword |
---|
175 | is set, and if the application is running under Motif. When the |
---|
176 | DRAG keyword is set, the DRAG field can be used to avoid |
---|
177 | computationally expensive operations until the user releases the |
---|
178 | slider. |
---|
179 | OUT:c''est un entier qui peut prendre 3 valeurs: |
---|
180 | 1 : si on appuie sur + alors que le slider est deja aux max. rq: |
---|
181 | ds ce cas le slider reste au max |
---|
182 | -1: si on appuie sur - alors que le slider est deja aux min. rq: |
---|
183 | ds ce cas le slider reste au min |
---|
184 | 0 : ds les autres cas! |
---|
185 | |
---|
186 | Keywords to WIDGET_CONTROL |
---|
187 | |
---|
188 | A number of keywords to the WIDGET_CONTROL procedure affect the |
---|
189 | behavior of cw_slider_pm widget: GET_VALUE and SET_VALUE. |
---|
190 | 1) GET_VALUE |
---|
191 | widget_control,wid_id,get_value=resultat |
---|
192 | retourne ds la variable resultat une structure de 2 elements dont |
---|
193 | les noms sont inspires des mots cles que l''on peut passer a |
---|
194 | widget_control qd on utilise WIDGET_SLIDER: |
---|
195 | VALUE:the value setting of the widget |
---|
196 | SLIDER_MIN_MAX: a 2 elements array: The minimum and the |
---|
197 | maximum value of the range encompassed by the slider |
---|
198 | 2) SET_VALUE |
---|
199 | widget_control,wid_id,set_value=impose |
---|
200 | permet de modifier l''etat de la slider bar comme on peut le faire |
---|
201 | pour WIDGET_SLIDER. Impose peut etre: |
---|
202 | a) un entier: donne la nouvelle position of the slider. |
---|
203 | b) une structure qui peut avoir comme elements (de 1 a 3): |
---|
204 | VALUE:un entier qui donne la nouvelle position of the slider. |
---|
205 | SLIDER_MIN:Set to a new minimum value for the specified |
---|
206 | slider widget. |
---|
207 | SLIDER_MAX:Set to a new minimum value for the specified |
---|
208 | slider widget. |
---|
209 | |
---|
210 | RESTRICTIONS: |
---|
211 | |
---|
212 | EXAMPLE: cf utiliser le programme founit i-dessous: testwid et la |
---|
213 | procedure associee, testwid_event. |
---|
214 | </div> |
---|
215 | |
---|
216 | |
---|
217 | |
---|
218 | |
---|
219 | <h3>Parameters</h3> |
---|
220 | |
---|
221 | |
---|
222 | <h4 id="_decvalue_param_value">value |
---|
223 | |
---|
224 | |
---|
225 | |
---|
226 | |
---|
227 | |
---|
228 | |
---|
229 | |
---|
230 | |
---|
231 | </h4> |
---|
232 | |
---|
233 | <div class="comments"></div> |
---|
234 | |
---|
235 | |
---|
236 | |
---|
237 | |
---|
238 | |
---|
239 | |
---|
240 | |
---|
241 | |
---|
242 | |
---|
243 | |
---|
244 | |
---|
245 | |
---|
246 | |
---|
247 | |
---|
248 | |
---|
249 | |
---|
250 | |
---|
251 | |
---|
252 | |
---|
253 | |
---|
254 | |
---|
255 | |
---|
256 | |
---|
257 | |
---|
258 | |
---|
259 | |
---|
260 | |
---|
261 | |
---|
262 | |
---|
263 | </div> |
---|
264 | |
---|
265 | |
---|
266 | <div class="routine_details" id="_decind"> |
---|
267 | |
---|
268 | <h2><a class="top" href="#container">top</a>decind </h2> |
---|
269 | |
---|
270 | <p class="header"> |
---|
271 | <span class="result">result = </span>decind(<span class="result"><a href="#_decind_param_value">value</a></span>)</p> |
---|
272 | |
---|
273 | <div class="comments"></div> |
---|
274 | |
---|
275 | |
---|
276 | |
---|
277 | |
---|
278 | <h3>Parameters</h3> |
---|
279 | |
---|
280 | |
---|
281 | <h4 id="_decind_param_value">value |
---|
282 | |
---|
283 | |
---|
284 | |
---|
285 | |
---|
286 | |
---|
287 | |
---|
288 | |
---|
289 | |
---|
290 | </h4> |
---|
291 | |
---|
292 | <div class="comments"></div> |
---|
293 | |
---|
294 | |
---|
295 | |
---|
296 | |
---|
297 | |
---|
298 | |
---|
299 | |
---|
300 | |
---|
301 | |
---|
302 | |
---|
303 | |
---|
304 | |
---|
305 | |
---|
306 | |
---|
307 | |
---|
308 | |
---|
309 | |
---|
310 | |
---|
311 | |
---|
312 | |
---|
313 | |
---|
314 | |
---|
315 | |
---|
316 | |
---|
317 | |
---|
318 | |
---|
319 | |
---|
320 | |
---|
321 | |
---|
322 | </div> |
---|
323 | |
---|
324 | |
---|
325 | <div class="routine_details" id="_cw_slider_pm_set_value"> |
---|
326 | |
---|
327 | <h2><a class="top" href="#container">top</a>cw_slider_pm_set_value </h2> |
---|
328 | |
---|
329 | <p class="header"> |
---|
330 | cw_slider_pm_set_value<span class="result">, <a href="#_cw_slider_pm_set_value_param_id">id</a>, <a href="#_cw_slider_pm_set_value_param_value">value</a></span></p> |
---|
331 | |
---|
332 | <div class="comments"></div> |
---|
333 | |
---|
334 | |
---|
335 | |
---|
336 | |
---|
337 | <h3>Parameters</h3> |
---|
338 | |
---|
339 | |
---|
340 | <h4 id="_cw_slider_pm_set_value_param_id">id |
---|
341 | |
---|
342 | |
---|
343 | |
---|
344 | |
---|
345 | |
---|
346 | |
---|
347 | |
---|
348 | |
---|
349 | </h4> |
---|
350 | |
---|
351 | <div class="comments"></div> |
---|
352 | |
---|
353 | <h4 id="_cw_slider_pm_set_value_param_value">value |
---|
354 | |
---|
355 | |
---|
356 | |
---|
357 | |
---|
358 | |
---|
359 | |
---|
360 | |
---|
361 | |
---|
362 | </h4> |
---|
363 | |
---|
364 | <div class="comments"></div> |
---|
365 | |
---|
366 | |
---|
367 | |
---|
368 | |
---|
369 | |
---|
370 | |
---|
371 | |
---|
372 | |
---|
373 | |
---|
374 | |
---|
375 | |
---|
376 | |
---|
377 | |
---|
378 | |
---|
379 | |
---|
380 | |
---|
381 | |
---|
382 | |
---|
383 | |
---|
384 | |
---|
385 | |
---|
386 | |
---|
387 | |
---|
388 | |
---|
389 | |
---|
390 | |
---|
391 | |
---|
392 | |
---|
393 | |
---|
394 | </div> |
---|
395 | |
---|
396 | |
---|
397 | <div class="routine_details" id="_cw_slider_pm_get_value"> |
---|
398 | |
---|
399 | <h2><a class="top" href="#container">top</a>cw_slider_pm_get_value </h2> |
---|
400 | |
---|
401 | <p class="header"> |
---|
402 | <span class="result">result = </span>cw_slider_pm_get_value(<span class="result"><a href="#_cw_slider_pm_get_value_param_id">id</a></span>)</p> |
---|
403 | |
---|
404 | <div class="comments"></div> |
---|
405 | |
---|
406 | |
---|
407 | |
---|
408 | |
---|
409 | <h3>Parameters</h3> |
---|
410 | |
---|
411 | |
---|
412 | <h4 id="_cw_slider_pm_get_value_param_id">id |
---|
413 | |
---|
414 | |
---|
415 | |
---|
416 | |
---|
417 | |
---|
418 | |
---|
419 | |
---|
420 | |
---|
421 | </h4> |
---|
422 | |
---|
423 | <div class="comments"></div> |
---|
424 | |
---|
425 | |
---|
426 | |
---|
427 | |
---|
428 | |
---|
429 | |
---|
430 | |
---|
431 | |
---|
432 | |
---|
433 | |
---|
434 | |
---|
435 | |
---|
436 | |
---|
437 | |
---|
438 | |
---|
439 | |
---|
440 | |
---|
441 | |
---|
442 | |
---|
443 | |
---|
444 | |
---|
445 | |
---|
446 | |
---|
447 | |
---|
448 | |
---|
449 | |
---|
450 | |
---|
451 | |
---|
452 | |
---|
453 | </div> |
---|
454 | |
---|
455 | |
---|
456 | <div class="routine_details" id="_cw_slider_pm_event"> |
---|
457 | |
---|
458 | <h2><a class="top" href="#container">top</a>cw_slider_pm_event </h2> |
---|
459 | |
---|
460 | <p class="header"> |
---|
461 | <span class="result">result = </span>cw_slider_pm_event(<span class="result"><a href="#_cw_slider_pm_event_param_event">event</a></span>)</p> |
---|
462 | |
---|
463 | <div class="comments"></div> |
---|
464 | |
---|
465 | |
---|
466 | |
---|
467 | |
---|
468 | <h3>Parameters</h3> |
---|
469 | |
---|
470 | |
---|
471 | <h4 id="_cw_slider_pm_event_param_event">event |
---|
472 | |
---|
473 | |
---|
474 | |
---|
475 | |
---|
476 | |
---|
477 | |
---|
478 | |
---|
479 | |
---|
480 | </h4> |
---|
481 | |
---|
482 | <div class="comments"></div> |
---|
483 | |
---|
484 | |
---|
485 | |
---|
486 | |
---|
487 | |
---|
488 | |
---|
489 | |
---|
490 | |
---|
491 | |
---|
492 | |
---|
493 | |
---|
494 | |
---|
495 | |
---|
496 | |
---|
497 | |
---|
498 | |
---|
499 | |
---|
500 | |
---|
501 | |
---|
502 | |
---|
503 | |
---|
504 | |
---|
505 | |
---|
506 | |
---|
507 | |
---|
508 | |
---|
509 | |
---|
510 | |
---|
511 | |
---|
512 | </div> |
---|
513 | |
---|
514 | |
---|
515 | <div class="routine_details" id="_cw_slider_pm"> |
---|
516 | |
---|
517 | <h2><a class="top" href="#container">top</a>cw_slider_pm </h2> |
---|
518 | |
---|
519 | <p class="header"> |
---|
520 | <span class="result">result = </span>cw_slider_pm(<span class="result"><a href="#_cw_slider_pm_param_parent">parent</a></span>, <a href="#_cw_slider_pm_keyword_MAXIMUM">MAXIMUM</a>=<span class="result">MAXIMUM</span>, <a href="#_cw_slider_pm_keyword_MINIMUM">MINIMUM</a>=<span class="result">MINIMUM</span>, <a href="#_cw_slider_pm_keyword_STRMINLEN">STRMINLEN</a>=<span class="result">STRMINLEN</span>, <a href="#_cw_slider_pm_keyword_VALUE">VALUE</a>=<span class="result">VALUE</span>, <a href="#_cw_slider_pm_keyword_UVALUE">UVALUE</a>=<span class="result">UVALUE</span>, <a href="#_cw_slider_pm_keyword_UNAME">UNAME</a>=<span class="result">UNAME</span>, <a href="#_cw_slider_pm_keyword_title">title</a>=<span class="result">title</span>, <a href="#_cw_slider_pm_keyword__extra">_extra</a>=<span class="result">_extra</span>)</p> |
---|
521 | |
---|
522 | <div class="comments"></div> |
---|
523 | |
---|
524 | |
---|
525 | |
---|
526 | |
---|
527 | <h3>Parameters</h3> |
---|
528 | |
---|
529 | |
---|
530 | <h4 id="_cw_slider_pm_param_parent">parent |
---|
531 | |
---|
532 | |
---|
533 | |
---|
534 | |
---|
535 | |
---|
536 | |
---|
537 | |
---|
538 | |
---|
539 | </h4> |
---|
540 | |
---|
541 | <div class="comments"></div> |
---|
542 | |
---|
543 | |
---|
544 | |
---|
545 | |
---|
546 | |
---|
547 | |
---|
548 | <h3>Keywords</h3> |
---|
549 | |
---|
550 | <h4 id="_cw_slider_pm_keyword_MAXIMUM">MAXIMUM |
---|
551 | |
---|
552 | |
---|
553 | |
---|
554 | |
---|
555 | |
---|
556 | |
---|
557 | |
---|
558 | |
---|
559 | </h4> |
---|
560 | |
---|
561 | <div class="comments"></div> |
---|
562 | |
---|
563 | <h4 id="_cw_slider_pm_keyword_MINIMUM">MINIMUM |
---|
564 | |
---|
565 | |
---|
566 | |
---|
567 | |
---|
568 | |
---|
569 | |
---|
570 | |
---|
571 | |
---|
572 | </h4> |
---|
573 | |
---|
574 | <div class="comments"></div> |
---|
575 | |
---|
576 | <h4 id="_cw_slider_pm_keyword_STRMINLEN">STRMINLEN |
---|
577 | |
---|
578 | |
---|
579 | |
---|
580 | |
---|
581 | |
---|
582 | |
---|
583 | |
---|
584 | |
---|
585 | </h4> |
---|
586 | |
---|
587 | <div class="comments"></div> |
---|
588 | |
---|
589 | <h4 id="_cw_slider_pm_keyword_VALUE">VALUE |
---|
590 | |
---|
591 | |
---|
592 | |
---|
593 | |
---|
594 | |
---|
595 | |
---|
596 | |
---|
597 | |
---|
598 | </h4> |
---|
599 | |
---|
600 | <div class="comments"></div> |
---|
601 | |
---|
602 | <h4 id="_cw_slider_pm_keyword_UVALUE">UVALUE |
---|
603 | |
---|
604 | |
---|
605 | |
---|
606 | |
---|
607 | |
---|
608 | |
---|
609 | |
---|
610 | |
---|
611 | </h4> |
---|
612 | |
---|
613 | <div class="comments"></div> |
---|
614 | |
---|
615 | <h4 id="_cw_slider_pm_keyword_UNAME">UNAME |
---|
616 | |
---|
617 | |
---|
618 | |
---|
619 | |
---|
620 | |
---|
621 | |
---|
622 | |
---|
623 | |
---|
624 | </h4> |
---|
625 | |
---|
626 | <div class="comments"></div> |
---|
627 | |
---|
628 | <h4 id="_cw_slider_pm_keyword_title">title |
---|
629 | |
---|
630 | |
---|
631 | |
---|
632 | |
---|
633 | |
---|
634 | |
---|
635 | |
---|
636 | |
---|
637 | </h4> |
---|
638 | |
---|
639 | <div class="comments"></div> |
---|
640 | |
---|
641 | <h4 id="_cw_slider_pm_keyword__extra">_extra |
---|
642 | |
---|
643 | |
---|
644 | |
---|
645 | |
---|
646 | |
---|
647 | |
---|
648 | |
---|
649 | |
---|
650 | </h4> |
---|
651 | |
---|
652 | <div class="comments"></div> |
---|
653 | |
---|
654 | |
---|
655 | |
---|
656 | |
---|
657 | |
---|
658 | |
---|
659 | |
---|
660 | |
---|
661 | |
---|
662 | |
---|
663 | |
---|
664 | |
---|
665 | |
---|
666 | |
---|
667 | |
---|
668 | |
---|
669 | |
---|
670 | |
---|
671 | |
---|
672 | |
---|
673 | |
---|
674 | |
---|
675 | |
---|
676 | |
---|
677 | |
---|
678 | |
---|
679 | </div> |
---|
680 | |
---|
681 | </div> |
---|
682 | |
---|
683 | |
---|
684 | |
---|
685 | <div id="tagline">Produced by IDLdoc 2.0.</div> |
---|
686 | |
---|
687 | </div> |
---|
688 | |
---|
689 | </body> |
---|
690 | </html> |
---|