Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
See Socket
Synopsis
- newtype Plug = Plug (ManagedPtr Plug)
- class (GObject o, IsDescendantOf Plug o) => IsPlug o
- toPlug :: (MonadIO m, IsPlug o) => o -> m Plug
- plugGetId :: (HasCallStack, MonadIO m, IsPlug a) => a -> m Text
- plugNew :: (HasCallStack, MonadIO m) => m Plug
- plugSetChild :: (HasCallStack, MonadIO m, IsPlug a, IsObject b) => a -> b -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq Plug Source # | |
GObject Plug Source # | |
Defined in GI.Atk.Objects.Plug | |
ManagedPtrNewtype Plug Source # | |
Defined in GI.Atk.Objects.Plug toManagedPtr :: Plug -> ManagedPtr Plug | |
TypedObject Plug Source # | |
Defined in GI.Atk.Objects.Plug | |
HasParentTypes Plug Source # | |
Defined in GI.Atk.Objects.Plug | |
IsGValue (Maybe Plug) Source # | Convert |
Defined in GI.Atk.Objects.Plug gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Plug -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Plug) | |
type ParentTypes Plug Source # | |
Defined in GI.Atk.Objects.Plug |
class (GObject o, IsDescendantOf Plug o) => IsPlug o Source #
Instances
(GObject o, IsDescendantOf Plug o) => IsPlug o Source # | |
Defined in GI.Atk.Objects.Plug |
Methods
Click to display all available methods, including inherited ones
Methods
addRelationship, bindProperty, bindPropertyFull, contains, forceFloating, freezeNotify, getv, grabFocus, initialize, isFloating, notify, notifyByPspec, notifyStateChange, peekParent, ref, refAccessibleAtPoint, refAccessibleChild, refRelationSet, refSink, refStateSet, removeFocusHandler, removePropertyChangeHandler, removeRelationship, runDispose, scrollTo, scrollToPoint, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getAccessibleId, getAlpha, getAttributes, getData, getDescription, getExtents, getId, getIndexInParent, getLayer, getMdiZorder, getNAccessibleChildren, getName, getObjectLocale, getParent, getPosition, getProperty, getQdata, getRole, getSize.
Setters
setAccessibleId, setChild, setData, setDataFull, setDescription, setExtents, setName, setParent, setPosition, setProperty, setRole, setSize.
getId
:: (HasCallStack, MonadIO m, IsPlug a) | |
=> a |
|
-> m Text | Returns: the unique ID for the plug |
Gets the unique ID of an Plug
object, which can be used to
embed inside of an Socket
using socketEmbed
.
Internally, this calls a class function that should be registered
by the IPC layer (usually at-spi2-atk). The implementor of an
Plug
object should call this function (after atk-bridge is
loaded) and pass the value to the process implementing the
Socket
, so it could embed the plug.
Since: 1.30
new
:: (HasCallStack, MonadIO m) | |
=> m Plug | Returns: the newly created |
Creates a new Plug
instance.
Since: 1.30
setChild
:: (HasCallStack, MonadIO m, IsPlug a, IsObject b) | |
=> a |
|
-> b |
|
-> m () |
Sets child
as accessible child of plug
and plug
as accessible parent of
child
. child
can be NULL.
In some cases, one can not use the AtkPlug type directly as accessible
object for the toplevel widget of the application. For instance in the gtk
case, GtkPlugAccessible can not inherit both from GtkWindowAccessible and
from AtkPlug. In such a case, one can create, in addition to the standard
accessible object for the toplevel widget, an AtkPlug object, and make the
former the child of the latter by calling plugSetChild
.
Since: 2.35.0