atk

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FocusTrackerNotify

func FocusTrackerNotify(object *Object)

FocusTrackerNotify is a wrapper around the C function atk_focus_tracker_notify.

func GetToolkitName

func GetToolkitName() string

GetToolkitName is a wrapper around the C function atk_get_toolkit_name.

func GetToolkitVersion

func GetToolkitVersion() string

GetToolkitVersion is a wrapper around the C function atk_get_toolkit_version.

func RelationTypeGetName

func RelationTypeGetName(type_ RelationType) string

RelationTypeGetName is a wrapper around the C function atk_relation_type_get_name.

func RemoveFocusTracker

func RemoveFocusTracker(trackerId uint32)

RemoveFocusTracker is a wrapper around the C function atk_remove_focus_tracker.

func RemoveGlobalEventListener

func RemoveGlobalEventListener(listenerId uint32)

RemoveGlobalEventListener is a wrapper around the C function atk_remove_global_event_listener.

func RemoveKeyEventListener

func RemoveKeyEventListener(listenerId uint32)

RemoveKeyEventListener is a wrapper around the C function atk_remove_key_event_listener.

func RoleGetLocalizedName

func RoleGetLocalizedName(role Role) string

RoleGetLocalizedName is a wrapper around the C function atk_role_get_localized_name.

func RoleGetName

func RoleGetName(role Role) string

RoleGetName is a wrapper around the C function atk_role_get_name.

func StateTypeGetName

func StateTypeGetName(type_ StateType) string

StateTypeGetName is a wrapper around the C function atk_state_type_get_name.

func TextAttributeGetName

func TextAttributeGetName(attr TextAttribute) string

TextAttributeGetName is a wrapper around the C function atk_text_attribute_get_name.

func TextAttributeGetValue

func TextAttributeGetValue(attr TextAttribute, index int32) string

TextAttributeGetValue is a wrapper around the C function atk_text_attribute_get_value.

func ValueTypeGetLocalizedName

func ValueTypeGetLocalizedName(valueType ValueType) string

ValueTypeGetLocalizedName is a wrapper around the C function atk_value_type_get_localized_name.

func ValueTypeGetName

func ValueTypeGetName(valueType ValueType) string

ValueTypeGetName is a wrapper around the C function atk_value_type_get_name.

Types

type Action

type Action struct {
	// contains filtered or unexported fields
}

Action is a wrapper around the C record AtkAction.

func ActionNewFromC

func ActionNewFromC(u unsafe.Pointer) *Action

func (*Action) DoAction

func (recv *Action) DoAction(i int32) bool

DoAction is a wrapper around the C function atk_action_do_action.

func (*Action) Equals added in v0.0.2

func (recv *Action) Equals(other *Action) bool

Equals compares this Action with another Action, and returns true if they represent the same GObject.

func (*Action) GetDescription

func (recv *Action) GetDescription(i int32) string

GetDescription is a wrapper around the C function atk_action_get_description.

func (*Action) GetKeybinding

func (recv *Action) GetKeybinding(i int32) string

GetKeybinding is a wrapper around the C function atk_action_get_keybinding.

func (*Action) GetLocalizedName

func (recv *Action) GetLocalizedName(i int32) string

GetLocalizedName is a wrapper around the C function atk_action_get_localized_name.

func (*Action) GetNActions

func (recv *Action) GetNActions() int32

GetNActions is a wrapper around the C function atk_action_get_n_actions.

func (*Action) GetName

func (recv *Action) GetName(i int32) string

GetName is a wrapper around the C function atk_action_get_name.

func (*Action) SetDescription

func (recv *Action) SetDescription(i int32, desc string) bool

SetDescription is a wrapper around the C function atk_action_set_description.

func (*Action) ToC

func (recv *Action) ToC() unsafe.Pointer

type ActionIface

type ActionIface struct {
	// contains filtered or unexported fields
}

ActionIface is a wrapper around the C record AtkActionIface.

func ActionIfaceNewFromC

func ActionIfaceNewFromC(u unsafe.Pointer) *ActionIface

func (*ActionIface) Equals added in v0.0.2

func (recv *ActionIface) Equals(other *ActionIface) bool

Equals compares this ActionIface with another ActionIface, and returns true if they represent the same GObject.

func (*ActionIface) ToC

func (recv *ActionIface) ToC() unsafe.Pointer

type Attribute

type Attribute struct {
	Name  string
	Value string
	// contains filtered or unexported fields
}

Attribute is a wrapper around the C record AtkAttribute.

func AttributeNewFromC

func AttributeNewFromC(u unsafe.Pointer) *Attribute

func (*Attribute) Equals added in v0.0.2

func (recv *Attribute) Equals(other *Attribute) bool

Equals compares this Attribute with another Attribute, and returns true if they represent the same GObject.

func (*Attribute) ToC

func (recv *Attribute) ToC() unsafe.Pointer

type AttributeSet

type AttributeSet *glib.SList

AttributeSet is a representation of the C alias AtkAttributeSet.

type Component

type Component struct {
	// contains filtered or unexported fields
}

Component is a wrapper around the C record AtkComponent.

func ComponentNewFromC

func ComponentNewFromC(u unsafe.Pointer) *Component

func (*Component) ConnectBoundsChanged

func (recv *Component) ConnectBoundsChanged(callback ComponentSignalBoundsChangedCallback) int

ConnectBoundsChanged connects the callback to the 'bounds-changed' signal for the Component.

The returned value represents the connection, and may be passed to DisconnectBoundsChanged to remove it.

func (*Component) Contains

func (recv *Component) Contains(x int32, y int32, coordType CoordType) bool

Contains is a wrapper around the C function atk_component_contains.

func (*Component) DisconnectBoundsChanged

func (recv *Component) DisconnectBoundsChanged(connectionID int)

DisconnectBoundsChanged disconnects a callback from the 'bounds-changed' signal for the Component.

The connectionID should be a value returned from a call to ConnectBoundsChanged.

func (*Component) Equals added in v0.0.2

func (recv *Component) Equals(other *Component) bool

Equals compares this Component with another Component, and returns true if they represent the same GObject.

func (*Component) GetExtents

func (recv *Component) GetExtents(coordType CoordType) (int32, int32, int32, int32)

GetExtents is a wrapper around the C function atk_component_get_extents.

func (*Component) GetLayer

func (recv *Component) GetLayer() Layer

GetLayer is a wrapper around the C function atk_component_get_layer.

func (*Component) GetMdiZorder

func (recv *Component) GetMdiZorder() int32

GetMdiZorder is a wrapper around the C function atk_component_get_mdi_zorder.

func (*Component) GetPosition

func (recv *Component) GetPosition(coordType CoordType) (int32, int32)

GetPosition is a wrapper around the C function atk_component_get_position.

func (*Component) GetSize

func (recv *Component) GetSize() (int32, int32)

GetSize is a wrapper around the C function atk_component_get_size.

func (*Component) GrabFocus

func (recv *Component) GrabFocus() bool

GrabFocus is a wrapper around the C function atk_component_grab_focus.

func (*Component) RefAccessibleAtPoint

func (recv *Component) RefAccessibleAtPoint(x int32, y int32, coordType CoordType) *Object

RefAccessibleAtPoint is a wrapper around the C function atk_component_ref_accessible_at_point.

func (*Component) RemoveFocusHandler

func (recv *Component) RemoveFocusHandler(handlerId uint32)

RemoveFocusHandler is a wrapper around the C function atk_component_remove_focus_handler.

func (*Component) SetExtents

func (recv *Component) SetExtents(x int32, y int32, width int32, height int32, coordType CoordType) bool

SetExtents is a wrapper around the C function atk_component_set_extents.

func (*Component) SetPosition

func (recv *Component) SetPosition(x int32, y int32, coordType CoordType) bool

SetPosition is a wrapper around the C function atk_component_set_position.

func (*Component) SetSize

func (recv *Component) SetSize(width int32, height int32) bool

SetSize is a wrapper around the C function atk_component_set_size.

func (*Component) ToC

func (recv *Component) ToC() unsafe.Pointer

type ComponentIface

type ComponentIface struct {
	// contains filtered or unexported fields
}

ComponentIface is a wrapper around the C record AtkComponentIface.

func ComponentIfaceNewFromC

func ComponentIfaceNewFromC(u unsafe.Pointer) *ComponentIface

func (*ComponentIface) Equals added in v0.0.2

func (recv *ComponentIface) Equals(other *ComponentIface) bool

Equals compares this ComponentIface with another ComponentIface, and returns true if they represent the same GObject.

func (*ComponentIface) ToC

func (recv *ComponentIface) ToC() unsafe.Pointer

type ComponentSignalBoundsChangedCallback

type ComponentSignalBoundsChangedCallback func(targetObject *Component, arg1 *Rectangle)

ComponentSignalBoundsChangedCallback is a callback function for a 'bounds-changed' signal emitted from a Component.

type CoordType

type CoordType C.AtkCoordType
const (
	ATK_XY_SCREEN CoordType = 0
	ATK_XY_WINDOW CoordType = 1
)

type Document

type Document struct {
	// contains filtered or unexported fields
}

Document is a wrapper around the C record AtkDocument.

func DocumentNewFromC

func DocumentNewFromC(u unsafe.Pointer) *Document

func (*Document) ConnectLoadComplete

func (recv *Document) ConnectLoadComplete(callback DocumentSignalLoadCompleteCallback) int

ConnectLoadComplete connects the callback to the 'load-complete' signal for the Document.

The returned value represents the connection, and may be passed to DisconnectLoadComplete to remove it.

func (*Document) ConnectLoadStopped

func (recv *Document) ConnectLoadStopped(callback DocumentSignalLoadStoppedCallback) int

ConnectLoadStopped connects the callback to the 'load-stopped' signal for the Document.

The returned value represents the connection, and may be passed to DisconnectLoadStopped to remove it.

func (*Document) ConnectReload

func (recv *Document) ConnectReload(callback DocumentSignalReloadCallback) int

ConnectReload connects the callback to the 'reload' signal for the Document.

The returned value represents the connection, and may be passed to DisconnectReload to remove it.

func (*Document) DisconnectLoadComplete

func (recv *Document) DisconnectLoadComplete(connectionID int)

DisconnectLoadComplete disconnects a callback from the 'load-complete' signal for the Document.

The connectionID should be a value returned from a call to ConnectLoadComplete.

func (*Document) DisconnectLoadStopped

func (recv *Document) DisconnectLoadStopped(connectionID int)

DisconnectLoadStopped disconnects a callback from the 'load-stopped' signal for the Document.

The connectionID should be a value returned from a call to ConnectLoadStopped.

func (*Document) DisconnectReload

func (recv *Document) DisconnectReload(connectionID int)

DisconnectReload disconnects a callback from the 'reload' signal for the Document.

The connectionID should be a value returned from a call to ConnectReload.

func (*Document) Equals added in v0.0.2

func (recv *Document) Equals(other *Document) bool

Equals compares this Document with another Document, and returns true if they represent the same GObject.

func (*Document) GetDocument

func (recv *Document) GetDocument() uintptr

GetDocument is a wrapper around the C function atk_document_get_document.

func (*Document) GetDocumentType

func (recv *Document) GetDocumentType() string

GetDocumentType is a wrapper around the C function atk_document_get_document_type.

func (*Document) GetLocale

func (recv *Document) GetLocale() string

GetLocale is a wrapper around the C function atk_document_get_locale.

func (*Document) ToC

func (recv *Document) ToC() unsafe.Pointer

type DocumentIface

type DocumentIface struct {
	// contains filtered or unexported fields
}

DocumentIface is a wrapper around the C record AtkDocumentIface.

func DocumentIfaceNewFromC

func DocumentIfaceNewFromC(u unsafe.Pointer) *DocumentIface

func (*DocumentIface) Equals added in v0.0.2

func (recv *DocumentIface) Equals(other *DocumentIface) bool

Equals compares this DocumentIface with another DocumentIface, and returns true if they represent the same GObject.

func (*DocumentIface) ToC

func (recv *DocumentIface) ToC() unsafe.Pointer

type DocumentSignalLoadCompleteCallback

type DocumentSignalLoadCompleteCallback func(targetObject *Document)

DocumentSignalLoadCompleteCallback is a callback function for a 'load-complete' signal emitted from a Document.

type DocumentSignalLoadStoppedCallback

type DocumentSignalLoadStoppedCallback func(targetObject *Document)

DocumentSignalLoadStoppedCallback is a callback function for a 'load-stopped' signal emitted from a Document.

type DocumentSignalReloadCallback

type DocumentSignalReloadCallback func(targetObject *Document)

DocumentSignalReloadCallback is a callback function for a 'reload' signal emitted from a Document.

type EditableText

type EditableText struct {
	// contains filtered or unexported fields
}

EditableText is a wrapper around the C record AtkEditableText.

func EditableTextNewFromC

func EditableTextNewFromC(u unsafe.Pointer) *EditableText

func (*EditableText) CopyText

func (recv *EditableText) CopyText(startPos int32, endPos int32)

CopyText is a wrapper around the C function atk_editable_text_copy_text.

func (*EditableText) CutText

func (recv *EditableText) CutText(startPos int32, endPos int32)

CutText is a wrapper around the C function atk_editable_text_cut_text.

func (*EditableText) DeleteText

func (recv *EditableText) DeleteText(startPos int32, endPos int32)

DeleteText is a wrapper around the C function atk_editable_text_delete_text.

func (*EditableText) Equals added in v0.0.2

func (recv *EditableText) Equals(other *EditableText) bool

Equals compares this EditableText with another EditableText, and returns true if they represent the same GObject.

func (*EditableText) InsertText

func (recv *EditableText) InsertText(string_ string, length int32, position int32)

