Set properties of the check button checks. .. versionadded:: 3.7 Parameters ---------- props : dict Dictionary of `.Collection` properties to be used for the check button check.
(self, props)
| 1375 | self._frames.update(props) |
| 1376 | |
| 1377 | def set_check_props(self, props): |
| 1378 | """ |
| 1379 | Set properties of the check button checks. |
| 1380 | |
| 1381 | .. versionadded:: 3.7 |
| 1382 | |
| 1383 | Parameters |
| 1384 | ---------- |
| 1385 | props : dict |
| 1386 | Dictionary of `.Collection` properties to be used for the check |
| 1387 | button check. |
| 1388 | """ |
| 1389 | _api.check_isinstance(dict, props=props) |
| 1390 | if 's' in props: # Keep API consistent with constructor. |
| 1391 | props['sizes'] = np.broadcast_to(props.pop('s'), len(self.labels)) |
| 1392 | actives = self.get_status() |
| 1393 | self._buttons.update(props) |
| 1394 | # If new colours are supplied, then we must re-apply the status. |
| 1395 | self._init_status(actives) |
| 1396 | |
| 1397 | def set_active(self, index, state=None): |
| 1398 | """ |