pytauri_plugins.dialog.ffi
¶
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 |
Attributes:
Name | Type | Description |
---|---|---|
FilePath |
||
MessageDialogButtonsType |
See MessageDialogButtons for details. |
|
ImplDialogExt |
TypeAlias
|
The implementers of |
__all__
module-attribute
¶
__all__ = ['DialogExt', 'FileDialogBuilder', 'FileDialogBuilderArgs', 'FilePath', 'ImplDialogExt', 'MessageDialogBuilder', 'MessageDialogBuilderArgs', 'MessageDialogButtons', 'MessageDialogButtonsType', 'MessageDialogKind']
FilePath
module-attribute
¶
FilePath = TypeAliasType('FilePath', StrictPyo3Path)
MessageDialogButtonsType
module-attribute
¶
MessageDialogButtonsType = TypeAliasType('MessageDialogButtonsType', Union[Ok, OkCancel, YesNo, OkCustom, OkCancelCustom])
See MessageDialogButtons for details.
ImplDialogExt
module-attribute
¶
ImplDialogExt: TypeAlias = ImplManager
The implementers of DialogExt
.
MessageDialogButtons
¶
tauri_plugin_dialog::MessageDialogButtons
Classes:
Name | Description |
---|---|
Ok |
|
OkCancel |
|
YesNo |
|
OkCustom |
|
OkCancelCustom |
|
Ok
¶
OkCancel
¶
YesNo
¶
OkCustom
¶
OkCancelCustom
¶
MessageDialogKind
¶
MessageDialogBuilder
¶
tauri_plugin_dialog::MessageDialogBuilder
Methods:
Name | Description |
---|---|
blocking_show |
|
show |
|
blocking_show
¶
blocking_show(**kwargs: Unpack[MessageDialogBuilderArgs]) -> bool
FileDialogBuilder
¶
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 |
|
pick_file
¶
blocking_pick_file
¶
blocking_pick_file(**kwargs: Unpack[FileDialogBuilderArgs]) -> Optional[FilePath]
pick_files
¶
blocking_pick_files
¶
blocking_pick_files(**kwargs: Unpack[FileDialogBuilderArgs]) -> Optional[list[FilePath]]
pick_folder
¶
blocking_pick_folder
¶
blocking_pick_folder(**kwargs: Unpack[FileDialogBuilderArgs]) -> Optional[FilePath]
pick_folders
¶
blocking_pick_folders
¶
blocking_pick_folders(**kwargs: Unpack[FileDialogBuilderArgs]) -> Optional[list[FilePath]]
DialogExt
¶
tauri_plugin_dialog::DialogExt
Methods:
Name | Description |
---|---|
message |
|
file |
|
message
staticmethod
¶
message(slf: ImplDialogExt, message: str) -> MessageDialogBuilder
file
staticmethod
¶
file(slf: ImplDialogExt) -> FileDialogBuilder
MessageDialogBuilderArgs
¶
Bases: TypedDict
tauri_plugin_dialog::MessageDialogBuilder
Attributes:
Name | Type | Description |
---|---|---|
title |
str
|
|
parent |
_HasWindowHandleAndHasDisplayHandle
|
|
buttons |
MessageDialogButtonsType
|
|
kind |
MessageDialogKind
|
|
FileDialogBuilderArgs
¶
Bases: TypedDict
tauri_plugin_dialog::FileDialogBuilder
Attributes:
Name | Type | Description |
---|---|---|
add_filter |
tuple[str, Sequence[str]]
|
(name, extensions) |
set_directory |
Pyo3Path
|
|
set_file_name |
str
|
|
set_parent |
_HasWindowHandleAndHasDisplayHandle
|
|
set_title |
str
|
|
set_can_create_directories |
bool
|
|