pub struct Window { /* private fields */ }Expand description
Safe wrapper over a IITWindow
Implementations§
Source§impl Window
impl Window
Sourcepub fn Kind(&self) -> Result<ITWindowKind>
pub fn Kind(&self) -> Result<ITWindowKind>
The window kind.
Sourcepub fn is_Visible(&self) -> Result<bool>
pub fn is_Visible(&self) -> Result<bool>
True if the window is visible. Note that the main browser window cannot be hidden.
Sourcepub fn set_Visible(&self, Visible: bool) -> Result<()>
pub fn set_Visible(&self, Visible: bool) -> Result<()>
True if the window is visible. Note that the main browser window cannot be hidden.
Sourcepub fn is_Resizable(&self) -> Result<bool>
pub fn is_Resizable(&self) -> Result<bool>
True if the window is resizable.
Sourcepub fn is_Minimized(&self) -> Result<bool>
pub fn is_Minimized(&self) -> Result<bool>
True if the window is minimized.
Sourcepub fn set_Minimized(&self, Minimized: bool) -> Result<()>
pub fn set_Minimized(&self, Minimized: bool) -> Result<()>
True if the window is minimized.
Sourcepub fn is_Maximizable(&self) -> Result<bool>
pub fn is_Maximizable(&self) -> Result<bool>
True if the window is maximizable.
Sourcepub fn is_Maximized(&self) -> Result<bool>
pub fn is_Maximized(&self) -> Result<bool>
True if the window is maximized.
Sourcepub fn set_Maximized(&self, Maximized: bool) -> Result<()>
pub fn set_Maximized(&self, Maximized: bool) -> Result<()>
True if the window is maximized.
Sourcepub fn is_Zoomable(&self) -> Result<bool>
pub fn is_Zoomable(&self) -> Result<bool>
True if the window is zoomable.
Sourcepub fn set_Zoomed(&self, Zoomed: bool) -> Result<()>
pub fn set_Zoomed(&self, Zoomed: bool) -> Result<()>
True if the window is zoomed.
Sourcepub fn set_Top(&self, Top: i32) -> Result<()>
pub fn set_Top(&self, Top: i32) -> Result<()>
The screen coordinate of the top edge of the window.
Sourcepub fn set_Left(&self, Left: i32) -> Result<()>
pub fn set_Left(&self, Left: i32) -> Result<()>
The screen coordinate of the left edge of the window.
Sourcepub fn set_Bottom(&self, Bottom: i32) -> Result<()>
pub fn set_Bottom(&self, Bottom: i32) -> Result<()>
The screen coordinate of the bottom edge of the window.
Sourcepub fn set_Right(&self, Right: i32) -> Result<()>
pub fn set_Right(&self, Right: i32) -> Result<()>
The screen coordinate of the right edge of the window.
Sourcepub fn set_Height(&self, Height: i32) -> Result<()>
pub fn set_Height(&self, Height: i32) -> Result<()>
The height of the window.
Trait Implementations§
Source§impl ITunesRelatedObject for Window
impl ITunesRelatedObject for Window
Source§fn iTunes_instance(&self) -> Arc<iTunes>
fn iTunes_instance(&self) -> Arc<iTunes>
Return the related iTunes instance this object is related to
Auto Trait Implementations§
impl Freeze for Window
impl RefUnwindSafe for Window
impl !Send for Window
impl !Sync for Window
impl Unpin for Window
impl UnwindSafe for Window
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