INNER CODE UNIT · Python

_focus_active_panel

antoniorodr/cronboard · src/cronboard/app.py:247

    def _focus_active_panel(self) -> None:
        if self.tabs.active == "local" and self.local_table:
            self.set_focus(self.local_table)

        elif self.tabs.active == "servers" and self.servers:
            self.servers.focus_tree()

        elif self.tabs.active == "settings" and self.settings_tab:
            self.settings_tab.action_jump()

    def action_create_cronjob(
        self,
        cron: CronTab,
        remote=False,
        ssh_client=None,
        crontab_user=None,
        server_name="local",
    ) -> None:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…