Bind mouse wheel scroll events for cross-platform compatibility.
(self)
| 511 | return self._env_manager.get_modified_keys() |
| 512 | |
| 513 | def _bind_scroll_events(self) -> None: |
| 514 | """Bind mouse wheel scroll events for cross-platform compatibility.""" |
| 515 | self._bind_scroll_to_widget(self) |
| 516 | # Also bind to all category frames |
| 517 | for frame in self._category_frames.values(): |
| 518 | self._bind_scroll_to_widget(frame) |
| 519 | self._bind_scroll_to_widget(frame.get_content_frame()) |
| 520 | |
| 521 | def _bind_scroll_to_widget(self, widget) -> None: |
| 522 | """Bind scroll events to a specific widget and its children.""" |
no test coverage detected