InsertText is a wrapper around the C function atk_editable_text_insert_text.

func (*EditableText) PasteText

func (recv *EditableText) PasteText(position int32)

PasteText is a wrapper around the C function atk_editable_text_paste_text.

func (*EditableText) SetTextContents

func (recv *EditableText) SetTextContents(string_ string)

SetTextContents is a wrapper around the C function atk_editable_text_set_text_contents.

func (*EditableText) ToC

func (recv *EditableText) ToC() unsafe.Pointer

type EditableTextIface

type EditableTextIface struct {
	// contains filtered or unexported fields
}

EditableTextIface is a wrapper around the C record AtkEditableTextIface.

func EditableTextIfaceNewFromC

func EditableTextIfaceNewFromC(u unsafe.Pointer) *EditableTextIface

func (*EditableTextIface) Equals added in v0.0.2

func (recv *EditableTextIface) Equals(other *EditableTextIface) bool

Equals compares this EditableTextIface with another EditableTextIface, and returns true if they represent the same GObject.

func (*EditableTextIface) ToC

func (recv *EditableTextIface) ToC() unsafe.Pointer

type GObjectAccessible

type GObjectAccessible struct {
	// contains filtered or unexported fields
}

GObjectAccessible is a wrapper around the C record AtkGObjectAccessible.

func CastToGObjectAccessible

func CastToGObjectAccessible(object *gobject.Object) *GObjectAccessible

CastToWidget down casts any arbitrary Object to GObjectAccessible. Exercise care, as this is a potentially dangerous function if the Object is not a GObjectAccessible.

func GObjectAccessibleNewFromC

func GObjectAccessibleNewFromC(u unsafe.Pointer) *GObjectAccessible

func (*GObjectAccessible) Equals added in v0.0.2

func (recv *GObjectAccessible) Equals(other *GObjectAccessible) bool

Equals compares this GObjectAccessible with another GObjectAccessible, and returns true if they represent the same GObject.

func (*GObjectAccessible) GetObject

func (recv *GObjectAccessible) GetObject() *gobject.Object

GetObject is a wrapper around the C function atk_gobject_accessible_get_object.

func (*GObjectAccessible) Object

func (recv *GObjectAccessible) Object() *Object

Object upcasts to *Object

func (*GObjectAccessible) ToC

func (recv *GObjectAccessible) ToC() unsafe.Pointer

type GObjectAccessibleClass

type GObjectAccessibleClass struct {
	// contains filtered or unexported fields
}

GObjectAccessibleClass is a wrapper around the C record AtkGObjectAccessibleClass.

func GObjectAccessibleClassNewFromC

func GObjectAccessibleClassNewFromC(u unsafe.Pointer) *GObjectAccessibleClass

func (*GObjectAccessibleClass) Equals added in v0.0.2

func (recv *GObjectAccessibleClass) Equals(other *GObjectAccessibleClass) bool

Equals compares this GObjectAccessibleClass with another GObjectAccessibleClass, and returns true if they represent the same GObject.

func (*GObjectAccessibleClass) ToC

type Hyperlink struct {
	// contains filtered or unexported fields
}

Hyperlink is a wrapper around the C record AtkHyperlink.

func CastToHyperlink(object *gobject.Object) *Hyperlink

CastToWidget down casts any arbitrary Object to Hyperlink. Exercise care, as this is a potentially dangerous function if the Object is not a Hyperlink.

func HyperlinkNewFromC

func HyperlinkNewFromC(u unsafe.Pointer) *Hyperlink

func (*Hyperlink) Action

func (recv *Hyperlink) Action() *Action

Action returns the Action interface implemented by Hyperlink

func (*Hyperlink) ConnectLinkActivated

func (recv *Hyperlink) ConnectLinkActivated(callback HyperlinkSignalLinkActivatedCallback) int

ConnectLinkActivated connects the callback to the 'link-activated' signal for the Hyperlink.

The returned value represents the connection, and may be passed to DisconnectLinkActivated to remove it.

func (*Hyperlink) DisconnectLinkActivated

func (recv *Hyperlink) DisconnectLinkActivated(connectionID int)

DisconnectLinkActivated disconnects a callback from the 'link-activated' signal for the Hyperlink.

The connectionID should be a value returned from a call to ConnectLinkActivated.

func (*Hyperlink) Equals added in v0.0.2

func (recv *Hyperlink) Equals(other *Hyperlink) bool

Equals compares this Hyperlink with another Hyperlink, and returns true if they represent the same GObject.

func (*Hyperlink) GetEndIndex

func (recv *Hyperlink) GetEndIndex() int32

GetEndIndex is a wrapper around the C function atk_hyperlink_get_end_index.

func (*Hyperlink) GetNAnchors

func (recv *Hyperlink) GetNAnchors() int32

GetNAnchors is a wrapper around the C function atk_hyperlink_get_n_anchors.

func (*Hyperlink) GetObject

func (recv *Hyperlink) GetObject(i int32) *Object

GetObject is a wrapper around the C function atk_hyperlink_get_object.

func (*Hyperlink) GetStartIndex

func (recv *Hyperlink) GetStartIndex() int32

GetStartIndex is a wrapper around the C function atk_hyperlink_get_start_index.

func (*Hyperlink) GetUri

func (recv *Hyperlink) GetUri(i int32) string

GetUri is a wrapper around the C function atk_hyperlink_get_uri.

func (*Hyperlink) IsInline

func (recv *Hyperlink) IsInline() bool

IsInline is a wrapper around the C function atk_hyperlink_is_inline.

func (*Hyperlink) IsValid

func (recv *Hyperlink) IsValid() bool

IsValid is a wrapper around the C function atk_hyperlink_is_valid.

func (*Hyperlink) Object

func (recv *Hyperlink) Object() *gobject.Object

Object upcasts to *Object

func (*Hyperlink) ToC

func (recv *Hyperlink) ToC() unsafe.Pointer

type HyperlinkClass

type HyperlinkClass struct {
	// contains filtered or unexported fields
}

HyperlinkClass is a wrapper around the C record AtkHyperlinkClass.

func HyperlinkClassNewFromC

func HyperlinkClassNewFromC(u unsafe.Pointer) *HyperlinkClass

func (*HyperlinkClass) Equals added in v0.0.2

func (recv *HyperlinkClass) Equals(other *HyperlinkClass) bool

Equals compares this HyperlinkClass with another HyperlinkClass, and returns true if they represent the same GObject.

func (*HyperlinkClass) ToC

func (recv *HyperlinkClass) ToC() unsafe.Pointer

type HyperlinkImpl

type HyperlinkImpl struct {
	// contains filtered or unexported fields
}

HyperlinkImpl is a wrapper around the C record AtkHyperlinkImpl.

func HyperlinkImplNewFromC

func HyperlinkImplNewFromC(u unsafe.Pointer) *HyperlinkImpl

func (*HyperlinkImpl) Equals added in v0.0.2

func (recv *HyperlinkImpl) Equals(other *HyperlinkImpl) bool

Equals compares this HyperlinkImpl with another HyperlinkImpl, and returns true if they represent the same GObject.

func (*HyperlinkImpl) ToC

func (recv *HyperlinkImpl) ToC() unsafe.Pointer

type HyperlinkImplIface

type HyperlinkImplIface struct {
	// contains filtered or unexported fields
}

HyperlinkImplIface is a wrapper around the C record AtkHyperlinkImplIface.

func HyperlinkImplIfaceNewFromC

func HyperlinkImplIfaceNewFromC(u unsafe.Pointer) *HyperlinkImplIface

func (*HyperlinkImplIface) Equals added in v0.0.2

func (recv *HyperlinkImplIface) Equals(other *HyperlinkImplIface) bool

Equals compares this HyperlinkImplIface with another HyperlinkImplIface, and returns true if they represent the same GObject.

func (*HyperlinkImplIface) ToC

func (recv *HyperlinkImplIface) ToC() unsafe.Pointer

type HyperlinkSignalLinkActivatedCallback

type HyperlinkSignalLinkActivatedCallback func(targetObject *Hyperlink)

HyperlinkSignalLinkActivatedCallback is a callback function for a 'link-activated' signal emitted from a Hyperlink.

type HyperlinkStateFlags

type HyperlinkStateFlags C.AtkHyperlinkStateFlags
const (
	ATK_HYPERLINK_IS_INLINE HyperlinkStateFlags = 1
)

type Hypertext

type Hypertext struct {
	// contains filtered or unexported fields
}

Hypertext is a wrapper around the C record AtkHypertext.

func HypertextNewFromC

func HypertextNewFromC(u unsafe.Pointer) *Hypertext

func (*Hypertext) ConnectLinkSelected added in v0.0.2

func (recv *Hypertext) ConnectLinkSelected(callback HypertextSignalLinkSelectedCallback) int

ConnectLinkSelected connects the callback to the 'link-selected' signal for the Hypertext.

The returned value represents the connection, and may be passed to DisconnectLinkSelected to remove it.

func (*Hypertext) DisconnectLinkSelected added in v0.0.2

func (recv *Hypertext) DisconnectLinkSelected(connectionID int)

DisconnectLinkSelected disconnects a callback from the 'link-selected' signal for the Hypertext.

The connectionID should be a value returned from a call to ConnectLinkSelected.

func (*Hypertext) Equals added in v0.0.2

func (recv *Hypertext) Equals(other *Hypertext) bool

Equals compares this Hypertext with another Hypertext, and returns true if they represent the same GObject.

func (recv *Hypertext) GetLink(linkIndex int32) *Hyperlink

GetLink is a wrapper around the C function atk_hypertext_get_link.

func (*Hypertext) GetLinkIndex

func (recv *Hypertext) GetLinkIndex(charIndex int32) int32

GetLinkIndex is a wrapper around the C function atk_hypertext_get_link_index.

func (recv *Hypertext) GetNLinks() int32

GetNLinks is a wrapper around the C function atk_hypertext_get_n_links.

func (*Hypertext) ToC

func (recv *Hypertext) ToC() unsafe.Pointer

type HypertextIface

type HypertextIface struct {
	// contains filtered or unexported fields
}

HypertextIface is a wrapper around the C record AtkHypertextIface.

func HypertextIfaceNewFromC

func HypertextIfaceNewFromC(u unsafe.Pointer) *HypertextIface

func (*HypertextIface) Equals added in v0.0.2

func (recv *HypertextIface) Equals(other *HypertextIface) bool

Equals compares this HypertextIface with another HypertextIface, and returns true if they represent the same GObject.

func (*HypertextIface) ToC

func (recv *HypertextIface) ToC() unsafe.Pointer

type HypertextSignalLinkSelectedCallback added in v0.0.2

type HypertextSignalLinkSelectedCallback func(targetObject *Hypertext, arg1 int32)

HypertextSignalLinkSelectedCallback is a callback function for a 'link-selected' signal emitted from a Hypertext.

type Image

type Image struct {
	// contains filtered or unexported fields
}

Image is a wrapper around the C record AtkImage.

func ImageNewFromC

func ImageNewFromC(u unsafe.Pointer) *Image

func (*Image) Equals added in v0.0.2

func (recv *Image) Equals(other *Image) bool

Equals compares this Image with another Image, and returns true if they represent the same GObject.

func (*Image) GetImageDescription

func (recv *Image) GetImageDescription() string

GetImageDescription is a wrapper around the C function atk_image_get_image_description.

func (*Image) GetImagePosition

func (recv *Image) GetImagePosition(coordType CoordType) (int32, int32)

GetImagePosition is a wrapper around the C function atk_image_get_image_position.

func (*Image) GetImageSize

func (recv *Image) GetImageSize() (int32, int32)

GetImageSize is a wrapper around the C function atk_image_get_image_size.

func (*Image) SetImageDescription

func (recv *Image) SetImageDescription(description string) bool

SetImageDescription is a wrapper around the C function atk_image_set_image_description.

func (*Image) ToC

func (recv *Image) ToC() unsafe.Pointer

type ImageIface

type ImageIface struct {
	// contains filtered or unexported fields
}

ImageIface is a wrapper around the C record AtkImageIface.

func ImageIfaceNewFromC

func ImageIfaceNewFromC(u unsafe.Pointer) *ImageIface

func (*ImageIface) Equals added in v0.0.2

func (recv *ImageIface) Equals(other *ImageIface) bool

Equals compares this ImageIface with another ImageIface, and returns true if they represent the same GObject.

func (*ImageIface) ToC

func (recv *ImageIface) ToC() unsafe.Pointer

type Implementor

type Implementor struct {
	// contains filtered or unexported fields
}

Implementor is a wrapper around the C record AtkImplementor.

func ImplementorNewFromC

func ImplementorNewFromC(u unsafe.Pointer) *Implementor

func (*Implementor) Equals added in v0.0.2

func (recv *Implementor) Equals(other *Implementor) bool

Equals compares this Implementor with another Implementor, and returns true if they represent the same GObject.

func (*Implementor) RefAccessible

func (recv *Implementor) RefAccessible() *Object

RefAccessible is a wrapper around the C function atk_implementor_ref_accessible.

func (*Implementor) ToC

func (recv *Implementor) ToC() unsafe.Pointer

type ImplementorIface

type ImplementorIface struct {
	// contains filtered or unexported fields
}

ImplementorIface is a wrapper around the C record AtkImplementorIface.

func ImplementorIfaceNewFromC

func ImplementorIfaceNewFromC(u unsafe.Pointer) *ImplementorIface

func (*ImplementorIface) Equals added in v0.0.2

func (recv *ImplementorIface) Equals(other *ImplementorIface) bool

Equals compares this ImplementorIface with another ImplementorIface, and returns true if they represent the same GObject.

func (*ImplementorIface) ToC

