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

Contents

Description

This object class is derived from AtkObject. It can be used as a basis for implementing accessible objects for GObjects which are not derived from GtkWidget. One example of its use is in providing an accessible object for GnomeCanvasItem in the GAIL library.

Synopsis

Exported types

class (GObject o, IsDescendantOf GObjectAccessible o) => IsGObjectAccessible o Source #

Type class for types which can be safely cast to GObjectAccessible, for instance with toGObjectAccessible.

toGObjectAccessible :: (MonadIO m, IsGObjectAccessible o) => o -> m GObjectAccessible Source #

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

Methods

forObject

gObjectAccessibleForObject Source #

Arguments

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

obj: a Object

-> m Object

Returns: a Object which is the accessible object for the obj

Gets the accessible object for the specified obj.

getObject

gObjectAccessibleGetObject Source #

Arguments

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

obj: a GObjectAccessible

-> m Object

Returns: a Object which is the object for which obj is the accessible object

Gets the GObject for which obj is the accessible object.