gi-atk
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Atk.Interfaces.Window

Description

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

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

See Atk.AtkObject

Synopsis

Exported types

newtype Window Source #

Memory-managed wrapper type.

Constructors

Window (ManagedPtr Window) 

Instances

Instances details
Eq Window Source # 
Instance details

Defined in GI.Atk.Interfaces.Window

Methods

(==) :: Window -> Window -> Bool #

(/=) :: Window -> Window -> Bool #

GObject Window Source # 
Instance details

Defined in GI.Atk.Interfaces.Window

ManagedPtrNewtype Window Source # 
Instance details

Defined in GI.Atk.Interfaces.Window

TypedObject Window Source # 
Instance details

Defined in GI.Atk.Interfaces.Window

Methods

glibType :: IO GType #

HasParentTypes Window Source # 
Instance details

Defined in GI.Atk.Interfaces.Window

HasAttributeList Window Source # 
Instance details

Defined in GI.Atk.Interfaces.Window

(info ~ ResolveWindowMethod t Window, OverloadedMethod info Window p, HasField t Window p) => HasField (t :: Symbol) Window (p :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Window

Methods

getField :: Window -> p #

(info ~ ResolveWindowMethod t Window, OverloadedMethodInfo info Window) => IsLabel t (MethodProxy info Window) Source # 
Instance details

Defined in GI.Atk.Interfaces.Window

Methods

fromLabel :: MethodProxy info Window #

(info ~ ResolveWindowMethod t Window, OverloadedMethod info Window p) => IsLabel t (Window -> p) Source # 
Instance details

Defined in GI.Atk.Interfaces.Window

Methods

fromLabel :: Window -> p #

IsGValue (Maybe Window) Source #

Convert Window to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Atk.Interfaces.Window

type AttributeList Window Source # 
Instance details

Defined in GI.Atk.Interfaces.Window

type ParentTypes Window Source # 
Instance details

Defined in GI.Atk.Interfaces.Window

type SignalList Window Source # 
Instance details

Defined in GI.Atk.Interfaces.Window

class (GObject o, IsDescendantOf Window o) => IsWindow o Source #

Type class for types which can be safely cast to Window, for instance with toWindow.

Instances

Instances details
(GObject o, IsDescendantOf Window o) => IsWindow o Source # 
Instance details

Defined in GI.Atk.Interfaces.Window

toWindow :: (MonadIO m, IsWindow o) => o -> m Window Source #

Cast to Window, for types for which this is known to be safe. For general casts, use castTo.

Methods

type family ResolveWindowMethod (t :: Symbol) o where ... Source #

Equations

ResolveWindowMethod "addRelationship" o = ObjectAddRelationshipMethodInfo 
ResolveWindowMethod "bindProperty" o = ObjectBindPropertyMethodInfo 
ResolveWindowMethod "bindPropertyFull" o = ObjectBindPropertyFullMethodInfo 
ResolveWindowMethod "forceFloating" o = ObjectForceFloatingMethodInfo 
ResolveWindowMethod "freezeNotify" o = ObjectFreezeNotifyMethodInfo 
ResolveWindowMethod "getv" o = ObjectGetvMethodInfo 
ResolveWindowMethod "initialize" o = ObjectInitializeMethodInfo 
ResolveWindowMethod "isFloating" o = ObjectIsFloatingMethodInfo 
ResolveWindowMethod "notify" o = ObjectNotifyMethodInfo 
ResolveWindowMethod "notifyByPspec" o = ObjectNotifyByPspecMethodInfo 
ResolveWindowMethod "notifyStateChange" o = ObjectNotifyStateChangeMethodInfo 
ResolveWindowMethod "peekParent" o = ObjectPeekParentMethodInfo 
ResolveWindowMethod "ref" o = ObjectRefMethodInfo 
ResolveWindowMethod "refAccessibleChild" o = ObjectRefAccessibleChildMethodInfo 
ResolveWindowMethod "refRelationSet" o = ObjectRefRelationSetMethodInfo 
ResolveWindowMethod "refSink" o = ObjectRefSinkMethodInfo 
ResolveWindowMethod "refStateSet" o = ObjectRefStateSetMethodInfo 
ResolveWindowMethod "removePropertyChangeHandler" o = ObjectRemovePropertyChangeHandlerMethodInfo 
ResolveWindowMethod "removeRelationship" o = ObjectRemoveRelationshipMethodInfo 
ResolveWindowMethod "runDispose" o = ObjectRunDisposeMethodInfo 
ResolveWindowMethod "stealData" o = ObjectStealDataMethodInfo 
ResolveWindowMethod "stealQdata" o = ObjectStealQdataMethodInfo 
ResolveWindowMethod "thawNotify" o = ObjectThawNotifyMethodInfo 
ResolveWindowMethod "unref" o = ObjectUnrefMethodInfo 
ResolveWindowMethod "watchClosure" o = ObjectWatchClosureMethodInfo 
ResolveWindowMethod "getAccessibleId" o = ObjectGetAccessibleIdMethodInfo 
ResolveWindowMethod "getAttributes" o = ObjectGetAttributesMethodInfo 
ResolveWindowMethod "getData" o = ObjectGetDataMethodInfo 
ResolveWindowMethod "getDescription" o = ObjectGetDescriptionMethodInfo 
ResolveWindowMethod "getHelpText" o = ObjectGetHelpTextMethodInfo 
ResolveWindowMethod "getIndexInParent" o = ObjectGetIndexInParentMethodInfo 
ResolveWindowMethod "getLayer" o = ObjectGetLayerMethodInfo 
ResolveWindowMethod "getMdiZorder" o = ObjectGetMdiZorderMethodInfo 
ResolveWindowMethod "getNAccessibleChildren" o = ObjectGetNAccessibleChildrenMethodInfo 
ResolveWindowMethod "getName" o = ObjectGetNameMethodInfo 
ResolveWindowMethod "getObjectLocale" o = ObjectGetObjectLocaleMethodInfo 
ResolveWindowMethod "getParent" o = ObjectGetParentMethodInfo 
ResolveWindowMethod "getProperty" o = ObjectGetPropertyMethodInfo 
ResolveWindowMethod "getQdata" o = ObjectGetQdataMethodInfo 
ResolveWindowMethod "getRole" o = ObjectGetRoleMethodInfo 
ResolveWindowMethod "setAccessibleId" o = ObjectSetAccessibleIdMethodInfo 
ResolveWindowMethod "setData" o = ObjectSetDataMethodInfo 
ResolveWindowMethod "setDataFull" o = ObjectSetDataFullMethodInfo 
ResolveWindowMethod "setDescription" o = ObjectSetDescriptionMethodInfo 
ResolveWindowMethod "setHelpText" o = ObjectSetHelpTextMethodInfo 
ResolveWindowMethod "setName" o = ObjectSetNameMethodInfo 
ResolveWindowMethod "setParent" o = ObjectSetParentMethodInfo 
ResolveWindowMethod "setProperty" o = ObjectSetPropertyMethodInfo 
ResolveWindowMethod "setRole" o = ObjectSetRoleMethodInfo 
ResolveWindowMethod l o = MethodResolutionFailed l o :: Type 

Signals

activate

type WindowActivateCallback = IO () Source #

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

Since: 2.2

afterWindowActivate :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowActivateCallback) -> m SignalHandlerId Source #