func (recv *ImplementorIface) ToC() unsafe.Pointer

type KeyEventStruct

type KeyEventStruct struct {
	Type      int32
	State     uint32
	Keyval    uint32
	Length    int32
	String    string
	Keycode   uint16
	Timestamp uint32
	// contains filtered or unexported fields
}

KeyEventStruct is a wrapper around the C record AtkKeyEventStruct.

func KeyEventStructNewFromC

func KeyEventStructNewFromC(u unsafe.Pointer) *KeyEventStruct

func (*KeyEventStruct) Equals added in v0.0.2

func (recv *KeyEventStruct) Equals(other *KeyEventStruct) bool

Equals compares this KeyEventStruct with another KeyEventStruct, and returns true if they represent the same GObject.

func (*KeyEventStruct) ToC

func (recv *KeyEventStruct) ToC() unsafe.Pointer

type KeyEventType

type KeyEventType C.AtkKeyEventType
const (
	ATK_KEY_EVENT_PRESS        KeyEventType = 0
	ATK_KEY_EVENT_RELEASE      KeyEventType = 1
	ATK_KEY_EVENT_LAST_DEFINED KeyEventType = 2
)

type Layer

type Layer C.AtkLayer
const (
	ATK_LAYER_INVALID    Layer = 0
	ATK_LAYER_BACKGROUND Layer = 1
	ATK_LAYER_CANVAS     Layer = 2
	ATK_LAYER_WIDGET     Layer = 3
	ATK_LAYER_MDI        Layer = 4
	ATK_LAYER_POPUP      Layer = 5
	ATK_LAYER_OVERLAY    Layer = 6
	ATK_LAYER_WINDOW     Layer = 7
)

type Misc

type Misc struct {
	// contains filtered or unexported fields
}

Misc is a wrapper around the C record AtkMisc.

func CastToMisc

func CastToMisc(object *gobject.Object) *Misc

CastToWidget down casts any arbitrary Object to Misc. Exercise care, as this is a potentially dangerous function if the Object is not a Misc.

func MiscNewFromC

func MiscNewFromC(u unsafe.Pointer) *Misc

func (*Misc) Equals added in v0.0.2

func (recv *Misc) Equals(other *Misc) bool

Equals compares this Misc with another Misc, and returns true if they represent the same GObject.

func (*Misc) Object

func (recv *Misc) Object() *gobject.Object

Object upcasts to *Object

func (*Misc) ToC

func (recv *Misc) ToC() unsafe.Pointer

type MiscClass

type MiscClass struct {
	// contains filtered or unexported fields
}

MiscClass is a wrapper around the C record AtkMiscClass.

func MiscClassNewFromC

func MiscClassNewFromC(u unsafe.Pointer) *MiscClass

func (*MiscClass) Equals added in v0.0.2

func (recv *MiscClass) Equals(other *MiscClass) bool

Equals compares this MiscClass with another MiscClass, and returns true if they represent the same GObject.

func (*MiscClass) ToC

func (recv *MiscClass) ToC() unsafe.Pointer

type NoOpObject

type NoOpObject struct {
	// contains filtered or unexported fields
}

NoOpObject is a wrapper around the C record AtkNoOpObject.

func CastToNoOpObject

func CastToNoOpObject(object *gobject.Object) *NoOpObject

CastToWidget down casts any arbitrary Object to NoOpObject. Exercise care, as this is a potentially dangerous function if the Object is not a NoOpObject.

func NoOpObjectNew

func NoOpObjectNew(obj *gobject.Object) *NoOpObject

NoOpObjectNew is a wrapper around the C function atk_no_op_object_new.

func NoOpObjectNewFromC

func NoOpObjectNewFromC(u unsafe.Pointer) *NoOpObject

func (*NoOpObject) Action

func (recv *NoOpObject) Action() *Action

Action returns the Action interface implemented by NoOpObject

func (*NoOpObject) Component

func (recv *NoOpObject) Component() *Component

Component returns the Component interface implemented by NoOpObject

func (*NoOpObject) Document

func (recv *NoOpObject) Document() *Document

Document returns the Document interface implemented by NoOpObject

func (*NoOpObject) EditableText

func (recv *NoOpObject) EditableText() *EditableText

EditableText returns the EditableText interface implemented by NoOpObject

func (*NoOpObject) Equals added in v0.0.2

func (recv *NoOpObject) Equals(other *NoOpObject) bool

Equals compares this NoOpObject with another NoOpObject, and returns true if they represent the same GObject.

func (*NoOpObject) Hypertext

func (recv *NoOpObject) Hypertext() *Hypertext

Hypertext returns the Hypertext interface implemented by NoOpObject

func (*NoOpObject) Image

func (recv *NoOpObject) Image() *Image

Image returns the Image interface implemented by NoOpObject

func (*NoOpObject) Object

func (recv *NoOpObject) Object() *Object

Object upcasts to *Object

func (*NoOpObject) Selection

func (recv *NoOpObject) Selection() *Selection

Selection returns the Selection interface implemented by NoOpObject

func (*NoOpObject) Table

func (recv *NoOpObject) Table() *Table

Table returns the Table interface implemented by NoOpObject

func (*NoOpObject) TableCell

func (recv *NoOpObject) TableCell() *TableCell

TableCell returns the TableCell interface implemented by NoOpObject

func (*NoOpObject) Text

func (recv *NoOpObject) Text() *Text

Text returns the Text interface implemented by NoOpObject

func (*NoOpObject) ToC

func (recv *NoOpObject) ToC() unsafe.Pointer

func (*NoOpObject) Value

func (recv *NoOpObject) Value() *Value

Value returns the Value interface implemented by NoOpObject

func (*NoOpObject) Window

func (recv *NoOpObject) Window() *Window

Window returns the Window interface implemented by NoOpObject

type NoOpObjectClass

type NoOpObjectClass struct {
	// contains filtered or unexported fields
}

NoOpObjectClass is a wrapper around the C record AtkNoOpObjectClass.

func NoOpObjectClassNewFromC

func NoOpObjectClassNewFromC(u unsafe.Pointer) *NoOpObjectClass

func (*NoOpObjectClass) Equals added in v0.0.2

func (recv *NoOpObjectClass) Equals(other *NoOpObjectClass) bool

Equals compares this NoOpObjectClass with another NoOpObjectClass, and returns true if they represent the same GObject.

func (*NoOpObjectClass) ToC

func (recv *NoOpObjectClass) ToC() unsafe.Pointer

type NoOpObjectFactory

type NoOpObjectFactory struct {
	// contains filtered or unexported fields
}

NoOpObjectFactory is a wrapper around the C record AtkNoOpObjectFactory.

func CastToNoOpObjectFactory

func CastToNoOpObjectFactory(object *gobject.Object) *NoOpObjectFactory

CastToWidget down casts any arbitrary Object to NoOpObjectFactory. Exercise care, as this is a potentially dangerous function if the Object is not a NoOpObjectFactory.

func NoOpObjectFactoryNew

func NoOpObjectFactoryNew() *NoOpObjectFactory

NoOpObjectFactoryNew is a wrapper around the C function atk_no_op_object_factory_new.

func NoOpObjectFactoryNewFromC

func NoOpObjectFactoryNewFromC(u unsafe.Pointer) *NoOpObjectFactory

func (*NoOpObjectFactory) Equals added in v0.0.2

func (recv *NoOpObjectFactory) Equals(other *NoOpObjectFactory) bool

Equals compares this NoOpObjectFactory with another NoOpObjectFactory, and returns true if they represent the same GObject.

func (*NoOpObjectFactory) Object

func (recv *NoOpObjectFactory) Object() *gobject.Object

Object upcasts to *Object

func (*NoOpObjectFactory) ObjectFactory

func (recv *NoOpObjectFactory) ObjectFactory() *ObjectFactory

ObjectFactory upcasts to *ObjectFactory

func (*NoOpObjectFactory) ToC

func (recv *NoOpObjectFactory) ToC() unsafe.Pointer

type NoOpObjectFactoryClass

type NoOpObjectFactoryClass struct {
	// contains filtered or unexported fields
}

NoOpObjectFactoryClass is a wrapper around the C record AtkNoOpObjectFactoryClass.

func NoOpObjectFactoryClassNewFromC

func NoOpObjectFactoryClassNewFromC(u unsafe.Pointer) *NoOpObjectFactoryClass

func (*NoOpObjectFactoryClass) Equals added in v0.0.2

func (recv *NoOpObjectFactoryClass) Equals(other *NoOpObjectFactoryClass) bool

Equals compares this NoOpObjectFactoryClass with another NoOpObjectFactoryClass, and returns true if they represent the same GObject.

func (*NoOpObjectFactoryClass) ToC

type Object

type Object struct {

	// parent : record
	Description string
	Name        string
	// accessible_parent : record
	Role Role
	// relation_set : record
	Layer Layer
	// contains filtered or unexported fields
}

Object is a wrapper around the C record AtkObject.

func CastToObject

func CastToObject(object *gobject.Object) *Object

CastToWidget down casts any arbitrary Object to Object. Exercise care, as this is a potentially dangerous function if the Object is not a Object.

func GObjectAccessibleForObject added in v0.0.3

func GObjectAccessibleForObject(obj *gobject.Object) *Object

GObjectAccessibleForObject is a wrapper around the C function atk_gobject_accessible_for_object.

func GetRoot

func GetRoot() *Object

GetRoot is a wrapper around the C function atk_get_root.

func ObjectNewFromC

func ObjectNewFromC(u unsafe.Pointer) *Object

func (*Object) AddRelationship

func (recv *Object) AddRelationship(relationship RelationType, target *Object) bool

AddRelationship is a wrapper around the C function atk_object_add_relationship.

func (*Object) ConnectFocusEvent

func (recv *Object) ConnectFocusEvent(callback ObjectSignalFocusEventCallback) int

ConnectFocusEvent connects the callback to the 'focus-event' signal for the Object.

The returned value represents the connection, and may be passed to DisconnectFocusEvent to remove it.

func (*Object) ConnectStateChange added in v0.0.2

func (recv *Object) ConnectStateChange(callback ObjectSignalStateChangeCallback) int

ConnectStateChange connects the callback to the 'state-change' signal for the Object.

The returned value represents the connection, and may be passed to DisconnectStateChange to remove it.

func (*Object) ConnectVisibleDataChanged

func (recv *Object) ConnectVisibleDataChanged(callback ObjectSignalVisibleDataChangedCallback) int

ConnectVisibleDataChanged connects the callback to the 'visible-data-changed' signal for the Object.

The returned value represents the connection, and may be passed to DisconnectVisibleDataChanged to remove it.

func (*Object) DisconnectFocusEvent

func (recv *Object) DisconnectFocusEvent(connectionID int)

DisconnectFocusEvent disconnects a callback from the 'focus-event' signal for the Object.

The connectionID should be a value returned from a call to ConnectFocusEvent.

func (*Object) DisconnectStateChange added in v0.0.2

func (recv *Object) DisconnectStateChange(connectionID int)

DisconnectStateChange disconnects a callback from the 'state-change' signal for the Object.

The connectionID should be a value returned from a call to ConnectStateChange.

func (*Object) DisconnectVisibleDataChanged

func (recv *Object) DisconnectVisibleDataChanged(connectionID int)

DisconnectVisibleDataChanged disconnects a callback from the 'visible-data-changed' signal for the Object.

The connectionID should be a value returned from a call to ConnectVisibleDataChanged.

func (*Object) Equals added in v0.0.2

func (recv *Object) Equals(other *Object) bool

Equals compares this Object with another Object, and returns true if they represent the same GObject.

func (*Object) GetDescription

func (recv *Object) GetDescription() string

GetDescription is a wrapper around the C function atk_object_get_description.

func (*Object) GetIndexInParent

func (recv *Object) GetIndexInParent() int32

GetIndexInParent is a wrapper around the C function atk_object_get_index_in_parent.

func (*Object) GetLayer

func (recv *Object) GetLayer() Layer

GetLayer is a wrapper around the C function atk_object_get_layer.

func (*Object) GetMdiZorder

func (recv *Object) GetMdiZorder() int32

GetMdiZorder is a wrapper around the C function atk_object_get_mdi_zorder.

func (*Object) GetNAccessibleChildren

func (recv *Object) GetNAccessibleChildren() int32

GetNAccessibleChildren is a wrapper around the C function atk_object_get_n_accessible_children.

func (*Object) GetName

func (recv *Object) GetName() string

GetName is a wrapper around the C function atk_object_get_name.

func (*Object) GetParent

func (recv *Object) GetParent() *Object

GetParent is a wrapper around the C function atk_object_get_parent.

func (*Object) GetRole

func (recv *Object) GetRole() Role

GetRole is a wrapper around the C function atk_object_get_role.

func (*Object) Initialize

func (recv *Object) Initialize(data uintptr)

Initialize is a wrapper around the C function atk_object_initialize.

func (*Object) NotifyStateChange

func (recv *Object) NotifyStateChange(state State, value bool)

NotifyStateChange is a wrapper around the C function atk_object_notify_state_change.

func (*Object) Object

func (recv *Object) Object() *gobject.Object

Object upcasts to *Object

func (*Object) PeekParent

func (recv *Object) PeekParent() *Object

PeekParent is a wrapper around the C function atk_object_peek_parent.

func (*Object) RefAccessibleChild

func (recv *Object) RefAccessibleChild(i int32) *Object

RefAccessibleChild is a wrapper around the C function atk_object_ref_accessible_child.

func (*Object) RefRelationSet

func (recv *Object) RefRelationSet() *RelationSet

RefRelationSet is a wrapper around the C function atk_object_ref_relation_set.

func (*Object) RefStateSet

