atk.window_mixin

Module for [Window] interface mixin

Templates 2

tmplWindowT()

The ATK Interface provided by UI components that represent a top-level window.

#AtkWindow should be implemented by the UI elements that represent a top-level window, such as the main window of an application or dialog.

See class@AtkObject

Functions
gulong connectActivate(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : atk.window.Window))) && Parameters!T.length < 2)

Connect to Activate signal.

The signal #AtkWindow::activate is emitted when a window becomes the active window of the application or session.

Parameters

callbacksignal callback delegate or function to connect void callback(atk.window.Window window) window the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID
gulong connectCreate(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : atk.window.Window))) && Parameters!T.length < 2)

Connect to Create signal.

The signal #AtkWindow::create is emitted when a new window is created.

Parameters

callbacksignal callback delegate or function to connect void callback(atk.window.Window window) window the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID
gulong connectDeactivate(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : atk.window.Window))) && Parameters!T.length < 2)

Connect to Deactivate signal.

The signal #AtkWindow::deactivate is emitted when a window is no longer the active window of the application or session.

Parameters

callbacksignal callback delegate or function to connect void callback(atk.window.Window window) window the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID
gulong connectDestroy(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : atk.window.Window))) && Parameters!T.length < 2)

Connect to Destroy signal.

The signal #AtkWindow::destroy is emitted when a window is destroyed.

Parameters

callbacksignal callback delegate or function to connect void callback(atk.window.Window window) window the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID
gulong connectMaximize(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : atk.window.Window))) && Parameters!T.length < 2)

Connect to Maximize signal.

The signal #AtkWindow::maximize is emitted when a window is maximized.

Parameters

callbacksignal callback delegate or function to connect void callback(atk.window.Window window) window the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID
gulong connectMinimize(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : atk.window.Window))) && Parameters!T.length < 2)

Connect to Minimize signal.

The signal #AtkWindow::minimize is emitted when a window is minimized.

Parameters

callbacksignal callback delegate or function to connect void callback(atk.window.Window window) window the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID
gulong connectMove(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : atk.window.Window))) && Parameters!T.length < 2)

Connect to Move signal.

The signal #AtkWindow::move is emitted when a window is moved.

Parameters

callbacksignal callback delegate or function to connect void callback(atk.window.Window window) window the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID
gulong connectResize(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : atk.window.Window))) && Parameters!T.length < 2)

Connect to Resize signal.

The signal #AtkWindow::resize is emitted when a window is resized.

Parameters

callbacksignal callback delegate or function to connect void callback(atk.window.Window window) window the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID
gulong connectRestore(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : atk.window.Window))) && Parameters!T.length < 2)

Connect to Restore signal.

The signal #AtkWindow::restore is emitted when a window is restored.

Parameters

callbacksignal callback delegate or function to connect void callback(atk.window.Window window) window the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID
tmplWindowGidBuilderT()