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 |
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
- noOpObjectNew :: (HasCallStack, MonadIO m, IsObject a) => a -> m NoOpObject
Exported types
newtype NoOpObject Source #
Memory-managed wrapper type.
Instances
Eq NoOpObject Source # | |
Defined in GI.Atk.Objects.NoOpObject (==) :: NoOpObject -> NoOpObject -> Bool # (/=) :: NoOpObject -> NoOpObject -> Bool # | |
IsGValue NoOpObject Source # | Convert |
Defined in GI.Atk.Objects.NoOpObject toGValue :: NoOpObject -> IO GValue # fromGValue :: GValue -> IO NoOpObject # | |
ManagedPtrNewtype NoOpObject Source # | |
Defined in GI.Atk.Objects.NoOpObject | |
TypedObject NoOpObject Source # | |
Defined in GI.Atk.Objects.NoOpObject | |
GObject NoOpObject Source # | |
Defined in GI.Atk.Objects.NoOpObject | |
HasParentTypes NoOpObject Source # | |
Defined in GI.Atk.Objects.NoOpObject | |
type ParentTypes NoOpObject Source # | |
Defined in GI.Atk.Objects.NoOpObject type ParentTypes NoOpObject = '[Object, Object, Action, Component, Document, EditableText, Hypertext, Image, Selection, Table, TableCell, Text, Value, Window] |
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
.
Methods
Overloaded 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.