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

Last change on this file was 338, checked in by smasson, 16 years ago

update documentation

File size: 23.5 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    <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_bgroup.pro (SAXO Documentation)";
19      }
20    </script>
21  </head>
22
23  <body onload="setTitle();">
24
25    <div id="navbar_title">
26  <h1>SAXO 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" title="Overview of library">Overview</a></td>
36     
37
38     
39      <td >Directory</td>
40     
41
42     
43      <td><a href="./../../../idldoc-categories.html" title="Browse library by category">Categories</a></td>
44     
45
46     
47      <td><a href="./../../../idldoc-index.html" title="Index of files, routines, and parameters">Index</a></td>
48     
49
50     
51      <td><a href="./../../../search-page.html" title="Search library">Search</a></td>
52     
53
54      <td id="selected">File</td>
55
56     
57      <td><a href="../../../../../ToBeReviewed/WIDGET/COMPOUND_WIDGET//cw_bgroup.pro" title="Source code of a file">Source</a></td>
58     
59
60     
61      <td><a href="./../../../idldoc-help.html" title="Help on IDLdoc">Help</a></td>
62     
63
64      <td >Etc</td>
65
66      <td id="flexible">Developer&nbsp;documentation</td>
67    </tr>
68  </table>
69
70</div>
71
72<div id="secondary_navbar">
73
74&lt;&lt; prev file | <a href="cw_calendar.html">next file &gt;&gt;</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="cw_bgroup.html" target="_TOP">view single page</a> | <a href="./../../../index.html" 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>
75
76</div>
77
78
79    <div id="container">
80
81      <h1 class="directory"><a href="directory-overview.html">ToBeReviewed/WIDGET/COMPOUND_WIDGET/</a></h1>
82      <h2 class="pro_file">cw_bgroup.pro</h2>
83
84      <div id="file_attr">
85        <dl>
86        </dl>
87      </div>
88
89      <div id="file_comments">
90
91
92 Compound widget
93
94
95 Compound widget
96
97
98 CW_BGROUP is a compound widget that simplifies creating
99 a base of buttons. It handles the details of creating the
100 proper base (standard, exclusive, or non-exclusive) and filling
101 in the desired buttons. Events for the individual buttons are
102 handled transparently, and a CW_BGROUP event returned. This
103 event can return any one of the following:
104      - The Index of the button within the base.
105      - The widget ID of the button.
106      - The name of the button.
107      - An arbitrary value taken from an array of User values.
108</div>
109
110     
111
112     
113
114     
115
116     
117      <div id="routine_summary">               
118        <h2>Routine summary</h2>
119       
120        <dl>
121         
122          <dt><p><a href="#_cw_bgroup_setv">cw_bgroup_setv<span class="result">, id, value</span></a></p><dt>
123          <dd> </dd>   
124         
125          <dt><p><a href="#_cw_bgroup_getv"><span class="result">result = </span>cw_bgroup_getv(<span class="result">id, value</span>)</a></p><dt>
126          <dd></dd>     
127         
128          <dt><p><a href="#_cw_bgroup_event"><span class="result">result = </span>cw_bgroup_event(<span class="result">ev</span>)</a></p><dt>
129          <dd> </dd>   
130         
131          <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>
132          <dd></dd>     
133               
134        </dl>
135      </div>
136     
137
138      <div id="routine_details">
139       
140
141        <div class="routine_details" id="_cw_bgroup_setv">
142
143          <h2><a class="top" href="#container">top</a>cw_bgroup_setv <span class="categories">
144 Compound widget
145</span></h2>
146       
147          <p class="header">
148            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>
149       
150          <div class="comments">
151</div>
152
153          <h3>Return value</h3><div class="preformat">
154</div>
155
156         
157            <h3>Parameters</h3>
158       
159           
160            <h4 id="_cw_bgroup_setv_param_id">id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
161             
162             
163             
164             
165             
166             
167             
168             
169            </h4>
170       
171          <div class="comments">
172</div>
173           
174            <h4 id="_cw_bgroup_setv_param_value">value&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
175             
176             
177             
178             
179             
180             
181             
182             
183            </h4>
184       
185          <div class="comments">
186 It is the default tick mark value (a floating-point number).
187</div>
188           
189
190         
191
192         
193
194          <h3>Examples</h3><div class="preformat">
195</div>
196          <h3>Version history</h3>
197         
198          <h4>Version</h4><div class="preformat">
199 $Id: cw_bgroup.pro 327 2007-12-13 16:22:35Z pinsard $
200</div>
201          <h4>History</h4><div class="preformat">
202</div>
203         
204         
205          <h3>Known issues</h3>
206         
207         
208         
209          <h4>Restrictions</h4><div class="preformat">
210</div>
211       
212          <h3>Other attributes</h3>
213         
214         
215          <h4>Uses routines</h4><div class="preformat">
216</div>
217         
218         
219         
220       
221          <h3>Statistics</h3>
222          <table class="statistics">
223            <tr><td>McCabe cyclic</td><td>           5</td></tr>
224            <tr><td>McCabe essential</td><td>           1</td></tr>
225            <tr><td>McCabe modular design</td><td>           1</td></tr>
226          </table>
227         
228       
229        </div>
230       
231
232        <div class="routine_details" id="_cw_bgroup_getv">
233
234          <h2><a class="top" href="#container">top</a>cw_bgroup_getv <span class="categories">
235</span></h2>
236       
237          <p class="header">
238            <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>
239       
240          <div class="comments"></div>
241
242          <h3>Return value</h3><div class="preformat">
243</div>
244
245         
246            <h3>Parameters</h3>
247       
248           
249            <h4 id="_cw_bgroup_getv_param_id">id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
250             
251             
252             
253             
254             
255             
256             
257             
258            </h4>
259       
260          <div class="comments">
261
262</div>
263           
264            <h4 id="_cw_bgroup_getv_param_value">value&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
265             
266             
267             
268             
269             
270             
271             
272             
273            </h4>
274       
275          <div class="comments">
276 It is the default tick mark value (a floating-point number).
277</div>
278           
279
280         
281
282         
283
284          <h3>Examples</h3><div class="preformat">
285</div>
286          <h3>Version history</h3>
287         
288          <h4>Version</h4><div class="preformat">
289 $Id: cw_bgroup.pro 327 2007-12-13 16:22:35Z pinsard $
290</div>
291          <h4>History</h4><div class="preformat">
292</div>
293         
294         
295          <h3>Known issues</h3>
296         
297         
298         
299          <h4>Restrictions</h4><div class="preformat">
300</div>
301       
302          <h3>Other attributes</h3>
303         
304         
305          <h4>Uses routines</h4><div class="preformat">
306</div>
307         
308         
309         
310       
311          <h3>Statistics</h3>
312          <table class="statistics">
313            <tr><td>McCabe cyclic</td><td>           6</td></tr>
314            <tr><td>McCabe essential</td><td>           1</td></tr>
315            <tr><td>McCabe modular design</td><td>           1</td></tr>
316          </table>
317         
318       
319        </div>
320       
321
322        <div class="routine_details" id="_cw_bgroup_event">
323
324          <h2><a class="top" href="#container">top</a>cw_bgroup_event <span class="categories">
325</span></h2>
326       
327          <p class="header">
328            <span class="result">result = </span>cw_bgroup_event(<span class="result"><a href="#_cw_bgroup_event_param_ev">ev</a></span>)</p>
329       
330          <div class="comments">
331</div>
332
333          <h3>Return value</h3><div class="preformat">
334</div>
335
336         
337            <h3>Parameters</h3>
338       
339           
340            <h4 id="_cw_bgroup_event_param_ev">ev&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
341             
342             
343             
344             
345             
346             
347             
348             
349            </h4>
350       
351          <div class="comments">
352</div>
353           
354
355         
356
357         
358
359          <h3>Examples</h3><div class="preformat">
360</div>
361          <h3>Version history</h3>
362         
363          <h4>Version</h4><div class="preformat">
364 $Id: cw_bgroup.pro 327 2007-12-13 16:22:35Z pinsard $
365</div>
366          <h4>History</h4><div class="preformat">
367</div>
368         
369         
370          <h3>Known issues</h3>
371         
372         
373         
374          <h4>Restrictions</h4><div class="preformat">
375</div>
376       
377          <h3>Other attributes</h3>
378         
379         
380          <h4>Uses routines</h4><div class="preformat">
381</div>
382         
383         
384         
385       
386          <h3>Statistics</h3>
387          <table class="statistics">
388            <tr><td>McCabe cyclic</td><td>           9</td></tr>
389            <tr><td>McCabe essential</td><td>           4</td></tr>
390            <tr><td>McCabe modular design</td><td>           4</td></tr>
391          </table>
392         
393       
394        </div>
395       
396
397        <div class="routine_details" id="_cw_bgroup">
398
399          <h2><a class="top" href="#container">top</a>cw_bgroup <span class="categories">
400 Compound widget
401</span></h2>
402       
403          <p class="header">
404            <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>
405       
406          <div class="comments"></div>
407
408          <h3>Return value</h3><div class="preformat">
409 The ID of the created widget is returned.
410</div>
411
412         
413            <h3>Parameters</h3>
414       
415           
416            <h4 id="_cw_bgroup_param_parent">parent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
417              <span class="attr">in</span>
418             
419             
420              <span class="attr">required</span>
421             
422             
423             
424             
425            </h4>
426       
427          <div class="comments">
428 The ID of the parent widget.
429</div>
430           
431            <h4 id="_cw_bgroup_param_names">names&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
432             
433             
434             
435             
436             
437              <span class="attr">type:</span> <span class="value">string array</span>
438             
439             
440            </h4>
441       
442          <div class="comments">
443 A string array, containing one string per button,
444 giving the name of each button.
445</div>
446           
447
448         
449
450         
451
452            <h3>Keywords</h3>
453           
454            <h4 id="_cw_bgroup_keyword_BUTTON_UVALUE">BUTTON_UVALUE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
455             
456             
457             
458             
459             
460              <span class="attr">type:</span> <span class="value">array</span>
461             
462             
463            </h4>
464       
465            <div class="comments">
466 An array of user values to be associated with
467 each button and returned in the event structure.
468</div>
469           
470            <h4 id="_cw_bgroup_keyword_COLUMN">COLUMN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
471             
472             
473             
474             
475             
476             
477             
478             
479            </h4>
480       
481            <div class="comments">
482 Buttons will be arranged in the number of columns
483 specified by this keyword.
484</div>
485           
486            <h4 id="_cw_bgroup_keyword_EVENT_FUNCT">EVENT_FUNCT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
487             
488             
489             
490             
491             
492             
493             
494             
495            </h4>
496       
497            <div class="comments">
498 The name of an optional user-supplied event function
499 for buttons. This function is called with the return
500 value structure whenever a button is pressed, and
501 follows the conventions for user-written event functions.
502</div>
503           
504            <h4 id="_cw_bgroup_keyword_EXCLUSIVE">EXCLUSIVE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
505             
506             
507             
508             
509             
510             
511             
512             
513            </h4>
514       
515            <div class="comments">
516 Buttons will be placed in an exclusive base, with
517 only one button allowed to be selected at a time.
518</div>
519           
520            <h4 id="_cw_bgroup_keyword_FONT">FONT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
521             
522             
523             
524             
525             
526             
527             
528             
529            </h4>
530       
531            <div class="comments">
532 The name of the font to be used for the button
533 titles. If this keyword is not specified, the default
534 font is used.
535</div>
536           
537            <h4 id="_cw_bgroup_keyword_FRAME">FRAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
538             
539             
540             
541             
542             
543             
544             
545             
546            </h4>
547       
548            <div class="comments">
549 Specifies the width of the frame to be drawn around the base.
550</div>
551           
552            <h4 id="_cw_bgroup_keyword_IDS">IDS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
553             
554             
555             
556             
557             
558             
559             
560             
561            </h4>
562       
563            <div class="comments">
564 A named variable into which the button IDs will be
565 stored, as a longword vector.
566</div>
567           
568            <h4 id="_cw_bgroup_keyword_LABEL_TOP">LABEL_TOP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
569             
570             
571             
572             
573             
574             
575             
576             
577            </h4>
578       
579            <div class="comments">
580 Creates a text label above the buttons.
581</div>
582           
583            <h4 id="_cw_bgroup_keyword_LABEL_LEFT">LABEL_LEFT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
584             
585             
586             
587             
588             
589             
590             
591             
592            </h4>
593       
594            <div class="comments">
595 Creates a text label to the left of the buttons.
596</div>
597           
598            <h4 id="_cw_bgroup_keyword_MAP">MAP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
599             
600             
601             
602             
603             
604             
605             
606             
607            </h4>
608       
609            <div class="comments">
610 If set, the base will be mapped when the widget
611 is realized (the default).
612</div>
613           
614            <h4 id="_cw_bgroup_keyword_NONEXCLUSIVE">NONEXCLUSIVE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
615             
616             
617             
618             
619             
620             
621             
622             
623            </h4>
624       
625            <div class="comments">
626 Buttons will be placed in an non-exclusive base.
627 The buttons will be independent.
628</div>
629           
630            <h4 id="_cw_bgroup_keyword_NO_RELEASE">NO_RELEASE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
631             
632             
633             
634             
635             
636             
637             
638             
639            </h4>
640       
641            <div class="comments">
642 If set, button release events will not be returned.
643</div>
644           
645            <h4 id="_cw_bgroup_keyword_RETURN_ID">RETURN_ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
646             
647             
648             
649             
650             
651             
652             
653             
654            </h4>
655       
656            <div class="comments">
657 If set, the VALUE field of returned events will be
658 the widget ID of the button.
659</div>
660           
661            <h4 id="_cw_bgroup_keyword_RETURN_INDEX">RETURN_INDEX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
662             
663             
664             
665             
666             
667             
668             
669             
670            </h4>
671       
672            <div class="comments">
673 If set, the VALUE field of returned events will be
674 the zero-based index of the button within the base.
675 THIS IS THE DEFAULT.
676</div>
677           
678            <h4 id="_cw_bgroup_keyword_RETURN_NAME">RETURN_NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
679             
680             
681             
682             
683             
684             
685             
686             
687            </h4>
688       
689            <div class="comments">
690 If set, the VALUE field of returned events will be
691 the name of the button within the base.
692</div>
693           
694            <h4 id="_cw_bgroup_keyword_ROW">ROW&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
695             
696             
697             
698             
699             
700             
701             
702             
703            </h4>
704       
705            <div class="comments">
706 Buttons will be arranged in the number of rows
707 specified by this keyword.
708</div>
709           
710            <h4 id="_cw_bgroup_keyword_SCROLL">SCROLL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
711             
712             
713             
714             
715             
716             
717             
718             
719            </h4>
720       
721            <div class="comments">
722 If set, the base will include scroll bars to allow
723 viewing a large base through a smaller viewport.
724</div>
725           
726            <h4 id="_cw_bgroup_keyword_SET_VALUE">SET_VALUE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
727             
728             
729             
730             
731             
732             
733             
734             
735            </h4>
736       
737            <div class="comments">
738 The initial value of the buttons. This is equivalent
739 to the later statement:
740
741 WIDGET_CONTROL, widget, set_value=value
742</div>
743           
744            <h4 id="_cw_bgroup_keyword_SPACE">SPACE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
745             
746             
747             
748             
749             
750             
751             
752             
753            </h4>
754       
755            <div class="comments">
756 The space, in pixels, to be left around the edges
757 of a row or column major base. This keyword is
758 ignored if EXCLUSIVE or NONEXCLUSIVE are specified.
759</div>
760           
761            <h4 id="_cw_bgroup_keyword_TAB_MODE">TAB_MODE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
762             
763             
764             
765             
766             
767             
768             
769             
770            </h4>
771       
772            <div class="comments"></div>
773           
774            <h4 id="_cw_bgroup_keyword_UVALUE">UVALUE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
775             
776             
777             
778             
779             
780             
781             
782             
783            </h4>
784       
785            <div class="comments">
786 The user value to be associated with the widget.
787</div>
788           
789            <h4 id="_cw_bgroup_keyword_XOFFSET">XOFFSET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
790             
791             
792             
793             
794             
795             
796             
797             
798            </h4>
799       
800            <div class="comments">
801 The X offset of the widget relative to its parent.
802</div>
803           
804            <h4 id="_cw_bgroup_keyword_XPAD">XPAD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
805             
806             
807             
808             
809             
810             
811             
812             
813            </h4>
814       
815            <div class="comments">
816 The horizontal space, in pixels, between children
817 of a row or column major base. Ignored if EXCLUSIVE
818 or NONEXCLUSIVE are specified.
819</div>
820           
821            <h4 id="_cw_bgroup_keyword_XSIZE">XSIZE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
822             
823             
824             
825             
826             
827             
828             
829             
830            </h4>
831       
832            <div class="comments">
833 The width of the base.</div>
834           
835            <h4 id="_cw_bgroup_keyword_X_SCROLL_SIZE">X_SCROLL_SIZE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
836             
837             
838             
839             
840             
841             
842             
843             
844            </h4>
845       
846            <div class="comments">
847 The width of the viewport if SCROLL is specified.
848</div>
849           
850            <h4 id="_cw_bgroup_keyword_YOFFSET">YOFFSET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
851             
852             
853             
854             
855             
856             
857             
858             
859            </h4>
860       
861            <div class="comments">
862 The Y offset of the widget relative to its parent.
863</div>
864           
865            <h4 id="_cw_bgroup_keyword_YPAD">YPAD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
866             
867             
868             
869             
870             
871             
872             
873             
874            </h4>
875       
876            <div class="comments">
877 The vertical space, in pixels, between children of
878 a row or column major base. Ignored if EXCLUSIVE
879 or NONEXCLUSIVE are specified.
880</div>
881           
882            <h4 id="_cw_bgroup_keyword_YSIZE">YSIZE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
883             
884             
885             
886             
887             
888             
889             
890             
891            </h4>
892       
893            <div class="comments">
894 The height of the base.
895</div>
896           
897            <h4 id="_cw_bgroup_keyword_Y_SCROLL_SIZE">Y_SCROLL_SIZE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
898             
899             
900             
901             
902             
903             
904             
905             
906            </h4>
907       
908            <div class="comments">
909 The height of the viewport if SCROLL is specified.
910</div>
911           
912            <h4 id="_cw_bgroup_keyword_UNAME">UNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
913             
914             
915             
916             
917             
918             
919             
920             
921            </h4>
922       
923            <div class="comments">
924 The user name to be associated with the widget.
925</div>
926           
927         
928
929         
930          <h3>Version history</h3>
931         
932          <h4>Version</h4><div class="preformat">
933 $Id: cw_bgroup.pro 327 2007-12-13 16:22:35Z pinsard $
934</div>
935          <h4>History</h4><div class="preformat">
936 15 June 1992, AB
937 7 April 1993, AB, Removed state caching.
938 6 Oct. 1994, KDB, Font keyword is not applied to the label.
939 10 FEB 1995, DJC  fixed bad bug in event procedure, getting
940                         id of stash widget.
941 11 April 1995, AB Removed Motif special cases.
942
943 Copyright (c) 1992-2005, Research Systems, Inc.  All rights reserved.
944   Unauthorized reproduction prohibited.
945</div>
946         
947         
948          <h3>Known issues</h3>
949         
950         
951         
952          <h4>Restrictions</h4><div class="preformat">
953 This widget generates event structures with the following definition:
954
955       event = { ID:0L, TOP:0L, HANDLER:0L, SELECT:0, VALUE:0 }
956
957 The SELECT field is passed through from the button event. VALUE is
958 either the INDEX, ID, NAME, or BUTTON_UVALUE of the button,
959 depending on how the widget was created.
960
961
962 Only buttons with textual names are handled by this widget.
963 Bitmaps are not understood.
964</div>
965       
966         
967         
968         
969         
970         
971         
972         
973       
974          <h3>Statistics</h3>
975          <table class="statistics">
976            <tr><td>McCabe cyclic</td><td>          41</td></tr>
977            <tr><td>McCabe essential</td><td>           1</td></tr>
978            <tr><td>McCabe modular design</td><td>           1</td></tr>
979          </table>
980         
981       
982        </div>
983       
984      </div>
985
986     
987
988      <div id="tagline">Produced by IDLdoc 2.0.</div>
989
990    </div>
991
992  </body>
993</html>
Note: See TracBrowser for help on using the repository browser.