bumblebee-status/tests
Tobi-wan Kenobi f645203579 [core] Widget creation/update overhaul
Until now, widgets were re-created during each iteration. For multiple,
reasons, using static widget objects is much easier, so instead of
creating new widgets continuously, modules now create the widgets during
instantiation and get the list of widgets passed as parameter whenever
an update occurs. During the update, they can still manipulate the
widget list by removing and adding elements as needed.

Advantages:
* Less memory fragmentation (fewer (de)allocations)
* Easier event management (widgets now have static IDs)
* Easier module code (widget contents can simply be the result of a
  callback)

see #23
2016-12-08 08:44:54 +01:00
..
modules [core] Widget creation/update overhaul 2016-12-08 08:44:54 +01:00
__init__.py [core/output] Add widget drawing 2016-12-04 12:53:18 +01:00
test_config.py [tests/config] Small refactoring (renaming) 2016-12-04 08:25:11 +01:00
test_engine.py [core/themes] Prepare adding of themeing support 2016-12-04 18:10:04 +01:00
test_i3baroutput.py [modules/cpu] Add initial version of CPU utilization module 2016-12-04 17:45:42 +01:00
test_module.py [core] Widget creation/update overhaul 2016-12-08 08:44:54 +01:00
test_theme.py [core/themes] Prepare adding of themeing support 2016-12-04 18:10:04 +01:00
util.py [core] Widget creation/update overhaul 2016-12-08 08:44:54 +01:00