[][src]Struct glutin::platform::unix::x11::Window

pub struct Window(_);

Implementations

impl Window[src]

pub fn new<T>(
    event_loop: &EventLoopWindowTarget<T>,
    attribs: WindowAttributes,
    pl_attribs: PlatformSpecificWindowBuilderAttributes
) -> Result<Window, OsError>
[src]

Methods from Deref<Target = UnownedWindow>

pub fn set_urgent(&self, is_urgent: bool)[src]

pub fn fullscreen(&self) -> Option<Fullscreen>[src]

pub fn set_fullscreen(&self, fullscreen: Option<Fullscreen>)[src]

pub fn current_monitor(&self) -> MonitorHandle[src]

pub fn available_monitors(&self) -> Vec<MonitorHandle>[src]

pub fn primary_monitor(&self) -> MonitorHandle[src]

pub fn set_minimized(&self, minimized: bool)[src]

pub fn set_maximized(&self, maximized: bool)[src]

pub fn set_title(&self, title: &str)[src]

pub fn set_decorations(&self, decorations: bool)[src]

pub fn set_always_on_top(&self, always_on_top: bool)[src]

pub fn set_window_icon(&self, icon: Option<Icon>)[src]

pub fn set_visible(&self, visible: bool)[src]

pub fn outer_position(&self) -> Result<PhysicalPosition<i32>, NotSupportedError>[src]

pub fn inner_position(&self) -> Result<PhysicalPosition<i32>, NotSupportedError>[src]

pub fn set_outer_position(&self, position: Position)[src]

pub fn inner_size(&self) -> PhysicalSize<u32>[src]

pub fn outer_size(&self) -> PhysicalSize<u32>[src]

pub fn set_inner_size(&self, size: Size)[src]

pub fn set_min_inner_size(&self, dimensions: Option<Size>)[src]

pub fn set_max_inner_size(&self, dimensions: Option<Size>)[src]

pub fn set_resizable(&self, resizable: bool)[src]

pub fn xlib_display(&self) -> *mut c_void[src]

pub fn xlib_screen_id(&self) -> i32[src]

pub fn xlib_xconnection(&self) -> Arc<XConnection>[src]

pub fn xlib_window(&self) -> u64[src]

pub fn xcb_connection(&self) -> *mut c_void[src]

pub fn set_cursor_icon(&self, cursor: CursorIcon)[src]

pub fn set_cursor_grab(&self, grab: bool) -> Result<(), ExternalError>[src]

pub fn set_cursor_visible(&self, visible: bool)[src]

pub fn scale_factor(&self) -> f64[src]

pub fn set_cursor_position_physical(
    &self,
    x: i32,
    y: i32
) -> Result<(), ExternalError>
[src]

pub fn set_cursor_position(
    &self,
    position: Position
) -> Result<(), ExternalError>
[src]

pub fn set_ime_position(&self, spot: Position)[src]

pub fn id(&self) -> WindowId[src]

pub fn request_redraw(&self)[src]

pub fn raw_window_handle(&self) -> XlibHandle[src]

Trait Implementations

impl Deref for Window[src]

type Target = UnownedWindow

The resulting type after dereferencing.

impl Drop for Window[src]

Auto Trait Implementations

impl !RefUnwindSafe for Window

impl Send for Window

impl Sync for Window

impl Unpin for Window

impl !UnwindSafe for Window

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.