Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
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
- newtype NoOpObjectFactory = NoOpObjectFactory (ManagedPtr NoOpObjectFactory)
- class (GObject o, IsDescendantOf NoOpObjectFactory o) => IsNoOpObjectFactory o
- toNoOpObjectFactory :: (MonadIO m, IsNoOpObjectFactory o) => o -> m NoOpObjectFactory
- noNoOpObjectFactory :: Maybe NoOpObjectFactory
- noOpObjectFactoryNew :: (HasCallStack, MonadIO m) => m NoOpObjectFactory
Exported types
newtype NoOpObjectFactory Source #
Memory-managed wrapper type.
Instances
Eq NoOpObjectFactory Source # | |
Defined in GI.Atk.Objects.NoOpObjectFactory (==) :: NoOpObjectFactory -> NoOpObjectFactory -> Bool # (/=) :: NoOpObjectFactory -> NoOpObjectFactory -> Bool # | |
GObject NoOpObjectFactory Source # | |
Defined in GI.Atk.Objects.NoOpObjectFactory gobjectType :: IO GType # | |
IsGValue NoOpObjectFactory Source # | Convert |
Defined in GI.Atk.Objects.NoOpObjectFactory toGValue :: NoOpObjectFactory -> IO GValue # fromGValue :: GValue -> IO NoOpObjectFactory # | |
HasParentTypes NoOpObjectFactory Source # | |
Defined in GI.Atk.Objects.NoOpObjectFactory | |
type ParentTypes NoOpObjectFactory Source # | |
Defined in GI.Atk.Objects.NoOpObjectFactory |
class (GObject o, IsDescendantOf NoOpObjectFactory o) => IsNoOpObjectFactory o Source #
Type class for types which can be safely cast to NoOpObjectFactory
, for instance with toNoOpObjectFactory
.
Instances
(GObject o, IsDescendantOf NoOpObjectFactory o) => IsNoOpObjectFactory o Source # | |
Defined in GI.Atk.Objects.NoOpObjectFactory |
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
.
noNoOpObjectFactory :: Maybe NoOpObjectFactory Source #
A convenience alias for Nothing
:: Maybe
NoOpObjectFactory
.
Methods
Overloaded methods
new
:: (HasCallStack, MonadIO m) | |
=> m NoOpObjectFactory | Returns: an instance of an |
Creates an instance of an ObjectFactory
which generates primitive
(non-functioning) AtkObjects
.