_modal.py 928 B

1234567891011121314151617181920212223242526272829303132
  1. def dialog_message_set_header(text: str, x: int, y: int, h: int, v: int) -> None:
  2. '''
  3. Set a header text on the dialog box.
  4. :param text: The text to set.
  5. :param x: The x coordinates to use.
  6. :param y: The y coordinates to use.
  7. :param h: The horizontal alignment.
  8. :param v: The vertical alignment.
  9. '''
  10. pass
  11. def dialog_message_set_text(text: str, x: int, y: int, h: int, v: int) -> None:
  12. '''
  13. Set a text on the dialog box.
  14. :param text: The text to set.
  15. :param x: The x coordinates to use.
  16. :param y: The y coordinates to use.
  17. :param h: The horizontal alignment.
  18. :param v: The vertical alignment.
  19. '''
  20. pass
  21. def dialog_message_set_button(text: str, button: int) -> None:
  22. '''
  23. Set the text of a dialog box button.
  24. :param text: The text to set.
  25. :param button: The button to use (e.g. :const:`flipperzero._input.INPUT_BUTTON_UP`).
  26. '''
  27. pass