Controller

class mnemosyne.libmnemosyne.controller.Controller(component_manager)

A collection of logic used by the GUI. The logic related to the review process is split out in a separated controller class, to allow that to be swapped out easily.

activate_plugins()
add_cards()
browse_cards()
card_appearance()
configure()
create_new_cards(fact_data, card_type, grade, tag_names, check_for_duplicates=True, save=True)
delete_current_fact()
edit_current_card()
export_file()
file_new()
file_open()
file_save()
file_save_as()
heartbeat()
For code that needs to run periodically.
import_file()
insert_img(filter)
Filter contains the file dialog filter with the supported filetypes.
insert_sound(filter)
Filter contains the file dialog filter with the supported filetypes.
manage_card_types()

Previous topic

Renderer

Next topic

ReviewController

This Page

Quick search