--- a/RButtGrp.st Thu Apr 25 19:26:41 1996 +0200
+++ b/RButtGrp.st Thu Apr 25 19:34:16 1996 +0200
@@ -11,10 +11,10 @@
"
OrderedCollection subclass:#RadioButtonGroup
- instanceVariableNames:'valueChannel groupID'
- classVariableNames:''
- poolDictionaries:''
- category:'Views-Support'
+ instanceVariableNames:'valueChannel groupID'
+ classVariableNames:''
+ poolDictionaries:''
+ category:'Views-Support'
!
!RadioButtonGroup class methodsFor:'documentation '!
@@ -39,16 +39,16 @@
turning off other button(s) when one of the group is pressed.
To group some buttons (and have one-on behavior) use:
- |g|
+ |g|
- g := RadioButtonGroup new.
- ...
- b1 := RadioButton label:....
- g add:b1
- ...
- b2 := RadioButton label:....
- g add:b2
- ...
+ g := RadioButtonGroup new.
+ ...
+ b1 := RadioButton label:....
+ g add:b1
+ ...
+ b2 := RadioButton label:....
+ g add:b2
+ ...
A radioButtonGroup installs itself as the model of its toggles or
radioButtons. Therefore, you can no longer operate the individual
@@ -61,7 +61,12 @@
The groupID instance variable is not required for normal operation;
the interface builder uses it to give a button-group some descriptive
(unique) name.
+
+ [author:]
+ Claus Gittinger
"
+
+ "Modified: 25.4.1996 / 17:40:00 / cg"
!
examples
@@ -178,7 +183,7 @@
!
version
- ^ '$Header: /cvs/stx/stx/libwidg/Attic/RButtGrp.st,v 1.19 1995-11-23 02:28:44 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg/Attic/RButtGrp.st,v 1.20 1996-04-25 17:31:36 cg Exp $'
! !
!RadioButtonGroup methodsFor:'accessing'!