Expand description
Synchronous message box API similar to WinAPI ShowMessageBox
This module provides simple, blocking functions for displaying dialogs, notifications, and getting user input without requiring async/await.
Structs§
- Message
BoxConfig - Configuration for message box behavior
- Message
BoxResponse - Extended result containing both button result and optional text
Enums§
- Message
BoxIcon - Message box icons
- Message
BoxResult - Message box result
- Message
BoxType - Message box types similar to WinAPI MessageBox
Functions§
- ask_
yes_ no - Simple yes/no question
- ask_
yes_ no_ ex - Enhanced Yes/No dialog with customizable default button
- confirm
- Simple OK/Cancel confirmation
- error
- Quick error message - shows for 7 seconds
- info
- Quick info message - shows for 3 seconds
- input_
text - Text input dialog - prompts user for text input
- message_
box - Simple message box - blocks until user interaction or timeout
- message_
box_ async - Async version of message_box for use in async contexts
- message_
box_ ex - Enhanced message box with full configuration options
- message_
box_ ex_ async - Async version of message_box_ex
- message_
box_ with_ type - Example usage of the
--typeflag. - notify
- Simple notification - shows message and auto-closes
- notify_
async - Async version of notify
- select_
file - File selection dialog - prompts user to select a file
- warn
- Quick warning message - shows for 5 seconds