pub struct WindowBaseImpl { /* private fields */ }Expand description
The state and behaviour shared by windows and popups.
Implementations§
Source§impl WindowBaseImpl
impl WindowBaseImpl
Sourcepub fn native(&self) -> Option<ComPtr<IFrnWindowBase>>
pub fn native(&self) -> Option<ComPtr<IFrnWindowBase>>
The native window; None once it is disposed.
pub fn position(&self) -> PixelPoint
pub fn set_position(&self, value: PixelPoint)
pub fn deactivated(&self) -> Option<Rc<dyn Fn()>>
pub fn set_deactivated(&self, value: Option<Rc<dyn Fn()>>)
pub fn activated(&self) -> Option<Rc<dyn Fn()>>
pub fn set_activated(&self, value: Option<Rc<dyn Fn()>>)
pub fn position_changed(&self) -> Option<Rc<dyn Fn(PixelPoint)>>
pub fn set_position_changed(&self, value: Option<Rc<dyn Fn(PixelPoint)>>)
pub fn frame_size(&self) -> Option<Size>
pub fn activate(&self)
pub fn resize(&self, client_size: Size, reason: WindowResizeReason)
pub fn set_frame_theme_variant( &self, theme_variant: Option<PlatformThemeVariant>, )
pub fn show(&self, activate: bool, is_dialog: bool)
pub fn hide(&self)
pub fn begin_move_drag(&self)
pub fn max_auto_size_hint(&self) -> Size
pub fn set_topmost(&self, value: bool)
pub fn begin_resize_drag(&self, _edge: WindowEdge)
pub fn set_min_max_size(&self, min_size: Size, max_size: Size)
Auto Trait Implementations§
impl !Freeze for WindowBaseImpl
impl !RefUnwindSafe for WindowBaseImpl
impl !Send for WindowBaseImpl
impl !Sync for WindowBaseImpl
impl !UnwindSafe for WindowBaseImpl
impl Unpin for WindowBaseImpl
impl UnsafeUnpin for WindowBaseImpl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more