gi-atk-2.0.25: Atk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Atk.Objects.Util

Description

A set of ATK utility functions which are used to support event registration of various types, and obtaining the 'root' accessible of a process and information about the current ATK implementation and toolkit version.

Synopsis

Exported types

newtype Util Source #

Memory-managed wrapper type.

Constructors

Util (ManagedPtr Util) 

Instances

Instances details
Eq Util Source # 
Instance details

Defined in GI.Atk.Objects.Util

Methods

(==) :: Util -> Util -> Bool #

(/=) :: Util -> Util -> Bool #

GObject Util Source # 
Instance details

Defined in GI.Atk.Objects.Util

ManagedPtrNewtype Util Source # 
Instance details

Defined in GI.Atk.Objects.Util

Methods

toManagedPtr :: Util -> ManagedPtr Util

TypedObject Util Source # 
Instance details

Defined in GI.Atk.Objects.Util

Methods

glibType :: IO GType

HasParentTypes Util Source # 
Instance details

Defined in GI.Atk.Objects.Util

IsGValue (Maybe Util) Source #

Convert Util to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Atk.Objects.Util

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe Util -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe Util)

type ParentTypes Util Source # 
Instance details

Defined in GI.Atk.Objects.Util

type ParentTypes Util = '[Object]

class (GObject o, IsDescendantOf Util o) => IsUtil o Source #

Type class for types which can be safely cast to Util, for instance with toUtil.

Instances

Instances details
(GObject o, IsDescendantOf Util o) => IsUtil o Source # 
Instance details

Defined in GI.Atk.Objects.Util

toUtil :: (MonadIO m, IsUtil o) => o -> m Util Source #

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

Methods