mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 05:28:40 +00:00
4eefaffac9
[no changelog]
67 lines
1.2 KiB
Python
67 lines
1.2 KiB
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,
|
|
allow_cancel: bool,
|
|
warning: str | None,
|
|
) -> object:
|
|
"""PIN keyboard."""
|
|
|
|
|
|
# extmod/rustmods/modtrezorui2.c
|
|
def layout_new_passphrase(
|
|
*,
|
|
prompt: str,
|
|
max_len: int,
|
|
) -> object:
|
|
"""Passphrase keyboard."""
|
|
|
|
|
|
# extmod/rustmods/modtrezorui2.c
|
|
def layout_new_bip39(
|
|
*,
|
|
prompt: str,
|
|
) -> object:
|
|
"""BIP39 keyboard."""
|
|
|
|
|
|
# extmod/rustmods/modtrezorui2.c
|
|
def layout_new_slip39(
|
|
*,
|
|
prompt: str,
|
|
) -> object:
|
|
"""BIP39 keyboard."""
|
|
|
|
|
|
# extmod/rustmods/modtrezorui2.c
|
|
def layout_new_confirm_text(
|
|
*,
|
|
title: str,
|
|
data: str,
|
|
description: str | None,
|
|
) -> object:
|
|
"""Example layout."""
|