snakeware

Python-based Linux distro for x86-64 and RPi
git clone git://squid-tech.com/snakeware.git
Log | Files | Refs | README

commit 7064efa04cf6dd9fe6c6958f92a283a6e4713ac9
parent b9a49b1e5259e0a1f5cdffaffeda4355eba627e8
Author: Josh Moore <jxm5210@rit.edu>
Date:   Thu, 28 May 2020 10:53:57 -0400

Formatting

Diffstat:
Msnakewm/wm.py | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/snakewm/wm.py b/snakewm/wm.py @@ -48,11 +48,13 @@ class SnakeWM: def loadapp(self, app, params=None): """ Load and run a Python module as an app (ie "apps.test.HelloWorld"). - Apps are basically just Python packages. The loaded app package must contain an __init__.py - with a load() function that accepts a UIManager parameter and a params list parameter. + Apps are basically just Python packages. The loaded app package must + contain an __init__.py with a load() function that accepts a UIManager + parameter and a params list parameter. - The load() function should create an instance of the app to load and add the app UI to - the passed UIManager object. See existing apps for examples. + The load() function should create an instance of the app to load and + add the app UI to the passed UIManager object. See existing apps for + examples. """ if __name__ != '__main__': app = 'snakewm.' + app