Ballistica Logo

bauiv1lib.account package

Submodules

bauiv1lib.account.settings module

Provides UI for account functionality.

class bauiv1lib.account.settings.AccountSettingsWindow(transition: str | None = 'in_right', modal: bool = False, origin_widget: Widget | None = None, close_once_signed_in: bool = False)[source]

Bases: MainWindow

Window for account related functionality.

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.account.settings.show_what_is_legacy_unlinking_page() None[source]

Show the webpage describing legacy unlinking.

bauiv1lib.account.v2proxy module

V2 account ui bits.

class bauiv1lib.account.v2proxy.V2ProxySignInWindow(origin_widget: Widget)[source]

Bases: Window

A window allowing signing in to a v2 account.

bauiv1lib.account.viewer module

Provides a popup for displaying info about any account.

class bauiv1lib.account.viewer.AccountViewerWindow(account_id: str, *, profile_id: str | None = None, position: tuple[float, float] = (0.0, 0.0), scale: float | None = None, offset: tuple[float, float] = (0.0, 0.0))[source]

Bases: PopupWindow

Popup window that displays info for an account.

on_popup_cancel() None[source]

Called when the popup is canceled.

Cancels can occur due to clicking outside the window, hitting escape, etc.

popup_menu_closing(window: PopupMenu) None[source]

Called when the popup menu is closing.

popup_menu_selected_choice(window: PopupMenu, choice: str) None[source]

Called when a menu entry is selected.

Module contents

UI functionality related to accounts.

bauiv1lib.account.show_sign_in_prompt() None[source]

Bring up a prompt telling the user they must sign in.