Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
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
- newtype NoOpObject = NoOpObject (ManagedPtr NoOpObject)
- class (GObject o, IsDescendantOf NoOpObject o) => IsNoOpObject o
- toNoOpObject :: (MonadIO m, IsNoOpObject o) => o -> m NoOpObject
- noNoOpObject :: Maybe NoOpObject
- noOpObjectNew :: (HasCallStack, MonadIO m, IsObject a) => a -> m NoOpObject
Exported types
newtype NoOpObject Source #
Memory-managed wrapper type.
Instances
GObject NoOpObject Source # | |
Defined in GI.Atk.Objects.NoOpObject gobjectType :: IO GType # | |
HasParentTypes NoOpObject Source # | |
Defined in GI.Atk.Objects.NoOpObject | |
type ParentTypes NoOpObject Source # | |
Defined in GI.Atk.Objects.NoOpObject |
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 # | |
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
new
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> m NoOpObject | Returns: a default (non-functioning stub) |
Provides a default (non-functioning stub) Object
.
Application maintainers should not use this method.