source: trunk/SRC/Documentation/idldoc_html_output/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_bgroup.html @ 163

Last change on this file since 163 was 163, checked in by navarro, 18 years ago

header improvements : type of parameters and keywords, default values, spell checking + idldoc assistant (IDL online_help)

File size: 33.7 KB
Line 
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_bgroup.pro (SAXO Documentation)</title>
10
11   
12    <style type="text/css" media="all">
13     
14/* CSS for all files which appear in the "main" viewing area: overview,
15   directory overviews, warnings, index, search, pro files, source
16   code, help, and etc files. */
17
18/* Link styles --------------------------------------------------------------- */
19
20a { text-decoration: none; }
21
22a:link, a:visited { 
23  color: #660000; 
24  border-bottom: 1px dotted #C0C0F0;   
25}
26
27a:hover, a:focus { 
28  color: #993333; 
29  background: #FFFFCC; 
30  border-bottom: 1px dotted #303099; 
31}
32
33
34/* Main styles --------------------------------------------------------------- */
35p.preformat {
36  font-family: Courier;
37}
38
39body {
40  margin: 0;
41  padding: 0;
42  font-size: 10pt;
43  font-family: Verdana, Helvetica, Arial, sans-serif;
44  background-color: #FFFFFF;
45}
46
47p {
48  margin-top: 0.5em;
49  margin-bottom: 0;
50}
51
52#container { margin: 1em; }
53
54code.section { white-space: pre; }
55
56pre.snippet {
57  margin-left: 5%;
58  background: #F0F0F0;
59  border: 1px dashed #999999;
60  width: 43em;
61  padding: 0.5em 0.5em 0.5em 0.5em;
62  white-space: pre;
63}
64
65/* Navbar styles ------------------------------------------------------------- */
66
67#navbar_title {
68  color: #000033;
69  background-color: #F0F0FF;
70  font-family: Arial, Helvetica, sans-serif;
71  padding: 20px 30px;
72  border-bottom: 1px solid #000033;
73}
74
75#navbar_title * {
76  margin: 0;
77  padding: 0;
78}
79
80#navbar_title h1 {
81  letter-spacing: 0.1em;
82  font-variant: small-caps;
83  font-size: 250%;
84  text-indent: -1em;
85  padding-left: 1em; 
86}
87
88#navbar_title h2 {
89  font-size: 110%;
90  font-weight: normal;
91  color: #333399;
92}
93
94#main_navbar table {
95  width: 100%;
96  border-bottom: 1px solid #666699;
97}
98
99#main_navbar td {
100  background: #CCCCFF;
101  font-size: 80%;
102  font-weight: bold;
103  font-family: Arial, Helvetica, sans-serif;
104  border-top: 3px solid #CCCCFF;
105  border-bottom: 3px solid #CCCCFF;
106  padding-left: 6px;
107  padding-right: 6px;
108  margin: 0;
109}
110
111#main_navbar td#selected {
112  background: #CCCCFF;
113  font-size: 80%;
114  font-weight: bold;
115  font-family: Arial, Helvetica, sans-serif;
116  border-top: 3px solid #333399;
117  border-bottom: 3px solid #CCCCFF;
118  padding-left: 6px;
119  padding-right: 6px;
120  margin: 0;
121}
122
123#main_navbar td#flexible {
124  width: 100%;
125  text-align: right;
126  padding-right: 1em;
127  background: #CCCCFF;
128  font-size: 70%;
129  font-weight: normal;
130  font-family: Arial, Helvetica, sans-serif;
131  text-transform: uppercase;
132  border-top: 3px solid #CCCCFF;
133  border-bottom: 3px solid #CCCCFF;
134}
135
136#main_navbar a:link, #main_navbar a:visited { color: #660000; border: 0; }
137
138#main_navbar a:hover, #main_navbar a:focus {
139  color: #FFFF66;
140  background: #CCCCFF;
141  border-bottom: 1px none #606099; 
142  border: 0;
143}
144
145#secondary_navbar {
146  font-size: 80%;
147  font-weight: normal;
148  font-family: Arial, Helvetica, sans-serif;
149  margin-top: 4px;
150  margin-left: 20px;
151  white-space: nowrap;
152}
153
154
155/* Tagline and footer styles ------------------------------------------------- */
156
157div#tagline {
158  margin-top: 6px;
159  border-top: 1px dotted lightsteelblue;
160  padding-top: 6px;
161  font-size: 66%;
162  font-style: italic;
163}
164
165div#footer {
166  margin-top: 6px;
167  border-top: 1px dotted lightsteelblue;
168  padding-top: 6px;
169  font-size: 66%;
170  font-style: italic;
171}
172
173/* Basic data presenation styles -------------------------------------------- */
174
175.index_letter { 
176  font-size: 300%;
177  font-weight: bold;
178  color: #000066; 
179  margin: 0.5em 0 0 -0.1em;
180}
181
182h1, h2, h3, h4 {
183  font-weight: normal;
184  color: #3333CC;
185}
186
187h1 {
188  padding-top: 0.75em;
189  font-size: 160%;
190}
191
192h2 {
193  padding-top: 1em;
194  font-size: 120%;
195  }
196
197h3 {
198  padding-top: 0.75em;
199  margin-bottom: 0.25em;
200  font-size: 100%;
201}
202
203h4 {
204  padding: 0;
205  margin: 0.5em 0 0 0;
206  font-size: 80%;
207}
208
209table.basic {
210  empty-cells: show;
211  margin: 1.5em 1em 0 1em;
212  border: 1px dotted #CFCFFF;
213  font-size: 80%;
214}
215
216table.basic th {
217  background-color: #F0F0FF;
218  font-weight: bold;
219  text-align: left;
220  padding: 4px 1em 4px 4px;
221  border-bottom: 1px dotted #666699;
222}
223
224table.basic td {
225  vertical-align: top;
226  padding: 4px 1em 4px 4px;
227}
228
229dd {
230  margin-bottom: 0.25em;
231  font-size: 80%;
232}
233
234
235/* Warnings styles ----------------------------------------------------------- */
236
237
238#todo dl, #bugs dl { 
239  margin: 0 0 0 1.5em;
240  font-size: 80%;
241}
242
243#todo dd, #bugs dd { 
244  margin-left: 3em; 
245  font-size: 100%;
246}
247
248#undoc table, #obsolete table, #statistics table {
249  width: 80%;
250  margin-left: 2em;
251}
252
253#undoc td, #obsolete td, #statistics td { 
254  padding: 0 0 0 0;
255  font-size: 80%;
256  white-space: nowrap;
257}
258
259#undoc td.docroutine, #obsolete td.obsroutine, #statistics td.statroutine { width: 50%; }
260
261#undoc td.docstat, #statistics td.stat { 
262  width: 50%;
263  text-align: right;
264}
265
266#undoc td.partialdoc, #statistics td.caution { color: #CC6600; }
267
268#undoc td.notdoc, #statistics td.warning { color: #993333; }
269
270/* File + routine styles ----------------------------------------------------- */
271
272h1.directory { 
273  padding: 1em 0 0 0;
274  margin: 0;
275  font-size: 66%;
276}
277
278h1.directory a { border-bottom: 0; }
279
280h2.pro_file { 
281  padding: 0;
282  margin: 0;
283  font-size: 140%;
284}
285
286div#file_attr {
287  padding: 0 1em 0 1em;
288  margin: 1em;
289  background: #F6F6F6;
290  border: 1px dotted #999999;
291}
292
293div#file_attr dt {
294  font-size: 80%;
295  font-weight: bold;
296}
297
298div#file_attr dd {
299  font-size: 80%;
300}
301
302div#class_diagram { 
303  padding: 1em 0 1em 0; 
304  white-space: pre;
305  font-family: 'Courier New';
306}
307
308table#sav_attr { 
309  font-size: 90%; 
310  margin: 1em; 
311  padding: 1em 1em 1em 1em;
312  background: #F6F6F6;
313  border: 1px dotted #999999;
314}
315
316table#sav_attr th { text-align: left; }
317
318table#sav_attr td { vertical-align: top; padding-right: 2em; }
319
320table#sav_attr td.value { width: 20em; padding-right: 0em; font-style: italic; }
321
322p.sav_warning { margin-left: 4em; font-family: 80%; }
323
324table.variables { 
325  font-family: 'Courier New', monospace; 
326  font-size: 80%; 
327  text-indent: -2em; 
328  padding-left: 2em; 
329}
330
331table.variables td.image { width: 64px; }
332
333div#file_comments { white-space: pre; 
334  margin: 2em;
335  font-size: 80%;
336}
337
338
339div.field_summary {
340  padding: 0 1em 0 1em;
341  margin: 1em;
342  background: #FFFFF0;
343  border: 1px dotted #C0C000;
344}
345
346div#routine_summary { 
347  padding: 0 1em 0 1em;
348  margin: 1em;
349  background: #F0F0FF;
350  border: 1px dotted #9999FF;
351}
352
353div.field_summary h2, div#routine_summary h2 { 
354  padding: 0.5em 0 0 0;
355  margin: 0;
356}
357
358div.field_summary table, div.field_summary p { 
359  margin: 1em 1em;
360}
361
362div.field_summary td.name { 
363  vertical-align: top;
364  padding-bottom: 0.25em;
365  color: #3333CC;
366}
367
368div.field_summary span.field_type { 
369  font-weight: normal;
370  font-size: 80%;
371  color: black;
372}
373
374div.field_summary td.comments { 
375  vertical-align: top;
376  padding-left: 2em;
377  font-size: 80%;
378}
379
380p.commaList { 
381  margin: 1em 1em 1em 1em;
382}
383
384span.warning { 
385  color: #CC6633;
386  font-weight: bold;
387  font-size: 66%;
388  text-transform: uppercase;
389}
390
391span.categories { 
392  color: #006633;
393  font-weight: bold;
394  font-size: 66%;
395  text-transform: uppercase;
396}
397
398span.undoc { 
399  color: #FF6633;
400  font-weight: bold;
401  font-size: 80%;
402  text-transform: uppercase;
403}
404
405span.attr { 
406  color: #006633;
407  font-weight: bold;
408  font-size: 80%;
409  text-transform: uppercase;
410}
411
412span.value { 
413  color: #006633;
414  font-weight: normal;
415  text-transform: none;
416}
417
418a.top { 
419  font-weight: bold;
420  font-size: 66%;
421  text-transform: uppercase;
422  float: right;
423}
424
425span.result { 
426  font-family: Verdana, Arial, Helvetica, sans-serif;
427  font-style: italic;
428  font-size: 80%;
429}
430
431div#routine_summary p, div.routine_details p.header { 
432  padding-top: 0.5em;
433  margin-left: 1.5em;
434  text-indent: -1.5em;
435  font-family: 'Courier New', monospace;
436}
437
438div.routine_details { 
439  padding: 0.5em 1em 0.5em 1em;
440  margin: 1em;
441  border: 1px dotted #CCCCCC;
442}
443
444div.routine_details h2 { 
445  padding-top: 0;
446  margin-top: 0;
447}
448
449div.routine_details div.value { 
450  margin: 0 1em 0 1em;
451  font-size: 80%;
452}
453
454div.routine_details div.comments { 
455  font-size: 80%;
456  margin: 0.75em 1em 1em 1em;
457}
458
459div.routine_details div.preformat { 
460  white-space: pre;
461}
462
463table.statistics { 
464  font-size: 80%;
465  margin-left: 1em;
466}
467
468table.statistics td { 
469  padding: 0 2em 0 0;
470}
471
472/* Overview styles ----------------------------------------------------------- */
473
474div.overview { 
475  width: 100%;
476  margin-top: 1em;
477  clear: both;
478}
479
480div.overview table {
481  empty-cells: show;
482  font-size: 90%;
483  margin: 1em 1em 1em 1em;
484  padding: 1em 0.5em 1em 0.5em;
485  background: #F6F6F6;
486  border: 1px dotted #999999;
487}
488
489div.overview td {
490  padding: 3px 1em 3px 1em;
491}
492
493div.overview td.dir {
494  width: 1%;
495  vertical-align: top;
496  text-align: right;
497  padding-right: 1em;
498}
499
500
501/* Navigation list styles for tree structures -------------------------------- */
502
503#tree {
504  text-align: left;
505  font-size: 90%;
506  margin: 0.75em 0 0.75em 0;
507  padding: 0;
508}
509
510#tree ul {
511  text-align: left;
512  margin: 0;
513  padding: 0;
514}
515
516#tree li {
517  margin: 0 0 0 15px;
518  padding: 0;
519  list-style-type: none;
520}
521
522#tree .symbols {
523  float: left;
524  width: 12px;
525  height: 1em;
526  padding-left: 4px;
527  background-position: 0 100%;
528  background-repeat: no-repeat;
529}
530
531/* Search styles ------------------------------------------------------------- */
532
533input.writein { 
534  padding-left: 0.5em;
535  border: 1px solid #CCCCCC;
536  font-family: 'Courier New';
537  background: #FFFFF3;
538}
539
540#search form { 
541  margin-left: 2em;
542}
543
544#search table { 
545  margin: 1em 1em 0 2em;
546  padding: 1em 2em 1em 2em;
547  background: #F6F6F6;
548  border: 1px dotted #999999;
549}
550
551#search tr { 
552  text-align: center;
553}
554
555#search td { 
556  font-size: 80%; 
557  text-align: left;
558}
559
560#search td * { 
561  vertical-align: middle;
562}
563
564#search p { 
565  font-size: 66%;
566  margin: 0 3em 2em 3em;
567}
568
569/* Help styles --------------------------------------------------------------- */
570
571div.toc { 
572  padding: 0 1em 0 1em;
573  margin: 1em;
574  background: #F0F0FF;
575  border: 1px dotted #9999FF; 
576  width: 19em;
577}
578
579div.right { 
580  float: right;
581  width: 22em;
582}
583
584ol.toc { 
585  list-style-type: upper-roman;
586}
587
588ol.toc ol { 
589  padding-left: 3em;
590  margin-left: 0;
591  list-style-type: lower-alpha;
592}
593
594dl.variables dt { font-size: 80%; }
595dl.variables dd { margin-bottom: 0.5em; }
596
597    </style>
598    <style type="text/css" media="print">
599      #navbar_title { 
600  background-color: #FFFFFF; 
601}
602
603#main_navbar td {
604  background: #FFFFFF;
605  border-top: 0.25em solid #FFFFFF;
606  border-bottom: 0.25em solid #FFFFFF;
607}
608
609#main_navbar td#selected {
610  background: #FFFFFF;
611  border-top: 0.25em solid #333399;
612  border-bottom: 0.25em solid #FFFFFF;
613}
614
615#main_navbar td#flexible {
616  background: #FFFFFF;
617  border-top: 0.25em solid #FFFFFF;
618  border-bottom: 0.25em solid #FFFFFF;
619}
620
621#secondary_navbar {
622  display: none;
623}
624
625    </style>
626   
627
628    <script type="text/javascript">
629      function setTitle() {
630        parent.document.title="cw_bgroup.pro (SAXO Documentation)";
631      }
632    </script>
633  </head>
634
635  <body onload="setTitle();">
636
637    <div id="navbar_title">
638  <h1>SAXO Documentation</h1>
639</div>
640
641
642<div id="main_navbar">
643
644  <table cellspacing="0">
645    <tr>
646     
647      <td><a href="./../../../overview.html?format=raw" title="Overview of library">Overview</a></td>
648     
649
650     
651      <td >Directory</td>
652     
653
654     
655      <td><a href="./../../../idldoc-categories.html?format=raw" title="Browse library by category">Categories</a></td>
656     
657
658     
659      <td><a href="./../../../idldoc-index.html?format=raw" title="Index of files, routines, and parameters">Index</a></td>
660     
661
662     
663      <td><a href="./../../../search-page.html?format=raw" title="Search library">Search</a></td>
664     
665
666      <td id="selected">File</td>
667
668     
669      <td >Source</td>
670     
671
672     
673      <td><a href="./../../../idldoc-help.html?format=raw" title="Help on IDLdoc">Help</a></td>
674     
675
676      <td >Etc</td>
677
678      <td id="flexible">Developer&nbsp;documentation</td>
679    </tr>
680  </table>
681
682</div>
683
684<div id="secondary_navbar">
685
686&lt;&lt; prev file | <a href="cw_calendar.html?format=raw">next file &gt;&gt;</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="cw_bgroup.html?format=raw" target="_TOP">view single page</a> | <a href="./../../../index.html?format=raw" target="_TOP">view frames</a>&nbsp;&nbsp;&nbsp;&nbsp;summary: fields | <a href="#routine_summary">routine</a>&nbsp;&nbsp;&nbsp;&nbsp;details: <a href="#routine_details">routine</a>
687
688</div>
689
690
691    <div id="container">
692
693      <h1 class="directory"><a href="directory-overview.html?format=raw">ToBeReviewed/WIDGET/COMPOUND_WIDGET/</a></h1>
694      <h2 class="pro_file">cw_bgroup.pro</h2>
695
696      <div id="file_attr">
697        <dl>
698        </dl>
699      </div>
700
701      <div id="file_comments">
702
703
704
705 Compound widget
706
707
708 Compound widget
709
710
711 CW_BGROUP is a compound widget that simplifies creating
712 a base of buttons. It handles the details of creating the
713 proper base (standard, exclusive, or non-exclusive) and filling
714 in the desired buttons. Events for the individual buttons are
715 handled transparently, and a CW_BGROUP event returned. This
716 event can return any one of the following:
717      - The Index of the button within the base.
718      - The widget ID of the button.
719      - The name of the button.
720      - An arbitrary value taken from an array of User values.
721</div>
722
723     
724
725     
726
727     
728
729     
730      <div id="routine_summary">               
731        <h2>Routine summary</h2>
732       
733        <dl>
734         
735          <dt><p><a href="#_cw_bgroup_setv">cw_bgroup_setv<span class="result">, id, value</span></a></p><dt>
736          <dd></dd>     
737         
738          <dt><p><a href="#_cw_bgroup_getv"><span class="result">result = </span>cw_bgroup_getv(<span class="result">id, value</span>)</a></p><dt>
739          <dd></dd>     
740         
741          <dt><p><a href="#_cw_bgroup_event"><span class="result">result = </span>cw_bgroup_event(<span class="result">ev</span>)</a></p><dt>
742          <dd></dd>     
743         
744          <dt><p><a href="#_cw_bgroup"><span class="result">result = </span>cw_bgroup(<span class="result">parent, names</span>, BUTTON_UVALUE=<span class="result">array</span>, COLUMN=<span class="result">COLUMN</span>, EVENT_FUNCT=<span class="result">EVENT_FUNCT</span>, EXCLUSIVE=<span class="result">EXCLUSIVE</span>, FONT=<span class="result">FONT</span>, FRAME=<span class="result">FRAME</span>, IDS=<span class="result">IDS</span>, LABEL_TOP=<span class="result">LABEL_TOP</span>, LABEL_LEFT=<span class="result">LABEL_LEFT</span>, MAP=<span class="result">MAP</span>, NONEXCLUSIVE=<span class="result">NONEXCLUSIVE</span>, NO_RELEASE=<span class="result">NO_RELEASE</span>, RETURN_ID=<span class="result">RETURN_ID</span>, RETURN_INDEX=<span class="result">RETURN_INDEX</span>, RETURN_NAME=<span class="result">RETURN_NAME</span>, ROW=<span class="result">ROW</span>, SCROLL=<span class="result">SCROLL</span>, SET_VALUE=<span class="result">SET_VALUE</span>, SPACE=<span class="result">SPACE</span>, TAB_MODE=<span class="result">TAB_MODE</span>, UVALUE=<span class="result">UVALUE</span>, XOFFSET=<span class="result">XOFFSET</span>, XPAD=<span class="result">XPAD</span>, XSIZE=<span class="result">XSIZE</span>, X_SCROLL_SIZE=<span class="result">X_SCROLL_SIZE</span>, YOFFSET=<span class="result">YOFFSET</span>, YPAD=<span class="result">YPAD</span>, YSIZE=<span class="result">YSIZE</span>, Y_SCROLL_SIZE=<span class="result">Y_SCROLL_SIZE</span>, UNAME=<span class="result">UNAME</span>)</a></p><dt>
745          <dd></dd>     
746               
747        </dl>
748      </div>
749     
750
751      <div id="routine_details">
752       
753
754        <div class="routine_details" id="_cw_bgroup_setv">
755
756          <h2><a class="top" href="#container">top</a>cw_bgroup_setv <span class="categories">
757 Compound widget
758 </span></h2>
759       
760          <p class="header">
761            cw_bgroup_setv<span class="result">, <a href="#_cw_bgroup_setv_param_id">id</a>, <a href="#_cw_bgroup_setv_param_value">value</a></span></p>
762       
763          <div class="comments"></div>
764
765          <h3>Return value</h3><div class="preformat">
766 
767 </div>
768
769         
770            <h3>Parameters</h3>
771       
772           
773            <h4 id="_cw_bgroup_setv_param_id">id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
774             
775             
776             
777             
778             
779             
780             
781             
782            </h4>
783       
784          <div class="comments">
785
786</div>
787           
788            <h4 id="_cw_bgroup_setv_param_value">value&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
789             
790             
791             
792             
793             
794             
795             
796             
797            </h4>
798       
799          <div class="comments">
800 It is the default tick mark value (a floating-point number).
801</div>
802           
803
804         
805
806         
807
808          <h3>Examples</h3><div class="preformat">
809 
810 </div>
811          <h3>Version history</h3>
812         
813          <h4>Version</h4><div class="preformat"> 
814 $Id: cw_bgroup.pro 157 2006-08-21 09:01:50Z navarro $</div>
815          <h4>History</h4><div class="preformat">
816 
817 </div>
818         
819         
820          <h3>Known issues</h3>
821         
822         
823         
824          <h4>Restrictions</h4><div class="preformat">
825 
826 </div>
827       
828          <h3>Other attributes</h3>
829         
830         
831          <h4>Uses routines</h4><div class="preformat">
832 
833 </div>
834         
835         
836         
837       
838          <h3>Statistics</h3>
839          <table class="statistics">
840            <tr><td>McCabe cyclic</td><td>           5</td></tr>
841            <tr><td>McCabe essential</td><td>           1</td></tr>
842            <tr><td>McCabe modular design</td><td>           1</td></tr>
843          </table>
844         
845       
846        </div>
847       
848
849        <div class="routine_details" id="_cw_bgroup_getv">
850
851          <h2><a class="top" href="#container">top</a>cw_bgroup_getv <span class="categories">
852
853 </span></h2>
854       
855          <p class="header">
856            <span class="result">result = </span>cw_bgroup_getv(<span class="result"><a href="#_cw_bgroup_getv_param_id">id</a>, <a href="#_cw_bgroup_getv_param_value">value</a></span>)</p>
857       
858          <div class="comments"></div>
859
860          <h3>Return value</h3><div class="preformat">
861 
862 </div>
863
864         
865            <h3>Parameters</h3>
866       
867           
868            <h4 id="_cw_bgroup_getv_param_id">id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
869             
870             
871             
872             
873             
874             
875             
876             
877            </h4>
878       
879          <div class="comments">
880
881</div>
882           
883            <h4 id="_cw_bgroup_getv_param_value">value&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
884             
885             
886             
887             
888             
889             
890             
891             
892            </h4>
893       
894          <div class="comments">
895 It is the default tick mark value (a floating-point number).
896</div>
897           
898
899         
900
901         
902
903          <h3>Examples</h3><div class="preformat">
904 
905 </div>
906          <h3>Version history</h3>
907         
908          <h4>Version</h4><div class="preformat"> 
909 $Id: cw_bgroup.pro 157 2006-08-21 09:01:50Z navarro $</div>
910          <h4>History</h4><div class="preformat">
911 
912 </div>
913         
914         
915          <h3>Known issues</h3>
916         
917         
918         
919          <h4>Restrictions</h4><div class="preformat">
920 
921 </div>
922       
923          <h3>Other attributes</h3>
924         
925         
926          <h4>Uses routines</h4><div class="preformat">
927 
928 </div>
929         
930         
931         
932       
933          <h3>Statistics</h3>
934          <table class="statistics">
935            <tr><td>McCabe cyclic</td><td>           6</td></tr>
936            <tr><td>McCabe essential</td><td>           1</td></tr>
937            <tr><td>McCabe modular design</td><td>           1</td></tr>
938          </table>
939         
940       
941        </div>
942       
943
944        <div class="routine_details" id="_cw_bgroup_event">
945
946          <h2><a class="top" href="#container">top</a>cw_bgroup_event <span class="categories">
947
948 </span></h2>
949       
950          <p class="header">
951            <span class="result">result = </span>cw_bgroup_event(<span class="result"><a href="#_cw_bgroup_event_param_ev">ev</a></span>)</p>
952       
953          <div class="comments"></div>
954
955          <h3>Return value</h3><div class="preformat">
956 
957 </div>
958
959         
960            <h3>Parameters</h3>
961       
962           
963            <h4 id="_cw_bgroup_event_param_ev">ev&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
964             
965             
966             
967             
968             
969             
970             
971             
972            </h4>
973       
974          <div class="comments">
975
976</div>
977           
978
979         
980
981         
982
983          <h3>Examples</h3><div class="preformat">
984 
985 </div>
986          <h3>Version history</h3>
987         
988          <h4>Version</h4><div class="preformat"> 
989 $Id: cw_bgroup.pro 157 2006-08-21 09:01:50Z navarro $</div>
990          <h4>History</h4><div class="preformat">
991 
992 </div>
993         
994         
995          <h3>Known issues</h3>
996         
997         
998         
999          <h4>Restrictions</h4><div class="preformat">
1000 
1001 </div>
1002       
1003          <h3>Other attributes</h3>
1004         
1005         
1006          <h4>Uses routines</h4><div class="preformat">
1007 
1008 </div>
1009         
1010         
1011         
1012       
1013          <h3>Statistics</h3>
1014          <table class="statistics">
1015            <tr><td>McCabe cyclic</td><td>           9</td></tr>
1016            <tr><td>McCabe essential</td><td>           4</td></tr>
1017            <tr><td>McCabe modular design</td><td>           4</td></tr>
1018          </table>
1019         
1020       
1021        </div>
1022       
1023
1024        <div class="routine_details" id="_cw_bgroup">
1025
1026          <h2><a class="top" href="#container">top</a>cw_bgroup <span class="categories">
1027 Compound widget
1028</span></h2>
1029       
1030          <p class="header">
1031            <span class="result">result = </span>cw_bgroup(<span class="result"><a href="#_cw_bgroup_param_parent">parent</a>, <a href="#_cw_bgroup_param_names">names</a></span>, <a href="#_cw_bgroup_keyword_BUTTON_UVALUE">BUTTON_UVALUE</a>=<span class="result">array</span>, <a href="#_cw_bgroup_keyword_COLUMN">COLUMN</a>=<span class="result">COLUMN</span>, <a href="#_cw_bgroup_keyword_EVENT_FUNCT">EVENT_FUNCT</a>=<span class="result">EVENT_FUNCT</span>, <a href="#_cw_bgroup_keyword_EXCLUSIVE">EXCLUSIVE</a>=<span class="result">EXCLUSIVE</span>, <a href="#_cw_bgroup_keyword_FONT">FONT</a>=<span class="result">FONT</span>, <a href="#_cw_bgroup_keyword_FRAME">FRAME</a>=<span class="result">FRAME</span>, <a href="#_cw_bgroup_keyword_IDS">IDS</a>=<span class="result">IDS</span>, <a href="#_cw_bgroup_keyword_LABEL_TOP">LABEL_TOP</a>=<span class="result">LABEL_TOP</span>, <a href="#_cw_bgroup_keyword_LABEL_LEFT">LABEL_LEFT</a>=<span class="result">LABEL_LEFT</span>, <a href="#_cw_bgroup_keyword_MAP">MAP</a>=<span class="result">MAP</span>, <a href="#_cw_bgroup_keyword_NONEXCLUSIVE">NONEXCLUSIVE</a>=<span class="result">NONEXCLUSIVE</span>, <a href="#_cw_bgroup_keyword_NO_RELEASE">NO_RELEASE</a>=<span class="result">NO_RELEASE</span>, <a href="#_cw_bgroup_keyword_RETURN_ID">RETURN_ID</a>=<span class="result">RETURN_ID</span>, <a href="#_cw_bgroup_keyword_RETURN_INDEX">RETURN_INDEX</a>=<span class="result">RETURN_INDEX</span>, <a href="#_cw_bgroup_keyword_RETURN_NAME">RETURN_NAME</a>=<span class="result">RETURN_NAME</span>, <a href="#_cw_bgroup_keyword_ROW">ROW</a>=<span class="result">ROW</span>, <a href="#_cw_bgroup_keyword_SCROLL">SCROLL</a>=<span class="result">SCROLL</span>, <a href="#_cw_bgroup_keyword_SET_VALUE">SET_VALUE</a>=<span class="result">SET_VALUE</span>, <a href="#_cw_bgroup_keyword_SPACE">SPACE</a>=<span class="result">SPACE</span>, <a href="#_cw_bgroup_keyword_TAB_MODE">TAB_MODE</a>=<span class="result">TAB_MODE</span>, <a href="#_cw_bgroup_keyword_UVALUE">UVALUE</a>=<span class="result">UVALUE</span>, <a href="#_cw_bgroup_keyword_XOFFSET">XOFFSET</a>=<span class="result">XOFFSET</span>, <a href="#_cw_bgroup_keyword_XPAD">XPAD</a>=<span class="result">XPAD</span>, <a href="#_cw_bgroup_keyword_XSIZE">XSIZE</a>=<span class="result">XSIZE</span>, <a href="#_cw_bgroup_keyword_X_SCROLL_SIZE">X_SCROLL_SIZE</a>=<span class="result">X_SCROLL_SIZE</span>, <a href="#_cw_bgroup_keyword_YOFFSET">YOFFSET</a>=<span class="result">YOFFSET</span>, <a href="#_cw_bgroup_keyword_YPAD">YPAD</a>=<span class="result">YPAD</span>, <a href="#_cw_bgroup_keyword_YSIZE">YSIZE</a>=<span class="result">YSIZE</span>, <a href="#_cw_bgroup_keyword_Y_SCROLL_SIZE">Y_SCROLL_SIZE</a>=<span class="result">Y_SCROLL_SIZE</span>, <a href="#_cw_bgroup_keyword_UNAME">UNAME</a>=<span class="result">UNAME</span>)</p>
1032       
1033          <div class="comments"></div>
1034
1035          <h3>Return value</h3><div class="preformat">
1036 The ID of the created widget is returned.
1037</div>
1038
1039         
1040            <h3>Parameters</h3>
1041       
1042           
1043            <h4 id="_cw_bgroup_param_parent">parent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1044              <span class="attr">in</span>
1045             
1046             
1047              <span class="attr">required</span>
1048             
1049             
1050             
1051             
1052            </h4>
1053       
1054          <div class="comments">
1055 The ID of the parent widget.
1056 </div>
1057           
1058            <h4 id="_cw_bgroup_param_names">names&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1059             
1060             
1061             
1062             
1063             
1064              <span class="attr">type:</span> <span class="value">string array</span>
1065             
1066             
1067            </h4>
1068       
1069          <div class="comments">
1070 A string array, containing one string per button,
1071 giving the name of each button.
1072</div>
1073           
1074
1075         
1076
1077         
1078
1079            <h3>Keywords</h3>
1080           
1081            <h4 id="_cw_bgroup_keyword_BUTTON_UVALUE">BUTTON_UVALUE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1082             
1083             
1084             
1085             
1086             
1087              <span class="attr">type:</span> <span class="value">array</span>
1088             
1089             
1090            </h4>
1091       
1092            <div class="comments">
1093 An array of user values to be associated with
1094 each button and returned in the event structure.
1095 </div>
1096           
1097            <h4 id="_cw_bgroup_keyword_COLUMN">COLUMN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1098             
1099             
1100             
1101             
1102             
1103             
1104             
1105             
1106            </h4>
1107       
1108            <div class="comments">
1109 Buttons will be arranged in the number of columns
1110 specified by this keyword.
1111 </div>
1112           
1113            <h4 id="_cw_bgroup_keyword_EVENT_FUNCT">EVENT_FUNCT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1114             
1115             
1116             
1117             
1118             
1119             
1120             
1121             
1122            </h4>
1123       
1124            <div class="comments">
1125 The name of an optional user-supplied event function
1126 for buttons. This function is called with the return
1127 value structure whenever a button is pressed, and
1128 follows the conventions for user-written event functions.
1129 </div>
1130           
1131            <h4 id="_cw_bgroup_keyword_EXCLUSIVE">EXCLUSIVE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1132             
1133             
1134             
1135             
1136             
1137             
1138             
1139             
1140            </h4>
1141       
1142            <div class="comments">
1143 Buttons will be placed in an exclusive base, with
1144 only one button allowed to be selected at a time.
1145 </div>
1146           
1147            <h4 id="_cw_bgroup_keyword_FONT">FONT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1148             
1149             
1150             
1151             
1152             
1153             
1154             
1155             
1156            </h4>
1157       
1158            <div class="comments">
1159 The name of the font to be used for the button
1160 titles. If this keyword is not specified, the default
1161 font is used.
1162 </div>
1163           
1164            <h4 id="_cw_bgroup_keyword_FRAME">FRAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1165             
1166             
1167             
1168             
1169             
1170             
1171             
1172             
1173            </h4>
1174       
1175            <div class="comments">
1176 Specifies the width of the frame to be drawn around the base.
1177 </div>
1178           
1179            <h4 id="_cw_bgroup_keyword_IDS">IDS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1180             
1181             
1182             
1183             
1184             
1185             
1186             
1187             
1188            </h4>
1189       
1190            <div class="comments">
1191 A named variable into which the button IDs will be
1192 stored, as a longword vector.
1193 </div>
1194           
1195            <h4 id="_cw_bgroup_keyword_LABEL_TOP">LABEL_TOP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1196             
1197             
1198             
1199             
1200             
1201             
1202             
1203             
1204            </h4>
1205       
1206            <div class="comments">
1207 Creates a text label above the buttons.
1208 </div>
1209           
1210            <h4 id="_cw_bgroup_keyword_LABEL_LEFT">LABEL_LEFT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1211             
1212             
1213             
1214             
1215             
1216             
1217             
1218             
1219            </h4>
1220       
1221            <div class="comments">
1222 Creates a text label to the left of the buttons.
1223 </div>
1224           
1225            <h4 id="_cw_bgroup_keyword_MAP">MAP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1226             
1227             
1228             
1229             
1230             
1231             
1232             
1233             
1234            </h4>
1235       
1236            <div class="comments">
1237 If set, the base will be mapped when the widget
1238 is realized (the default).
1239 </div>
1240           
1241            <h4 id="_cw_bgroup_keyword_NONEXCLUSIVE">NONEXCLUSIVE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1242             
1243             
1244             
1245             
1246             
1247             
1248             
1249             
1250            </h4>
1251       
1252            <div class="comments">
1253 Buttons will be placed in an non-exclusive base.
1254 The buttons will be independent.
1255 </div>
1256           
1257            <h4 id="_cw_bgroup_keyword_NO_RELEASE">NO_RELEASE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1258             
1259             
1260             
1261             
1262             
1263             
1264             
1265             
1266            </h4>
1267       
1268            <div class="comments">
1269 If set, button release events will not be returned.
1270 </div>
1271           
1272            <h4 id="_cw_bgroup_keyword_RETURN_ID">RETURN_ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1273             
1274             
1275             
1276             
1277             
1278             
1279             
1280             
1281            </h4>
1282       
1283            <div class="comments">
1284 If set, the VALUE field of returned events will be
1285 the widget ID of the button.
1286 </div>
1287           
1288            <h4 id="_cw_bgroup_keyword_RETURN_INDEX">RETURN_INDEX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1289             
1290             
1291             
1292             
1293             
1294             
1295             
1296             
1297            </h4>
1298       
1299            <div class="comments">
1300 If set, the VALUE field of returned events will be
1301 the zero-based index of the button within the base.
1302 THIS IS THE DEFAULT.
1303 </div>
1304           
1305            <h4 id="_cw_bgroup_keyword_RETURN_NAME">RETURN_NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1306             
1307             
1308             
1309             
1310             
1311             
1312             
1313             
1314            </h4>
1315       
1316            <div class="comments">
1317 If set, the VALUE field of returned events will be
1318 the name of the button within the base.
1319 </div>
1320           
1321            <h4 id="_cw_bgroup_keyword_ROW">ROW&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1322             
1323             
1324             
1325             
1326             
1327             
1328             
1329             
1330            </h4>
1331       
1332            <div class="comments">
1333 Buttons will be arranged in the number of rows
1334 specified by this keyword.
1335 </div>
1336           
1337            <h4 id="_cw_bgroup_keyword_SCROLL">SCROLL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1338             
1339             
1340             
1341             
1342             
1343             
1344             
1345             
1346            </h4>
1347       
1348            <div class="comments">
1349 If set, the base will include scroll bars to allow
1350 viewing a large base through a smaller viewport.
1351 </div>
1352           
1353            <h4 id="_cw_bgroup_keyword_SET_VALUE">SET_VALUE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1354             
1355             
1356             
1357             
1358             
1359             
1360             
1361             
1362            </h4>
1363       
1364            <div class="comments">
1365 The initial value of the buttons. This is equivalent
1366 to the later statement:
1367
1368 WIDGET_CONTROL, widget, set_value=value
1369</div>
1370           
1371            <h4 id="_cw_bgroup_keyword_SPACE">SPACE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1372             
1373             
1374             
1375             
1376             
1377             
1378             
1379             
1380            </h4>
1381       
1382            <div class="comments">
1383 The space, in pixels, to be left around the edges
1384 of a row or column major base. This keyword is
1385 ignored if EXCLUSIVE or NONEXCLUSIVE are specified.
1386 </div>
1387           
1388            <h4 id="_cw_bgroup_keyword_TAB_MODE">TAB_MODE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1389             
1390             
1391             
1392             
1393             
1394             
1395             
1396             
1397            </h4>
1398       
1399            <div class="comments"></div>
1400           
1401            <h4 id="_cw_bgroup_keyword_UVALUE">UVALUE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1402             
1403             
1404             
1405             
1406             
1407             
1408             
1409             
1410            </h4>
1411       
1412            <div class="comments">
1413 The user value to be associated with the widget.
1414 </div>
1415           
1416            <h4 id="_cw_bgroup_keyword_XOFFSET">XOFFSET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1417             
1418             
1419             
1420             
1421             
1422             
1423             
1424             
1425            </h4>
1426       
1427            <div class="comments">
1428 The X offset of the widget relative to its parent.
1429 </div>
1430           
1431            <h4 id="_cw_bgroup_keyword_XPAD">XPAD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1432             
1433             
1434             
1435             
1436             
1437             
1438             
1439             
1440            </h4>
1441       
1442            <div class="comments">
1443 The horizontal space, in pixels, between children
1444 of a row or column major base. Ignored if EXCLUSIVE
1445 or NONEXCLUSIVE are specified.
1446 </div>
1447           
1448            <h4 id="_cw_bgroup_keyword_XSIZE">XSIZE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1449             
1450             
1451             
1452             
1453             
1454             
1455             
1456             
1457            </h4>
1458       
1459            <div class="comments">
1460 The width of the base.</div>
1461           
1462            <h4 id="_cw_bgroup_keyword_X_SCROLL_SIZE">X_SCROLL_SIZE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1463             
1464             
1465             
1466             
1467             
1468             
1469             
1470             
1471            </h4>
1472       
1473            <div class="comments">
1474 The width of the viewport if SCROLL is specified.
1475 </div>
1476           
1477            <h4 id="_cw_bgroup_keyword_YOFFSET">YOFFSET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1478             
1479             
1480             
1481             
1482             
1483             
1484             
1485             
1486            </h4>
1487       
1488            <div class="comments">
1489 The Y offset of the widget relative to its parent.
1490 </div>
1491           
1492            <h4 id="_cw_bgroup_keyword_YPAD">YPAD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1493             
1494             
1495             
1496             
1497             
1498             
1499             
1500             
1501            </h4>
1502       
1503            <div class="comments">
1504 The vertical space, in pixels, between children of
1505 a row or column major base. Ignored if EXCLUSIVE
1506 or NONEXCLUSIVE are specified.
1507 </div>
1508           
1509            <h4 id="_cw_bgroup_keyword_YSIZE">YSIZE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1510             
1511             
1512             
1513             
1514             
1515             
1516             
1517             
1518            </h4>
1519       
1520            <div class="comments">
1521 The height of the base.
1522 </div>
1523           
1524            <h4 id="_cw_bgroup_keyword_Y_SCROLL_SIZE">Y_SCROLL_SIZE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1525             
1526             
1527             
1528             
1529             
1530             
1531             
1532             
1533            </h4>
1534       
1535            <div class="comments">
1536 The height of the viewport if SCROLL is specified.
1537</div>
1538           
1539            <h4 id="_cw_bgroup_keyword_UNAME">UNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1540             
1541             
1542             
1543             
1544             
1545             
1546             
1547             
1548            </h4>
1549       
1550            <div class="comments">
1551 The user name to be associated with the widget.
1552 </div>
1553           
1554         
1555
1556         
1557          <h3>Version history</h3>
1558         
1559          <h4>Version</h4><div class="preformat">
1560 $Id: cw_bgroup.pro 157 2006-08-21 09:01:50Z navarro $
1561</div>
1562          <h4>History</h4><div class="preformat">
1563 15 June 1992, AB
1564 7 April 1993, AB, Removed state caching.
1565 6 Oct. 1994, KDB, Font keyword is not applied to the label.
1566 10 FEB 1995, DJC  fixed bad bug in event procedure, getting
1567                         id of stash widget.
1568 11 April 1995, AB Removed Motif special cases.
1569
1570 Copyright (c) 1992-2005, Research Systems, Inc.  All rights reserved.
1571   Unauthorized reproduction prohibited.
1572</div>
1573         
1574         
1575          <h3>Known issues</h3>
1576         
1577         
1578         
1579          <h4>Restrictions</h4><div class="preformat">
1580 This widget generates event structures with the following definition:
1581
1582       event = { ID:0L, TOP:0L, HANDLER:0L, SELECT:0, VALUE:0 }
1583
1584 The SELECT field is passed through from the button event. VALUE is
1585 either the INDEX, ID, NAME, or BUTTON_UVALUE of the button,
1586 depending on how the widget was created.
1587
1588
1589 Only buttons with textual names are handled by this widget.
1590 Bitmaps are not understood.
1591</div>
1592       
1593         
1594         
1595         
1596         
1597         
1598         
1599         
1600       
1601          <h3>Statistics</h3>
1602          <table class="statistics">
1603            <tr><td>McCabe cyclic</td><td>          41</td></tr>
1604            <tr><td>McCabe essential</td><td>           1</td></tr>
1605            <tr><td>McCabe modular design</td><td>           1</td></tr>
1606          </table>
1607         
1608       
1609        </div>
1610       
1611      </div>
1612
1613     
1614
1615      <div id="tagline">Produced by IDLdoc 2.0.</div>
1616
1617    </div>
1618
1619  </body>
1620</html>
Note: See TracBrowser for help on using the repository browser.