OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
ui.games.games_ui_if.GamesUiIf Class Reference

Display game inventory and accept semantic game requests. More...

Inheritance diagram for ui.games.games_ui_if.GamesUiIf:
frontends.tk.games.games_panel.GamesPanel

Public Member Functions

None set_games (self, Sequence[GameUiState] games)
 Replace the complete game display state.
 
None set_games_status (self, str message)
 Set the user-visible games status message.
 
None set_games_request_handler (self, GamesRequestHandlerIf|None handler)
 Set or clear the semantic game request handler.
 

Detailed Description

Display game inventory and accept semantic game requests.

Member Function Documentation

◆ set_games()

None ui.games.games_ui_if.GamesUiIf.set_games (   self,
Sequence[GameUiState]  games 
)

Replace the complete game display state.

Parameters
gamesOrdered game states to display.

Reimplemented in frontends.tk.games.games_panel.GamesPanel.

◆ set_games_request_handler()

None ui.games.games_ui_if.GamesUiIf.set_games_request_handler (   self,
GamesRequestHandlerIf | None  handler 
)

Set or clear the semantic game request handler.

Parameters
handlerGames request handler, or None to disconnect it.

Reimplemented in frontends.tk.games.games_panel.GamesPanel.

◆ set_games_status()

None ui.games.games_ui_if.GamesUiIf.set_games_status (   self,
str  message 
)

Set the user-visible games status message.

Parameters
messageStatus text to display.

Reimplemented in frontends.tk.games.games_panel.GamesPanel.


The documentation for this class was generated from the following file: