@@ -1200,7 +1200,7 @@ def set_check_props(self, props):
1200
1200
1201
1201
def set_active (self , index , state = None ):
1202
1202
"""
1203
- Toggle (activate or deactivate) a check button by index.
1203
+ Modify the state of a check button by index.
1204
1204
1205
1205
Callbacks will be triggered if :attr:`eventson` is True.
1206
1206
@@ -1210,8 +1210,8 @@ def set_active(self, index, state=None):
1210
1210
Index of the check button to toggle.
1211
1211
1212
1212
state : bool, optional
1213
- Sets the target state of the button . If a boolean value, set the
1214
- state explicitly. If no value is provided, the state is toggled.
1213
+ If a boolean value, set the state explicitly . If no value is
1214
+ provided, the state is toggled.
1215
1215
1216
1216
Raises
1217
1217
------
@@ -1270,7 +1270,7 @@ def _init_status(self, actives):
1270
1270
for ec , active in zip (self ._active_check_colors , actives )])
1271
1271
1272
1272
def clear (self ):
1273
- """Clear all checkboxes."""
1273
+ """Uncheck all checkboxes."""
1274
1274
1275
1275
self ._checks .set_facecolor (['none' ] * len (self ._active_check_colors ))
1276
1276
@@ -1902,7 +1902,7 @@ def set_active(self, index):
1902
1902
self ._observers .process ('clicked' , self .labels [index ].get_text ())
1903
1903
1904
1904
def clear (self ):
1905
- """Reset active button."""
1905
+ """Reset the active button to the initially active one ."""
1906
1906
self .set_active (self ._initial_active )
1907
1907
1908
1908
def on_clicked (self , func ):
0 commit comments