func (recv *Object) RefStateSet() *StateSet

RefStateSet is a wrapper around the C function atk_object_ref_state_set.

func (*Object) RemovePropertyChangeHandler

func (recv *Object) RemovePropertyChangeHandler(handlerId uint32)

RemovePropertyChangeHandler is a wrapper around the C function atk_object_remove_property_change_handler.

func (*Object) RemoveRelationship

func (recv *Object) RemoveRelationship(relationship RelationType, target *Object) bool

RemoveRelationship is a wrapper around the C function atk_object_remove_relationship.

func (*Object) SetDescription

func (recv *Object) SetDescription(description string)

SetDescription is a wrapper around the C function atk_object_set_description.

func (*Object) SetName

func (recv *Object) SetName(name string)

SetName is a wrapper around the C function atk_object_set_name.

func (*Object) SetParent

func (recv *Object) SetParent(parent *Object)

SetParent is a wrapper around the C function atk_object_set_parent.

func (*Object) SetRole

func (recv *Object) SetRole(role Role)

SetRole is a wrapper around the C function atk_object_set_role.

func (*Object) ToC

func (recv *Object) ToC() unsafe.Pointer

type ObjectClass

type ObjectClass struct {
	// contains filtered or unexported fields
}

ObjectClass is a wrapper around the C record AtkObjectClass.

func ObjectClassNewFromC

func ObjectClassNewFromC(u unsafe.Pointer) *ObjectClass

func (*ObjectClass) Equals added in v0.0.2

func (recv *ObjectClass) Equals(other *ObjectClass) bool

Equals compares this ObjectClass with another ObjectClass, and returns true if they represent the same GObject.

func (*ObjectClass) ToC

func (recv *ObjectClass) ToC() unsafe.Pointer

type ObjectFactory

type ObjectFactory struct {
	// contains filtered or unexported fields
}

ObjectFactory is a wrapper around the C record AtkObjectFactory.

func CastToObjectFactory

func CastToObjectFactory(object *gobject.Object) *ObjectFactory

CastToWidget down casts any arbitrary Object to ObjectFactory. Exercise care, as this is a potentially dangerous function if the Object is not a ObjectFactory.

func ObjectFactoryNewFromC

func ObjectFactoryNewFromC(u unsafe.Pointer) *ObjectFactory

func (*ObjectFactory) CreateAccessible

func (recv *ObjectFactory) CreateAccessible(obj *gobject.Object) *Object

CreateAccessible is a wrapper around the C function atk_object_factory_create_accessible.

func (*ObjectFactory) Equals added in v0.0.2

func (recv *ObjectFactory) Equals(other *ObjectFactory) bool

Equals compares this ObjectFactory with another ObjectFactory, and returns true if they represent the same GObject.

func (*ObjectFactory) GetAccessibleType

func (recv *ObjectFactory) GetAccessibleType() gobject.Type

GetAccessibleType is a wrapper around the C function atk_object_factory_get_accessible_type.

func (*ObjectFactory) Invalidate

func (recv *ObjectFactory) Invalidate()

Invalidate is a wrapper around the C function atk_object_factory_invalidate.

func (*ObjectFactory) Object

func (recv *ObjectFactory) Object() *gobject.Object

Object upcasts to *Object

func (*ObjectFactory) ToC

func (recv *ObjectFactory) ToC() unsafe.Pointer

type ObjectFactoryClass

type ObjectFactoryClass struct {
	// contains filtered or unexported fields
}

ObjectFactoryClass is a wrapper around the C record AtkObjectFactoryClass.

func ObjectFactoryClassNewFromC

func ObjectFactoryClassNewFromC(u unsafe.Pointer) *ObjectFactoryClass

func (*ObjectFactoryClass) Equals added in v0.0.2

func (recv *ObjectFactoryClass) Equals(other *ObjectFactoryClass) bool

Equals compares this ObjectFactoryClass with another ObjectFactoryClass, and returns true if they represent the same GObject.

func (*ObjectFactoryClass) ToC

func (recv *ObjectFactoryClass) ToC() unsafe.Pointer

type ObjectSignalFocusEventCallback

type ObjectSignalFocusEventCallback func(targetObject *Object, arg1 bool)

ObjectSignalFocusEventCallback is a callback function for a 'focus-event' signal emitted from a Object.

type ObjectSignalStateChangeCallback added in v0.0.2

type ObjectSignalStateChangeCallback func(targetObject *Object, arg1 string, arg2 bool)

ObjectSignalStateChangeCallback is a callback function for a 'state-change' signal emitted from a Object.

type ObjectSignalVisibleDataChangedCallback

type ObjectSignalVisibleDataChangedCallback func(targetObject *Object)

ObjectSignalVisibleDataChangedCallback is a callback function for a 'visible-data-changed' signal emitted from a Object.

type Plug

type Plug struct {
	// contains filtered or unexported fields
}

Plug is a wrapper around the C record AtkPlug.

func CastToPlug

func CastToPlug(object *gobject.Object) *Plug

CastToWidget down casts any arbitrary Object to Plug. Exercise care, as this is a potentially dangerous function if the Object is not a Plug.

func PlugNew

func PlugNew() *Plug

PlugNew is a wrapper around the C function atk_plug_new.

func PlugNewFromC

func PlugNewFromC(u unsafe.Pointer) *Plug

func (*Plug) Component

func (recv *Plug) Component() *Component

Component returns the Component interface implemented by Plug

func (*Plug) Equals added in v0.0.2

func (recv *Plug) Equals(other *Plug) bool

Equals compares this Plug with another Plug, and returns true if they represent the same GObject.

func (*Plug) Object

func (recv *Plug) Object() *Object

Object upcasts to *Object

func (*Plug) ToC

func (recv *Plug) ToC() unsafe.Pointer

type PlugClass

type PlugClass struct {
	// contains filtered or unexported fields
}

PlugClass is a wrapper around the C record AtkPlugClass.

func PlugClassNewFromC

func PlugClassNewFromC(u unsafe.Pointer) *PlugClass

func (*PlugClass) Equals added in v0.0.2

func (recv *PlugClass) Equals(other *PlugClass) bool

Equals compares this PlugClass with another PlugClass, and returns true if they represent the same GObject.

func (*PlugClass) ToC

func (recv *PlugClass) ToC() unsafe.Pointer

type PropertyValues

type PropertyValues struct {
	PropertyName string
	// contains filtered or unexported fields
}

PropertyValues is a wrapper around the C record AtkPropertyValues.

func PropertyValuesNewFromC

func PropertyValuesNewFromC(u unsafe.Pointer) *PropertyValues

func (*PropertyValues) Equals added in v0.0.2

func (recv *PropertyValues) Equals(other *PropertyValues) bool

Equals compares this PropertyValues with another PropertyValues, and returns true if they represent the same GObject.

func (*PropertyValues) ToC

func (recv *PropertyValues) ToC() unsafe.Pointer

type Range

type Range struct {
	// contains filtered or unexported fields
}

Range is a wrapper around the C record AtkRange.

func RangeNewFromC

func RangeNewFromC(u unsafe.Pointer) *Range

func (*Range) Equals added in v0.0.2

func (recv *Range) Equals(other *Range) bool

Equals compares this Range with another Range, and returns true if they represent the same GObject.

func (*Range) ToC

func (recv *Range) ToC() unsafe.Pointer

type Rectangle

type Rectangle struct {
	X      int32
	Y      int32
	Width  int32
	Height int32
	// contains filtered or unexported fields
}

Rectangle is a wrapper around the C record AtkRectangle.

func RectangleNewFromC

func RectangleNewFromC(u unsafe.Pointer) *Rectangle

func (*Rectangle) Equals added in v0.0.2

func (recv *Rectangle) Equals(other *Rectangle) bool

Equals compares this Rectangle with another Rectangle, and returns true if they represent the same GObject.

func (*Rectangle) ToC

func (recv *Rectangle) ToC() unsafe.Pointer

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

Registry is a wrapper around the C record AtkRegistry.

func CastToRegistry

func CastToRegistry(object *gobject.Object) *Registry

CastToWidget down casts any arbitrary Object to Registry. Exercise care, as this is a potentially dangerous function if the Object is not a Registry.

func GetDefaultRegistry

func GetDefaultRegistry() *Registry

GetDefaultRegistry is a wrapper around the C function atk_get_default_registry.

func RegistryNewFromC

func RegistryNewFromC(u unsafe.Pointer) *Registry

func (*Registry) Equals added in v0.0.2

func (recv *Registry) Equals(other *Registry) bool

Equals compares this Registry with another Registry, and returns true if they represent the same GObject.

func (*Registry) GetFactory

func (recv *Registry) GetFactory(type_ gobject.Type) *ObjectFactory

GetFactory is a wrapper around the C function atk_registry_get_factory.

func (*Registry) GetFactoryType

func (recv *Registry) GetFactoryType(type_ gobject.Type) gobject.Type

GetFactoryType is a wrapper around the C function atk_registry_get_factory_type.

func (*Registry) Object

func (recv *Registry) Object() *gobject.Object

Object upcasts to *Object

func (*Registry) SetFactoryType

func (recv *Registry) SetFactoryType(type_ gobject.Type, factoryType gobject.Type)

SetFactoryType is a wrapper around the C function atk_registry_set_factory_type.

func (*Registry) ToC

func (recv *Registry) ToC() unsafe.Pointer

type RegistryClass

type RegistryClass struct {
	// contains filtered or unexported fields
}

RegistryClass is a wrapper around the C record AtkRegistryClass.

func RegistryClassNewFromC

func RegistryClassNewFromC(u unsafe.Pointer) *RegistryClass

func (*RegistryClass) Equals added in v0.0.2

func (recv *RegistryClass) Equals(other *RegistryClass) bool

Equals compares this RegistryClass with another RegistryClass, and returns true if they represent the same GObject.

func (*RegistryClass) ToC

func (recv *RegistryClass) ToC() unsafe.Pointer

type Relation

type Relation struct {

	// parent : record
	// no type for target
	Relationship RelationType
	// contains filtered or unexported fields
}

Relation is a wrapper around the C record AtkRelation.

func CastToRelation

func CastToRelation(object *gobject.Object) *Relation

CastToWidget down casts any arbitrary Object to Relation. Exercise care, as this is a potentially dangerous function if the Object is not a Relation.

func RelationNewFromC

func RelationNewFromC(u unsafe.Pointer) *Relation

func (*Relation) Equals added in v0.0.2

func (recv *Relation) Equals(other *Relation) bool

Equals compares this Relation with another Relation, and returns true if they represent the same GObject.

func (*Relation) GetRelationType

func (recv *Relation) GetRelationType() RelationType

GetRelationType is a wrapper around the C function atk_relation_get_relation_type.

func (*Relation) Object

func (recv *Relation) Object() *gobject.Object

Object upcasts to *Object

func (*Relation) RemoveTarget

func (recv *Relation) RemoveTarget(target *Object) bool

RemoveTarget is a wrapper around the C function atk_relation_remove_target.

func (*Relation) ToC

func (recv *Relation) ToC() unsafe.Pointer

type RelationClass

type RelationClass struct {
	// contains filtered or unexported fields
}

RelationClass is a wrapper around the C record AtkRelationClass.

func RelationClassNewFromC

func RelationClassNewFromC(u unsafe.Pointer) *RelationClass

func (*RelationClass) Equals added in v0.0.2

func (recv *RelationClass) Equals(other *RelationClass) bool

Equals compares this RelationClass with another RelationClass, and returns true if they represent the same GObject.

func (*RelationClass) ToC

func (recv *RelationClass) ToC() unsafe.Pointer

type RelationSet

type RelationSet struct {
	// contains filtered or unexported fields
}

RelationSet is a wrapper around the C record AtkRelationSet.

func CastToRelationSet

func CastToRelationSet(object *gobject.Object) *RelationSet

CastToWidget down casts any arbitrary Object to RelationSet. Exercise care, as this is a potentially dangerous function if the Object is not a RelationSet.

func RelationSetNew

func RelationSetNew() *RelationSet

RelationSetNew is a wrapper around the C function atk_relation_set_new.

func RelationSetNewFromC

func RelationSetNewFromC(u unsafe.Pointer) *RelationSet

func (*RelationSet) Add

func (recv *RelationSet) Add(relation *Relation)

Add is a wrapper around the C function atk_relation_set_add.

func (*RelationSet) Contains

func (recv *RelationSet) Contains(relationship RelationType) bool

Contains is a wrapper around the C function atk_relation_set_contains.

func (*RelationSet) ContainsTarget

func (recv *RelationSet) ContainsTarget(relationship RelationType, target *Object) bool

ContainsTarget is a wrapper around the C function atk_relation_set_contains_target.

func (*RelationSet) Equals added in v0.0.2

func (recv *RelationSet) Equals(other *RelationSet) bool

Equals compares this RelationSet with another RelationSet, and returns true if they represent the same GObject.

func (*RelationSet) GetNRelations

func (recv *RelationSet) GetNRelations() int32

GetNRelations is a wrapper around the C function atk_relation_set_get_n_relations.

func (*RelationSet) GetRelation

func (recv *RelationSet) GetRelation(i int32) *Relation

GetRelation is a wrapper around the C function atk_relation_set_get_relation.

func (*RelationSet) GetRelationByType

func (recv *RelationSet) GetRelationByType(relationship RelationType) *Relation

GetRelationByType is a wrapper around the C function atk_relation_set_get_relation_by_type.

func (*RelationSet) Object

func (recv *RelationSet) Object() *gobject.Object

Object upcasts to *Object

func (*RelationSet) Remove

func (recv *RelationSet) Remove(relation *Relation)

Remove is a wrapper around the C function atk_relation_set_remove.

