FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Win32Properties

    struct · ferroui-controls · v0.5.0

    struct Win32Properties
    

    Set of Win32 specific properties and events that allow deeper customization of the application per platform.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this type.

    Source

    non_client_hit_test_result_property

    fn non_client_hit_test_result_property() -> &'static AttachedProperty<Win32HitTestValue>
    

    Defines the NonClientHitTestResult attached property: the non-client hit test result of a visual.

    Source

    window_corner_preference_property

    fn window_corner_preference_property() -> &'static AttachedProperty<WindowCornerPreference>
    

    Defines the WindowCornerPreference attached property: the rounded corner preference of a window.

    Source

    add_window_styles_callback

    fn add_window_styles_callback(top_level: &TopLevel, callback: Option<CustomWindowStylesCallback>)
    

    Adds a callback to set the window's style.

    Source

    remove_window_styles_callback

    fn remove_window_styles_callback(top_level: &TopLevel, callback: Option<CustomWindowStylesCallback>)
    

    Removes a callback that sets the window's style.

    Source

    add_wnd_proc_hook_callback

    fn add_wnd_proc_hook_callback(top_level: &TopLevel, callback: Option<CustomWndProcHookCallback>)
    

    Adds a custom callback for the window procedure.

    Source

    remove_wnd_proc_hook_callback

    fn remove_wnd_proc_hook_callback(top_level: &TopLevel, callback: Option<CustomWndProcHookCallback>)
    

    Removes a custom callback for the window procedure.

    Source

    set_non_client_hit_test_result

    fn set_non_client_hit_test_result(obj: &Visual, value: Win32HitTestValue)
    

    Sets the non-client hit test result for a visual.

    Source

    get_non_client_hit_test_result

    fn get_non_client_hit_test_result(obj: &Visual) -> Win32HitTestValue
    

    Gets the non-client hit test result for a visual.

    Source

    set_window_corner_preference

    fn set_window_corner_preference(window: &Window, value: WindowCornerPreference)
    

    Sets a hint for the corner preference of a window.

    Source

    get_window_corner_preference

    fn get_window_corner_preference(window: &Window) -> WindowCornerPreference
    

    Gets the corner preference hint of a window.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • StaticType

    Availability

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