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.NoOpObjectFactory

Contents

Description

The AtkObjectFactory which creates an AtkNoOpObject. An instance of this is created by an AtkRegistry if no factory type has not been specified to create an accessible object of a particular type.

Synopsis

Exported types

class (GObject o, IsDescendantOf NoOpObjectFactory o) => IsNoOpObjectFactory o Source #

Type class for types which can be safely cast to NoOpObjectFactory, for instance with toNoOpObjectFactory.

toNoOpObjectFactory :: (MonadIO m, IsNoOpObjectFactory o) => o -> m NoOpObjectFactory Source #

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

Methods

new

noOpObjectFactoryNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m NoOpObjectFactory

Returns: an instance of an ObjectFactory

Creates an instance of an ObjectFactory which generates primitive (non-functioning) AtkObjects.