How to use the todoman.interactive.TodomanDatabasesPage function in todoman

To help you get started, we’ve selected a few todoman examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pimutils / todoman / todoman / interactive.py View on Github external
def list_chooser(self):
        '''
        Open a TodomanDatabasesPage from which to choose the
        TodomanItemListPage to display.

        (TodomanItemListPage) -> None
        '''
        new_page = TodomanDatabasesPage(
            self.parent,
            self.callback_open_other_database,
        )
        self.open_page(new_page)
github pimutils / todoman / todoman / interactive.py View on Github external
def move_database_chooser(self):
        '''
        Open a TodomanDatabasesPage from which to choose the destination of the
        move operation for the selected item.

        (TodomanItemListPage) -> None
        '''
        new_page = TodomanDatabasesPage(self.parent, self.callback_move_to)
        self.open_page(new_page)
github pimutils / todoman / todoman / interactive.py View on Github external
def copy_database_chooser(self):
        '''
        Open a TodomanDatabasesPage from which to choose the destination of the
        copy operation for the selected item.

        (TodomanItemListPage) -> None
        '''
        new_page = TodomanDatabasesPage(self.parent, self.callback_copy_to)
        self.open_page(new_page)