243 lines
85 KiB
HTML
243 lines
85 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 `WindowExt` trait in crate `gtk`.">
|
|||
|
<meta name="keywords" content="rust, rustlang, rust-lang, WindowExt">
|
|||
|
|
|||
|
<title>gtk::prelude::WindowExt - 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 WindowExt</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'>gtk</a>::<wbr><a href='index.html'>prelude</a></p><script>window.sidebarCurrent = {name: 'WindowExt', 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'>gtk</a>::<wbr><a href='index.html'>prelude</a>::<wbr><a class="trait" href=''>WindowExt</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/gtk/auto/window.rs.html#113-368' title='goto source code'>[src]</a></span></h1>
|
|||
|
<pre class='rust trait'>pub trait WindowExt {
|
|||
|
fn <a href='#tymethod.activate_default' class='fnname'>activate_default</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.activate_focus' class='fnname'>activate_focus</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.activate_key' class='fnname'>activate_key</a>(&self, event: &<a class="struct" href="../../gdk/event_key/struct.EventKey.html" title="struct gdk::event_key::EventKey">EventKey</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.add_accel_group' class='fnname'>add_accel_group</a>(&self, accel_group: &<a class="struct" href="../../gtk/struct.AccelGroup.html" title="struct gtk::AccelGroup">AccelGroup</a>);
|
|||
|
fn <a href='#tymethod.add_mnemonic' class='fnname'>add_mnemonic</a><P: <a class="trait" href="../../gtk/trait.IsA.html" title="trait gtk::IsA">IsA</a><<a class="struct" href="../../gtk/struct.Widget.html" title="struct gtk::Widget">Widget</a>>>(&self, keyval: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, target: &P);
|
|||
|
fn <a href='#tymethod.begin_move_drag' class='fnname'>begin_move_drag</a>(<br> &self, <br> button: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> root_x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> root_y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> timestamp: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><br> );
|
|||
|
fn <a href='#tymethod.begin_resize_drag' class='fnname'>begin_resize_drag</a>(<br> &self, <br> edge: <a class="enum" href="../../gdk/auto/enums/enum.WindowEdge.html" title="enum gdk::auto::enums::WindowEdge">WindowEdge</a>, <br> button: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> root_x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> root_y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> timestamp: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><br> );
|
|||
|
fn <a href='#tymethod.close' class='fnname'>close</a>(&self);
|
|||
|
fn <a href='#tymethod.deiconify' class='fnname'>deiconify</a>(&self);
|
|||
|
fn <a href='#tymethod.fullscreen' class='fnname'>fullscreen</a>(&self);
|
|||
|
fn <a href='#tymethod.fullscreen_on_monitor' class='fnname'>fullscreen_on_monitor</a>(&self, screen: &<a class="struct" href="../../gdk/auto/screen/struct.Screen.html" title="struct gdk::auto::screen::Screen">Screen</a>, monitor: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>);
|
|||
|
fn <a href='#tymethod.get_accept_focus' class='fnname'>get_accept_focus</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_application' class='fnname'>get_application</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="../../gtk/struct.Application.html" title="struct gtk::Application">Application</a>>;
|
|||
|
fn <a href='#tymethod.get_attached_to' class='fnname'>get_attached_to</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="../../gtk/struct.Widget.html" title="struct gtk::Widget">Widget</a>>;
|
|||
|
fn <a href='#tymethod.get_decorated' class='fnname'>get_decorated</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_default_size' class='fnname'>get_default_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.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.get_default_widget' class='fnname'>get_default_widget</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="../../gtk/struct.Widget.html" title="struct gtk::Widget">Widget</a>>;
|
|||
|
fn <a href='#tymethod.get_deletable' class='fnname'>get_deletable</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_destroy_with_parent' class='fnname'>get_destroy_with_parent</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_focus' class='fnname'>get_focus</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="../../gtk/struct.Widget.html" title="struct gtk::Widget">Widget</a>>;
|
|||
|
fn <a href='#tymethod.get_focus_on_map' class='fnname'>get_focus_on_map</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_focus_visible' class='fnname'>get_focus_visible</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_gravity' class='fnname'>get_gravity</a>(&self) -> <a class="enum" href="../../gdk/auto/enums/enum.Gravity.html" title="enum gdk::auto::enums::Gravity">Gravity</a>;
|
|||
|
fn <a href='#tymethod.get_group' class='fnname'>get_group</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="../../gtk/struct.WindowGroup.html" title="struct gtk::WindowGroup">WindowGroup</a>>;
|
|||
|
fn <a href='#tymethod.get_has_resize_grip' class='fnname'>get_has_resize_grip</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_hide_titlebar_when_maximized' class='fnname'>get_hide_titlebar_when_maximized</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_icon' class='fnname'>get_icon</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_pixbuf/pixbuf/struct.Pixbuf.html" title="struct gdk_pixbuf::pixbuf::Pixbuf">Pixbuf</a>>;
|
|||
|
fn <a href='#tymethod.get_icon_list' class='fnname'>get_icon_list</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_pixbuf/pixbuf/struct.Pixbuf.html" title="struct gdk_pixbuf::pixbuf::Pixbuf">Pixbuf</a>>;
|
|||
|
fn <a href='#tymethod.get_icon_name' class='fnname'>get_icon_name</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="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>;
|
|||
|
fn <a href='#tymethod.get_mnemonic_modifier' class='fnname'>get_mnemonic_modifier</a>(&self) -> <a class="struct" href="../../gdk/auto/flags/struct.ModifierType.html" title="struct gdk::auto::flags::ModifierType">ModifierType</a>;
|
|||
|
fn <a href='#tymethod.get_mnemonics_visible' class='fnname'>get_mnemonics_visible</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_modal' class='fnname'>get_modal</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_position' class='fnname'>get_position</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.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.get_resizable' class='fnname'>get_resizable</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_resize_grip_area' class='fnname'>get_resize_grip_area</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="../../gtk/struct.Rectangle.html" title="struct gtk::Rectangle">Rectangle</a>>;
|
|||
|
fn <a href='#tymethod.get_role' class='fnname'>get_role</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="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>;
|
|||
|
fn <a href='#tymethod.get_size' class='fnname'>get_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.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.get_skip_pager_hint' class='fnname'>get_skip_pager_hint</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_skip_taskbar_hint' class='fnname'>get_skip_taskbar_hint</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_title' class='fnname'>get_title</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="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>;
|
|||
|
fn <a href='#tymethod.get_titlebar' class='fnname'>get_titlebar</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="../../gtk/struct.Widget.html" title="struct gtk::Widget">Widget</a>>;
|
|||
|
fn <a href='#tymethod.get_transient_for' class='fnname'>get_transient_for</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="../../gtk/struct.Window.html" title="struct gtk::Window">Window</a>>;
|
|||
|
fn <a href='#tymethod.get_type_hint' class='fnname'>get_type_hint</a>(&self) -> <a class="enum" href="../../gdk/auto/enums/enum.WindowTypeHint.html" title="enum gdk::auto::enums::WindowTypeHint">WindowTypeHint</a>;
|
|||
|
fn <a href='#tymethod.get_urgency_hint' class='fnname'>get_urgency_hint</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_window_type' class='fnname'>get_window_type</a>(&self) -> <a class="enum" href="../../gtk/enum.WindowType.html" title="enum gtk::WindowType">WindowType</a>;
|
|||
|
fn <a href='#tymethod.has_group' class='fnname'>has_group</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.has_toplevel_focus' class='fnname'>has_toplevel_focus</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.iconify' class='fnname'>iconify</a>(&self);
|
|||
|
fn <a href='#tymethod.is_active' class='fnname'>is_active</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.is_maximized' class='fnname'>is_maximized</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.maximize' class='fnname'>maximize</a>(&self);
|
|||
|
fn <a href='#tymethod.mnemonic_activate' class='fnname'>mnemonic_activate</a>(&self, keyval: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, modifier: <a class="struct" href="../../gdk/auto/flags/struct.ModifierType.html" title="struct gdk::auto::flags::ModifierType">ModifierType</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.move_' class='fnname'>move_</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>);
|
|||
|
fn <a href='#tymethod.parse_geometry' class='fnname'>parse_geometry</a>(&self, geometry: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.present' class='fnname'>present</a>(&self);
|
|||
|
fn <a href='#tymethod.present_with_time' class='fnname'>present_with_time</a>(&self, timestamp: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>);
|
|||
|
fn <a href='#tymethod.propagate_key_event' class='fnname'>propagate_key_event</a>(&self, event: &<a class="struct" href="../../gdk/event_key/struct.EventKey.html" title="struct gdk::event_key::EventKey">EventKey</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.remove_accel_group' class='fnname'>remove_accel_group</a>(&self, accel_group: &<a class="struct" href="../../gtk/struct.AccelGroup.html" title="struct gtk::AccelGroup">AccelGroup</a>);
|
|||
|
fn <a href='#tymethod.remove_mnemonic' class='fnname'>remove_mnemonic</a><P: <a class="trait" href="../../gtk/trait.IsA.html" title="trait gtk::IsA">IsA</a><<a class="struct" href="../../gtk/struct.Widget.html" title="struct gtk::Widget">Widget</a>>>(&self, keyval: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, target: &P);
|
|||
|
fn <a href='#tymethod.reshow_with_initial_size' class='fnname'>reshow_with_initial_size</a>(&self);
|
|||
|
fn <a href='#tymethod.resize' class='fnname'>resize</a>(&self, width: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>);
|
|||
|
fn <a href='#tymethod.resize_grip_is_visible' class='fnname'>resize_grip_is_visible</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.resize_to_geometry' class='fnname'>resize_to_geometry</a>(&self, width: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>);
|
|||
|
fn <a href='#tymethod.set_accept_focus' class='fnname'>set_accept_focus</a>(&self, setting: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_application' class='fnname'>set_application</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../../gtk/struct.Application.html" title="struct gtk::Application">Application</a>>>>(<br> &self, <br> application: P<br> );
|
|||
|
fn <a href='#tymethod.set_attached_to' class='fnname'>set_attached_to</a><'a, P: <a class="trait" href="../../gtk/trait.IsA.html" title="trait gtk::IsA">IsA</a><<a class="struct" href="../../gtk/struct.Widget.html" title="struct gtk::Widget">Widget</a>> + 'a, Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a P>>>(<br> &self, <br> attach_widget: Q<br> );
|
|||
|
fn <a href='#tymethod.set_decorated' class='fnname'>set_decorated</a>(&self, setting: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_default' class='fnname'>set_default</a><'a, P: <a class="trait" href="../../gtk/trait.IsA.html" title="trait gtk::IsA">IsA</a><<a class="struct" href="../../gtk/struct.Widget.html" title="struct gtk::Widget">Widget</a>> + 'a, Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a P>>>(<br> &self, <br> default_widget: Q<br> );
|
|||
|
fn <a href='#tymethod.set_default_geometry' class='fnname'>set_default_geometry</a>(&self, width: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>);
|
|||
|
fn <a href='#tymethod.set_default_size' class='fnname'>set_default_size</a>(&self, width: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>);
|
|||
|
fn <a href='#tymethod.set_deletable' class='fnname'>set_deletable</a>(&self, setting: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_destroy_with_parent' class='fnname'>set_destroy_with_parent</a>(&self, setting: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_focus' class='fnname'>set_focus</a><'a, P: <a class="trait" href="../../gtk/trait.IsA.html" title="trait gtk::IsA">IsA</a><<a class="struct" href="../../gtk/struct.Widget.html" title="struct gtk::Widget">Widget</a>> + 'a, Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a P>>>(<br> &self, <br> focus: Q<br> );
|
|||
|
fn <a href='#tymethod.set_focus_on_map' class='fnname'>set_focus_on_map</a>(&self, setting: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_focus_visible' class='fnname'>set_focus_visible</a>(&self, setting: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_gravity' class='fnname'>set_gravity</a>(&self, gravity: <a class="enum" href="../../gdk/auto/enums/enum.Gravity.html" title="enum gdk::auto::enums::Gravity">Gravity</a>);
|
|||
|
fn <a href='#tymethod.set_has_resize_grip' class='fnname'>set_has_resize_grip</a>(&self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_has_user_ref_count' class='fnname'>set_has_user_ref_count</a>(&self, setting: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_hide_titlebar_when_maximized' class='fnname'>set_hide_titlebar_when_maximized</a>(&self, setting: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_icon' class='fnname'>set_icon</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../../gdk_pixbuf/pixbuf/struct.Pixbuf.html" title="struct gdk_pixbuf::pixbuf::Pixbuf">Pixbuf</a>>>>(&self, icon: P);
|
|||
|
fn <a href='#tymethod.set_icon_from_file' class='fnname'>set_icon_from_file</a><P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="struct" href="https://doc.rust-lang.org/nightly/std/path/struct.Path.html" title="struct std::path::Path">Path</a>>>(<br> &self, <br> filename: P<br> ) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a>, <a class="struct" href="../../gtk/struct.Error.html" title="struct gtk::Error">Error</a>>;
|
|||
|
fn <a href='#tymethod.set_icon_list' class='fnname'>set_icon_list</a>(&self, list: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="struct" href="../../gdk_pixbuf/pixbuf/struct.Pixbuf.html" title="struct gdk_pixbuf::pixbuf::Pixbuf">Pixbuf</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>);
|
|||
|
fn <a href='#tymethod.set_icon_name' class='fnname'>set_icon_name</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>>>(&self, name: P);
|
|||
|
fn <a href='#tymethod.set_keep_above' class='fnname'>set_keep_above</a>(&self, setting: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_keep_below' class='fnname'>set_keep_below</a>(&self, setting: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_mnemonic_modifier' class='fnname'>set_mnemonic_modifier</a>(&self, modifier: <a class="struct" href="../../gdk/auto/flags/struct.ModifierType.html" title="struct gdk::auto::flags::ModifierType">ModifierType</a>);
|
|||
|
fn <a href='#tymethod.set_mnemonics_visible' class='fnname'>set_mnemonics_visible</a>(&self, setting: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_modal' class='fnname'>set_modal</a>(&self, modal: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_position' class='fnname'>set_position</a>(&self, position: <a class="enum" href="../../gtk/enum.WindowPosition.html" title="enum gtk::WindowPosition">WindowPosition</a>);
|
|||
|
fn <a href='#tymethod.set_resizable' class='fnname'>set_resizable</a>(&self, resizable: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_role' class='fnname'>set_role</a>(&self, role: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>);
|
|||
|
fn <a href='#tymethod.set_screen' class='fnname'>set_screen</a>(&self, screen: &<a class="struct" href="../../gdk/auto/screen/struct.Screen.html" title="struct gdk::auto::screen::Screen">Screen</a>);
|
|||
|
fn <a href='#tymethod.set_skip_pager_hint' class='fnname'>set_skip_pager_hint</a>(&self, setting: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_skip_taskbar_hint' class='fnname'>set_skip_taskbar_hint</a>(&self, setting: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_startup_id' class='fnname'>set_startup_id</a>(&self, startup_id: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>);
|
|||
|
fn <a href='#tymethod.set_title' class='fnname'>set_title</a>(&self, title: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>);
|
|||
|
fn <a href='#tymethod.set_titlebar' class='fnname'>set_titlebar</a><'a, P: <a class="trait" href="../../gtk/trait.IsA.html" title="trait gtk::IsA">IsA</a><<a class="struct" href="../../gtk/struct.Widget.html" title="struct gtk::Widget">Widget</a>> + 'a, Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a P>>>(<br> &self, <br> titlebar: Q<br> );
|
|||
|
fn <a href='#tymethod.set_transient_for' class='fnname'>set_transient_for</a><'a, P: <a class="trait" href="../../gtk/trait.IsA.html" title="trait gtk::IsA">IsA</a><<a class="struct" href="../../gtk/struct.Window.html" title="struct gtk::Window">Window</a>> + 'a, Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a P>>>(<br> &self, <br> parent: Q<br> );
|
|||
|
fn <a href='#tymethod.set_type_hint' class='fnname'>set_type_hint</a>(&self, hint: <a class="enum" href="../../gdk/auto/enums/enum.WindowTypeHint.html" title="enum gdk::auto::enums::WindowTypeHint">WindowTypeHint</a>);
|
|||
|
fn <a href='#tymethod.set_urgency_hint' class='fnname'>set_urgency_hint</a>(&self, setting: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.set_wmclass' class='fnname'>set_wmclass</a>(&self, wmclass_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, wmclass_class: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>);
|
|||
|
fn <a href='#tymethod.stick' class='fnname'>stick</a>(&self);
|
|||
|
fn <a href='#tymethod.unfullscreen' class='fnname'>unfullscreen</a>(&self);
|
|||
|
fn <a href='#tymethod.unmaximize' class='fnname'>unmaximize</a>(&self);
|
|||
|
fn <a href='#tymethod.unstick' class='fnname'>unstick</a>(&self);
|
|||
|
fn <a href='#tymethod.get_property_default_height' class='fnname'>get_property_default_height</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
|||
|
fn <a href='#tymethod.set_property_default_height' class='fnname'>set_property_default_height</a>(&self, default_height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>);
|
|||
|
fn <a href='#tymethod.get_property_default_width' class='fnname'>get_property_default_width</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
|||
|
fn <a href='#tymethod.set_property_default_width' class='fnname'>set_property_default_width</a>(&self, default_width: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>);
|
|||
|
fn <a href='#tymethod.get_property_has_toplevel_focus' class='fnname'>get_property_has_toplevel_focus</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_property_is_active' class='fnname'>get_property_is_active</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_property_is_maximized' class='fnname'>get_property_is_maximized</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_property_resize_grip_visible' class='fnname'>get_property_resize_grip_visible</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_property_type' class='fnname'>get_property_type</a>(&self) -> <a class="enum" href="../../gtk/enum.WindowType.html" title="enum gtk::WindowType">WindowType</a>;
|
|||
|
fn <a href='#tymethod.get_property_window_position' class='fnname'>get_property_window_position</a>(&self) -> <a class="enum" href="../../gtk/enum.WindowPosition.html" title="enum gtk::WindowPosition">WindowPosition</a>;
|
|||
|
fn <a href='#tymethod.set_property_window_position' class='fnname'>set_property_window_position</a>(&self, window_position: <a class="enum" href="../../gtk/enum.WindowPosition.html" title="enum gtk::WindowPosition">WindowPosition</a>);
|
|||
|
fn <a href='#tymethod.connect_activate_default' class='fnname'>connect_activate_default</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_activate_focus' class='fnname'>connect_activate_focus</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_enable_debugging' class='fnname'>connect_enable_debugging</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>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</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_keys_changed' class='fnname'>connect_keys_changed</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_set_focus' class='fnname'>connect_set_focus</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="../../gtk/struct.Widget.html" title="struct gtk::Widget">Widget</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.activate_default' class='method'><span id='activate_default.v' class='invisible'><code>fn <a href='#tymethod.activate_default' class='fnname'>activate_default</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.activate_focus' class='method'><span id='activate_focus.v' class='invisible'><code>fn <a href='#tymethod.activate_focus' class='fnname'>activate_focus</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.activate_key' class='method'><span id='activate_key.v' class='invisible'><code>fn <a href='#tymethod.activate_key' class='fnname'>activate_key</a>(&self, event: &<a class="struct" href="../../gdk/event_key/struct.EventKey.html" title="struct gdk::event_key::EventKey">EventKey</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.add_accel_group' class='method'><span id='add_accel_group.v' class='invisible'><code>fn <a href='#tymethod.add_accel_group' class='fnname'>add_accel_group</a>(&self, accel_group: &<a class="struct" href="../../gtk/struct.AccelGroup.html" title="struct gtk::AccelGroup">AccelGroup</a>)</code></span></h3><h3 id='tymethod.add_mnemonic' class='method'><span id='add_mnemonic.v' class='invisible'><code>fn <a href='#tymethod.add_mnemonic' class='fnname'>add_mnemonic</a><P: <a class="trait" href="../../gtk/trait.IsA.html" title="trait gtk::IsA">IsA</a><<a class="struct" href="../../gtk/struct.Widget.html" title="struct gtk::Widget">Widget</a>>>(&self, keyval: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, target: &P)</code></span></h3><h3 id='tymethod.begin_move_drag' class='method'><span id='begin_move_drag.v' class='invisible'><code>fn <a href='#tymethod.begin_move_drag' class='fnname'>begin_move_drag</a>(&self, button: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, root_x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, root_y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, timestamp: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></h3><h3 id='tymethod.begin_resize_drag' class='method'><span id='begin_resize_drag.v' class='invisible'><code>fn <a href='#tymethod.begin_resize_drag' class='fnname'>begin_resize_drag</a>(<br> &self, <br> edge: <a class="enum" href="../../gdk/auto/enums/enum.WindowEdge.html" title="enum gdk::auto::enums::WindowEdge">WindowEdge</a>, <br> button: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> root_x: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> root_y: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> timestamp: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><br>)</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.deiconify' class='method'><span id='deiconify.v' class='invisible'><code>fn <a href='#tymethod.deiconify' class='fnname'>deiconify</a>(&self)</code></span></h3><h3 id='tymethod.fullscreen' class='method'><span id='fullscreen.v' class='invisible'><code>fn <a href='#tymethod.fullscreen' class='fnname'>fullscreen</a>(&self)</code></span></h3><h3 id='tymethod.fullscreen_on_monitor' class='method'><span id='fullscreen_on_monitor.v' class='invisible'><code>fn <a href='#tymethod.fullscre
|
|||
|
<h2 id='implementors'>Implementors</h2>
|
|||
|
<ul class='item-list' id='implementors-list'>
|
|||
|
<li><code>impl<O: <a class="trait" href="../../gtk/trait.IsA.html" title="trait gtk::IsA">IsA</a><<a class="struct" href="../../gtk/struct.Window.html" title="struct gtk::Window">Window</a>> + <a class="trait" href="../../gtk/trait.IsA.html" title="trait gtk::IsA">IsA</a><<a class="struct" href="../../gtk/struct.Object.html" title="struct gtk::Object">Object</a>>> WindowExt for O</code></li>
|
|||
|
</ul><script type="text/javascript" async
|
|||
|
src="../../implementors/gtk/prelude/trait.WindowExt.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 = "gtk";
|
|||
|
</script>
|
|||
|
<script src="../../main.js"></script>
|
|||
|
<script defer src="../../search-index.js"></script>
|
|||
|
</body>
|
|||
|
</html>
|