gi-atk-2.0.21: Atk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Atk.Objects.NoOpObject

Description

An AtkNoOpObject is an AtkObject which purports to implement all ATK interfaces. It is the type of AtkObject which is created if an accessible object is requested for an object type for which no factory type is specified.

Synopsis

Exported types

newtype NoOpObject Source #

Memory-managed wrapper type.

class (GObject o, IsDescendantOf NoOpObject o) => IsNoOpObject o Source #

Type class for types which can be safely cast to NoOpObject, for instance with toNoOpObject.

Instances

Instances details
(GObject o, IsDescendantOf NoOpObject o) => IsNoOpObject o Source # 
Instance details

Defined in GI.Atk.Objects.NoOpObject

toNoOpObject :: (MonadIO m, IsNoOpObject o) => o -> m NoOpObject Source #

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

Methods

Overloaded methods

new

noOpObjectNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsObject a) 
=> a

obj: a Object

-> m NoOpObject

Returns: a default (non-functioning stub) Object

Provides a default (non-functioning stub) Object. Application maintainers should not use this method.