[−][src]Struct glutin::platform::unix::x11::UnownedWindow
Fields
xconn: Arc<XConnection>
Implementations
impl UnownedWindow
[src]
pub fn new<T>(
event_loop: &EventLoopWindowTarget<T>,
window_attrs: WindowAttributes,
pl_attribs: PlatformSpecificWindowBuilderAttributes
) -> Result<UnownedWindow, OsError>
[src]
event_loop: &EventLoopWindowTarget<T>,
window_attrs: WindowAttributes,
pl_attribs: PlatformSpecificWindowBuilderAttributes
) -> Result<UnownedWindow, OsError>
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]
&self,
x: i32,
y: i32
) -> Result<(), ExternalError>
pub fn set_cursor_position(
&self,
position: Position
) -> Result<(), ExternalError>
[src]
&self,
position: Position
) -> Result<(), ExternalError>
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 Send for UnownedWindow
[src]
impl Sync for UnownedWindow
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,