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

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.

Constructors

NoOpObject (ManagedPtr NoOpObject) 
Instances
Eq NoOpObject Source # 
Instance details

Defined in GI.Atk.Objects.NoOpObject

Methods

(==) :: NoOpObject -> NoOpObject -> Bool

(/=) :: NoOpObject -> NoOpObject -> Bool

GObject NoOpObject Source # 
Instance details

Defined in GI.Atk.Objects.NoOpObject

Methods

gobjectType :: IO GType

IsGValue NoOpObject Source #

Convert NoOpObject to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Atk.Objects.NoOpObject

Methods

toGValue :: NoOpObject -> IO GValue

fromGValue :: GValue -> IO NoOpObject

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.

noNoOpObject :: Maybe NoOpObject Source #

A convenience alias for Nothing :: Maybe NoOpObject.

Methods

Overloaded methods

new

noOpObjectNew Source #

Arguments

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

obj: a tObject

-> m NoOpObject

Returns: a default (non-functioning stub) tObject

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