yasuki_gui.ui.dialogs.Dialogs.card_search#
- Dialogs.card_search(cards, choosable, label, on_pick)[source]#
Search a pile the way the web deck dialog does: the whole pile listed by title and filterable, with a live preview of the selection.
cardsis the pool shown; only cards inchoosablecan be taken (the others show but stay disabled), and taking one callson_pickwith its id. The window requires a pick — the search is a committed cost.