Trait atk::prelude::AtkWindowExt
source · [−]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
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.