func (*RelationSet) ToC

func (recv *RelationSet) ToC() unsafe.Pointer

type RelationSetClass

type RelationSetClass struct {
	// contains filtered or unexported fields
}

RelationSetClass is a wrapper around the C record AtkRelationSetClass.

func RelationSetClassNewFromC

func RelationSetClassNewFromC(u unsafe.Pointer) *RelationSetClass

func (*RelationSetClass) Equals added in v0.0.2

func (recv *RelationSetClass) Equals(other *RelationSetClass) bool

Equals compares this RelationSetClass with another RelationSetClass, and returns true if they represent the same GObject.

func (*RelationSetClass) ToC

func (recv *RelationSetClass) ToC() unsafe.Pointer

type RelationType

type RelationType C.AtkRelationType
const (
	ATK_RELATION_NULL             RelationType = 0
	ATK_RELATION_CONTROLLED_BY    RelationType = 1
	ATK_RELATION_CONTROLLER_FOR   RelationType = 2
	ATK_RELATION_LABEL_FOR        RelationType = 3
	ATK_RELATION_LABELLED_BY      RelationType = 4
	ATK_RELATION_MEMBER_OF        RelationType = 5
	ATK_RELATION_NODE_CHILD_OF    RelationType = 6
	ATK_RELATION_FLOWS_TO         RelationType = 7
	ATK_RELATION_FLOWS_FROM       RelationType = 8
	ATK_RELATION_SUBWINDOW_OF     RelationType = 9
	ATK_RELATION_EMBEDS           RelationType = 10
	ATK_RELATION_EMBEDDED_BY      RelationType = 11
	ATK_RELATION_POPUP_FOR        RelationType = 12
	ATK_RELATION_PARENT_WINDOW_OF RelationType = 13
	ATK_RELATION_DESCRIBED_BY     RelationType = 14
	ATK_RELATION_DESCRIPTION_FOR  RelationType = 15
	ATK_RELATION_NODE_PARENT_OF   RelationType = 16
	ATK_RELATION_DETAILS          RelationType = 17
	ATK_RELATION_DETAILS_FOR      RelationType = 18
	ATK_RELATION_ERROR_MESSAGE    RelationType = 19
	ATK_RELATION_ERROR_FOR        RelationType = 20
	ATK_RELATION_LAST_DEFINED     RelationType = 21
)

func RelationTypeForName

func RelationTypeForName(name string) RelationType

RelationTypeForName is a wrapper around the C function atk_relation_type_for_name.

func RelationTypeRegister

func RelationTypeRegister(name string) RelationType

RelationTypeRegister is a wrapper around the C function atk_relation_type_register.

type Role

type Role C.AtkRole
const (
	ATK_ROLE_INVALID               Role = 0
	ATK_ROLE_ACCEL_LABEL           Role = 1
	ATK_ROLE_ALERT                 Role = 2
	ATK_ROLE_ANIMATION             Role = 3
	ATK_ROLE_ARROW                 Role = 4
	ATK_ROLE_CALENDAR              Role = 5
	ATK_ROLE_CANVAS                Role = 6
	ATK_ROLE_CHECK_BOX             Role = 7
	ATK_ROLE_CHECK_MENU_ITEM       Role = 8
	ATK_ROLE_COLOR_CHOOSER         Role = 9
	ATK_ROLE_COLUMN_HEADER         Role = 10
	ATK_ROLE_COMBO_BOX             Role = 11
	ATK_ROLE_DATE_EDITOR           Role = 12
	ATK_ROLE_DESKTOP_ICON          Role = 13
	ATK_ROLE_DESKTOP_FRAME         Role = 14
	ATK_ROLE_DIAL                  Role = 15
	ATK_ROLE_DIALOG                Role = 16
	ATK_ROLE_DIRECTORY_PANE        Role = 17
	ATK_ROLE_DRAWING_AREA          Role = 18
	ATK_ROLE_FILE_CHOOSER          Role = 19
	ATK_ROLE_FILLER                Role = 20
	ATK_ROLE_FONT_CHOOSER          Role = 21
	ATK_ROLE_FRAME                 Role = 22
	ATK_ROLE_GLASS_PANE            Role = 23
	ATK_ROLE_HTML_CONTAINER        Role = 24
	ATK_ROLE_ICON                  Role = 25
	ATK_ROLE_IMAGE                 Role = 26
	ATK_ROLE_INTERNAL_FRAME        Role = 27
	ATK_ROLE_LABEL                 Role = 28
	ATK_ROLE_LAYERED_PANE          Role = 29
	ATK_ROLE_LIST                  Role = 30
	ATK_ROLE_LIST_ITEM             Role = 31
	ATK_ROLE_MENU                  Role = 32
	ATK_ROLE_MENU_BAR              Role = 33
	ATK_ROLE_MENU_ITEM             Role = 34
	ATK_ROLE_OPTION_PANE           Role = 35
	ATK_ROLE_PAGE_TAB              Role = 36
	ATK_ROLE_PAGE_TAB_LIST         Role = 37
	ATK_ROLE_PANEL                 Role = 38
	ATK_ROLE_PASSWORD_TEXT         Role = 39
	ATK_ROLE_POPUP_MENU            Role = 40
	ATK_ROLE_PROGRESS_BAR          Role = 41
	ATK_ROLE_PUSH_BUTTON           Role = 42
	ATK_ROLE_RADIO_BUTTON          Role = 43
	ATK_ROLE_RADIO_MENU_ITEM       Role = 44
	ATK_ROLE_ROOT_PANE             Role = 45
	ATK_ROLE_ROW_HEADER            Role = 46
	ATK_ROLE_SCROLL_BAR            Role = 47
	ATK_ROLE_SCROLL_PANE           Role = 48
	ATK_ROLE_SEPARATOR             Role = 49
	ATK_ROLE_SLIDER                Role = 50
	ATK_ROLE_SPLIT_PANE            Role = 51
	ATK_ROLE_SPIN_BUTTON           Role = 52
	ATK_ROLE_STATUSBAR             Role = 53
	ATK_ROLE_TABLE                 Role = 54
	ATK_ROLE_TABLE_CELL            Role = 55
	ATK_ROLE_TABLE_COLUMN_HEADER   Role = 56
	ATK_ROLE_TABLE_ROW_HEADER      Role = 57
	ATK_ROLE_TEAR_OFF_MENU_ITEM    Role = 58
	ATK_ROLE_TERMINAL              Role = 59
	ATK_ROLE_TEXT                  Role = 60
	ATK_ROLE_TOGGLE_BUTTON         Role = 61
	ATK_ROLE_TOOL_BAR              Role = 62
	ATK_ROLE_TOOL_TIP              Role = 63
	ATK_ROLE_TREE                  Role = 64
	ATK_ROLE_TREE_TABLE            Role = 65
	ATK_ROLE_UNKNOWN               Role = 66
	ATK_ROLE_VIEWPORT              Role = 67
	ATK_ROLE_WINDOW                Role = 68
	ATK_ROLE_HEADER                Role = 69
	ATK_ROLE_FOOTER                Role = 70
	ATK_ROLE_PARAGRAPH             Role = 71
	ATK_ROLE_RULER                 Role = 72
	ATK_ROLE_APPLICATION           Role = 73
	ATK_ROLE_AUTOCOMPLETE          Role = 74
	ATK_ROLE_EDITBAR               Role = 75
	ATK_ROLE_EMBEDDED              Role = 76
	ATK_ROLE_ENTRY                 Role = 77
	ATK_ROLE_CHART                 Role = 78
	ATK_ROLE_CAPTION               Role = 79
	ATK_ROLE_DOCUMENT_FRAME        Role = 80
	ATK_ROLE_HEADING               Role = 81
	ATK_ROLE_PAGE                  Role = 82
	ATK_ROLE_SECTION               Role = 83
	ATK_ROLE_REDUNDANT_OBJECT      Role = 84
	ATK_ROLE_FORM                  Role = 85
	ATK_ROLE_LINK                  Role = 86
	ATK_ROLE_INPUT_METHOD_WINDOW   Role = 87
	ATK_ROLE_TABLE_ROW             Role = 88
	ATK_ROLE_TREE_ITEM             Role = 89
	ATK_ROLE_DOCUMENT_SPREADSHEET  Role = 90
	ATK_ROLE_DOCUMENT_PRESENTATION Role = 91
	ATK_ROLE_DOCUMENT_TEXT         Role = 92
	ATK_ROLE_DOCUMENT_WEB          Role = 93
	ATK_ROLE_DOCUMENT_EMAIL        Role = 94
	ATK_ROLE_COMMENT               Role = 95
	ATK_ROLE_LIST_BOX              Role = 96
	ATK_ROLE_GROUPING              Role = 97
	ATK_ROLE_IMAGE_MAP             Role = 98
	ATK_ROLE_NOTIFICATION          Role = 99
	ATK_ROLE_INFO_BAR              Role = 100
	ATK_ROLE_LEVEL_BAR             Role = 101
	ATK_ROLE_TITLE_BAR             Role = 102
	ATK_ROLE_BLOCK_QUOTE           Role = 103
	ATK_ROLE_AUDIO                 Role = 104
	ATK_ROLE_VIDEO                 Role = 105
	ATK_ROLE_DEFINITION            Role = 106
	ATK_ROLE_ARTICLE               Role = 107
	ATK_ROLE_LANDMARK              Role = 108
	ATK_ROLE_LOG                   Role = 109
	ATK_ROLE_MARQUEE               Role = 110
	ATK_ROLE_MATH                  Role = 111
	ATK_ROLE_RATING                Role = 112
	ATK_ROLE_TIMER                 Role = 113
	ATK_ROLE_DESCRIPTION_LIST      Role = 114
	ATK_ROLE_DESCRIPTION_TERM      Role = 115
	ATK_ROLE_DESCRIPTION_VALUE     Role = 116
	ATK_ROLE_STATIC                Role = 117
	ATK_ROLE_MATH_FRACTION         Role = 118
	ATK_ROLE_MATH_ROOT             Role = 119
	ATK_ROLE_SUBSCRIPT             Role = 120
	ATK_ROLE_SUPERSCRIPT           Role = 121
	ATK_ROLE_FOOTNOTE              Role = 122
	ATK_ROLE_LAST_DEFINED          Role = 123
)

func RoleForName

func RoleForName(name string) Role

RoleForName is a wrapper around the C function atk_role_for_name.

func RoleRegister

func RoleRegister(name string) Role

RoleRegister is a wrapper around the C function atk_role_register.

type Selection

type Selection struct {
	// contains filtered or unexported fields
}

Selection is a wrapper around the C record AtkSelection.

func SelectionNewFromC

func SelectionNewFromC(u unsafe.Pointer) *Selection

func (*Selection) AddSelection

func (recv *Selection) AddSelection(i int32) bool

AddSelection is a wrapper around the C function atk_selection_add_selection.

func (*Selection) ClearSelection

func (recv *Selection) ClearSelection() bool

ClearSelection is a wrapper around the C function atk_selection_clear_selection.

func (*Selection) ConnectSelectionChanged

func (recv *Selection) ConnectSelectionChanged(callback SelectionSignalSelectionChangedCallback) int

ConnectSelectionChanged connects the callback to the 'selection-changed' signal for the Selection.

The returned value represents the connection, and may be passed to DisconnectSelectionChanged to remove it.

func (*Selection) DisconnectSelectionChanged

func (recv *Selection) DisconnectSelectionChanged(connectionID int)

DisconnectSelectionChanged disconnects a callback from the 'selection-changed' signal for the Selection.

The connectionID should be a value returned from a call to ConnectSelectionChanged.

func (*Selection) Equals added in v0.0.2

func (recv *Selection) Equals(other *Selection) bool

Equals compares this Selection with another Selection, and returns true if they represent the same GObject.

func (*Selection) GetSelectionCount

func (recv *Selection) GetSelectionCount() int32

GetSelectionCount is a wrapper around the C function atk_selection_get_selection_count.

func (*Selection) IsChildSelected

func (recv *Selection) IsChildSelected(i int32) bool

IsChildSelected is a wrapper around the C function atk_selection_is_child_selected.

func (*Selection) RefSelection

func (recv *Selection) RefSelection(i int32) *Object

RefSelection is a wrapper around the C function atk_selection_ref_selection.

func (*Selection) RemoveSelection

func (recv *Selection) RemoveSelection(i int32) bool

RemoveSelection is a wrapper around the C function atk_selection_remove_selection.

func (*Selection) SelectAllSelection

func (recv *Selection) SelectAllSelection() bool

SelectAllSelection is a wrapper around the C function atk_selection_select_all_selection.

func (*Selection) ToC

func (recv *Selection) ToC() unsafe.Pointer

type SelectionIface

type SelectionIface struct {
	// contains filtered or unexported fields
}

SelectionIface is a wrapper around the C record AtkSelectionIface.

func SelectionIfaceNewFromC

func SelectionIfaceNewFromC(u unsafe.Pointer) *SelectionIface

func (*SelectionIface) Equals added in v0.0.2

func (recv *SelectionIface) Equals(other *SelectionIface) bool

Equals compares this SelectionIface with another SelectionIface, and returns true if they represent the same GObject.

func (*SelectionIface) ToC

func (recv *SelectionIface) ToC() unsafe.Pointer

type SelectionSignalSelectionChangedCallback

type SelectionSignalSelectionChangedCallback func(targetObject *Selection)

SelectionSignalSelectionChangedCallback is a callback function for a 'selection-changed' signal emitted from a Selection.

type Socket

type Socket struct {
	// contains filtered or unexported fields
}

Socket is a wrapper around the C record AtkSocket.

func CastToSocket

func CastToSocket(object *gobject.Object) *Socket

