Struct gdk::Display
[−]
pub struct Display(_, _);
Methods
impl Display
[src]
fn beep(&self)
fn close(&self)
fn device_is_grabbed<P: IsA<Device>>(&self, device: &P) -> bool
fn flush(&self)
fn get_app_launch_context(&self) -> Option<AppLaunchContext>
fn get_default_cursor_size(&self) -> u32
fn get_default_group(&self) -> Window
fn get_default_screen(&self) -> Screen
fn get_device_manager(&self) -> Option<DeviceManager>
fn get_event(&self) -> Option<Event>
fn get_maximal_cursor_size(&self) -> (u32, u32)
fn get_n_screens(&self) -> i32
fn get_name(&self) -> String
fn get_pointer(&self) -> (Screen, i32, i32, ModifierType)
fn get_screen(&self, screen_num: i32) -> Screen
fn get_window_at_pointer(&self) -> (Option<Window>, i32, i32)
fn has_pending(&self) -> bool
fn is_closed(&self) -> bool
fn keyboard_ungrab(&self, time_: u32)
fn list_devices(&self) -> Vec<Device>
fn notify_startup_complete(&self, startup_id: &str)
fn peek_event(&self) -> Option<Event>
fn pointer_is_grabbed(&self) -> bool
fn pointer_ungrab(&self, time_: u32)
fn put_event(&self, event: &Event)
fn request_selection_notification(&self, selection: &Atom) -> bool
fn set_double_click_distance(&self, distance: u32)
fn set_double_click_time(&self, msec: u32)
fn supports_clipboard_persistence(&self) -> bool
fn supports_composite(&self) -> bool
fn supports_cursor_alpha(&self) -> bool
fn supports_cursor_color(&self) -> bool
fn supports_input_shapes(&self) -> bool
fn supports_selection_notification(&self) -> bool
fn supports_shapes(&self) -> bool
fn sync(&self)
fn warp_pointer(&self, screen: &Screen, x: i32, y: i32)
fn get_default() -> Option<Display>
fn open(display_name: &str) -> Option<Display>
fn open_default_libgtk_only() -> Option<Display>
fn connect_closed<F: Fn(&Display, bool) + 'static>(&self, f: F) -> u64
fn connect_opened<F: Fn(&Display) + 'static>(&self, f: F) -> u64
Trait Implementations
impl Clone for Display
fn clone(&self) -> Display
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Display
impl Hash for Display
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for Display
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Display
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.