DocConfig¶

class DocConfig[source]¶

class to configure and set up a document.

Initialise the class.

Methods

set_sys_args

Set the system arguments.

setup_doc

Set up the document.

set_sys_args(argv)[source]¶

Set the system arguments.

Parameters:
Return type:

None

setup_doc(base_doc)[source]¶

Set up the document.

Parameters:
  • base_doc (Document) – the document to set up

  • self (DocConfig)

Returns:

A tuple containing a layout of the main slide window(s), and the controls tab.

Return type:

tuple[Row, Tabs]