CastToWidget down casts any arbitrary Object to Socket. Exercise care, as this is a potentially dangerous function if the Object is not a Socket.

func SocketNew

func SocketNew() *Socket

SocketNew is a wrapper around the C function atk_socket_new.

func SocketNewFromC

func SocketNewFromC(u unsafe.Pointer) *Socket

func (*Socket) Component

func (recv *Socket) Component() *Component

Component returns the Component interface implemented by Socket

func (*Socket) Equals added in v0.0.2

func (recv *Socket) Equals(other *Socket) bool

Equals compares this Socket with another Socket, and returns true if they represent the same GObject.

func (*Socket) Object

func (recv *Socket) Object() *Object

Object upcasts to *Object

func (*Socket) ToC

func (recv *Socket) ToC() unsafe.Pointer

type SocketClass

type SocketClass struct {
	// contains filtered or unexported fields
}

SocketClass is a wrapper around the C record AtkSocketClass.

func SocketClassNewFromC

func SocketClassNewFromC(u unsafe.Pointer) *SocketClass

func (*SocketClass) Equals added in v0.0.2

func (recv *SocketClass) Equals(other *SocketClass) bool

Equals compares this SocketClass with another SocketClass, and returns true if they represent the same GObject.

func (*SocketClass) ToC

func (recv *SocketClass) ToC() unsafe.Pointer

type State

type State uint64

State is a representation of the C alias AtkState.

type StateSet

type StateSet struct {
	// contains filtered or unexported fields
}

StateSet is a wrapper around the C record AtkStateSet.

func CastToStateSet

func CastToStateSet(object *gobject.Object) *StateSet

CastToWidget down casts any arbitrary Object to StateSet. Exercise care, as this is a potentially dangerous function if the Object is not a StateSet.

func StateSetNew

func StateSetNew() *StateSet

StateSetNew is a wrapper around the C function atk_state_set_new.

func StateSetNewFromC

func StateSetNewFromC(u unsafe.Pointer) *StateSet

func (*StateSet) AddState

func (recv *StateSet) AddState(type_ StateType) bool

AddState is a wrapper around the C function atk_state_set_add_state.

func (*StateSet) AddStates

func (recv *StateSet) AddStates(types []StateType)

AddStates is a wrapper around the C function atk_state_set_add_states.

func (*StateSet) AndSets

func (recv *StateSet) AndSets(compareSet *StateSet) *StateSet

AndSets is a wrapper around the C function atk_state_set_and_sets.

func (*StateSet) ClearStates

func (recv *StateSet) ClearStates()

ClearStates is a wrapper around the C function atk_state_set_clear_states.

func (*StateSet) ContainsState

func (recv *StateSet) ContainsState(type_ StateType) bool

ContainsState is a wrapper around the C function atk_state_set_contains_state.

func (*StateSet) ContainsStates

func (recv *StateSet) ContainsStates(types []StateType) bool

ContainsStates is a wrapper around the C function atk_state_set_contains_states.

func (*StateSet) Equals added in v0.0.2

func (recv *StateSet) Equals(other *StateSet) bool

Equals compares this StateSet with another StateSet, and returns true if they represent the same GObject.

func (*StateSet) IsEmpty

func (recv *StateSet) IsEmpty() bool

IsEmpty is a wrapper around the C function atk_state_set_is_empty.

func (*StateSet) Object

func (recv *StateSet) Object() *gobject.Object

Object upcasts to *Object

func (*StateSet) OrSets

func (recv *StateSet) OrSets(compareSet *StateSet) *StateSet

OrSets is a wrapper around the C function atk_state_set_or_sets.

func (*StateSet) RemoveState

func (recv *StateSet) RemoveState(type_ StateType) bool

RemoveState is a wrapper around the C function atk_state_set_remove_state.

func (*StateSet) ToC

func (recv *StateSet) ToC() unsafe.Pointer

func (*StateSet) XorSets

func (recv *StateSet) XorSets(compareSet *StateSet) *StateSet

XorSets is a wrapper around the C function atk_state_set_xor_sets.

type StateSetClass

type StateSetClass struct {
	// contains filtered or unexported fields
}

StateSetClass is a wrapper around the C record AtkStateSetClass.

func StateSetClassNewFromC

func StateSetClassNewFromC(u unsafe.Pointer) *StateSetClass

func (*StateSetClass) Equals added in v0.0.2

func (recv *StateSetClass) Equals(other *StateSetClass) bool

Equals compares this StateSetClass with another StateSetClass, and returns true if they represent the same GObject.

func (*StateSetClass) ToC

func (recv *StateSetClass) ToC() unsafe.Pointer

type StateType

type StateType C.AtkStateType
const (
	ATK_STATE_INVALID                 StateType = 0
	ATK_STATE_ACTIVE                  StateType = 1
	ATK_STATE_ARMED                   StateType = 2
	ATK_STATE_BUSY                    StateType = 3
	ATK_STATE_CHECKED                 StateType = 4
	ATK_STATE_DEFUNCT                 StateType = 5
	ATK_STATE_EDITABLE                StateType = 6
	ATK_STATE_ENABLED                 StateType = 7
	ATK_STATE_EXPANDABLE              StateType = 8
	ATK_STATE_EXPANDED                StateType = 9
	ATK_STATE_FOCUSABLE               StateType = 10
	ATK_STATE_FOCUSED                 StateType = 11
	ATK_STATE_HORIZONTAL              StateType = 12
	ATK_STATE_ICONIFIED               StateType = 13
	ATK_STATE_MODAL                   StateType = 14
	ATK_STATE_MULTI_LINE              StateType = 15
	ATK_STATE_MULTISELECTABLE         StateType = 16
	ATK_STATE_OPAQUE                  StateType = 17
	ATK_STATE_PRESSED                 StateType = 18
	ATK_STATE_RESIZABLE               StateType = 19
	ATK_STATE_SELECTABLE              StateType = 20
	ATK_STATE_SELECTED                StateType = 21
	ATK_STATE_SENSITIVE               StateType = 22
	ATK_STATE_SHOWING                 StateType = 23
	ATK_STATE_SINGLE_LINE             StateType = 24
	ATK_STATE_STALE                   StateType = 25
	ATK_STATE_TRANSIENT               StateType = 26
	ATK_STATE_VERTICAL                StateType = 27
	ATK_STATE_VISIBLE                 StateType = 28
	ATK_STATE_MANAGES_DESCENDANTS     StateType = 29
	ATK_STATE_INDETERMINATE           StateType = 30
	ATK_STATE_TRUNCATED               StateType = 31
	ATK_STATE_REQUIRED                StateType = 32
	ATK_STATE_INVALID_ENTRY           StateType = 33
	ATK_STATE_SUPPORTS_AUTOCOMPLETION StateType = 34
	ATK_STATE_SELECTABLE_TEXT         StateType = 35
	ATK_STATE_DEFAULT                 StateType = 36
	ATK_STATE_ANIMATED                StateType = 37
	ATK_STATE_VISITED                 StateType = 38
	ATK_STATE_CHECKABLE               StateType = 39
	ATK_STATE_HAS_POPUP               StateType = 40
	ATK_STATE_HAS_TOOLTIP             StateType = 41
	ATK_STATE_READ_ONLY               StateType = 42
	ATK_STATE_LAST_DEFINED            StateType = 43
)

func StateTypeForName

func StateTypeForName(name string) StateType

StateTypeForName is a wrapper around the C function atk_state_type_for_name.

func StateTypeRegister

func StateTypeRegister(name string) StateType

StateTypeRegister is a wrapper around the C function atk_state_type_register.

type StreamableContent

type StreamableContent struct {
	// contains filtered or unexported fields
}

StreamableContent is a wrapper around the C record AtkStreamableContent.

func StreamableContentNewFromC

func StreamableContentNewFromC(u unsafe.Pointer) *StreamableContent

func (*StreamableContent) Equals added in v0.0.2

func (recv *StreamableContent) Equals(other *StreamableContent) bool

Equals compares this StreamableContent with another StreamableContent, and returns true if they represent the same GObject.

func (*StreamableContent) GetMimeType

func (recv *StreamableContent) GetMimeType(i int32) string

GetMimeType is a wrapper around the C function atk_streamable_content_get_mime_type.

func (*StreamableContent) GetNMimeTypes

func (recv *StreamableContent) GetNMimeTypes() int32

GetNMimeTypes is a wrapper around the C function atk_streamable_content_get_n_mime_types.

func (*StreamableContent) GetStream added in v0.0.5

func (recv *StreamableContent) GetStream(mimeType string) *glib.IOChannel

GetStream is a wrapper around the C function atk_streamable_content_get_stream.

func (*StreamableContent) ToC

func (recv *StreamableContent) ToC() unsafe.Pointer

type StreamableContentIface

type StreamableContentIface struct {
	// contains filtered or unexported fields
}

StreamableContentIface is a wrapper around the C record AtkStreamableContentIface.

func StreamableContentIfaceNewFromC

func StreamableContentIfaceNewFromC(u unsafe.Pointer) *StreamableContentIface

func (*StreamableContentIface) Equals added in v0.0.2

func (recv *StreamableContentIface) Equals(other *StreamableContentIface) bool

Equals compares this StreamableContentIface with another StreamableContentIface, and returns true if they represent the same GObject.

func (*StreamableContentIface) ToC

type Table

type Table struct {
	// contains filtered or unexported fields
}

Table is a wrapper around the C record AtkTable.

func TableNewFromC

func TableNewFromC(u unsafe.Pointer) *Table

func (*Table) AddColumnSelection

func (recv *Table) AddColumnSelection(column int32) bool

AddColumnSelection is a wrapper around the C function atk_table_add_column_selection.

func (*Table) AddRowSelection

func (recv *Table) AddRowSelection(row int32) bool

AddRowSelection is a wrapper around the C function atk_table_add_row_selection.

func (*Table) ConnectColumnDeleted added in v0.0.2

func (recv *Table) ConnectColumnDeleted(callback TableSignalColumnDeletedCallback) int

ConnectColumnDeleted connects the callback to the 'column-deleted' signal for the Table.

The returned value represents the connection, and may be passed to DisconnectColumnDeleted to remove it.

func (*Table) ConnectColumnInserted added in v0.0.2

func (recv *Table) ConnectColumnInserted(callback TableSignalColumnInsertedCallback) int

ConnectColumnInserted connects the callback to the 'column-inserted' signal for the Table.

The returned value represents the connection, and may be passed to DisconnectColumnInserted to remove it.

func (*Table) ConnectColumnReordered

func (recv *Table) ConnectColumnReordered(callback TableSignalColumnReorderedCallback) int

ConnectColumnReordered connects the callback to the 'column-reordered' signal for the Table.

The returned value represents the connection, and may be passed to DisconnectColumnReordered to remove it.

func (*Table) ConnectModelChanged

func (recv *Table) ConnectModelChanged(callback TableSignalModelChangedCallback) int

ConnectModelChanged connects the callback to the 'model-changed' signal for the Table.

The returned value represents the connection, and may be passed to DisconnectModelChanged to remove it.

func (*Table) ConnectRowDeleted added in v0.0.2

func (recv *Table) ConnectRowDeleted(callback TableSignalRowDeletedCallback) int

ConnectRowDeleted connects the callback to the 'row-deleted' signal for the Table.

The returned value represents the connection, and may be passed to DisconnectRowDeleted to remove it.

func (*Table) ConnectRowInserted added in v0.0.2

func (recv *Table) ConnectRowInserted(callback TableSignalRowInsertedCallback) int

ConnectRowInserted connects the callback to the 'row-inserted' signal for the Table.

The returned value represents the connection, and may be passed to DisconnectRowInserted to remove it.

func (*Table) ConnectRowReordered

func (recv *Table) ConnectRowReordered(callback TableSignalRowReorderedCallback) int

ConnectRowReordered connects the callback to the 'row-reordered' signal for the Table.

The returned value represents the connection, and may be passed to DisconnectRowReordered to remove it.

func (*Table) DisconnectColumnDeleted added in v0.0.2

func (recv *Table) DisconnectColumnDeleted(connectionID int)

DisconnectColumnDeleted disconnects a callback from the 'column-deleted' signal for the Table.

The connectionID should be a value returned from a call to ConnectColumnDeleted.

func (*Table) DisconnectColumnInserted added in v0.0.2

func (recv *Table) DisconnectColumnInserted(connectionID int)

DisconnectColumnInserted disconnects a callback from the 'column-inserted' signal for the Table.

The connectionID should be a value returned from a call to ConnectColumnInserted.

func (*Table) DisconnectColumnReordered

func (recv *Table) DisconnectColumnReordered(connectionID int)

DisconnectColumnReordered disconnects a callback from the 'column-reordered' signal for the Table.

The connectionID should be a value returned from a call to ConnectColumnReordered.

func (*Table) DisconnectModelChanged

func (recv *Table) DisconnectModelChanged(connectionID int)

DisconnectModelChanged disconnects a callback from the 'model-changed' signal for the Table.

The connectionID should be a value returned from a call to ConnectModelChanged.

func (*Table) DisconnectRowDeleted added in v0.0.2

func (recv *Table) DisconnectRowDeleted(connectionID int)

DisconnectRowDeleted disconnects a callback from the 'row-deleted' signal for the Table.

The connectionID should be a value returned from a call to ConnectRowDeleted.

func (*Table) DisconnectRowInserted added in v0.0.2

func (recv *Table) DisconnectRowInserted(connectionID int)

DisconnectRowInserted disconnects a callback from the 'row-inserted' signal for the Table.

The connectionID should be a value returned from a call to ConnectRowInserted.

func (*Table) DisconnectRowReordered

