mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-19 05:58:09 +00:00
efe25a6ab4
[no changelog]
42 lines
792 B
Python
42 lines
792 B
Python
from typing import *
|
|
|
|
|
|
# extmod/rustmods/modtrezorui2.c
|
|
def layout_new_confirm_action(
|
|
*,
|
|
title: str,
|
|
action: str | None = None,
|
|
description: str | None = None,
|
|
verb: str | None = None,
|
|
verb_cancel: str | None = None,
|
|
hold: bool | None = None,
|
|
reverse: bool = False,
|
|
) -> object:
|
|
"""Example layout."""
|
|
|
|
|
|
# extmod/rustmods/modtrezorui2.c
|
|
def layout_new_example(text: str) -> object:
|
|
"""Example layout."""
|
|
|
|
|
|
# extmod/rustmods/modtrezorui2.c
|
|
def layout_new_pin(
|
|
*,
|
|
prompt: str,
|
|
subprompt: str,
|
|
danger: bool,
|
|
allow_cancel: bool,
|
|
) -> object:
|
|
"""PIN keyboard."""
|
|
|
|
|
|
# extmod/rustmods/modtrezorui2.c
|
|
def layout_new_confirm_text(
|
|
*,
|
|
title: str,
|
|
data: str,
|
|
description: str | None,
|
|
) -> object:
|
|
"""Example layout."""
|