FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IMacOSTopLevelPlatformHandle

    trait · ferroui-base · v0.5.0

    trait IMacOSTopLevelPlatformHandle
    

    The native handles of a top level on macOS.

    This contract is not stable: it follows the needs of the platform backend. The pointers are raw native object pointers.

    View source

    Members

    ns_view

    fn ns_view(self: &Self) -> isize
    

    The NSView of the top level.

    Source

    get_ns_view_retained

    fn get_ns_view_retained(self: &Self) -> isize
    

    The NSView of the top level, retained: the caller releases it.

    Source

    ns_window

    fn ns_window(self: &Self) -> isize
    

    The NSWindow of the top level.

    Source

    get_ns_window_retained

    fn get_ns_window_retained(self: &Self) -> isize
    

    The NSWindow of the top level, retained: the caller releases it.

    Source

    Availability

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