func (recv *Table) DisconnectRowReordered(connectionID int)

DisconnectRowReordered disconnects a callback from the 'row-reordered' signal for the Table.

The connectionID should be a value returned from a call to ConnectRowReordered.

func (*Table) Equals added in v0.0.2

func (recv *Table) Equals(other *Table) bool

Equals compares this Table with another Table, and returns true if they represent the same GObject.

func (*Table) GetCaption

func (recv *Table) GetCaption() *Object

GetCaption is a wrapper around the C function atk_table_get_caption.

func (*Table) GetColumnAtIndex

func (recv *Table) GetColumnAtIndex(index int32) int32

GetColumnAtIndex is a wrapper around the C function atk_table_get_column_at_index.

func (*Table) GetColumnDescription

func (recv *Table) GetColumnDescription(column int32) string

GetColumnDescription is a wrapper around the C function atk_table_get_column_description.

func (*Table) GetColumnExtentAt

func (recv *Table) GetColumnExtentAt(row int32, column int32) int32

GetColumnExtentAt is a wrapper around the C function atk_table_get_column_extent_at.

func (*Table) GetColumnHeader

func (recv *Table) GetColumnHeader(column int32) *Object

GetColumnHeader is a wrapper around the C function atk_table_get_column_header.

func (*Table) GetIndexAt

func (recv *Table) GetIndexAt(row int32, column int32) int32

GetIndexAt is a wrapper around the C function atk_table_get_index_at.

func (*Table) GetNColumns

func (recv *Table) GetNColumns() int32

GetNColumns is a wrapper around the C function atk_table_get_n_columns.

func (*Table) GetNRows

func (recv *Table) GetNRows() int32

GetNRows is a wrapper around the C function atk_table_get_n_rows.

func (*Table) GetRowAtIndex

func (recv *Table) GetRowAtIndex(index int32) int32

GetRowAtIndex is a wrapper around the C function atk_table_get_row_at_index.

func (*Table) GetRowDescription

func (recv *Table) GetRowDescription(row int32) string

GetRowDescription is a wrapper around the C function atk_table_get_row_description.

func (*Table) GetRowExtentAt

func (recv *Table) GetRowExtentAt(row int32, column int32) int32

GetRowExtentAt is a wrapper around the C function atk_table_get_row_extent_at.

func (*Table) GetRowHeader

func (recv *Table) GetRowHeader(row int32) *Object

GetRowHeader is a wrapper around the C function atk_table_get_row_header.

func (*Table) GetSummary

func (recv *Table) GetSummary() *Object

GetSummary is a wrapper around the C function atk_table_get_summary.

func (*Table) IsColumnSelected

func (recv *Table) IsColumnSelected(column int32) bool

IsColumnSelected is a wrapper around the C function atk_table_is_column_selected.

func (*Table) IsRowSelected

func (recv *Table) IsRowSelected(row int32) bool

IsRowSelected is a wrapper around the C function atk_table_is_row_selected.

func (*Table) IsSelected

func (recv *Table) IsSelected(row int32, column int32) bool

IsSelected is a wrapper around the C function atk_table_is_selected.

func (*Table) RefAt

func (recv *Table) RefAt(row int32, column int32) *Object

RefAt is a wrapper around the C function atk_table_ref_at.

func (*Table) RemoveColumnSelection

func (recv *Table) RemoveColumnSelection(column int32) bool

RemoveColumnSelection is a wrapper around the C function atk_table_remove_column_selection.

func (*Table) RemoveRowSelection

func (recv *Table) RemoveRowSelection(row int32) bool

RemoveRowSelection is a wrapper around the C function atk_table_remove_row_selection.

func (*Table) SetCaption

func (recv *Table) SetCaption(caption *Object)

SetCaption is a wrapper around the C function atk_table_set_caption.

func (*Table) SetColumnDescription

func (recv *Table) SetColumnDescription(column int32, description string)

SetColumnDescription is a wrapper around the C function atk_table_set_column_description.

func (*Table) SetColumnHeader

func (recv *Table) SetColumnHeader(column int32, header *Object)

SetColumnHeader is a wrapper around the C function atk_table_set_column_header.

func (*Table) SetRowDescription

func (recv *Table) SetRowDescription(row int32, description string)

SetRowDescription is a wrapper around the C function atk_table_set_row_description.

func (*Table) SetRowHeader

func (recv *Table) SetRowHeader(row int32, header *Object)

SetRowHeader is a wrapper around the C function atk_table_set_row_header.

func (*Table) SetSummary

func (recv *Table) SetSummary(accessible *Object)

SetSummary is a wrapper around the C function atk_table_set_summary.

func (*Table) ToC

func (recv *Table) ToC() unsafe.Pointer

type TableCell

type TableCell struct {
	// contains filtered or unexported fields
}

TableCell is a wrapper around the C record AtkTableCell.

func TableCellNewFromC

func TableCellNewFromC(u unsafe.Pointer) *TableCell

func (*TableCell) Equals added in v0.0.2

func (recv *TableCell) Equals(other *TableCell) bool

Equals compares this TableCell with another TableCell, and returns true if they represent the same GObject.

func (*TableCell) ToC

func (recv *TableCell) ToC() unsafe.Pointer

type TableCellIface

type TableCellIface struct {
	// contains filtered or unexported fields
}

TableCellIface is a wrapper around the C record AtkTableCellIface.

func TableCellIfaceNewFromC

func TableCellIfaceNewFromC(u unsafe.Pointer) *TableCellIface

func (*TableCellIface) Equals added in v0.0.2

func (recv *TableCellIface) Equals(other *TableCellIface) bool

Equals compares this TableCellIface with another TableCellIface, and returns true if they represent the same GObject.

func (*TableCellIface) ToC

func (recv *TableCellIface) ToC() unsafe.Pointer

type TableIface

type TableIface struct {
	// contains filtered or unexported fields
}

TableIface is a wrapper around the C record AtkTableIface.

func TableIfaceNewFromC

func TableIfaceNewFromC(u unsafe.Pointer) *TableIface

func (*TableIface) Equals added in v0.0.2

func (recv *TableIface) Equals(other *TableIface) bool

Equals compares this TableIface with another TableIface, and returns true if they represent the same GObject.

func (*TableIface) ToC

func (recv *TableIface) ToC() unsafe.Pointer

type TableSignalColumnDeletedCallback added in v0.0.2

type TableSignalColumnDeletedCallback func(targetObject *Table, arg1 int32, arg2 int32)

TableSignalColumnDeletedCallback is a callback function for a 'column-deleted' signal emitted from a Table.

type TableSignalColumnInsertedCallback added in v0.0.2

type TableSignalColumnInsertedCallback func(targetObject *Table, arg1 int32, arg2 int32)

TableSignalColumnInsertedCallback is a callback function for a 'column-inserted' signal emitted from a Table.

type TableSignalColumnReorderedCallback

type TableSignalColumnReorderedCallback func(targetObject *Table)

TableSignalColumnReorderedCallback is a callback function for a 'column-reordered' signal emitted from a Table.

type TableSignalModelChangedCallback

type TableSignalModelChangedCallback func(targetObject *Table)

TableSignalModelChangedCallback is a callback function for a 'model-changed' signal emitted from a Table.

type TableSignalRowDeletedCallback added in v0.0.2

type TableSignalRowDeletedCallback func(targetObject *Table, arg1 int32, arg2 int32)

TableSignalRowDeletedCallback is a callback function for a 'row-deleted' signal emitted from a Table.

type TableSignalRowInsertedCallback added in v0.0.2

type TableSignalRowInsertedCallback func(targetObject *Table, arg1 int32, arg2 int32)

TableSignalRowInsertedCallback is a callback function for a 'row-inserted' signal emitted from a Table.

type TableSignalRowReorderedCallback

type TableSignalRowReorderedCallback func(targetObject *Table)

TableSignalRowReorderedCallback is a callback function for a 'row-reordered' signal emitted from a Table.

type Text

type Text struct {
	// contains filtered or unexported fields
}

Text is a wrapper around the C record AtkText.

func TextNewFromC

func TextNewFromC(u unsafe.Pointer) *Text

func (*Text) AddSelection

func (recv *Text) AddSelection(startOffset int32, endOffset int32) bool

AddSelection is a wrapper around the C function atk_text_add_selection.

func (*Text) ConnectTextAttributesChanged

func (recv *Text) ConnectTextAttributesChanged(callback TextSignalTextAttributesChangedCallback) int

ConnectTextAttributesChanged connects the callback to the 'text-attributes-changed' signal for the Text.

The returned value represents the connection, and may be passed to DisconnectTextAttributesChanged to remove it.

func (*Text) ConnectTextCaretMoved added in v0.0.2

func (recv *Text) ConnectTextCaretMoved(callback TextSignalTextCaretMovedCallback) int

ConnectTextCaretMoved connects the callback to the 'text-caret-moved' signal for the Text.

The returned value represents the connection, and may be passed to DisconnectTextCaretMoved to remove it.

func (*Text) ConnectTextChanged added in v0.0.2

func (recv *Text) ConnectTextChanged(callback TextSignalTextChangedCallback) int

ConnectTextChanged connects the callback to the 'text-changed' signal for the Text.

The returned value represents the connection, and may be passed to DisconnectTextChanged to remove it.

func (*Text) ConnectTextInsert added in v0.0.2

func (recv *Text) ConnectTextInsert(callback TextSignalTextInsertCallback) int

ConnectTextInsert connects the callback to the 'text-insert' signal for the Text.

The returned value represents the connection, and may be passed to DisconnectTextInsert to remove it.

func (*Text) ConnectTextRemove added in v0.0.2

func (recv *Text) ConnectTextRemove(callback TextSignalTextRemoveCallback) int

ConnectTextRemove connects the callback to the 'text-remove' signal for the Text.

The returned value represents the connection, and may be passed to DisconnectTextRemove to remove it.

func (*Text) ConnectTextSelectionChanged

func (recv *Text) ConnectTextSelectionChanged(callback TextSignalTextSelectionChangedCallback) int

ConnectTextSelectionChanged connects the callback to the 'text-selection-changed' signal for the Text.

The returned value represents the connection, and may be passed to DisconnectTextSelectionChanged to remove it.

func (*Text) DisconnectTextAttributesChanged

func (recv *Text) DisconnectTextAttributesChanged(connectionID int)

DisconnectTextAttributesChanged disconnects a callback from the 'text-attributes-changed' signal for the Text.

The connectionID should be a value returned from a call to ConnectTextAttributesChanged.

func (*Text) DisconnectTextCaretMoved added in v0.0.2

func (recv *Text) DisconnectTextCaretMoved(connectionID int)

DisconnectTextCaretMoved disconnects a callback from the 'text-caret-moved' signal for the Text.

The connectionID should be a value returned from a call to ConnectTextCaretMoved.

func (*Text) DisconnectTextChanged added in v0.0.2

func (recv *Text) DisconnectTextChanged(connectionID int)

DisconnectTextChanged disconnects a callback from the 'text-changed' signal for the Text.

The connectionID should be a value returned from a call to ConnectTextChanged.

func (*Text) DisconnectTextInsert added in v0.0.2

func (recv *Text) DisconnectTextInsert(connectionID int)

DisconnectTextInsert disconnects a callback from the 'text-insert' signal for the Text.

The connectionID should be a value returned from a call to ConnectTextInsert.

func (*Text) DisconnectTextRemove added in v0.0.2

func (recv *Text) DisconnectTextRemove(connectionID int)

DisconnectTextRemove disconnects a callback from the 'text-remove' signal for the Text.

The connectionID should be a value returned from a call to ConnectTextRemove.

func (*Text) DisconnectTextSelectionChanged

func (recv *Text) DisconnectTextSelectionChanged(connectionID int)

DisconnectTextSelectionChanged disconnects a callback from the 'text-selection-changed' signal for the Text.

The connectionID should be a value returned from a call to ConnectTextSelectionChanged.

func (*Text) Equals added in v0.0.2

func (recv *Text) Equals(other *Text) bool

Equals compares this Text with another Text, and returns true if they represent the same GObject.

func (*Text) GetCaretOffset

func (recv *Text) GetCaretOffset() int32

GetCaretOffset is a wrapper around the C function atk_text_get_caret_offset.

func (*Text) GetCharacterAtOffset

func (recv *Text) GetCharacterAtOffset(offset int32) rune

GetCharacterAtOffset is a wrapper around the C function atk_text_get_character_at_offset.

func (*Text) GetCharacterCount

func (recv *Text) GetCharacterCount() int32

GetCharacterCount is a wrapper around the C function atk_text_get_character_count.

func (*Text) GetCharacterExtents

func (recv *Text) GetCharacterExtents(offset int32, coords CoordType) (int32, int32, int32, int32)

GetCharacterExtents is a wrapper around the C function atk_text_get_character_extents.

func (*Text) GetNSelections

func (recv *Text) GetNSelections() int32

GetNSelections is a wrapper around the C function atk_text_get_n_selections.

func (*Text) GetOffsetAtPoint

func (recv *Text) GetOffsetAtPoint(x int32, y int32, coords CoordType) int32

GetOffsetAtPoint is a wrapper around the C function atk_text_get_offset_at_point.

func (*Text) GetSelection

func (recv *Text) GetSelection(selectionNum int32) (string, int32, int32)

GetSelection is a wrapper around the C function atk_text_get_selection.

func (*Text) GetText

func (recv *Text) GetText(startOffset int32, endOffset int32) string

GetText is a wrapper around the C function atk_text_get_text.

func (*Text) GetTextAfterOffset

func (recv *Text) GetTextAfterOffset(offset int32, boundaryType TextBoundary) (string, int32, int32)

GetTextAfterOffset is a wrapper around the C function atk_text_get_text_after_offset.

