Trait atk::prelude::AtkWindowExt [−][src]
pub trait AtkWindowExt: 'static { fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn connect_create<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn connect_deactivate<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_destroy<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn connect_maximize<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn connect_minimize<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn connect_move<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn connect_resize<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn connect_restore<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; }
Expand description
Required methods
fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
The signal signal::Window::activate
is emitted when a window
becomes the active window of the application or session.
fn connect_create<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_create<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
The signal signal::Window::create
is emitted when a new window
is created.
fn connect_deactivate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_deactivate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
The signal signal::Window::deactivate
is emitted when a window is
no longer the active window of the application or session.
fn connect_destroy<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_destroy<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
The signal signal::Window::destroy
is emitted when a window is
destroyed.
fn connect_maximize<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_maximize<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
The signal signal::Window::maximize
is emitted when a window
is maximized.
fn connect_minimize<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_minimize<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
The signal signal::Window::minimize
is emitted when a window
is minimized.
fn connect_move<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_move<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
The signal signal::Window::move
is emitted when a window
is moved.
fn connect_resize<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_resize<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
The signal signal::Window::resize
is emitted when a window
is resized.
fn connect_restore<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_restore<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
The signal signal::Window::restore
is emitted when a window
is restored.