aqt.deckbrowser
===============

.. py:module:: aqt.deckbrowser


Classes
-------

.. autoapisummary::

   aqt.deckbrowser.DeckBrowserBottomBar
   aqt.deckbrowser.RenderData
   aqt.deckbrowser.DeckBrowserContent
   aqt.deckbrowser.RenderDeckNodeContext
   aqt.deckbrowser.DeckBrowser


Module Contents
---------------

.. py:class:: DeckBrowserBottomBar(deck_browser: DeckBrowser)

   .. py:attribute:: deck_browser


.. py:class:: RenderData

   Data from collection that is required to show the page.


   .. py:attribute:: tree
      :type:  anki.decks.DeckTreeNode


   .. py:attribute:: current_deck_id
      :type:  anki.decks.DeckId


   .. py:attribute:: studied_today
      :type:  str


   .. py:attribute:: sched_upgrade_required
      :type:  bool


.. py:class:: 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


   .. py:attribute:: tree
      :type:  str


   .. py:attribute:: stats
      :type:  str


.. py:class:: RenderDeckNodeContext

   .. py:attribute:: current_deck_id
      :type:  anki.decks.DeckId


.. py:class:: DeckBrowser(mw: aqt.AnkiQt)

   .. py:attribute:: mw


   .. py:attribute:: web


   .. py:attribute:: bottom


   .. py:attribute:: scrollPos


   .. py:method:: show() -> None


   .. py:method:: refresh() -> None


   .. py:method:: refresh_if_needed() -> None


   .. py:method:: op_executed(changes: anki.collection.OpChanges, handler: object | None, focused: bool) -> bool


   .. py:method:: set_current_deck(deck_id: anki.decks.DeckId) -> None


   .. py:attribute:: drawLinks


