gi-atk-2.0.20: Atk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Atk.Objects.NoOpObject

Contents

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.

Instances
GObject NoOpObject Source # 
Instance details

Defined in GI.Atk.Objects.NoOpObject

Methods

gobjectType :: IO GType #

HasParentTypes NoOpObject Source # 
Instance details

Defined in GI.Atk.Objects.NoOpObject

type ParentTypes NoOpObject Source # 
Instance details

Defined in GI.Atk.Objects.NoOpObject

type ParentTypes NoOpObject = Object ': (Object ': (Action ': (Component ': (Document ': (EditableText ': (Hypertext ': (Image ': (Selection ': (Table ': (TableCell ': (Text ': (Value ': (Window ': ([] :: [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
(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

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.