Original FFI interface module.
Warning
All APIs under this module should not be considered stable. You should use the re-exported APIs under the top-level module.
Classes:
| Name | Description | 
|---|---|
| MessageDialogButtons | |
| MessageDialogKind | |
| MessageDialogBuilder | |
| FileDialogBuilder | |
| DialogExt | |
| MessageDialogBuilderArgs | |
| FileDialogBuilderArgs | 
Functions:
| Name | Description | 
|---|---|
| init | 
Attributes:
| Name | Type | Description | 
|---|---|---|
| FilePath | ||
| MessageDialogButtonsType | See MessageDialogButtons for details. | |
| ImplDialogExt | TypeAlias | The implementers of  | 
module-attribute
  
¶
__all__ = ['DialogExt', 'FileDialogBuilder', 'FileDialogBuilderArgs', 'FilePath', 'ImplDialogExt', 'MessageDialogBuilder', 'MessageDialogBuilderArgs', 'MessageDialogButtons', 'MessageDialogButtonsType', 'MessageDialogKind', 'init']
module-attribute
  
¶
FilePath = TypeAliasType('FilePath', Pyo3PathInto)
module-attribute
  
¶
MessageDialogButtonsType = TypeAliasType('MessageDialogButtonsType', Union[Ok, OkCancel, YesNo, OkCustom, OkCancelCustom])
See MessageDialogButtons for details.
module-attribute
  
¶
ImplDialogExt: TypeAlias = ImplManager
The implementers of DialogExt.
    tauri_plugin_dialog::MessageDialogButtons
Classes:
| Name | Description | 
|---|---|
| Ok |  | 
| OkCancel |  | 
| YesNo |  | 
| OkCustom |  | 
| OkCancelCustom |  | 
    
    
    
    
    
    
    tauri_plugin_dialog::MessageDialogBuilder
Methods:
| Name | Description | 
|---|---|
| blocking_show |  | 
| show |  | 
blocking_show(**kwargs: Unpack[MessageDialogBuilderArgs]) -> bool
    tauri_plugin_dialog::FileDialogBuilder
Methods:
| Name | Description | 
|---|---|
| pick_file |  | 
| blocking_pick_file |  | 
| pick_files |  | 
| blocking_pick_files |  | 
| pick_folder |  | 
| blocking_pick_folder |  | 
| pick_folders |  | 
| blocking_pick_folders |  | 
| save_file |  | 
| blocking_save_file |  | 
    
blocking_pick_file(**kwargs: Unpack[FileDialogBuilderArgs]) -> Optional[FilePath]
    
blocking_pick_files(**kwargs: Unpack[FileDialogBuilderArgs]) -> Optional[list[FilePath]]
    
blocking_pick_folder(**kwargs: Unpack[FileDialogBuilderArgs]) -> Optional[FilePath]
    
blocking_pick_folders(**kwargs: Unpack[FileDialogBuilderArgs]) -> Optional[list[FilePath]]
    tauri_plugin_dialog::DialogExt
Methods:
| Name | Description | 
|---|---|
| message |  | 
| file |  | 
staticmethod
  
¶
message(slf: ImplDialogExt, message: str) -> MessageDialogBuilder
staticmethod
  
¶
file(slf: ImplDialogExt) -> FileDialogBuilder
    
              Bases: TypedDict
tauri_plugin_dialog::MessageDialogBuilder
Attributes:
| Name | Type | Description | 
|---|---|---|
| title | str |  | 
| parent | _HasWindowHandleAndHasDisplayHandle |  | 
| buttons | MessageDialogButtonsType |  | 
| kind | MessageDialogKind |  | 
    
              Bases: TypedDict
tauri_plugin_dialog::FileDialogBuilder
Attributes:
| Name | Type | Description | 
|---|---|---|
| add_filter | tuple[str, Sequence[str]] | (name, extensions) | 
| set_directory | Pyo3PathFrom |  | 
| set_file_name | str |  | 
| set_parent | _HasWindowHandleAndHasDisplayHandle |  | 
| set_title | str |  | 
| set_can_create_directories | bool |  |