FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NativeControlHostImpl

    trait · ferroui-controls · v0.5.0

    trait NativeControlHostImpl: ControlImpl + $crate::Upcast<NativeControlHost>
    

    The overridable members introduced by the class.

    View source

    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.

    Source

    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.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.