Skip to main content

IFrnWindowImpl

Trait IFrnWindowImpl 

Source
pub trait IFrnWindowImpl: IFrnWindowBaseImpl {
Show 14 methods // Required methods fn set_enabled(&self, enable: bool) -> Result<(), HResult>; fn set_can_resize(&self, value: bool) -> Result<(), HResult>; fn set_can_minimize(&self, value: bool) -> Result<(), HResult>; fn set_can_maximize(&self, value: bool) -> Result<(), HResult>; fn set_decorations(&self, value: SystemDecorations) -> Result<(), HResult>; fn set_title(&self, utf8title: Option<&CStr>) -> Result<(), HResult>; fn set_title_bar_color(&self, color: FrnColor) -> Result<(), HResult>; fn set_window_state(&self, state: FrnWindowState) -> Result<(), HResult>; fn get_window_state(&self) -> Result<FrnWindowState, HResult>; fn take_focus_from_children(&self) -> Result<(), HResult>; fn set_extend_client_area(&self, enable: bool) -> Result<(), HResult>; fn get_extend_title_bar_height(&self) -> Result<f64, HResult>; fn set_extend_title_bar_height(&self, value: f64) -> Result<(), HResult>; fn get_window_z_order(&self) -> Result<c_long, HResult>;
}
Expand description

Implement this to provide IFrnWindow to native code (see IFrnWindow::from_impl).

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: IFrnWindowImpl + ?Sized> IFrnWindowImpl for Box<T>

Source§

impl<T: IFrnWindowImpl + ?Sized> IFrnWindowImpl for Rc<T>

Implementors§