NativeControlHostImpl
trait · ferroui-controls · v0.5.0
trait NativeControlHostImpl: ControlImpl + $crate::Upcast<NativeControlHost>
The overridable members introduced by the class.
Members
create_native_control_core
fn create_native_control_core(this: &Self, parent: Rc<dyn IPlatformHandle>) -> Rc<dyn IPlatformHandle>
Creates the native control as a child of parent. The default
asks the native control host of the platform for its default
child.
destroy_native_control_core
fn destroy_native_control_core(this: &Self, control: Rc<dyn IPlatformHandle>)
Destroys the native control. The default destroys a handle that can be destroyed.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.