func (*Text) GetTextAtOffset

func (recv *Text) GetTextAtOffset(offset int32, boundaryType TextBoundary) (string, int32, int32)

GetTextAtOffset is a wrapper around the C function atk_text_get_text_at_offset.

func (*Text) GetTextBeforeOffset

func (recv *Text) GetTextBeforeOffset(offset int32, boundaryType TextBoundary) (string, int32, int32)

GetTextBeforeOffset is a wrapper around the C function atk_text_get_text_before_offset.

func (*Text) RemoveSelection

func (recv *Text) RemoveSelection(selectionNum int32) bool

RemoveSelection is a wrapper around the C function atk_text_remove_selection.

func (*Text) SetCaretOffset

func (recv *Text) SetCaretOffset(offset int32) bool

SetCaretOffset is a wrapper around the C function atk_text_set_caret_offset.

func (*Text) SetSelection

func (recv *Text) SetSelection(selectionNum int32, startOffset int32, endOffset int32) bool

SetSelection is a wrapper around the C function atk_text_set_selection.

func (*Text) ToC

func (recv *Text) ToC() unsafe.Pointer

type TextAttribute

type TextAttribute C.AtkTextAttribute
const (
	ATK_TEXT_ATTR_INVALID            TextAttribute = 0
	ATK_TEXT_ATTR_LEFT_MARGIN        TextAttribute = 1
	ATK_TEXT_ATTR_RIGHT_MARGIN       TextAttribute = 2
	ATK_TEXT_ATTR_INDENT             TextAttribute = 3
	ATK_TEXT_ATTR_INVISIBLE          TextAttribute = 4
	ATK_TEXT_ATTR_EDITABLE           TextAttribute = 5
	ATK_TEXT_ATTR_PIXELS_ABOVE_LINES TextAttribute = 6
	ATK_TEXT_ATTR_PIXELS_BELOW_LINES TextAttribute = 7
	ATK_TEXT_ATTR_PIXELS_INSIDE_WRAP TextAttribute = 8
	ATK_TEXT_ATTR_BG_FULL_HEIGHT     TextAttribute = 9
	ATK_TEXT_ATTR_RISE               TextAttribute = 10
	ATK_TEXT_ATTR_UNDERLINE          TextAttribute = 11
	ATK_TEXT_ATTR_STRIKETHROUGH      TextAttribute = 12
	ATK_TEXT_ATTR_SIZE               TextAttribute = 13
	ATK_TEXT_ATTR_SCALE              TextAttribute = 14
	ATK_TEXT_ATTR_WEIGHT             TextAttribute = 15
	ATK_TEXT_ATTR_LANGUAGE           TextAttribute = 16
	ATK_TEXT_ATTR_FAMILY_NAME        TextAttribute = 17
	ATK_TEXT_ATTR_BG_COLOR           TextAttribute = 18
	ATK_TEXT_ATTR_FG_COLOR           TextAttribute = 19
	ATK_TEXT_ATTR_BG_STIPPLE         TextAttribute = 20
	ATK_TEXT_ATTR_FG_STIPPLE         TextAttribute = 21
	ATK_TEXT_ATTR_WRAP_MODE          TextAttribute = 22
	ATK_TEXT_ATTR_DIRECTION          TextAttribute = 23
	ATK_TEXT_ATTR_JUSTIFICATION      TextAttribute = 24
	ATK_TEXT_ATTR_STRETCH            TextAttribute = 25
	ATK_TEXT_ATTR_VARIANT            TextAttribute = 26
	ATK_TEXT_ATTR_STYLE              TextAttribute = 27
	ATK_TEXT_ATTR_LAST_DEFINED       TextAttribute = 28
)

func TextAttributeForName

func TextAttributeForName(name string) TextAttribute

TextAttributeForName is a wrapper around the C function atk_text_attribute_for_name.

func TextAttributeRegister

func TextAttributeRegister(name string) TextAttribute

TextAttributeRegister is a wrapper around the C function atk_text_attribute_register.

type TextBoundary

type TextBoundary C.AtkTextBoundary
const (
	ATK_TEXT_BOUNDARY_CHAR           TextBoundary = 0
	ATK_TEXT_BOUNDARY_WORD_START     TextBoundary = 1
	ATK_TEXT_BOUNDARY_WORD_END       TextBoundary = 2
	ATK_TEXT_BOUNDARY_SENTENCE_START TextBoundary = 3
	ATK_TEXT_BOUNDARY_SENTENCE_END   TextBoundary = 4
	ATK_TEXT_BOUNDARY_LINE_START     TextBoundary = 5
	ATK_TEXT_BOUNDARY_LINE_END       TextBoundary = 6
)

type TextClipType

type TextClipType C.AtkTextClipType
const (
	ATK_TEXT_CLIP_NONE TextClipType = 0
	ATK_TEXT_CLIP_MIN  TextClipType = 1
	ATK_TEXT_CLIP_MAX  TextClipType = 2
	ATK_TEXT_CLIP_BOTH TextClipType = 3
)

type TextGranularity

type TextGranularity C.AtkTextGranularity
const (
	ATK_TEXT_GRANULARITY_CHAR      TextGranularity = 0
	ATK_TEXT_GRANULARITY_WORD      TextGranularity = 1
	ATK_TEXT_GRANULARITY_SENTENCE  TextGranularity = 2
	ATK_TEXT_GRANULARITY_LINE      TextGranularity = 3
	ATK_TEXT_GRANULARITY_PARAGRAPH TextGranularity = 4
)

type TextIface

type TextIface struct {
	// contains filtered or unexported fields
}

TextIface is a wrapper around the C record AtkTextIface.

func TextIfaceNewFromC

func TextIfaceNewFromC(u unsafe.Pointer) *TextIface

func (*TextIface) Equals added in v0.0.2

func (recv *TextIface) Equals(other *TextIface) bool

Equals compares this TextIface with another TextIface, and returns true if they represent the same GObject.

func (*TextIface) ToC

func (recv *TextIface) ToC() unsafe.Pointer

type TextRange

type TextRange struct {

	// bounds : record
	StartOffset int32
	EndOffset   int32
	Content     string
	// contains filtered or unexported fields
}

TextRange is a wrapper around the C record AtkTextRange.

func TextRangeNewFromC

func TextRangeNewFromC(u unsafe.Pointer) *TextRange

func (*TextRange) Equals added in v0.0.2

func (recv *TextRange) Equals(other *TextRange) bool

Equals compares this TextRange with another TextRange, and returns true if they represent the same GObject.

func (*TextRange) ToC

func (recv *TextRange) ToC() unsafe.Pointer

type TextRectangle

type TextRectangle struct {
	X      int32
	Y      int32
	Width  int32
	Height int32
	// contains filtered or unexported fields
}

TextRectangle is a wrapper around the C record AtkTextRectangle.

func TextRectangleNewFromC

func TextRectangleNewFromC(u unsafe.Pointer) *TextRectangle

func (*TextRectangle) Equals added in v0.0.2

func (recv *TextRectangle) Equals(other *TextRectangle) bool

Equals compares this TextRectangle with another TextRectangle, and returns true if they represent the same GObject.

func (*TextRectangle) ToC

func (recv *TextRectangle) ToC() unsafe.Pointer

type TextSignalTextAttributesChangedCallback

type TextSignalTextAttributesChangedCallback func(targetObject *Text)

TextSignalTextAttributesChangedCallback is a callback function for a 'text-attributes-changed' signal emitted from a Text.

type TextSignalTextCaretMovedCallback added in v0.0.2

type TextSignalTextCaretMovedCallback func(targetObject *Text, arg1 int32)

TextSignalTextCaretMovedCallback is a callback function for a 'text-caret-moved' signal emitted from a Text.

type TextSignalTextChangedCallback added in v0.0.2

type TextSignalTextChangedCallback func(targetObject *Text, arg1 int32, arg2 int32)

TextSignalTextChangedCallback is a callback function for a 'text-changed' signal emitted from a Text.

type TextSignalTextInsertCallback added in v0.0.2

type TextSignalTextInsertCallback func(targetObject *Text, arg1 int32, arg2 int32, arg3 string)

TextSignalTextInsertCallback is a callback function for a 'text-insert' signal emitted from a Text.

type TextSignalTextRemoveCallback added in v0.0.2

type TextSignalTextRemoveCallback func(targetObject *Text, arg1 int32, arg2 int32, arg3 string)

TextSignalTextRemoveCallback is a callback function for a 'text-remove' signal emitted from a Text.

type TextSignalTextSelectionChangedCallback

type TextSignalTextSelectionChangedCallback func(targetObject *Text)

TextSignalTextSelectionChangedCallback is a callback function for a 'text-selection-changed' signal emitted from a Text.

type Util

type Util struct {
	// contains filtered or unexported fields
}

Util is a wrapper around the C record AtkUtil.

func CastToUtil

func CastToUtil(object *gobject.Object) *Util

CastToWidget down casts any arbitrary Object to Util. Exercise care, as this is a potentially dangerous function if the Object is not a Util.

func UtilNewFromC

func UtilNewFromC(u unsafe.Pointer) *Util

func (*Util) Equals added in v0.0.2

func (recv *Util) Equals(other *Util) bool

Equals compares this Util with another Util, and returns true if they represent the same GObject.

func (*Util) Object

func (recv *Util) Object() *gobject.Object

Object upcasts to *Object

func (*Util) ToC

func (recv *Util) ToC() unsafe.Pointer

type UtilClass

type UtilClass struct {
	// contains filtered or unexported fields
}

UtilClass is a wrapper around the C record AtkUtilClass.

func UtilClassNewFromC

func UtilClassNewFromC(u unsafe.Pointer) *UtilClass

func (*UtilClass) Equals added in v0.0.2

func (recv *UtilClass) Equals(other *UtilClass) bool

Equals compares this UtilClass with another UtilClass, and returns true if they represent the same GObject.

func (*UtilClass) ToC

func (recv *UtilClass) ToC() unsafe.Pointer

type Value

type Value struct {
	// contains filtered or unexported fields
}

Value is a wrapper around the C record AtkValue.

func ValueNewFromC

func ValueNewFromC(u unsafe.Pointer) *Value

func (*Value) Equals added in v0.0.2

func (recv *Value) Equals(other *Value) bool

Equals compares this Value with another Value, and returns true if they represent the same GObject.

func (*Value) GetCurrentValue

func (recv *Value) GetCurrentValue() *gobject.Value

GetCurrentValue is a wrapper around the C function atk_value_get_current_value.

func (*Value) GetMaximumValue

func (recv *Value) GetMaximumValue() *gobject.Value

GetMaximumValue is a wrapper around the C function atk_value_get_maximum_value.

func (*Value) GetMinimumValue

func (recv *Value) GetMinimumValue() *gobject.Value

GetMinimumValue is a wrapper around the C function atk_value_get_minimum_value.

func (*Value) SetCurrentValue

func (recv *Value) SetCurrentValue(value *gobject.Value) bool

SetCurrentValue is a wrapper around the C function atk_value_set_current_value.

func (*Value) ToC

func (recv *Value) ToC() unsafe.Pointer

type ValueIface

type ValueIface struct {
	// contains filtered or unexported fields
}

ValueIface is a wrapper around the C record AtkValueIface.

func ValueIfaceNewFromC

func ValueIfaceNewFromC(u unsafe.Pointer) *ValueIface

func (*ValueIface) Equals added in v0.0.2

func (recv *ValueIface) Equals(other *ValueIface) bool

Equals compares this ValueIface with another ValueIface, and returns true if they represent the same GObject.

func (*ValueIface) ToC

func (recv *ValueIface) ToC() unsafe.Pointer

type ValueType

type ValueType C.AtkValueType
const (
	ATK_VALUE_VERY_WEAK    ValueType = 0
	ATK_VALUE_WEAK         ValueType = 1
	ATK_VALUE_ACCEPTABLE   ValueType = 2
	ATK_VALUE_STRONG       ValueType = 3
	ATK_VALUE_VERY_STRONG  ValueType = 4
	ATK_VALUE_VERY_LOW     ValueType = 5
	ATK_VALUE_LOW          ValueType = 6
	ATK_VALUE_MEDIUM       ValueType = 7
	ATK_VALUE_HIGH         ValueType = 8
	ATK_VALUE_VERY_HIGH    ValueType = 9
	ATK_VALUE_VERY_BAD     ValueType = 10
	ATK_VALUE_BAD          ValueType = 11
	ATK_VALUE_GOOD         ValueType = 12
	ATK_VALUE_VERY_GOOD    ValueType = 13
	ATK_VALUE_BEST         ValueType = 14
	ATK_VALUE_LAST_DEFINED ValueType = 15
)

type Window

type Window struct {
	// contains filtered or unexported fields
}

Window is a wrapper around the C record AtkWindow.

func WindowNewFromC

func WindowNewFromC(u unsafe.Pointer) *Window

func (*Window) Equals added in v0.0.2

func (recv *Window) Equals(other *Window) bool

Equals compares this Window with another Window, and returns true if they represent the same GObject.

func (*Window) ToC

func (recv *Window) ToC() unsafe.Pointer

type WindowIface

type WindowIface struct {
	// contains filtered or unexported fields
}

WindowIface is a wrapper around the C record AtkWindowIface.

func WindowIfaceNewFromC

func WindowIfaceNewFromC(u unsafe.Pointer) *WindowIface

func (*WindowIface) Equals added in v0.0.2

func (recv *WindowIface) Equals(other *WindowIface) bool

Equals compares this WindowIface with another WindowIface, and returns true if they represent the same GObject.

func (*WindowIface) ToC

func (recv *WindowIface) ToC() unsafe.Pointer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL