gi-gtk-3.0.27: Gtk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.Accessible

Contents

Description

The Accessible class is the base class for accessible implementations for Widget subclasses. It is a thin wrapper around Object, which adds facilities for associating a widget with its accessible object.

An accessible implementation for a third-party widget should derive from Accessible and implement the suitable interfaces from ATK, such as Text or Selection. To establish the connection between the widget class and its corresponding acccessible implementation, override the get_accessible vfunc in WidgetClass.

Synopsis

Exported types

newtype Accessible Source #

Memory-managed wrapper type.

Instances
GObject Accessible Source # 
Instance details

Defined in GI.Gtk.Objects.Accessible

IsObject Accessible Source # 
Instance details

Defined in GI.Gtk.Objects.Accessible

IsObject Accessible Source # 
Instance details

Defined in GI.Gtk.Objects.Accessible

IsAccessible Accessible Source # 
Instance details

Defined in GI.Gtk.Objects.Accessible

class GObject o => IsAccessible o Source #

Type class for types which can be safely cast to Accessible, for instance with toAccessible.

Instances
(GObject a, (UnknownAncestorError Accessible a :: Constraint)) => IsAccessible a Source # 
Instance details

Defined in GI.Gtk.Objects.Accessible

IsAccessible Accessible Source # 
Instance details

Defined in GI.Gtk.Objects.Accessible

IsAccessible ButtonAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.ButtonAccessible

IsAccessible CellAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.CellAccessible

IsAccessible CheckMenuItemAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.CheckMenuItemAccessible

IsAccessible ContainerAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.ContainerAccessible

IsAccessible ContainerCellAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.ContainerCellAccessible

IsAccessible EntryAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.EntryAccessible

IsAccessible MenuItemAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.MenuItemAccessible

IsAccessible MenuShellAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.MenuShellAccessible

IsAccessible NotebookAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.NotebookAccessible

IsAccessible RangeAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.RangeAccessible

IsAccessible RendererCellAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.RendererCellAccessible

IsAccessible ImageCellAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.ImageCellAccessible

IsAccessible BooleanCellAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.BooleanCellAccessible

IsAccessible TextCellAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.TextCellAccessible

IsAccessible ToggleButtonAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.ToggleButtonAccessible

IsAccessible WidgetAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.WidgetAccessible

IsAccessible TreeViewAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.TreeViewAccessible

IsAccessible TextViewAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.TextViewAccessible

IsAccessible SwitchAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.SwitchAccessible

IsAccessible StatusbarAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.StatusbarAccessible

IsAccessible StackAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.StackAccessible

IsAccessible SpinnerAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.SpinnerAccessible

IsAccessible SpinButtonAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.SpinButtonAccessible

IsAccessible ScrolledWindowAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.ScrolledWindowAccessible

IsAccessible ScaleButtonAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.ScaleButtonAccessible

IsAccessible ScaleAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.ScaleAccessible

IsAccessible RadioMenuItemAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.RadioMenuItemAccessible

IsAccessible RadioButtonAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.RadioButtonAccessible

IsAccessible ProgressBarAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.ProgressBarAccessible

IsAccessible PopoverAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.PopoverAccessible

IsAccessible PanedAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.PanedAccessible

IsAccessible MenuButtonAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.MenuButtonAccessible

IsAccessible MenuAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.MenuAccessible

IsAccessible LockButtonAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.LockButtonAccessible

IsAccessible ListBoxRowAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.ListBoxRowAccessible

IsAccessible ListBoxAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.ListBoxAccessible

IsAccessible LinkButtonAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.LinkButtonAccessible

IsAccessible LevelBarAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.LevelBarAccessible

IsAccessible LabelAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.LabelAccessible

IsAccessible ImageAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.ImageAccessible

IsAccessible IconViewAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.IconViewAccessible

IsAccessible FrameAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.FrameAccessible

IsAccessible FlowBoxChildAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.FlowBoxChildAccessible

IsAccessible FlowBoxAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.FlowBoxAccessible

IsAccessible ExpanderAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.ExpanderAccessible

IsAccessible ComboBoxAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.ComboBoxAccessible

IsAccessible ArrowAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.ArrowAccessible

IsAccessible WindowAccessible Source # 
Instance details

Defined in GI.Gtk.Objects.WindowAccessible

toAccessible :: (MonadIO m, IsAccessible o) => o -> m Accessible Source #

Cast to Accessible, for types for which this is known to be safe. For general casts, use castTo.

Methods

connectWidgetDestroyed

accessibleConnectWidgetDestroyed Source #

Arguments

:: (HasCallStack, MonadIO m, IsAccessible a) 
=> a

accessible: a Accessible

-> m () 

Deprecated: (Since version 3.4)Use accessibleSetWidget and its vfuncs.

This function specifies the callback function to be called when the widget corresponding to a GtkAccessible is destroyed.

getWidget

accessibleGetWidget Source #

Arguments

:: (HasCallStack, MonadIO m, IsAccessible a) 
=> a

accessible: a Accessible

-> m (Maybe Widget)

Returns: pointer to the Widget corresponding to the Accessible, or Nothing.

Gets the Widget corresponding to the Accessible. The returned widget does not have a reference added, so you do not need to unref it.

Since: 2.22

setWidget

accessibleSetWidget Source #

Arguments

:: (HasCallStack, MonadIO m, IsAccessible a, IsWidget b) 
=> a

accessible: a Accessible

-> Maybe b

widget: a Widget or Nothing to unset

-> m () 

Sets the Widget corresponding to the Accessible.

accessible will not hold a reference to widget. It is the caller’s responsibility to ensure that when widget is destroyed, the widget is unset by calling this function again with widget set to Nothing.

Since: 2.22

Properties

widget

No description available in the introspection data.

clearAccessibleWidget :: (MonadIO m, IsAccessible o) => o -> m () Source #

Set the value of the “widget” property to Nothing. When overloading is enabled, this is equivalent to

clear #widget

constructAccessibleWidget :: (IsAccessible o, IsWidget a) => a -> IO (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “widget” property. This is rarely needed directly, but it is used by new.

getAccessibleWidget :: (MonadIO m, IsAccessible o) => o -> m (Maybe Widget) Source #

Get the value of the “widget” property. When overloading is enabled, this is equivalent to

get accessible #widget

setAccessibleWidget :: (MonadIO m, IsAccessible o, IsWidget a) => o -> a -> m () Source #

Set the value of the “widget” property. When overloading is enabled, this is equivalent to

set accessible [ #widget := value ]