aqt.deckbrowser#

Classes#

DeckBrowserBottomBar

RenderData

Data from collection that is required to show the page.

DeckBrowserContent

Stores sections of HTML content that the deck browser will be

RenderDeckNodeContext

DeckBrowser

Module Contents#

class aqt.deckbrowser.DeckBrowserBottomBar(deck_browser: DeckBrowser)#
deck_browser#
class aqt.deckbrowser.RenderData#

Data from collection that is required to show the page.

tree: anki.decks.DeckTreeNode#
current_deck_id: anki.decks.DeckId#
studied_today: str#
sched_upgrade_required: bool#
class aqt.deckbrowser.DeckBrowserContent#

Stores sections of HTML content that the deck browser will be populated with.

Attributes:

tree {str} – HTML of the deck tree section stats {str} – HTML of the stats section

tree: str#
stats: str#
class aqt.deckbrowser.RenderDeckNodeContext#
current_deck_id: anki.decks.DeckId#
class aqt.deckbrowser.DeckBrowser(mw: aqt.AnkiQt)#
mw#
web#
bottom#
scrollPos#
show() None#
refresh() None#
refresh_if_needed() None#
op_executed(changes: anki.collection.OpChanges, handler: object | None, focused: bool) bool#
set_current_deck(deck_id: anki.decks.DeckId) None#