An experimental collection of extra widget APIs for flow.
Not officially associated with flow
Features
- Full passing code coverage at 100%, written by a professional QA Engineer for maximum quality. Test to code LoC ratio around 4:1.
flow_extras.List
a widget that has extended functionality overflow.widgets.List
- List tile background images for theming (plays nice with custom list spacing)
- Remainders (ex you could have a vertical 2 x 2 with remainder of one to get exactly 5 tiles)
- All arguments from
flow.widgets.List
- Liststring support
- An alternate image for disabled list tiles added in 1.1
flow_extras.flow_container_elms
set. Intended for walking over flow formspecs usingformspec_ast.walk
. Added in 1.3.flow_extras.walk
The above, done for you. Added in 1.3flow_extras.search
A function for searching for nodes matching particular descriptions. Used just likewalk
. Supports multiple names in one iteration to allow you to make multiple changes in only one search (O(n) instead of O(n * m)). Added in 1.3- Throws a more readable error message if
tree
is not present Added 1.4 check_root
is now a feature. Added 1.5
- Throws a more readable error message if
- Tools to set and get context. Added 1.6
flow_extras.contains
, a wrapper aroundflow_extras.search
returning a boolean if there's a match. Intended for unit testing. Added 1.7- More on the way!
Docs
For now, see the busted spec file