1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
|
Mu API Reference
----------------
This API reference is automatically generated from the docstrings found within
the source code. It's meant as an easy to use and easy to share window into the
code base.
Take a look around! The code is simple and short.
``mu.app``
==========
The Mu application is created and configured in this module.
.. automodule:: mu.app
:members:
``mu.logic``
============
Most of the fundamental logic for Mu is in this module.
.. automodule:: mu.logic
:members:
``mu.debugger``
===============
The debugger consists of two parts:
* Client - used by Mu to process messages from the process being debugged.
* Runner - created in a new process to run the code to be debugged.
Messages are passed via inter-process communication.
``mu.debugger.client``
++++++++++++++++++++++
Code used by the Mu application to communicate with the process being debugged.
.. automodule:: mu.debugger.client
:members:
``mu.debugger.runner``
++++++++++++++++++++++
The runner code controls the debug process.
.. automodule:: mu.debugger.runner
:members:
``mu.interface``
================
This module contains all the PyQt related code needed to create the user
interface for Mu. All interaction with the user interface is done via the
``Window`` class in ``mu.interface.main``.
All the other sub-modules contain different bespoke aspects of the user
interface.
``mu.interface.main``
+++++++++++++++++++++
Contains the core user interface assets used by other parts of the application.
.. automodule:: mu.interface.main
:members:
``mu.interface.dialogs``
++++++++++++++++++++++++
Bespoke modal dialogs required by Mu.
.. automodule:: mu.interface.dialogs
:members:
``mu.interface.editor``
+++++++++++++++++++++++
Contains the customised Scintilla based editor used for textual display and
entry.
.. automodule:: mu.interface.editor
:members:
``mu.interface.panes``
++++++++++++++++++++++
Contains code used to populate the various panes found in the user interface
(REPL, file list, debug inspector etc...).
.. automodule:: mu.interface.panes
:members:
``mu.interface.themes``
+++++++++++++++++++++++
Theme related code so Qt changes for each pre-defined theme.
.. automodule:: mu.interface.themes
:members:
``mu.modes``
============
Contains the definitions of the various modes Mu into which Mu can be put. All
the core functionality is in the ``mu.modes.base`` module.
``mu.modes.base``
+++++++++++++++++
Core functionality and base classes for all Mu's modes. The definitions of
API autocomplete and call tips can be found in the ``mu.modes.api`` namespace.
.. automodule:: mu.modes.base
:members:
``mu.modes.adafruit``
+++++++++++++++++++++
Adafruit mode for CircuitPython.
.. automodule:: mu.modes.adafruit
:members:
``mu.modes.debugger``
+++++++++++++++++++++
The Python 3 debugger mode.
.. automodule:: mu.modes.debugger
:members:
``mu.modes.microbit``
+++++++++++++++++++++
The original BBC micro:bit mode.
.. automodule:: mu.modes.microbit
:members:
``mu.modes.pygamezero``
+++++++++++++++++++++++
The Pygame Zero / pygame mode.
.. automodule:: mu.modes.pygamezero
:members:
``mu.modes.python3``
++++++++++++++++++++
The Python 3 editing mode.
.. automodule:: mu.modes.python3
:members:
``mu.resources``
================
Contains utility functions for working with binary assets used by Mu (mainly
images).
.. automodule:: mu.resources
:members:
|