Connect a signal handler for the activate signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after window #activate callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onWindowActivate :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowActivateCallback) -> m SignalHandlerId Source #

Connect a signal handler for the activate signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on window #activate callback

create

type WindowCreateCallback = IO () Source #

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

Since: 2.2

afterWindowCreate :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowCreateCallback) -> m SignalHandlerId Source #

Connect a signal handler for the create signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after window #create callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onWindowCreate :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowCreateCallback) -> m SignalHandlerId Source #

Connect a signal handler for the create signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on window #create callback

deactivate

type WindowDeactivateCallback = IO () Source #

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

Since: 2.2

afterWindowDeactivate :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowDeactivateCallback) -> m SignalHandlerId Source #

Connect a signal handler for the deactivate signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after window #deactivate callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onWindowDeactivate :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowDeactivateCallback) -> m SignalHandlerId Source #

Connect a signal handler for the deactivate signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on window #deactivate callback

destroy

type WindowDestroyCallback = IO () Source #

The signal Window::destroy is emitted when a window is destroyed.

Since: 2.2

afterWindowDestroy :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowDestroyCallback) -> m SignalHandlerId Source #

Connect a signal handler for the destroy signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after window #destroy callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onWindowDestroy :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowDestroyCallback) -> m SignalHandlerId Source #

Connect a signal handler for the destroy signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on window #destroy callback

maximize

type WindowMaximizeCallback = IO () Source #

The signal Window::maximize is emitted when a window is maximized.

Since: 2.2

afterWindowMaximize :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowMaximizeCallback) -> m SignalHandlerId Source #

Connect a signal handler for the maximize signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after window #maximize callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onWindowMaximize :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowMaximizeCallback) -> m SignalHandlerId Source #

Connect a signal handler for the maximize signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on window #maximize callback

minimize

type WindowMinimizeCallback = IO () Source #

The signal Window::minimize is emitted when a window is minimized.

Since: 2.2

afterWindowMinimize :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowMinimizeCallback) -> m SignalHandlerId Source #

Connect a signal handler for the minimize signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after window #minimize callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onWindowMinimize :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowMinimizeCallback) -> m SignalHandlerId Source #

Connect a signal handler for the minimize signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on window #minimize callback

move

type WindowMoveCallback = IO () Source #

The signal Window::move is emitted when a window is moved.

Since: 2.2

afterWindowMove :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowMoveCallback) -> m SignalHandlerId Source #

Connect a signal handler for the move signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after window #move callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onWindowMove :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowMoveCallback) -> m SignalHandlerId Source #

Connect a signal handler for the move signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on window #move callback

resize

type WindowResizeCallback = IO () Source #

The signal Window::resize is emitted when a window is resized.

Since: 2.2

afterWindowResize :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowResizeCallback) -> m SignalHandlerId Source #

Connect a signal handler for the resize signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after window #resize callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onWindowResize :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowResizeCallback) -> m SignalHandlerId Source #

Connect a signal handler for the resize signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on window #resize callback

restore

type WindowRestoreCallback = IO () Source #

The signal Window::restore is emitted when a window is restored.

Since: 2.2

afterWindowRestore :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowRestoreCallback) -> m SignalHandlerId Source #

Connect a signal handler for the restore signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after window #restore callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onWindowRestore :: (IsWindow a, MonadIO m) => a -> ((?self :: a) => WindowRestoreCallback) -> m SignalHandlerId Source #

Connect a signal handler for the restore signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on window #restore callback