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 |
- Exported types
- Methods
- Overloaded methods
- addRelationship
- getAttributes
- getDescription
- getIndexInParent
- getLayer
- getMdiZorder
- getNAccessibleChildren
- getName
- getObjectLocale
- getParent
- getRole
- initialize
- notifyStateChange
- peekParent
- refAccessibleChild
- refRelationSet
- refStateSet
- removePropertyChangeHandler
- removeRelationship
- setDescription
- setName
- setParent
- setRole
- Properties
- accessibleComponentLayer
- accessibleComponentMdiZorder
- accessibleDescription
- accessibleHypertextNlinks
- accessibleName
- accessibleParent
- accessibleRole
- accessibleTableCaption
- accessibleTableCaptionObject
- accessibleTableColumnDescription
- accessibleTableColumnHeader
- accessibleTableRowDescription
- accessibleTableRowHeader
- accessibleTableSummary
- accessibleValue
- Signals
This class is the primary class for accessibility support via the
Accessibility ToolKit (ATK). Objects which are instances of
Object
(or instances of AtkObject-derived types) are queried
for properties which relate basic (and generic) properties of a UI
component such as name and description. Instances of Object
may also be queried as to whether they implement other ATK
interfaces (e.g. Action
, Component
, etc.), as appropriate
to the role which a given UI component plays in a user interface.
All UI components in an application which provide useful
information or services to the user must provide corresponding
Object
instances on request (in GTK+, for instance, usually on
a call to gtk_widget_get_accessible
()), either via ATK support
built into the toolkit for the widget class or ancestor class, or
in the case of custom widgets, if the inherited Object
implementation is insufficient, via instances of a new Object
subclass.
See also: ObjectFactory
, Registry
. (GTK+ users see also
GtkAccessible
).
Synopsis
- newtype Object = Object (ManagedPtr Object)
- class (GObject o, IsDescendantOf Object o) => IsObject o
- toObject :: (MonadIO m, IsObject o) => o -> m Object
- noObject :: Maybe Object
- objectAddRelationship :: (HasCallStack, MonadIO m, IsObject a, IsObject b) => a -> RelationType -> b -> m Bool
- objectGetAttributes :: (HasCallStack, MonadIO m, IsObject a) => a -> m [Ptr ()]
- objectGetDescription :: (HasCallStack, MonadIO m, IsObject a) => a -> m Text
- objectGetIndexInParent :: (HasCallStack, MonadIO m, IsObject a) => a -> m Int32
- objectGetLayer :: (HasCallStack, MonadIO m, IsObject a) => a -> m Layer
- objectGetMdiZorder :: (HasCallStack, MonadIO m, IsObject a) => a -> m Int32
- objectGetNAccessibleChildren :: (HasCallStack, MonadIO m, IsObject a) => a -> m Int32
- objectGetName :: (HasCallStack, MonadIO m, IsObject a) => a -> m Text
- objectGetObjectLocale :: (HasCallStack, MonadIO m, IsObject a) => a -> m Text
- objectGetParent :: (HasCallStack, MonadIO m, IsObject a) => a -> m Object
- objectGetRole :: (HasCallStack, MonadIO m, IsObject a) => a -> m Role
- objectInitialize :: (HasCallStack, MonadIO m, IsObject a) => a -> Ptr () -> m ()
- objectNotifyStateChange :: (HasCallStack, MonadIO m, IsObject a) => a -> Word64 -> Bool -> m ()
- objectPeekParent :: (HasCallStack, MonadIO m, IsObject a) => a -> m Object
- objectRefAccessibleChild :: (HasCallStack, MonadIO m, IsObject a) => a -> Int32 -> m Object
- objectRefRelationSet :: (HasCallStack, MonadIO m, IsObject a) => a -> m RelationSet
- objectRefStateSet :: (HasCallStack, MonadIO m, IsObject a) => a -> m StateSet
- objectRemovePropertyChangeHandler :: (HasCallStack, MonadIO m, IsObject a) => a -> Word32 -> m ()
- objectRemoveRelationship :: (HasCallStack, MonadIO m, IsObject a, IsObject b) => a -> RelationType -> b -> m Bool
- objectSetDescription :: (HasCallStack, MonadIO m, IsObject a) => a -> Text -> m ()
- objectSetName :: (HasCallStack, MonadIO m, IsObject a) => a -> Text -> m ()
- objectSetParent :: (HasCallStack, MonadIO m, IsObject a, IsObject b) => a -> b -> m ()
- objectSetRole :: (HasCallStack, MonadIO m, IsObject a) => a -> Role -> m ()
- getObjectAccessibleComponentLayer :: (MonadIO m, IsObject o) => o -> m Int32
- getObjectAccessibleComponentMdiZorder :: (MonadIO m, IsObject o) => o -> m Int32
- clearObjectAccessibleDescription :: (MonadIO m, IsObject o) => o -> m ()
- constructObjectAccessibleDescription :: IsObject o => Text -> IO (GValueConstruct o)
- getObjectAccessibleDescription :: (MonadIO m, IsObject o) => o -> m (Maybe Text)
- setObjectAccessibleDescription :: (MonadIO m, IsObject o) => o -> Text -> m ()
- getObjectAccessibleHypertextNlinks :: (MonadIO m, IsObject o) => o -> m Int32
- clearObjectAccessibleName :: (MonadIO m, IsObject o) => o -> m ()
- constructObjectAccessibleName :: IsObject o => Text -> IO (GValueConstruct o)
- getObjectAccessibleName :: (MonadIO m, IsObject o) => o -> m (Maybe Text)
- setObjectAccessibleName :: (MonadIO m, IsObject o) => o -> Text -> m ()
- clearObjectAccessibleParent :: (MonadIO m, IsObject o) => o -> m ()
- constructObjectAccessibleParent :: (IsObject o, IsObject a) => a -> IO (GValueConstruct o)
- getObjectAccessibleParent :: (MonadIO m, IsObject o) => o -> m (Maybe Object)
- setObjectAccessibleParent :: (MonadIO m, IsObject o, IsObject a) => o -> a -> m ()
- constructObjectAccessibleRole :: IsObject o => Role -> IO (GValueConstruct o)
- getObjectAccessibleRole :: (MonadIO m, IsObject o) => o -> m Role
- setObjectAccessibleRole :: (MonadIO m, IsObject o) => o -> Role -> m ()
- clearObjectAccessibleTableCaption :: (MonadIO m, IsObject o) => o -> m ()
- constructObjectAccessibleTableCaption :: IsObject o => Text -> IO (GValueConstruct o)
- getObjectAccessibleTableCaption :: (MonadIO m, IsObject o) => o -> m (Maybe Text)
- setObjectAccessibleTableCaption :: (MonadIO m, IsObject o) => o -> Text -> m ()
- clearObjectAccessibleTableCaptionObject :: (MonadIO m, IsObject o) => o -> m ()
- constructObjectAccessibleTableCaptionObject :: (IsObject o, IsObject a) => a -> IO (GValueConstruct o)
- getObjectAccessibleTableCaptionObject :: (MonadIO m, IsObject o) => o -> m (Maybe Object)
- setObjectAccessibleTableCaptionObject :: (MonadIO m, IsObject o, IsObject a) => o -> a -> m ()
- clearObjectAccessibleTableColumnDescription :: (MonadIO m, IsObject o) => o -> m ()
- constructObjectAccessibleTableColumnDescription :: IsObject o => Text -> IO (GValueConstruct o)
- getObjectAccessibleTableColumnDescription :: (MonadIO m, IsObject o) => o -> m (Maybe Text)
- setObjectAccessibleTableColumnDescription :: (MonadIO m, IsObject o) => o -> Text -> m ()
- clearObjectAccessibleTableColumnHeader :: (MonadIO m, IsObject o) => o -> m ()
- constructObjectAccessibleTableColumnHeader :: (IsObject o, IsObject a) => a -> IO (GValueConstruct o)
- getObjectAccessibleTableColumnHeader :: (MonadIO m, IsObject o) => o -> m (Maybe Object)
- setObjectAccessibleTableColumnHeader :: (MonadIO m, IsObject o, IsObject a) => o -> a -> m ()
- clearObjectAccessibleTableRowDescription :: (MonadIO m, IsObject o) => o -> m ()
- constructObjectAccessibleTableRowDescription :: IsObject o => Text -> IO (GValueConstruct o)
- getObjectAccessibleTableRowDescription :: (MonadIO m, IsObject o) => o -> m (Maybe Text)
- setObjectAccessibleTableRowDescription :: (MonadIO m, IsObject o) => o -> Text -> m ()
- clearObjectAccessibleTableRowHeader :: (MonadIO m, IsObject o) => o -> m ()
- constructObjectAccessibleTableRowHeader :: (IsObject o, IsObject a) => a -> IO (GValueConstruct o)
- getObjectAccessibleTableRowHeader :: (MonadIO m, IsObject o) => o -> m (Maybe Object)
- setObjectAccessibleTableRowHeader :: (MonadIO m, IsObject o, IsObject a) => o -> a -> m ()
- clearObjectAccessibleTableSummary :: (MonadIO m, IsObject o) => o -> m ()
- constructObjectAccessibleTableSummary :: (IsObject o, IsObject a) => a -> IO (GValueConstruct o)
- getObjectAccessibleTableSummary :: (MonadIO m, IsObject o) => o -> m (Maybe Object)
- setObjectAccessibleTableSummary :: (MonadIO m, IsObject o, IsObject a) => o -> a -> m ()
- constructObjectAccessibleValue :: IsObject o => Double -> IO (GValueConstruct o)
- getObjectAccessibleValue :: (MonadIO m, IsObject o) => o -> m Double
- setObjectAccessibleValue :: (MonadIO m, IsObject o) => o -> Double -> m ()
- type C_ObjectActiveDescendantChangedCallback = Ptr () -> Ptr Object -> Ptr () -> IO ()
- type ObjectActiveDescendantChangedCallback = Maybe Object -> IO ()
- afterObjectActiveDescendantChanged :: (IsObject a, MonadIO m) => a -> Maybe Text -> ObjectActiveDescendantChangedCallback -> m SignalHandlerId
- genClosure_ObjectActiveDescendantChanged :: MonadIO m => ObjectActiveDescendantChangedCallback -> m (GClosure C_ObjectActiveDescendantChangedCallback)
- mk_ObjectActiveDescendantChangedCallback :: C_ObjectActiveDescendantChangedCallback -> IO (FunPtr C_ObjectActiveDescendantChangedCallback)
- noObjectActiveDescendantChangedCallback :: Maybe ObjectActiveDescendantChangedCallback
- onObjectActiveDescendantChanged :: (IsObject a, MonadIO m) => a -> Maybe Text -> ObjectActiveDescendantChangedCallback -> m SignalHandlerId
- wrap_ObjectActiveDescendantChangedCallback :: ObjectActiveDescendantChangedCallback -> C_ObjectActiveDescendantChangedCallback
- type C_ObjectChildrenChangedCallback = Ptr () -> Word32 -> Ptr Object -> Ptr () -> IO ()
- type ObjectChildrenChangedCallback = Word32 -> Maybe Object -> IO ()
- afterObjectChildrenChanged :: (IsObject a, MonadIO m) => a -> Maybe Text -> ObjectChildrenChangedCallback -> m SignalHandlerId
- genClosure_ObjectChildrenChanged :: MonadIO m => ObjectChildrenChangedCallback -> m (GClosure C_ObjectChildrenChangedCallback)
- mk_ObjectChildrenChangedCallback :: C_ObjectChildrenChangedCallback -> IO (FunPtr C_ObjectChildrenChangedCallback)
- noObjectChildrenChangedCallback :: Maybe ObjectChildrenChangedCallback
- onObjectChildrenChanged :: (IsObject a, MonadIO m) => a -> Maybe Text -> ObjectChildrenChangedCallback -> m SignalHandlerId
- wrap_ObjectChildrenChangedCallback :: ObjectChildrenChangedCallback -> C_ObjectChildrenChangedCallback
- type C_ObjectFocusEventCallback = Ptr () -> CInt -> Ptr () -> IO ()
- type ObjectFocusEventCallback = Bool -> IO ()
- afterObjectFocusEvent :: (IsObject a, MonadIO m) => a -> ObjectFocusEventCallback -> m SignalHandlerId
- genClosure_ObjectFocusEvent :: MonadIO m => ObjectFocusEventCallback -> m (GClosure C_ObjectFocusEventCallback)
- mk_ObjectFocusEventCallback :: C_ObjectFocusEventCallback -> IO (FunPtr C_ObjectFocusEventCallback)
- noObjectFocusEventCallback :: Maybe ObjectFocusEventCallback
- onObjectFocusEvent :: (IsObject a, MonadIO m) => a -> ObjectFocusEventCallback -> m SignalHandlerId
- wrap_ObjectFocusEventCallback :: ObjectFocusEventCallback -> C_ObjectFocusEventCallback
- type C_ObjectPropertyChangeCallback = Ptr () -> Ptr PropertyValues -> Ptr () -> IO ()
- type ObjectPropertyChangeCallback = Maybe PropertyValues -> IO ()
- afterObjectPropertyChange :: (IsObject a, MonadIO m) => a -> Maybe Text -> ObjectPropertyChangeCallback -> m SignalHandlerId
- genClosure_ObjectPropertyChange :: MonadIO m => ObjectPropertyChangeCallback -> m (GClosure C_ObjectPropertyChangeCallback)
- mk_ObjectPropertyChangeCallback :: C_ObjectPropertyChangeCallback -> IO (FunPtr C_ObjectPropertyChangeCallback)
- noObjectPropertyChangeCallback :: Maybe ObjectPropertyChangeCallback
- onObjectPropertyChange :: (IsObject a, MonadIO m) => a -> Maybe Text -> ObjectPropertyChangeCallback -> m SignalHandlerId
- wrap_ObjectPropertyChangeCallback :: ObjectPropertyChangeCallback -> C_ObjectPropertyChangeCallback
- type C_ObjectStateChangeCallback = Ptr () -> CString -> CInt -> Ptr () -> IO ()
- type ObjectStateChangeCallback = Text -> Bool -> IO ()
- afterObjectStateChange :: (IsObject a, MonadIO m) => a -> Maybe Text -> ObjectStateChangeCallback -> m SignalHandlerId
- genClosure_ObjectStateChange :: MonadIO m => ObjectStateChangeCallback -> m (GClosure C_ObjectStateChangeCallback)
- mk_ObjectStateChangeCallback :: C_ObjectStateChangeCallback -> IO (FunPtr C_ObjectStateChangeCallback)
- noObjectStateChangeCallback :: Maybe ObjectStateChangeCallback
- onObjectStateChange :: (IsObject a, MonadIO m) => a -> Maybe Text -> ObjectStateChangeCallback -> m SignalHandlerId
- wrap_ObjectStateChangeCallback :: ObjectStateChangeCallback -> C_ObjectStateChangeCallback
- type C_ObjectVisibleDataChangedCallback = Ptr () -> Ptr () -> IO ()
- type ObjectVisibleDataChangedCallback = IO ()
- afterObjectVisibleDataChanged :: (IsObject a, MonadIO m) => a -> ObjectVisibleDataChangedCallback -> m SignalHandlerId
- genClosure_ObjectVisibleDataChanged :: MonadIO m => ObjectVisibleDataChangedCallback -> m (GClosure C_ObjectVisibleDataChangedCallback)
- mk_ObjectVisibleDataChangedCallback :: C_ObjectVisibleDataChangedCallback -> IO (FunPtr C_ObjectVisibleDataChangedCallback)
- noObjectVisibleDataChangedCallback :: Maybe ObjectVisibleDataChangedCallback
- onObjectVisibleDataChanged :: (IsObject a, MonadIO m) => a -> ObjectVisibleDataChangedCallback -> m SignalHandlerId
- wrap_ObjectVisibleDataChangedCallback :: ObjectVisibleDataChangedCallback -> C_ObjectVisibleDataChangedCallback
Exported types
Memory-managed wrapper type.
Instances
Eq Object Source # | |
GObject Object Source # | |
Defined in GI.Atk.Objects.Object gobjectType :: IO GType # | |
IsGValue Object Source # | Convert |
HasParentTypes Object Source # | |
Defined in GI.Atk.Objects.Object | |
type ParentTypes Object Source # | |
Defined in GI.Atk.Objects.Object |
class (GObject o, IsDescendantOf Object o) => IsObject o Source #
Instances
(GObject o, IsDescendantOf Object o) => IsObject o Source # | |
Defined in GI.Atk.Objects.Object |
Methods
Overloaded methods
addRelationship
objectAddRelationship Source #
:: (HasCallStack, MonadIO m, IsObject a, IsObject b) | |
=> a |
|
-> RelationType |
|
-> b |
|
-> m Bool | Returns: TRUE if the relationship is added. |
Adds a relationship of the specified type with the specified target.
getAttributes
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> m [Ptr ()] | Returns: an |
Get a list of properties applied to this object as a whole, as an AtkAttributeSet
consisting of
name-value pairs. As such these attributes may be considered weakly-typed properties or annotations,
as distinct from strongly-typed object data available via other get/set methods.
Not all objects have explicit "name-value pair" AtkAttributeSet
properties.
Since: 1.12
getDescription
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> m Text | Returns: a character string representing the accessible description of the accessible. |
Gets the accessible description of the accessible.
getIndexInParent
objectGetIndexInParent Source #
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> m Int32 | Returns: an integer which is the index of the accessible in its parent |
Gets the 0-based index of this accessible in its parent; returns -1 if the accessible does not have an accessible parent.
getLayer
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> m Layer | Returns: an |
Deprecated: Use atk_component_get_layer instead.
Gets the layer of the accessible.
getMdiZorder
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> m Int32 | Returns: a gint which is the zorder of the accessible, i.e. the depth at which the component is shown in relation to other components in the same container. |
Deprecated: Use atk_component_get_mdi_zorder instead.
Gets the zorder of the accessible. The value G_MININT will be returned if the layer of the accessible is not ATK_LAYER_MDI.
getNAccessibleChildren
objectGetNAccessibleChildren Source #
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> m Int32 | Returns: an integer representing the number of accessible children of the accessible. |
Gets the number of accessible children of the accessible.
getName
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> m Text | Returns: a character string representing the accessible name of the object. |
Gets the accessible name of the accessible.
getObjectLocale
objectGetObjectLocale Source #
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> m Text | Returns: a UTF-8 string indicating the POSIX-style LC_MESSAGES
locale of |
Gets a UTF-8 string indicating the POSIX-style LC_MESSAGES locale
of accessible
.
Since: 2.8
getParent
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> m Object | Returns: an |
Gets the accessible parent of the accessible. By default this is
the one assigned with objectSetParent
, but it is assumed
that ATK implementors have ways to get the parent of the object
without the need of assigning it manually with
objectSetParent
, and will return it with this method.
If you are only interested on the parent assigned with
objectSetParent
, use objectPeekParent
.
getRole
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> m Role | Returns: an |
Gets the role of the accessible.
initialize
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> Ptr () |
|
-> m () |
notifyStateChange
objectNotifyStateChange Source #
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> Word64 |
|
-> Bool |
|
-> m () |
Emits a state-change signal for the specified state.
Note that as a general rule when the state of an existing object changes, emitting a notification is expected.
peekParent
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> m Object | Returns: an |
Gets the accessible parent of the accessible, if it has been
manually assigned with atk_object_set_parent. Otherwise, this
function returns Nothing
.
This method is intended as an utility for ATK implementors, and not
to be exposed to accessible tools. See objectGetParent
for
further reference.
refAccessibleChild
objectRefAccessibleChild Source #
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> Int32 |
|
-> m Object | Returns: an |
Gets a reference to the specified accessible child of the object. The accessible children are 0-based so the first accessible child is at index 0, the second at index 1 and so on.
refRelationSet
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> m RelationSet | Returns: an |
Gets the RelationSet
associated with the object.
refStateSet
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> m StateSet | Returns: a reference to an |
Gets a reference to the state set of the accessible; the caller must unreference it when it is no longer needed.
removePropertyChangeHandler
objectRemovePropertyChangeHandler Source #
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> Word32 |
|
-> m () |
Deprecated: Since 2.12.Removes a property change handler.
No description available in the introspection data.
removeRelationship
objectRemoveRelationship Source #
:: (HasCallStack, MonadIO m, IsObject a, IsObject b) | |
=> a |
|
-> RelationType |
|
-> b |
|
-> m Bool | Returns: TRUE if the relationship is removed. |
Removes a relationship of the specified type with the specified target.
setDescription
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> Text |
|
-> m () |
Sets the accessible description of the accessible. You can't set the description to NULL. This is reserved for the initial value. In this aspect NULL is similar to ATK_ROLE_UNKNOWN. If you want to set the name to a empty value you can use "".
setName
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> Text |
|
-> m () |
Sets the accessible name of the accessible. You can't set the name to NULL. This is reserved for the initial value. In this aspect NULL is similar to ATK_ROLE_UNKNOWN. If you want to set the name to a empty value you can use "".
setParent
:: (HasCallStack, MonadIO m, IsObject a, IsObject b) | |
=> a |
|
-> b |
|
-> m () |
Sets the accessible parent of the accessible. parent
can be NULL.
setRole
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> Role |
|
-> m () |
Sets the role of the accessible.
Properties
accessibleComponentLayer
No description available in the introspection data.
getObjectAccessibleComponentLayer :: (MonadIO m, IsObject o) => o -> m Int32 Source #
Get the value of the “accessible-component-layer
” property.
When overloading is enabled, this is equivalent to
get
object #accessibleComponentLayer
accessibleComponentMdiZorder
No description available in the introspection data.
getObjectAccessibleComponentMdiZorder :: (MonadIO m, IsObject o) => o -> m Int32 Source #
Get the value of the “accessible-component-mdi-zorder
” property.
When overloading is enabled, this is equivalent to
get
object #accessibleComponentMdiZorder
accessibleDescription
No description available in the introspection data.
clearObjectAccessibleDescription :: (MonadIO m, IsObject o) => o -> m () Source #
Set the value of the “accessible-description
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#accessibleDescription
constructObjectAccessibleDescription :: IsObject o => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “accessible-description
” property. This is rarely needed directly, but it is used by new
.
getObjectAccessibleDescription :: (MonadIO m, IsObject o) => o -> m (Maybe Text) Source #
Get the value of the “accessible-description
” property.
When overloading is enabled, this is equivalent to
get
object #accessibleDescription
setObjectAccessibleDescription :: (MonadIO m, IsObject o) => o -> Text -> m () Source #
Set the value of the “accessible-description
” property.
When overloading is enabled, this is equivalent to
set
object [ #accessibleDescription:=
value ]
accessibleHypertextNlinks
No description available in the introspection data.
getObjectAccessibleHypertextNlinks :: (MonadIO m, IsObject o) => o -> m Int32 Source #
Get the value of the “accessible-hypertext-nlinks
” property.
When overloading is enabled, this is equivalent to
get
object #accessibleHypertextNlinks
accessibleName
No description available in the introspection data.
clearObjectAccessibleName :: (MonadIO m, IsObject o) => o -> m () Source #
Set the value of the “accessible-name
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#accessibleName
constructObjectAccessibleName :: IsObject o => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “accessible-name
” property. This is rarely needed directly, but it is used by new
.
getObjectAccessibleName :: (MonadIO m, IsObject o) => o -> m (Maybe Text) Source #
Get the value of the “accessible-name
” property.
When overloading is enabled, this is equivalent to
get
object #accessibleName
setObjectAccessibleName :: (MonadIO m, IsObject o) => o -> Text -> m () Source #
Set the value of the “accessible-name
” property.
When overloading is enabled, this is equivalent to
set
object [ #accessibleName:=
value ]
accessibleParent
No description available in the introspection data.
clearObjectAccessibleParent :: (MonadIO m, IsObject o) => o -> m () Source #
Set the value of the “accessible-parent
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#accessibleParent
constructObjectAccessibleParent :: (IsObject o, IsObject a) => a -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “accessible-parent
” property. This is rarely needed directly, but it is used by new
.
getObjectAccessibleParent :: (MonadIO m, IsObject o) => o -> m (Maybe Object) Source #
Get the value of the “accessible-parent
” property.
When overloading is enabled, this is equivalent to
get
object #accessibleParent
setObjectAccessibleParent :: (MonadIO m, IsObject o, IsObject a) => o -> a -> m () Source #
Set the value of the “accessible-parent
” property.
When overloading is enabled, this is equivalent to
set
object [ #accessibleParent:=
value ]
accessibleRole
No description available in the introspection data.
constructObjectAccessibleRole :: IsObject o => Role -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “accessible-role
” property. This is rarely needed directly, but it is used by new
.
getObjectAccessibleRole :: (MonadIO m, IsObject o) => o -> m Role Source #
Get the value of the “accessible-role
” property.
When overloading is enabled, this is equivalent to
get
object #accessibleRole
setObjectAccessibleRole :: (MonadIO m, IsObject o) => o -> Role -> m () Source #
Set the value of the “accessible-role
” property.
When overloading is enabled, this is equivalent to
set
object [ #accessibleRole:=
value ]
accessibleTableCaption
Table caption.
clearObjectAccessibleTableCaption :: (MonadIO m, IsObject o) => o -> m () Source #
Set the value of the “accessible-table-caption
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#accessibleTableCaption
constructObjectAccessibleTableCaption :: IsObject o => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “accessible-table-caption
” property. This is rarely needed directly, but it is used by new
.
getObjectAccessibleTableCaption :: (MonadIO m, IsObject o) => o -> m (Maybe Text) Source #
Get the value of the “accessible-table-caption
” property.
When overloading is enabled, this is equivalent to
get
object #accessibleTableCaption
setObjectAccessibleTableCaption :: (MonadIO m, IsObject o) => o -> Text -> m () Source #
Set the value of the “accessible-table-caption
” property.
When overloading is enabled, this is equivalent to
set
object [ #accessibleTableCaption:=
value ]
accessibleTableCaptionObject
No description available in the introspection data.
clearObjectAccessibleTableCaptionObject :: (MonadIO m, IsObject o) => o -> m () Source #
Set the value of the “accessible-table-caption-object
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#accessibleTableCaptionObject
constructObjectAccessibleTableCaptionObject :: (IsObject o, IsObject a) => a -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “accessible-table-caption-object
” property. This is rarely needed directly, but it is used by new
.
getObjectAccessibleTableCaptionObject :: (MonadIO m, IsObject o) => o -> m (Maybe Object) Source #
Get the value of the “accessible-table-caption-object
” property.
When overloading is enabled, this is equivalent to
get
object #accessibleTableCaptionObject
setObjectAccessibleTableCaptionObject :: (MonadIO m, IsObject o, IsObject a) => o -> a -> m () Source #
Set the value of the “accessible-table-caption-object
” property.
When overloading is enabled, this is equivalent to
set
object [ #accessibleTableCaptionObject:=
value ]
accessibleTableColumnDescription
Accessible table column description.
clearObjectAccessibleTableColumnDescription :: (MonadIO m, IsObject o) => o -> m () Source #
Set the value of the “accessible-table-column-description
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#accessibleTableColumnDescription
constructObjectAccessibleTableColumnDescription :: IsObject o => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “accessible-table-column-description
” property. This is rarely needed directly, but it is used by new
.
getObjectAccessibleTableColumnDescription :: (MonadIO m, IsObject o) => o -> m (Maybe Text) Source #
Get the value of the “accessible-table-column-description
” property.
When overloading is enabled, this is equivalent to
get
object #accessibleTableColumnDescription
setObjectAccessibleTableColumnDescription :: (MonadIO m, IsObject o) => o -> Text -> m () Source #
Set the value of the “accessible-table-column-description
” property.
When overloading is enabled, this is equivalent to
set
object [ #accessibleTableColumnDescription:=
value ]
accessibleTableColumnHeader
Accessible table column header.
clearObjectAccessibleTableColumnHeader :: (MonadIO m, IsObject o) => o -> m () Source #
Set the value of the “accessible-table-column-header
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#accessibleTableColumnHeader
constructObjectAccessibleTableColumnHeader :: (IsObject o, IsObject a) => a -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “accessible-table-column-header
” property. This is rarely needed directly, but it is used by new
.
getObjectAccessibleTableColumnHeader :: (MonadIO m, IsObject o) => o -> m (Maybe Object) Source #
Get the value of the “accessible-table-column-header
” property.
When overloading is enabled, this is equivalent to
get
object #accessibleTableColumnHeader
setObjectAccessibleTableColumnHeader :: (MonadIO m, IsObject o, IsObject a) => o -> a -> m () Source #
Set the value of the “accessible-table-column-header
” property.
When overloading is enabled, this is equivalent to
set
object [ #accessibleTableColumnHeader:=
value ]
accessibleTableRowDescription
Accessible table row description.
clearObjectAccessibleTableRowDescription :: (MonadIO m, IsObject o) => o -> m () Source #
Set the value of the “accessible-table-row-description
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#accessibleTableRowDescription
constructObjectAccessibleTableRowDescription :: IsObject o => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “accessible-table-row-description
” property. This is rarely needed directly, but it is used by new
.
getObjectAccessibleTableRowDescription :: (MonadIO m, IsObject o) => o -> m (Maybe Text) Source #
Get the value of the “accessible-table-row-description
” property.
When overloading is enabled, this is equivalent to
get
object #accessibleTableRowDescription
setObjectAccessibleTableRowDescription :: (MonadIO m, IsObject o) => o -> Text -> m () Source #
Set the value of the “accessible-table-row-description
” property.
When overloading is enabled, this is equivalent to
set
object [ #accessibleTableRowDescription:=
value ]
accessibleTableRowHeader
Accessible table row header.
clearObjectAccessibleTableRowHeader :: (MonadIO m, IsObject o) => o -> m () Source #
Set the value of the “accessible-table-row-header
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#accessibleTableRowHeader
constructObjectAccessibleTableRowHeader :: (IsObject o, IsObject a) => a -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “accessible-table-row-header
” property. This is rarely needed directly, but it is used by new
.
getObjectAccessibleTableRowHeader :: (MonadIO m, IsObject o) => o -> m (Maybe Object) Source #
Get the value of the “accessible-table-row-header
” property.
When overloading is enabled, this is equivalent to
get
object #accessibleTableRowHeader
setObjectAccessibleTableRowHeader :: (MonadIO m, IsObject o, IsObject a) => o -> a -> m () Source #
Set the value of the “accessible-table-row-header
” property.
When overloading is enabled, this is equivalent to
set
object [ #accessibleTableRowHeader:=
value ]
accessibleTableSummary
No description available in the introspection data.
clearObjectAccessibleTableSummary :: (MonadIO m, IsObject o) => o -> m () Source #
Set the value of the “accessible-table-summary
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#accessibleTableSummary
constructObjectAccessibleTableSummary :: (IsObject o, IsObject a) => a -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “accessible-table-summary
” property. This is rarely needed directly, but it is used by new
.
getObjectAccessibleTableSummary :: (MonadIO m, IsObject o) => o -> m (Maybe Object) Source #
Get the value of the “accessible-table-summary
” property.
When overloading is enabled, this is equivalent to
get
object #accessibleTableSummary
setObjectAccessibleTableSummary :: (MonadIO m, IsObject o, IsObject a) => o -> a -> m () Source #
Set the value of the “accessible-table-summary
” property.
When overloading is enabled, this is equivalent to
set
object [ #accessibleTableSummary:=
value ]
accessibleValue
Numeric value of this object, in case being and AtkValue.
constructObjectAccessibleValue :: IsObject o => Double -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “accessible-value
” property. This is rarely needed directly, but it is used by new
.
getObjectAccessibleValue :: (MonadIO m, IsObject o) => o -> m Double Source #
Get the value of the “accessible-value
” property.
When overloading is enabled, this is equivalent to
get
object #accessibleValue
setObjectAccessibleValue :: (MonadIO m, IsObject o) => o -> Double -> m () Source #
Set the value of the “accessible-value
” property.
When overloading is enabled, this is equivalent to
set
object [ #accessibleValue:=
value ]
Signals
activeDescendantChanged
type C_ObjectActiveDescendantChangedCallback = Ptr () -> Ptr Object -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectActiveDescendantChangedCallback Source #
The "active-descendant-changed" signal is emitted by an object which has the state ATK_STATE_MANAGES_DESCENDANTS when the focus object in the object changes. For instance, a table will emit the signal when the cell in the table which has focus changes.
afterObjectActiveDescendantChanged :: (IsObject a, MonadIO m) => a -> Maybe Text -> ObjectActiveDescendantChangedCallback -> m SignalHandlerId Source #
Connect a signal handler for the activeDescendantChanged signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
object #activeDescendantChanged callback
This signal admits a optional parameter detail
.
If it's not Nothing
, we will connect to “active-descendant-changed::detail
” instead.
genClosure_ObjectActiveDescendantChanged :: MonadIO m => ObjectActiveDescendantChangedCallback -> m (GClosure C_ObjectActiveDescendantChangedCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectActiveDescendantChangedCallback :: C_ObjectActiveDescendantChangedCallback -> IO (FunPtr C_ObjectActiveDescendantChangedCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectActiveDescendantChangedCallback
.
noObjectActiveDescendantChangedCallback :: Maybe ObjectActiveDescendantChangedCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectActiveDescendantChangedCallback
onObjectActiveDescendantChanged :: (IsObject a, MonadIO m) => a -> Maybe Text -> ObjectActiveDescendantChangedCallback -> m SignalHandlerId Source #
Connect a signal handler for the activeDescendantChanged signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
object #activeDescendantChanged callback
This signal admits a optional parameter detail
.
If it's not Nothing
, we will connect to “active-descendant-changed::detail
” instead.
wrap_ObjectActiveDescendantChangedCallback :: ObjectActiveDescendantChangedCallback -> C_ObjectActiveDescendantChangedCallback Source #
childrenChanged
type C_ObjectChildrenChangedCallback = Ptr () -> Word32 -> Ptr Object -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectChildrenChangedCallback Source #
= Word32 |
|
-> Maybe Object |
|
-> IO () |
The signal "children-changed" is emitted when a child is added or removed form an object. It supports two details: "add" and "remove"
afterObjectChildrenChanged :: (IsObject a, MonadIO m) => a -> Maybe Text -> ObjectChildrenChangedCallback -> m SignalHandlerId Source #
Connect a signal handler for the childrenChanged signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
object #childrenChanged callback
This signal admits a optional parameter detail
.
If it's not Nothing
, we will connect to “children-changed::detail
” instead.
genClosure_ObjectChildrenChanged :: MonadIO m => ObjectChildrenChangedCallback -> m (GClosure C_ObjectChildrenChangedCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectChildrenChangedCallback :: C_ObjectChildrenChangedCallback -> IO (FunPtr C_ObjectChildrenChangedCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectChildrenChangedCallback
.
noObjectChildrenChangedCallback :: Maybe ObjectChildrenChangedCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectChildrenChangedCallback
onObjectChildrenChanged :: (IsObject a, MonadIO m) => a -> Maybe Text -> ObjectChildrenChangedCallback -> m SignalHandlerId Source #
Connect a signal handler for the childrenChanged signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
object #childrenChanged callback
This signal admits a optional parameter detail
.
If it's not Nothing
, we will connect to “children-changed::detail
” instead.
wrap_ObjectChildrenChangedCallback :: ObjectChildrenChangedCallback -> C_ObjectChildrenChangedCallback Source #
Wrap a ObjectChildrenChangedCallback
into a C_ObjectChildrenChangedCallback
.
focusEvent
type C_ObjectFocusEventCallback = Ptr () -> CInt -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectFocusEventCallback Source #
Deprecated: (Since version 2.9.4)Use the stateChange signal instead.
The signal "focus-event" is emitted when an object gained or lost focus.
afterObjectFocusEvent :: (IsObject a, MonadIO m) => a -> ObjectFocusEventCallback -> m SignalHandlerId Source #
Connect a signal handler for the focusEvent signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
object #focusEvent callback
genClosure_ObjectFocusEvent :: MonadIO m => ObjectFocusEventCallback -> m (GClosure C_ObjectFocusEventCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectFocusEventCallback :: C_ObjectFocusEventCallback -> IO (FunPtr C_ObjectFocusEventCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectFocusEventCallback
.
noObjectFocusEventCallback :: Maybe ObjectFocusEventCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectFocusEventCallback
onObjectFocusEvent :: (IsObject a, MonadIO m) => a -> ObjectFocusEventCallback -> m SignalHandlerId Source #
Connect a signal handler for the focusEvent signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
object #focusEvent callback
wrap_ObjectFocusEventCallback :: ObjectFocusEventCallback -> C_ObjectFocusEventCallback Source #
Wrap a ObjectFocusEventCallback
into a C_ObjectFocusEventCallback
.
propertyChange
type C_ObjectPropertyChangeCallback = Ptr () -> Ptr PropertyValues -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectPropertyChangeCallback Source #
= Maybe PropertyValues |
|
-> IO () |
The signal "property-change" is emitted when an object's property
value changes. arg1
contains an PropertyValues
with the name
and the new value of the property whose value has changed. Note
that, as with GObject notify, getting this signal does not
guarantee that the value of the property has actually changed; it
may also be emitted when the setter of the property is called to
reinstate the previous value.
Toolkit implementor note: ATK implementors should use
objectNotify
to emit property-changed
notifications. Object
::property-changed
is needed by the
implementation of atk_add_global_event_listener()
because GObject
notify doesn't support emission hooks.
afterObjectPropertyChange :: (IsObject a, MonadIO m) => a -> Maybe Text -> ObjectPropertyChangeCallback -> m SignalHandlerId Source #
Connect a signal handler for the propertyChange signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
object #propertyChange callback
This signal admits a optional parameter detail
.
If it's not Nothing
, we will connect to “property-change::detail
” instead.
genClosure_ObjectPropertyChange :: MonadIO m => ObjectPropertyChangeCallback -> m (GClosure C_ObjectPropertyChangeCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectPropertyChangeCallback :: C_ObjectPropertyChangeCallback -> IO (FunPtr C_ObjectPropertyChangeCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectPropertyChangeCallback
.
noObjectPropertyChangeCallback :: Maybe ObjectPropertyChangeCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectPropertyChangeCallback
onObjectPropertyChange :: (IsObject a, MonadIO m) => a -> Maybe Text -> ObjectPropertyChangeCallback -> m SignalHandlerId Source #
Connect a signal handler for the propertyChange signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
object #propertyChange callback
This signal admits a optional parameter detail
.
If it's not Nothing
, we will connect to “property-change::detail
” instead.
wrap_ObjectPropertyChangeCallback :: ObjectPropertyChangeCallback -> C_ObjectPropertyChangeCallback Source #
Wrap a ObjectPropertyChangeCallback
into a C_ObjectPropertyChangeCallback
.
stateChange
type C_ObjectStateChangeCallback = Ptr () -> CString -> CInt -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectStateChangeCallback Source #
= Text |
|
-> Bool |
|
-> IO () |
The "state-change" signal is emitted when an object's state changes. The detail value identifies the state type which has changed.
afterObjectStateChange :: (IsObject a, MonadIO m) => a -> Maybe Text -> ObjectStateChangeCallback -> m SignalHandlerId Source #
Connect a signal handler for the stateChange signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
object #stateChange callback
This signal admits a optional parameter detail
.
If it's not Nothing
, we will connect to “state-change::detail
” instead.
genClosure_ObjectStateChange :: MonadIO m => ObjectStateChangeCallback -> m (GClosure C_ObjectStateChangeCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectStateChangeCallback :: C_ObjectStateChangeCallback -> IO (FunPtr C_ObjectStateChangeCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectStateChangeCallback
.
noObjectStateChangeCallback :: Maybe ObjectStateChangeCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectStateChangeCallback
onObjectStateChange :: (IsObject a, MonadIO m) => a -> Maybe Text -> ObjectStateChangeCallback -> m SignalHandlerId Source #
Connect a signal handler for the stateChange signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
object #stateChange callback
This signal admits a optional parameter detail
.
If it's not Nothing
, we will connect to “state-change::detail
” instead.
wrap_ObjectStateChangeCallback :: ObjectStateChangeCallback -> C_ObjectStateChangeCallback Source #
Wrap a ObjectStateChangeCallback
into a C_ObjectStateChangeCallback
.
visibleDataChanged
type C_ObjectVisibleDataChangedCallback = Ptr () -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ObjectVisibleDataChangedCallback = IO () Source #
The "visible-data-changed" signal is emitted when the visual appearance of the object changed.
afterObjectVisibleDataChanged :: (IsObject a, MonadIO m) => a -> ObjectVisibleDataChangedCallback -> m SignalHandlerId Source #
Connect a signal handler for the visibleDataChanged signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
object #visibleDataChanged callback
genClosure_ObjectVisibleDataChanged :: MonadIO m => ObjectVisibleDataChangedCallback -> m (GClosure C_ObjectVisibleDataChangedCallback) Source #
Wrap the callback into a GClosure
.
mk_ObjectVisibleDataChangedCallback :: C_ObjectVisibleDataChangedCallback -> IO (FunPtr C_ObjectVisibleDataChangedCallback) Source #
Generate a function pointer callable from C code, from a C_ObjectVisibleDataChangedCallback
.
noObjectVisibleDataChangedCallback :: Maybe ObjectVisibleDataChangedCallback Source #
A convenience synonym for
.Nothing
:: Maybe
ObjectVisibleDataChangedCallback
onObjectVisibleDataChanged :: (IsObject a, MonadIO m) => a -> ObjectVisibleDataChangedCallback -> m SignalHandlerId Source #
Connect a signal handler for the visibleDataChanged signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
object #visibleDataChanged callback