NativeDock
struct · ferroui-controls · v0.5.0
struct NativeDock
Allows native menu support on platforms where a NativeMenu can be
attached to the dock.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this type.
menu_property
fn menu_property() -> &'static AttachedProperty<Option<Ref<NativeMenu>>>
Defines the Menu attached property.
set_menu
fn set_menu(o: &FerroObject, menu: Option<Ref<NativeMenu>>)
Sets the value of the attached menu_property.
get_menu
fn get_menu(o: &FerroObject) -> Option<Ref<NativeMenu>>
Gets the value of the attached menu_property.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherStaticType
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.