def _on_timer(self, _evt, _force_show=False): if self._appconfig.get('notification', 'popup_alarms'): _LOG.debug('FrameMain._on_timer: check reminders') FrameReminders.check(self.wnd, self._session)
def _on_btn_reminders(self, _evt): if not FrameReminders.check(self.wnd, self._session): mbox.message_box_info(self.wnd, _("No active alarms in this moment."), _("Alarms"))