mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-21 13:58:08 +00:00
8fb28e4af5
[no changelog]
31 lines
563 B
Python
31 lines
563 B
Python
from typing import *
|
|
|
|
|
|
# extmod/rustmods/modtrezorui2.c
|
|
def layout_new_example(text: str) -> None:
|
|
"""Example layout."""
|
|
|
|
|
|
# extmod/rustmods/modtrezorui2.c
|
|
def layout_new_confirm_action(
|
|
*,
|
|
title: str,
|
|
action: str | None,
|
|
description: str | None,
|
|
verb: str | None,
|
|
verb_cancel: str | None,
|
|
hold: bool | None,
|
|
reverse: bool,
|
|
) -> int:
|
|
"""Example layout."""
|
|
|
|
|
|
# extmod/rustmods/modtrezorui2.c
|
|
def layout_new_confirm_text(
|
|
*,
|
|
title: str,
|
|
data: str,
|
|
description: str | None,
|
|
) -> int:
|
|
"""Example layout."""
|