Demo App

Demo App

A demo app showing the configuration and usage of the players and recorders.

class cpl_media.tests.app.demo_app.DemoApp(**kw)

Bases: BaseKivyApp

build()

Similar to App’s build, but it takes the root widget if provided and if inspect is True, it activates kivy’s inspector.

Parameters

root – The root widget instance.

Returns

The root widget

clean_up()

Called by run_app() or run_app_async() after the app closes to clean up any remaining resources.

By default, if inspect is enabled, it cleans up after it.

cpl_media.tests.app.demo_app.run_app()

The function that starts the GUI and the entry point for the main script.