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.
Members
TYPEnon_client_hit_test_result_propertywindow_corner_preference_propertyadd_window_styles_callbackremove_window_styles_callbackadd_wnd_proc_hook_callbackremove_wnd_proc_hook_callbackset_non_client_hit_test_resultget_non_client_hit_test_resultset_window_corner_preferenceget_window_corner_preference
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this type.
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.
window_corner_preference_property
fn window_corner_preference_property() -> &'static AttachedProperty<WindowCornerPreference>
Defines the WindowCornerPreference attached property: the rounded corner
preference of a window.
add_window_styles_callback
fn add_window_styles_callback(top_level: &TopLevel, callback: Option<CustomWindowStylesCallback>)
Adds a callback to set the window's style.
remove_window_styles_callback
fn remove_window_styles_callback(top_level: &TopLevel, callback: Option<CustomWindowStylesCallback>)
Removes a callback that sets the window's style.
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.
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.
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.
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.
set_window_corner_preference
fn set_window_corner_preference(window: &Window, value: WindowCornerPreference)
Sets a hint for the corner preference of a window.
get_window_corner_preference
fn get_window_corner_preference(window: &Window) -> WindowCornerPreference
Gets the corner preference hint of a window.
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.