Module dynamic_gui

Source
Expand description

Compose multiple [nwg::PartialUi] types in a convenient way.

Macrosยง

_forward_to_dynamic_ui ๐Ÿ”’
A macro that generates a method that calls a method with the same name on the dynamic UI, provided a DynamicUiRef is stored inside the current type.

Structsยง

DelayEventsGuard ๐Ÿ”’
This is mostly used to ensure no action is being executed while some partial ui is being borrowed mutably.
DynamicUi
Stores many [nwg::PartialUi] type. Usually behind an Rc pointer stored inside DynamicUiRef.
DynamicUiOwner
When this goes out of scope the DynamicUi will be destroyed.
DynamicUiRef
A weak reference to the system tray. Equivalent to OnceCell<Weak<SystemTray>>.
EventHandlerData ๐Ÿ”’
PluginData ๐Ÿ”’
Data about a plugin kept by DynamicUi

Enumsยง

PluginState ๐Ÿ”’
RawEventHandlerData ๐Ÿ”’

Traitsยง

AsAny
Allow downcast for trait object.
DynWithDefault
DynamicUiHooks
A trait for [nwg::PartialUi] types that wants to be managed by DynamicUi.
DynamicUiWrapper
PartialUiDyn
A trait object safe version of [nwg::PartialUi].