173 lines
41 KiB
HTML
173 lines
41 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<meta name="generator" content="rustdoc">
|
||
<meta name="description" content="API documentation for the Rust `DisplayExt` trait in crate `gdk`.">
|
||
<meta name="keywords" content="rust, rustlang, rust-lang, DisplayExt">
|
||
|
||
<title>gdk::prelude::DisplayExt - Rust</title>
|
||
|
||
<link rel="stylesheet" type="text/css" href="../../normalize.css">
|
||
<link rel="stylesheet" type="text/css" href="../../rustdoc.css">
|
||
<link rel="stylesheet" type="text/css" href="../../main.css">
|
||
|
||
|
||
|
||
|
||
</head>
|
||
<body class="rustdoc trait">
|
||
<!--[if lte IE 8]>
|
||
<div class="warning">
|
||
This old browser is unsupported and will most likely display funky
|
||
things.
|
||
</div>
|
||
<![endif]-->
|
||
|
||
|
||
|
||
<nav class="sidebar">
|
||
|
||
<p class='location'>Trait DisplayExt</p><div class="block items"><ul><li><a href="#required-methods">Required Methods</a></li><li><a href="#implementors">Implementors</a></li></ul></div><p class='location'><a href='../index.html'>gdk</a>::<wbr><a href='index.html'>prelude</a></p><script>window.sidebarCurrent = {name: 'DisplayExt', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script>
|
||
</nav>
|
||
|
||
<nav class="sub">
|
||
<form class="search-form js-only">
|
||
<div class="search-container">
|
||
<input class="search-input" name="search"
|
||
autocomplete="off"
|
||
placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
|
||
type="search">
|
||
</div>
|
||
</form>
|
||
</nav>
|
||
|
||
<section id='main' class="content">
|
||
<h1 class='fqn'><span class='in-band'>Trait <a href='../index.html'>gdk</a>::<wbr><a href='index.html'>prelude</a>::<wbr><a class="trait" href=''>DisplayExt</a></span><span class='out-of-band'><span id='render-detail'>
|
||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||
[<span class='inner'>−</span>]
|
||
</a>
|
||
</span><a class='srclink' href='../../src/gdk/auto/display.rs.html#60-173' title='goto source code'>[src]</a></span></h1>
|
||
<pre class='rust trait'>pub trait DisplayExt {
|
||
fn <a href='#tymethod.beep' class='fnname'>beep</a>(&self);
|
||
fn <a href='#tymethod.close' class='fnname'>close</a>(&self);
|
||
fn <a href='#tymethod.device_is_grabbed' class='fnname'>device_is_grabbed</a><P: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../gdk/struct.Device.html" title="struct gdk::Device">Device</a>>>(&self, device: &P) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||
fn <a href='#tymethod.flush' class='fnname'>flush</a>(&self);
|
||
fn <a href='#tymethod.get_app_launch_context' class='fnname'>get_app_launch_context</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.AppLaunchContext.html" title="struct gdk::AppLaunchContext">AppLaunchContext</a>>;
|
||
fn <a href='#tymethod.get_default_cursor_size' class='fnname'>get_default_cursor_size</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>;
|
||
fn <a href='#tymethod.get_default_group' class='fnname'>get_default_group</a>(&self) -> <a class="struct" href="../../gdk/struct.Window.html" title="struct gdk::Window">Window</a>;
|
||
fn <a href='#tymethod.get_default_screen' class='fnname'>get_default_screen</a>(&self) -> <a class="struct" href="../../gdk/struct.Screen.html" title="struct gdk::Screen">Screen</a>;
|
||
fn <a href='#tymethod.get_default_seat' class='fnname'>get_default_seat</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Seat.html" title="struct gdk::Seat">Seat</a>>;
|
||
fn <a href='#tymethod.get_device_manager' class='fnname'>get_device_manager</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.DeviceManager.html" title="struct gdk::DeviceManager">DeviceManager</a>>;
|
||
fn <a href='#tymethod.get_event' class='fnname'>get_event</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Event.html" title="struct gdk::Event">Event</a>>;
|
||
fn <a href='#tymethod.get_maximal_cursor_size' class='fnname'>get_maximal_cursor_size</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
|
||
fn <a href='#tymethod.get_monitor' class='fnname'>get_monitor</a>(&self, monitor_num: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Monitor.html" title="struct gdk::Monitor">Monitor</a>>;
|
||
fn <a href='#tymethod.get_monitor_at_point' class='fnname'>get_monitor_at_point</a>(&self, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Monitor.html" title="struct gdk::Monitor">Monitor</a>>;
|
||
fn <a href='#tymethod.get_monitor_at_window' class='fnname'>get_monitor_at_window</a>(&self, window: &<a class="struct" href="../../gdk/struct.Window.html" title="struct gdk::Window">Window</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Monitor.html" title="struct gdk::Monitor">Monitor</a>>;
|
||
fn <a href='#tymethod.get_n_monitors' class='fnname'>get_n_monitors</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
||
fn <a href='#tymethod.get_n_screens' class='fnname'>get_n_screens</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
||
fn <a href='#tymethod.get_name' class='fnname'>get_name</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>;
|
||
fn <a href='#tymethod.get_pointer' class='fnname'>get_pointer</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../gdk/struct.Screen.html" title="struct gdk::Screen">Screen</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="struct" href="../../gdk/struct.ModifierType.html" title="struct gdk::ModifierType">ModifierType</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
|
||
fn <a href='#tymethod.get_primary_monitor' class='fnname'>get_primary_monitor</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Monitor.html" title="struct gdk::Monitor">Monitor</a>>;
|
||
fn <a href='#tymethod.get_screen' class='fnname'>get_screen</a>(&self, screen_num: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="struct" href="../../gdk/struct.Screen.html" title="struct gdk::Screen">Screen</a>;
|
||
fn <a href='#tymethod.get_window_at_pointer' class='fnname'>get_window_at_pointer</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Window.html" title="struct gdk::Window">Window</a>>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
|
||
fn <a href='#tymethod.has_pending' class='fnname'>has_pending</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||
fn <a href='#tymethod.is_closed' class='fnname'>is_closed</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||
fn <a href='#tymethod.keyboard_ungrab' class='fnname'>keyboard_ungrab</a>(&self, time_: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>);
|
||
fn <a href='#tymethod.list_devices' class='fnname'>list_devices</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../../gdk/struct.Device.html" title="struct gdk::Device">Device</a>>;
|
||
fn <a href='#tymethod.list_seats' class='fnname'>list_seats</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../../gdk/struct.Seat.html" title="struct gdk::Seat">Seat</a>>;
|
||
fn <a href='#tymethod.notify_startup_complete' class='fnname'>notify_startup_complete</a>(&self, startup_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>);
|
||
fn <a href='#tymethod.peek_event' class='fnname'>peek_event</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Event.html" title="struct gdk::Event">Event</a>>;
|
||
fn <a href='#tymethod.pointer_is_grabbed' class='fnname'>pointer_is_grabbed</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||
fn <a href='#tymethod.pointer_ungrab' class='fnname'>pointer_ungrab</a>(&self, time_: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>);
|
||
fn <a href='#tymethod.put_event' class='fnname'>put_event</a>(&self, event: &<a class="struct" href="../../gdk/struct.Event.html" title="struct gdk::Event">Event</a>);
|
||
fn <a href='#tymethod.request_selection_notification' class='fnname'>request_selection_notification</a>(&self, selection: &<a class="struct" href="../../gdk/struct.Atom.html" title="struct gdk::Atom">Atom</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||
fn <a href='#tymethod.set_double_click_distance' class='fnname'>set_double_click_distance</a>(&self, distance: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>);
|
||
fn <a href='#tymethod.set_double_click_time' class='fnname'>set_double_click_time</a>(&self, msec: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>);
|
||
fn <a href='#tymethod.store_clipboard' class='fnname'>store_clipboard</a>(<br> &self, <br> clipboard_window: &<a class="struct" href="../../gdk/struct.Window.html" title="struct gdk::Window">Window</a>, <br> time_: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> targets: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a>&<a class="struct" href="../../gdk/struct.Atom.html" title="struct gdk::Atom">Atom</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a><br> );
|
||
fn <a href='#tymethod.supports_clipboard_persistence' class='fnname'>supports_clipboard_persistence</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||
fn <a href='#tymethod.supports_composite' class='fnname'>supports_composite</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||
fn <a href='#tymethod.supports_cursor_alpha' class='fnname'>supports_cursor_alpha</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||
fn <a href='#tymethod.supports_cursor_color' class='fnname'>supports_cursor_color</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||
fn <a href='#tymethod.supports_input_shapes' class='fnname'>supports_input_shapes</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||
fn <a href='#tymethod.supports_selection_notification' class='fnname'>supports_selection_notification</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||
fn <a href='#tymethod.supports_shapes' class='fnname'>supports_shapes</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||
fn <a href='#tymethod.sync' class='fnname'>sync</a>(&self);
|
||
fn <a href='#tymethod.warp_pointer' class='fnname'>warp_pointer</a>(&self, screen: &<a class="struct" href="../../gdk/struct.Screen.html" title="struct gdk::Screen">Screen</a>, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>);
|
||
fn <a href='#tymethod.connect_closed' class='fnname'>connect_closed</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) + 'static>(&self, f: F) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
||
fn <a href='#tymethod.connect_monitor_added' class='fnname'>connect_monitor_added</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, &<a class="struct" href="../../gdk/struct.Monitor.html" title="struct gdk::Monitor">Monitor</a>) + 'static>(<br> &self, <br> f: F<br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
||
fn <a href='#tymethod.connect_monitor_removed' class='fnname'>connect_monitor_removed</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, &<a class="struct" href="../../gdk/struct.Monitor.html" title="struct gdk::Monitor">Monitor</a>) + 'static>(<br> &self, <br> f: F<br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
||
fn <a href='#tymethod.connect_opened' class='fnname'>connect_opened</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self) + 'static>(&self, f: F) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
||
fn <a href='#tymethod.connect_seat_added' class='fnname'>connect_seat_added</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, &<a class="struct" href="../../gdk/struct.Seat.html" title="struct gdk::Seat">Seat</a>) + 'static>(&self, f: F) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
||
fn <a href='#tymethod.connect_seat_removed' class='fnname'>connect_seat_removed</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, &<a class="struct" href="../../gdk/struct.Seat.html" title="struct gdk::Seat">Seat</a>) + 'static>(&self, f: F) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
||
}</pre>
|
||
<h2 id='required-methods'>Required Methods</h2>
|
||
<div class='methods'>
|
||
<h3 id='tymethod.beep' class='method'><span id='beep.v' class='invisible'><code>fn <a href='#tymethod.beep' class='fnname'>beep</a>(&self)</code></span></h3><h3 id='tymethod.close' class='method'><span id='close.v' class='invisible'><code>fn <a href='#tymethod.close' class='fnname'>close</a>(&self)</code></span></h3><h3 id='tymethod.device_is_grabbed' class='method'><span id='device_is_grabbed.v' class='invisible'><code>fn <a href='#tymethod.device_is_grabbed' class='fnname'>device_is_grabbed</a><P: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../gdk/struct.Device.html" title="struct gdk::Device">Device</a>>>(&self, device: &P) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.flush' class='method'><span id='flush.v' class='invisible'><code>fn <a href='#tymethod.flush' class='fnname'>flush</a>(&self)</code></span></h3><h3 id='tymethod.get_app_launch_context' class='method'><span id='get_app_launch_context.v' class='invisible'><code>fn <a href='#tymethod.get_app_launch_context' class='fnname'>get_app_launch_context</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.AppLaunchContext.html" title="struct gdk::AppLaunchContext">AppLaunchContext</a>></code></span></h3><h3 id='tymethod.get_default_cursor_size' class='method'><span id='get_default_cursor_size.v' class='invisible'><code>fn <a href='#tymethod.get_default_cursor_size' class='fnname'>get_default_cursor_size</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></h3><h3 id='tymethod.get_default_group' class='method'><span id='get_default_group.v' class='invisible'><code>fn <a href='#tymethod.get_default_group' class='fnname'>get_default_group</a>(&self) -> <a class="struct" href="../../gdk/struct.Window.html" title="struct gdk::Window">Window</a></code></span></h3><h3 id='tymethod.get_default_screen' class='method'><span id='get_default_screen.v' class='invisible'><code>fn <a href='#tymethod.get_default_screen' class='fnname'>get_default_screen</a>(&self) -> <a class="struct" href="../../gdk/struct.Screen.html" title="struct gdk::Screen">Screen</a></code></span></h3><h3 id='tymethod.get_default_seat' class='method'><span id='get_default_seat.v' class='invisible'><code>fn <a href='#tymethod.get_default_seat' class='fnname'>get_default_seat</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Seat.html" title="struct gdk::Seat">Seat</a>></code></span></h3><h3 id='tymethod.get_device_manager' class='method'><span id='get_device_manager.v' class='invisible'><code>fn <a href='#tymethod.get_device_manager' class='fnname'>get_device_manager</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.DeviceManager.html" title="struct gdk::DeviceManager">DeviceManager</a>></code></span></h3><h3 id='tymethod.get_event' class='method'><span id='get_event.v' class='invisible'><code>fn <a href='#tymethod.get_event' class='fnname'>get_event</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Event.html" title="struct gdk::Event">Event</a>></code></span></h3><h3 id='tymethod.get_maximal_cursor_size' class='method'><span id='get_maximal_cursor_size.v' class='invisible'><code>fn <a href='#tymethod.get_maximal_cursor_size' class='fnname'>get_maximal_cursor_size</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h3><h3 id='tymethod.get_monitor' class='method'><span id='get_monitor.v' class='invisible'><code>fn <a href='#tymethod.get_monitor' class='fnname'>get_monitor</a>(&self, monitor_num: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Monitor.html" title="struct gdk::Monitor">Monitor</a>></code></span></h3><h3 id='tymethod.get_monitor_at_point' class='method'><span id='get_monitor_at_point.v' class='invisible'><code>fn <a href='#tymethod.get_monitor_at_point' class='fnname'>get_monitor_at_point</a>(&self, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Monitor.html" title="struct gdk::Monitor">Monitor</a>></code></span></h3><h3 id='tymethod.get_monitor_at_window' class='method'><span id='get_monitor_at_window.v' class='invisible'><code>fn <a href='#tymethod.get_monitor_at_window' class='fnname'>get_monitor_at_window</a>(&self, window: &<a class="struct" href="../../gdk/struct.Window.html" title="struct gdk::Window">Window</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Monitor.html" title="struct gdk::Monitor">Monitor</a>></code></span></h3><h3 id='tymethod.get_n_monitors' class='method'><span id='get_n_monitors.v' class='invisible'><code>fn <a href='#tymethod.get_n_monitors' class='fnname'>get_n_monitors</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code></span></h3><h3 id='tymethod.get_n_screens' class='method'><span id='get_n_screens.v' class='invisible'><code>fn <a href='#tymethod.get_n_screens' class='fnname'>get_n_screens</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code></span></h3><h3 id='tymethod.get_name' class='method'><span id='get_name.v' class='invisible'><code>fn <a href='#tymethod.get_name' class='fnname'>get_name</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></span></h3><h3 id='tymethod.get_pointer' class='method'><span id='get_pointer.v' class='invisible'><code>fn <a href='#tymethod.get_pointer' class='fnname'>get_pointer</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../gdk/struct.Screen.html" title="struct gdk::Screen">Screen</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="struct" href="../../gdk/struct.ModifierType.html" title="struct gdk::ModifierType">ModifierType</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h3><h3 id='tymethod.get_primary_monitor' class='method'><span id='get_primary_monitor.v' class='invisible'><code>fn <a href='#tymethod.get_primary_monitor' class='fnname'>get_primary_monitor</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Monitor.html" title="struct gdk::Monitor">Monitor</a>></code></span></h3><h3 id='tymethod.get_screen' class='method'><span id='get_screen.v' class='invisible'><code>fn <a href='#tymethod.get_screen' class='fnname'>get_screen</a>(&self, screen_num: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="struct" href="../../gdk/struct.Screen.html" title="struct gdk::Screen">Screen</a></code></span></h3><h3 id='tymethod.get_window_at_pointer' class='method'><span id='get_window_at_pointer.v' class='invisible'><code>fn <a href='#tymethod.get_window_at_pointer' class='fnname'>get_window_at_pointer</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Window.html" title="struct gdk::Window">Window</a>>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h3><h3 id='tymethod.has_pending' class='method'><span id='has_pending.v' class='invisible'><code>fn <a href='#tymethod.has_pending' class='fnname'>has_pending</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.is_closed' class='method'><span id='is_closed.v' class='invisible'><code>fn <a href='#tymethod.is_closed' class='fnname'>is_closed</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.keyboard_ungrab' class='method'><span id='keyboard_ungrab.v' class='invisible'><code>fn <a href='#tymethod.keyboard_ungrab' class='fnname'>keyboard_ungrab</a>(&self, time_: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></h3><h3 id='tymethod.list_devices' class='method'><span id='list_devices.v' class='invisible'><code>fn <a href='#tymethod.list_devices' class='fnname'>list_devices</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../../gdk/struct.Device.html" title="struct gdk::Device">Device</a>></code></span></h3><h3 id='tymethod.list_seats' class='method'><span id='list_seats.v' class='invisible'><code>fn <a href='#tymethod.list_seats' class='fnname'>list_seats</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../../gdk/struct.Seat.html" title="struct gdk::Seat">Seat</a>></code></span></h3><h3 id='tymethod.notify_startup_complete' class='method'><span id='notify_startup_complete.v' class='invisible'><code>fn <a href='#tymethod.notify_startup_complete' class='fnname'>notify_startup_complete</a>(&self, startup_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>)</code></span></h3><h3 id='tymethod.peek_event' class='method'><span id='peek_event.v' class='invisible'><code>fn <a href='#tymethod.peek_event' class='fnname'>peek_event</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Event.html" title="struct gdk::Event">Event</a>></code></span></h3><h3 id='tymethod.pointer_is_grabbed' class='method'><span id='pointer_is_grabbed.v' class='invisible'><code>fn <a href='#tymethod.pointer_is_grabbed' class='fnname'>pointer_is_grabbed</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.pointer_ungrab' class='method'><span id='pointer_ungrab.v' class='invisible'><code>fn <a href='#tymethod.pointer_ungrab' class='fnname'>pointer_ungrab</a>(&self, time_: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></h3><h3 id='tymethod.put_event' class='method'><span id='put_event.v' class='invisible'><code>fn <a href='#tymethod.put_event' class='fnname'>put_event</a>(&self, event: &<a class="struct" href="../../gdk/struct.Event.html" title="struct gdk::Event">Event</a>)</code></span></h3><h3 id='tymethod.request_selection_notification' class='method'><span id='request_selection_notification.v' class='invisible'><code>fn <a href='#tymethod.request_selection_notification' class='fnname'>request_selection_notification</a>(&self, selection: &<a class="struct" href="../../gdk/struct.Atom.html" title="struct gdk::Atom">Atom</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.set_double_click_distance' class='method'><span id='set_double_click_distance.v' class='invisible'><code>fn <a href='#tymethod.set_double_click_distance' class='fnname'>set_double_click_distance</a>(&self, distance: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></h3><h3 id='tymethod.set_double_click_time' class='method'><span id='set_double_click_time.v' class='invisible'><code>fn <a href='#tymethod.set_double_click_time' class='fnname'>set_double_click_time</a>(&self, msec: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></h3><h3 id='tymethod.store_clipboard' class='method'><span id='store_clipboard.v' class='invisible'><code>fn <a href='#tymethod.store_clipboard' class='fnname'>store_clipboard</a>(<br> &self, <br> clipboard_window: &<a class="struct" href="../../gdk/struct.Window.html" title="struct gdk::Window">Window</a>, <br> time_: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br> targets: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a>&<a class="struct" href="../../gdk/struct.Atom.html" title="struct gdk::Atom">Atom</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a><br>)</code></span></h3><h3 id='tymethod.supports_clipboard_persistence' class='method'><span id='supports_clipboard_persistence.v' class='invisible'><code>fn <a href='#tymethod.supports_clipboard_persistence' class='fnname'>supports_clipboard_persistence</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.supports_composite' class='method'><span id='supports_composite.v' class='invisible'><code>fn <a href='#tymethod.supports_composite' class='fnname'>supports_composite</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.supports_cursor_alpha' class='method'><span id='supports_cursor_alpha.v' class='invisible'><code>fn <a href='#tymethod.supports_cursor_alpha' class='fnname'>supports_cursor_alpha</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.supports_cursor_color' class='method'><span id='supports_cursor_color.v' class='invisible'><code>fn <a href='#tymethod.supports_cursor_color' class='fnname'>supports_cursor_color</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.supports_input_shapes' class='method'><span id='supports_input_shapes.v' class='invisible'><code>fn <a href='#tymethod.supports_input_shapes' class='fnname'>supports_input_shapes</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.supports_selection_notification' class='method'><span id='supports_selection_notification.v' class='invisible'><code>fn <a href='#tymethod.supports_selection_notification' class='fnname'>supports_selection_notification</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.supports_shapes' class='method'><span id='supports_shapes.v' class='invisible'><code>fn <a href='#tymethod.supports_shapes' class='fnname'>supports_shapes</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.sync' class='method'><span id='sync.v' class='invisible'><code>fn <a href='#tymethod.sync' class='fnname'>sync</a>(&self)</code></span></h3><h3 id='tymethod.warp_pointer' class='method'><span id='warp_pointer.v' class='invisible'><code>fn <a href='#tymethod.warp_pointer' class='fnname'>warp_pointer</a>(&self, screen: &<a class="struct" href="../../gdk/struct.Screen.html" title="struct gdk::Screen">Screen</a>, x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>)</code></span></h3><h3 id='tymethod.connect_closed' class='method'><span id='connect_closed.v' class='invisible'><code>fn <a href='#tymethod.connect_closed' class='fnname'>connect_closed</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) + 'static>(&self, f: F) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span></h3><h3 id='tymethod.connect_monitor_added' class='method'><span id='connect_monitor_added.v' class='invisible'><code>fn <a href='#tymethod.connect_monitor_added' class='fnname'>connect_monitor_added</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, &<a class="struct" href="../../gdk/struct.Monitor.html" title="struct gdk::Monitor">Monitor</a>) + 'static>(&self, f: F) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span></h3><h3 id='tymethod.connect_monitor_removed' class='method'><span id='connect_monitor_removed.v' class='invisible'><code>fn <a href='#tymethod.connect_monitor_removed' class='fnname'>connect_monitor_removed</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, &<a class="struct" href="../../gdk/struct.Monitor.html" title="struct gdk::Monitor">Monitor</a>) + 'static>(&self, f: F) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span></h3><h3 id='tymethod.connect_opened' class='method'><span id='connect_opened.v' class='invisible'><code>fn <a href='#tymethod.connect_opened' class='fnname'>connect_opened</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self) + 'static>(&self, f: F) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span></h3><h3 id='tymethod.connect_seat_added' class='method'><span id='connect_seat_added.v' class='invisible'><code>fn <a href='#tymethod.connect_seat_added' class='fnname'>connect_seat_added</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, &<a class="struct" href="../../gdk/struct.Seat.html" title="struct gdk::Seat">Seat</a>) + 'static>(&self, f: F) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span></h3><h3 id='tymethod.connect_seat_removed' class='method'><span id='connect_seat_removed.v' class='invisible'><code>fn <a href='#tymethod.connect_seat_removed' class='fnname'>connect_seat_removed</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, &<a class="struct" href="../../gdk/struct.Seat.html" title="struct gdk::Seat">Seat</a>) + 'static>(&self, f: F) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span></h3></div>
|
||
<h2 id='implementors'>Implementors</h2>
|
||
<ul class='item-list' id='implementors-list'>
|
||
<li><code>impl<O: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../gdk/struct.Display.html" title="struct gdk::Display">Display</a>> + <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a>>> DisplayExt for O</code></li>
|
||
</ul><script type="text/javascript" async
|
||
src="../../implementors/gdk/prelude/trait.DisplayExt.js">
|
||
</script></section>
|
||
<section id='search' class="content hidden"></section>
|
||
|
||
<section class="footer"></section>
|
||
|
||
<aside id="help" class="hidden">
|
||
<div>
|
||
<h1 class="hidden">Help</h1>
|
||
|
||
<div class="shortcuts">
|
||
<h2>Keyboard Shortcuts</h2>
|
||
|
||
<dl>
|
||
<dt>?</dt>
|
||
<dd>Show this help dialog</dd>
|
||
<dt>S</dt>
|
||
<dd>Focus the search field</dd>
|
||
<dt>⇤</dt>
|
||
<dd>Move up in search results</dd>
|
||
<dt>⇥</dt>
|
||
<dd>Move down in search results</dd>
|
||
<dt>⏎</dt>
|
||
<dd>Go to active search result</dd>
|
||
<dt>+</dt>
|
||
<dd>Collapse/expand all sections</dd>
|
||
</dl>
|
||
</div>
|
||
|
||
<div class="infos">
|
||
<h2>Search Tricks</h2>
|
||
|
||
<p>
|
||
Prefix searches with a type followed by a colon (e.g.
|
||
<code>fn:</code>) to restrict the search to a given type.
|
||
</p>
|
||
|
||
<p>
|
||
Accepted types are: <code>fn</code>, <code>mod</code>,
|
||
<code>struct</code>, <code>enum</code>,
|
||
<code>trait</code>, <code>type</code>, <code>macro</code>,
|
||
and <code>const</code>.
|
||
</p>
|
||
|
||
<p>
|
||
Search functions by type signature (e.g.
|
||
<code>vec -> usize</code> or <code>* -> vec</code>)
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</aside>
|
||
|
||
|
||
|
||
<script>
|
||
window.rootPath = "../../";
|
||
window.currentCrate = "gdk";
|
||
</script>
|
||
<script src="../../main.js"></script>
|
||
<script defer src="../../search-index.js"></script>
|
||
</body>
|
||
</html> |