Ballistica Logo

bauiv1lib.soundtrack package

Submodules

bauiv1lib.soundtrack.browser module

Provides UI for browsing soundtracks.

class bauiv1lib.soundtrack.browser.SoundtrackBrowserWindow(transition: str | None = 'in_right', origin_widget: Widget | None = None)[source]

Bases: MainWindow

Window for browsing soundtracks.

get_main_window_state() MainWindowState[source]

Return a WindowState to recreate this window, if supported.

on_main_window_close() None[source]

Called before transitioning out a main window.

A good opportunity to save window state/etc.

bauiv1lib.soundtrack.edit module

Provides UI for editing a soundtrack.

class bauiv1lib.soundtrack.edit.SoundtrackEditWindow(existing_soundtrack: str | dict[str, Any] | None, transition: str | None = 'in_right', origin_widget: bui.Widget | None = None)[source]

Bases: MainWindow

Window for editing a soundtrack.

get_main_window_state() MainWindowState[source]

Return a WindowState to recreate this window, if supported.

bauiv1lib.soundtrack.entrytypeselect module

Provides UI for selecting soundtrack entry types.

class bauiv1lib.soundtrack.entrytypeselect.SoundtrackEntryTypeSelectWindow(callback: Callable[[Any], Any], current_entry: Any, selection_target_name: str, *, transition: str | None = 'in_right', origin_widget: bui.Widget | None = None)[source]

Bases: MainWindow

Window for selecting a soundtrack entry type.

get_main_window_state() MainWindowState[source]

Return a WindowState to recreate this window, if supported.

bauiv1lib.soundtrack.macmusicapp module

UI functionality related to using the macOS Music app for soundtracks.

class bauiv1lib.soundtrack.macmusicapp.MacMusicAppPlaylistSelectWindow(callback: Callable[[Any], Any], existing_playlist: str | None, existing_entry: Any, *, transition: str | None = 'in_right', origin_widget: bui.Widget | None = None)[source]

Bases: MainWindow

Window for selecting an iTunes playlist.

get_main_window_state() MainWindowState[source]

Return a WindowState to recreate this window, if supported.

Module contents