Ballistica Logo

bauiv1lib.league package

Submodules

bauiv1lib.league.rankbutton module

Provides a button showing league rank.

class bauiv1lib.league.rankbutton.LeagueRankButton(parent: bui.Widget, position: tuple[float, float], size: tuple[float, float], scale: float, on_activate_call: Callable[[], Any] | None = None, transition_delay: float | None = None, color: tuple[float, float, float] | None = None, textcolor: tuple[float, float, float] | None = None, smooth_update_delay: float | None = None)[source]

Bases: object

Button showing league rank.

get_button() Widget[source]

Return the underlying button bui.Widget>

set_position(position: tuple[float, float]) None[source]

Set the button’s position.

bauiv1lib.league.rankwindow module

UI related to league rank.

class bauiv1lib.league.rankwindow.LeagueRankWindow(transition: str = 'in_right', modal: bool = False, origin_widget: Widget | None = None)[source]

Bases: Window

Window for showing league rank.

Module contents

League related UI functionality.