pytauri_plugin_notification.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 |
---|---|
NotificationBuilderArgs |
|
NotificationBuilder |
|
NotificationExt |
Attributes:
Name | Type | Description |
---|---|---|
ImplNotificationExt |
TypeAlias
|
The implementors of |
__all__
module-attribute
¶
__all__ = ['ImplNotificationExt', 'NotificationBuilder', 'NotificationBuilderArgs', 'NotificationExt']
ImplNotificationExt
module-attribute
¶
The implementors of NotificationExt
.
NotificationBuilderArgs
¶
Methods:
Name | Description |
---|---|
__new__ |
__new__
¶
tauri_plugin_notification::NotificationBuilder
Source code in python/pytauri-plugin-notification/src/pytauri_plugin_notification/ffi.py
NotificationBuilder
¶
tauri_plugin_notification::NotificationBuilder
Methods:
Name | Description |
---|---|
show |
Consume this builder and show the notification. |
show
¶
show(args: NotificationBuilderArgs) -> None
Consume this builder and show the notification.
FIXME, XXX, TODO:¶
See: https://github.com/tauri-apps/tauri/issues/3700
On windows, you must install the package via the .msi
or nsis
, or tauri-plugin-notification
will not work.
Tracker issue: https://github.com/tauri-apps/plugins-workspace/issues/2156
Source code in python/pytauri-plugin-notification/src/pytauri_plugin_notification/ffi.py
NotificationExt
¶
tauri_plugin_notification::NotificationExt
Methods:
Name | Description |
---|---|
builder |
Create a new notification builder. |
builder
staticmethod
¶
builder(slf: ImplNotificationExt) -> NotificationBuilder