Documentation ¶
Index ¶
- Constants
- func FocusTrackerNotify(object *Object)
- func GetToolkitName() string
- func GetToolkitVersion() string
- func RelationTypeGetName(type_ RelationType) string
- func RemoveFocusTracker(trackerId uint32)
- func RemoveGlobalEventListener(listenerId uint32)
- func RemoveKeyEventListener(listenerId uint32)
- func RoleGetLocalizedName(role Role) string
- func RoleGetName(role Role) string
- func StateTypeGetName(type_ StateType) string
- func TextAttributeGetName(attr TextAttribute) string
- func TextAttributeGetValue(attr TextAttribute, index int32) string
- func ValueTypeGetLocalizedName(valueType ValueType) string
- func ValueTypeGetName(valueType ValueType) string
- type Action
- func (recv *Action) DoAction(i int32) bool
- func (recv *Action) GetDescription(i int32) string
- func (recv *Action) GetKeybinding(i int32) string
- func (recv *Action) GetLocalizedName(i int32) string
- func (recv *Action) GetNActions() int32
- func (recv *Action) GetName(i int32) string
- func (recv *Action) SetDescription(i int32, desc string) bool
- func (recv *Action) ToC() unsafe.Pointer
- type ActionIface
- type Attribute
- type AttributeSet
- type Component
- func (recv *Component) ConnectBoundsChanged(callback ComponentSignalBoundsChangedCallback) int
- func (recv *Component) Contains(x int32, y int32, coordType CoordType) bool
- func (recv *Component) DisconnectBoundsChanged(connectionID int)
- func (recv *Component) GetExtents(coordType CoordType) (int32, int32, int32, int32)
- func (recv *Component) GetLayer() Layer
- func (recv *Component) GetMdiZorder() int32
- func (recv *Component) GetPosition(coordType CoordType) (int32, int32)
- func (recv *Component) GetSize() (int32, int32)
- func (recv *Component) GrabFocus() bool
- func (recv *Component) RefAccessibleAtPoint(x int32, y int32, coordType CoordType) *Object
- func (recv *Component) RemoveFocusHandler(handlerId uint32)
- func (recv *Component) SetExtents(x int32, y int32, width int32, height int32, coordType CoordType) bool
- func (recv *Component) SetPosition(x int32, y int32, coordType CoordType) bool
- func (recv *Component) SetSize(width int32, height int32) bool
- func (recv *Component) ToC() unsafe.Pointer
- type ComponentIface
- type ComponentSignalBoundsChangedCallback
- type CoordType
- type Document
- func (recv *Document) ConnectLoadComplete(callback DocumentSignalLoadCompleteCallback) int
- func (recv *Document) ConnectLoadStopped(callback DocumentSignalLoadStoppedCallback) int
- func (recv *Document) ConnectReload(callback DocumentSignalReloadCallback) int
- func (recv *Document) DisconnectLoadComplete(connectionID int)
- func (recv *Document) DisconnectLoadStopped(connectionID int)
- func (recv *Document) DisconnectReload(connectionID int)
- func (recv *Document) GetDocument() uintptr
- func (recv *Document) GetDocumentType() string
- func (recv *Document) GetLocale() string
- func (recv *Document) ToC() unsafe.Pointer
- type DocumentIface
- type DocumentSignalLoadCompleteCallback
- type DocumentSignalLoadStoppedCallback
- type DocumentSignalReloadCallback
- type EditableText
- func (recv *EditableText) CopyText(startPos int32, endPos int32)
- func (recv *EditableText) CutText(startPos int32, endPos int32)
- func (recv *EditableText) DeleteText(startPos int32, endPos int32)
- func (recv *EditableText) InsertText(string string, length int32, position int32)
- func (recv *EditableText) PasteText(position int32)
- func (recv *EditableText) SetTextContents(string string)
- func (recv *EditableText) ToC() unsafe.Pointer
- type EditableTextIface
- type GObjectAccessible
- type GObjectAccessibleClass
- type Hyperlink
- func (recv *Hyperlink) Action() *Action
- func (recv *Hyperlink) ConnectLinkActivated(callback HyperlinkSignalLinkActivatedCallback) int
- func (recv *Hyperlink) DisconnectLinkActivated(connectionID int)
- func (recv *Hyperlink) GetEndIndex() int32
- func (recv *Hyperlink) GetNAnchors() int32
- func (recv *Hyperlink) GetObject(i int32) *Object
- func (recv *Hyperlink) GetStartIndex() int32
- func (recv *Hyperlink) GetUri(i int32) string
- func (recv *Hyperlink) IsInline() bool
- func (recv *Hyperlink) IsValid() bool
- func (recv *Hyperlink) Object() *gobject.Object
- func (recv *Hyperlink) ToC() unsafe.Pointer
- type HyperlinkClass
- type HyperlinkImpl
- type HyperlinkImplIface
- type HyperlinkSignalLinkActivatedCallback
- type HyperlinkStateFlags
- type Hypertext
- type HypertextIface
- type Image
- type ImageIface
- type Implementor
- type ImplementorIface
- type KeyEventStruct
- type KeyEventType
- type Layer
- type Misc
- type MiscClass
- type NoOpObject
- func (recv *NoOpObject) Action() *Action
- func (recv *NoOpObject) Component() *Component
- func (recv *NoOpObject) Document() *Document
- func (recv *NoOpObject) EditableText() *EditableText
- func (recv *NoOpObject) Hypertext() *Hypertext
- func (recv *NoOpObject) Image() *Image
- func (recv *NoOpObject) Object() *Object
- func (recv *NoOpObject) Selection() *Selection
- func (recv *NoOpObject) Table() *Table
- func (recv *NoOpObject) TableCell() *TableCell
- func (recv *NoOpObject) Text() *Text
- func (recv *NoOpObject) ToC() unsafe.Pointer
- func (recv *NoOpObject) Value() *Value
- func (recv *NoOpObject) Window() *Window
- type NoOpObjectClass
- type NoOpObjectFactory
- type NoOpObjectFactoryClass
- type Object
- func (recv *Object) AddRelationship(relationship RelationType, target *Object) bool
- func (recv *Object) ConnectFocusEvent(callback ObjectSignalFocusEventCallback) int
- func (recv *Object) ConnectVisibleDataChanged(callback ObjectSignalVisibleDataChangedCallback) int
- func (recv *Object) DisconnectFocusEvent(connectionID int)
- func (recv *Object) DisconnectVisibleDataChanged(connectionID int)
- func (recv *Object) GetDescription() string
- func (recv *Object) GetIndexInParent() int32
- func (recv *Object) GetLayer() Layer
- func (recv *Object) GetMdiZorder() int32
- func (recv *Object) GetNAccessibleChildren() int32
- func (recv *Object) GetName() string
- func (recv *Object) GetParent() *Object
- func (recv *Object) GetRole() Role
- func (recv *Object) Initialize(data uintptr)
- func (recv *Object) NotifyStateChange(state State, value bool)
- func (recv *Object) Object() *gobject.Object
- func (recv *Object) PeekParent() *Object
- func (recv *Object) RefAccessibleChild(i int32) *Object
- func (recv *Object) RefRelationSet() *RelationSet
- func (recv *Object) RefStateSet() *StateSet
- func (recv *Object) RemovePropertyChangeHandler(handlerId uint32)
- func (recv *Object) RemoveRelationship(relationship RelationType, target *Object) bool
- func (recv *Object) SetDescription(description string)
- func (recv *Object) SetName(name string)
- func (recv *Object) SetParent(parent *Object)
- func (recv *Object) SetRole(role Role)
- func (recv *Object) ToC() unsafe.Pointer
- type ObjectClass
- type ObjectFactory
- type ObjectFactoryClass
- type ObjectSignalFocusEventCallback
- type ObjectSignalVisibleDataChangedCallback
- type Plug
- type PlugClass
- type PropertyValues
- type Range
- type Rectangle
- type Registry
- func (recv *Registry) GetFactory(type_ gobject.Type) *ObjectFactory
- func (recv *Registry) GetFactoryType(type_ gobject.Type) gobject.Type
- func (recv *Registry) Object() *gobject.Object
- func (recv *Registry) SetFactoryType(type_ gobject.Type, factoryType gobject.Type)
- func (recv *Registry) ToC() unsafe.Pointer
- type RegistryClass
- type Relation
- type RelationClass
- type RelationSet
- func (recv *RelationSet) Add(relation *Relation)
- func (recv *RelationSet) Contains(relationship RelationType) bool
- func (recv *RelationSet) ContainsTarget(relationship RelationType, target *Object) bool
- func (recv *RelationSet) GetNRelations() int32
- func (recv *RelationSet) GetRelation(i int32) *Relation
- func (recv *RelationSet) GetRelationByType(relationship RelationType) *Relation
- func (recv *RelationSet) Object() *gobject.Object
- func (recv *RelationSet) Remove(relation *Relation)
- func (recv *RelationSet) ToC() unsafe.Pointer
- type RelationSetClass
- type RelationType
- type Role
- type Selection
- func (recv *Selection) AddSelection(i int32) bool
- func (recv *Selection) ClearSelection() bool
- func (recv *Selection) ConnectSelectionChanged(callback SelectionSignalSelectionChangedCallback) int
- func (recv *Selection) DisconnectSelectionChanged(connectionID int)
- func (recv *Selection) GetSelectionCount() int32
- func (recv *Selection) IsChildSelected(i int32) bool
- func (recv *Selection) RefSelection(i int32) *Object
- func (recv *Selection) RemoveSelection(i int32) bool
- func (recv *Selection) SelectAllSelection() bool
- func (recv *Selection) ToC() unsafe.Pointer
- type SelectionIface
- type SelectionSignalSelectionChangedCallback
- type Socket
- type SocketClass
- type State
- type StateSet
- func (recv *StateSet) AddState(type_ StateType) bool
- func (recv *StateSet) AddStates(types []StateType)
- func (recv *StateSet) AndSets(compareSet *StateSet) *StateSet
- func (recv *StateSet) ClearStates()
- func (recv *StateSet) ContainsState(type_ StateType) bool
- func (recv *StateSet) ContainsStates(types []StateType) bool
- func (recv *StateSet) IsEmpty() bool
- func (recv *StateSet) Object() *gobject.Object
- func (recv *StateSet) OrSets(compareSet *StateSet) *StateSet
- func (recv *StateSet) RemoveState(type_ StateType) bool
- func (recv *StateSet) ToC() unsafe.Pointer
- func (recv *StateSet) XorSets(compareSet *StateSet) *StateSet
- type StateSetClass
- type StateType
- type StreamableContent
- type StreamableContentIface
- type Table
- func (recv *Table) AddColumnSelection(column int32) bool
- func (recv *Table) AddRowSelection(row int32) bool
- func (recv *Table) ConnectColumnReordered(callback TableSignalColumnReorderedCallback) int
- func (recv *Table) ConnectModelChanged(callback TableSignalModelChangedCallback) int
- func (recv *Table) ConnectRowReordered(callback TableSignalRowReorderedCallback) int
- func (recv *Table) DisconnectColumnReordered(connectionID int)
- func (recv *Table) DisconnectModelChanged(connectionID int)
- func (recv *Table) DisconnectRowReordered(connectionID int)
- func (recv *Table) GetCaption() *Object
- func (recv *Table) GetColumnAtIndex(index int32) int32
- func (recv *Table) GetColumnDescription(column int32) string
- func (recv *Table) GetColumnExtentAt(row int32, column int32) int32
- func (recv *Table) GetColumnHeader(column int32) *Object
- func (recv *Table) GetIndexAt(row int32, column int32) int32
- func (recv *Table) GetNColumns() int32
- func (recv *Table) GetNRows() int32
- func (recv *Table) GetRowAtIndex(index int32) int32
- func (recv *Table) GetRowDescription(row int32) string
- func (recv *Table) GetRowExtentAt(row int32, column int32) int32
- func (recv *Table) GetRowHeader(row int32) *Object
- func (recv *Table) GetSummary() *Object
- func (recv *Table) IsColumnSelected(column int32) bool
- func (recv *Table) IsRowSelected(row int32) bool
- func (recv *Table) IsSelected(row int32, column int32) bool
- func (recv *Table) RefAt(row int32, column int32) *Object
- func (recv *Table) RemoveColumnSelection(column int32) bool
- func (recv *Table) RemoveRowSelection(row int32) bool
- func (recv *Table) SetCaption(caption *Object)
- func (recv *Table) SetColumnDescription(column int32, description string)
- func (recv *Table) SetColumnHeader(column int32, header *Object)
- func (recv *Table) SetRowDescription(row int32, description string)
- func (recv *Table) SetRowHeader(row int32, header *Object)
- func (recv *Table) SetSummary(accessible *Object)
- func (recv *Table) ToC() unsafe.Pointer
- type TableCell
- type TableCellIface
- type TableIface
- type TableSignalColumnReorderedCallback
- type TableSignalModelChangedCallback
- type TableSignalRowReorderedCallback
- type Text
- func (recv *Text) AddSelection(startOffset int32, endOffset int32) bool
- func (recv *Text) ConnectTextAttributesChanged(callback TextSignalTextAttributesChangedCallback) int
- func (recv *Text) ConnectTextSelectionChanged(callback TextSignalTextSelectionChangedCallback) int
- func (recv *Text) DisconnectTextAttributesChanged(connectionID int)
- func (recv *Text) DisconnectTextSelectionChanged(connectionID int)
- func (recv *Text) GetCaretOffset() int32
- func (recv *Text) GetCharacterAtOffset(offset int32) rune
- func (recv *Text) GetCharacterCount() int32
- func (recv *Text) GetCharacterExtents(offset int32, coords CoordType) (int32, int32, int32, int32)
- func (recv *Text) GetNSelections() int32
- func (recv *Text) GetOffsetAtPoint(x int32, y int32, coords CoordType) int32
- func (recv *Text) GetSelection(selectionNum int32) (string, int32, int32)
- func (recv *Text) GetText(startOffset int32, endOffset int32) string
- func (recv *Text) GetTextAfterOffset(offset int32, boundaryType TextBoundary) (string, int32, int32)
- func (recv *Text) GetTextAtOffset(offset int32, boundaryType TextBoundary) (string, int32, int32)
- func (recv *Text) GetTextBeforeOffset(offset int32, boundaryType TextBoundary) (string, int32, int32)
- func (recv *Text) RemoveSelection(selectionNum int32) bool
- func (recv *Text) SetCaretOffset(offset int32) bool
- func (recv *Text) SetSelection(selectionNum int32, startOffset int32, endOffset int32) bool
- func (recv *Text) ToC() unsafe.Pointer
- type TextAttribute
- type TextBoundary
- type TextClipType
- type TextGranularity
- type TextIface
- type TextRange
- type TextRectangle
- type TextSignalTextAttributesChangedCallback
- type TextSignalTextSelectionChangedCallback
- type Util
- type UtilClass
- type Value
- type ValueIface
- type ValueType
- type Window
- type WindowIface
Constants ¶
const VERSION_MIN_REQUIRED int = C.ATK_VERSION_MIN_REQUIRED
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 ¶
RoleGetLocalizedName is a wrapper around the C function atk_role_get_localized_name.
func RoleGetName ¶
RoleGetName is a wrapper around the C function atk_role_get_name.
func StateTypeGetName ¶
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 ¶
ValueTypeGetLocalizedName is a wrapper around the C function atk_value_type_get_localized_name.
func ValueTypeGetName ¶
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 (*Action) GetDescription ¶
GetDescription is a wrapper around the C function atk_action_get_description.
func (*Action) GetKeybinding ¶
GetKeybinding is a wrapper around the C function atk_action_get_keybinding.
func (*Action) GetLocalizedName ¶
GetLocalizedName is a wrapper around the C function atk_action_get_localized_name.
func (*Action) GetNActions ¶
GetNActions is a wrapper around the C function atk_action_get_n_actions.
func (*Action) SetDescription ¶
SetDescription is a wrapper around the C function atk_action_set_description.
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) ToC ¶
func (recv *ActionIface) ToC() unsafe.Pointer
type AttributeSet ¶
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 (*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) DisconnectBoundsChanged ¶
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) GetExtents ¶
GetExtents is a wrapper around the C function atk_component_get_extents.
func (*Component) GetMdiZorder ¶
GetMdiZorder is a wrapper around the C function atk_component_get_mdi_zorder.
func (*Component) GetPosition ¶
GetPosition is a wrapper around the C function atk_component_get_position.
func (*Component) GrabFocus ¶
GrabFocus is a wrapper around the C function atk_component_grab_focus.
func (*Component) RefAccessibleAtPoint ¶
RefAccessibleAtPoint is a wrapper around the C function atk_component_ref_accessible_at_point.
func (*Component) RemoveFocusHandler ¶
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 ¶
SetPosition is a wrapper around the C function atk_component_set_position.
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) ToC ¶
func (recv *ComponentIface) ToC() unsafe.Pointer
type ComponentSignalBoundsChangedCallback ¶
type ComponentSignalBoundsChangedCallback func(arg1 *Rectangle)
ComponentSignalBoundsChangedCallback is a callback function for a 'bounds-changed' signal emitted from a Component.
type CoordType ¶
type CoordType C.AtkCoordType
type Document ¶
type Document struct {
// contains filtered or unexported fields
}
Document is a wrapper around the C record AtkDocument.
func DocumentNewFromC ¶
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 ¶
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 ¶
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 ¶
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) GetDocument ¶
GetDocument is a wrapper around the C function atk_document_get_document.
func (*Document) GetDocumentType ¶
GetDocumentType is a wrapper around the C function atk_document_get_document_type.
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) ToC ¶
func (recv *DocumentIface) ToC() unsafe.Pointer
type DocumentSignalLoadCompleteCallback ¶
type DocumentSignalLoadCompleteCallback func()
DocumentSignalLoadCompleteCallback is a callback function for a 'load-complete' signal emitted from a Document.
type DocumentSignalLoadStoppedCallback ¶
type DocumentSignalLoadStoppedCallback func()
DocumentSignalLoadStoppedCallback is a callback function for a 'load-stopped' signal emitted from a Document.
type DocumentSignalReloadCallback ¶
type DocumentSignalReloadCallback func()
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) 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) 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 arbitary 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) 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) ToC ¶
func (recv *GObjectAccessibleClass) ToC() unsafe.Pointer
type Hyperlink ¶
type Hyperlink struct {
// contains filtered or unexported fields
}
Hyperlink is a wrapper around the C record AtkHyperlink.
func CastToHyperlink ¶
CastToWidget down casts any arbitary Object to Hyperlink. Exercise care, as this is a potentially dangerous function if the Object is not a Hyperlink.
func HyperlinkNewFromC ¶
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 ¶
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) GetEndIndex ¶
GetEndIndex is a wrapper around the C function atk_hyperlink_get_end_index.
func (*Hyperlink) GetNAnchors ¶
GetNAnchors is a wrapper around the C function atk_hyperlink_get_n_anchors.
func (*Hyperlink) GetObject ¶
GetObject is a wrapper around the C function atk_hyperlink_get_object.
func (*Hyperlink) GetStartIndex ¶
GetStartIndex is a wrapper around the C function atk_hyperlink_get_start_index.
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) 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) 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) ToC ¶
func (recv *HyperlinkImplIface) ToC() unsafe.Pointer
type HyperlinkSignalLinkActivatedCallback ¶
type HyperlinkSignalLinkActivatedCallback func()
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 (*Hypertext) GetLinkIndex ¶
GetLinkIndex is a wrapper around the C function atk_hypertext_get_link_index.
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) ToC ¶
func (recv *HypertextIface) ToC() unsafe.Pointer
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
Image is a wrapper around the C record AtkImage.
func ImageNewFromC ¶
func (*Image) GetImageDescription ¶
GetImageDescription is a wrapper around the C function atk_image_get_image_description.
func (*Image) GetImagePosition ¶
GetImagePosition is a wrapper around the C function atk_image_get_image_position.
func (*Image) GetImageSize ¶
GetImageSize is a wrapper around the C function atk_image_get_image_size.
func (*Image) SetImageDescription ¶
SetImageDescription is a wrapper around the C function atk_image_set_image_description.
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) 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) 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) 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) 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 Misc ¶
type Misc struct {
// contains filtered or unexported fields
}
Misc is a wrapper around the C record AtkMisc.
func CastToMisc ¶
CastToWidget down casts any arbitary Object to Misc. Exercise care, as this is a potentially dangerous function if the Object is not a Misc.
func MiscNewFromC ¶
type MiscClass ¶
type MiscClass struct {
// contains filtered or unexported fields
}
MiscClass is a wrapper around the C record AtkMiscClass.
func MiscClassNewFromC ¶
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 arbitary 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) 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) 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) 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 arbitary 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) 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) ToC ¶
func (recv *NoOpObjectFactoryClass) ToC() unsafe.Pointer
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 ¶
CastToWidget down casts any arbitary Object to Object. Exercise care, as this is a potentially dangerous function if the Object is not a Object.
func ObjectNewFromC ¶
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) 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 ¶
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) DisconnectVisibleDataChanged ¶
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) GetDescription ¶
GetDescription is a wrapper around the C function atk_object_get_description.
func (*Object) GetIndexInParent ¶
GetIndexInParent is a wrapper around the C function atk_object_get_index_in_parent.
func (*Object) GetMdiZorder ¶
GetMdiZorder is a wrapper around the C function atk_object_get_mdi_zorder.
func (*Object) GetNAccessibleChildren ¶
GetNAccessibleChildren is a wrapper around the C function atk_object_get_n_accessible_children.
func (*Object) Initialize ¶
Initialize is a wrapper around the C function atk_object_initialize.
func (*Object) NotifyStateChange ¶
NotifyStateChange is a wrapper around the C function atk_object_notify_state_change.
func (*Object) PeekParent ¶
PeekParent is a wrapper around the C function atk_object_peek_parent.
func (*Object) RefAccessibleChild ¶
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 ¶
RefStateSet is a wrapper around the C function atk_object_ref_state_set.
func (*Object) RemovePropertyChangeHandler ¶
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 ¶
SetDescription is a wrapper around the C function atk_object_set_description.
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) 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 arbitary 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) 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) ToC ¶
func (recv *ObjectFactoryClass) ToC() unsafe.Pointer
type ObjectSignalFocusEventCallback ¶
type ObjectSignalFocusEventCallback func(arg1 bool)
ObjectSignalFocusEventCallback is a callback function for a 'focus-event' signal emitted from a Object.
type ObjectSignalVisibleDataChangedCallback ¶
type ObjectSignalVisibleDataChangedCallback func()
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 ¶
CastToWidget down casts any arbitary Object to Plug. Exercise care, as this is a potentially dangerous function if the Object is not a Plug.
func PlugNewFromC ¶
type PlugClass ¶
type PlugClass struct {
// contains filtered or unexported fields
}
PlugClass is a wrapper around the C record AtkPlugClass.
func PlugClassNewFromC ¶
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) 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 ¶
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 ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry is a wrapper around the C record AtkRegistry.
func CastToRegistry ¶
CastToWidget down casts any arbitary 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 (*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 ¶
GetFactoryType is a wrapper around the C function atk_registry_get_factory_type.
func (*Registry) SetFactoryType ¶
SetFactoryType is a wrapper around the C function atk_registry_set_factory_type.
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) 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 ¶
CastToWidget down casts any arbitary Object to Relation. Exercise care, as this is a potentially dangerous function if the Object is not a Relation.
func RelationNewFromC ¶
func (*Relation) GetRelationType ¶
func (recv *Relation) GetRelationType() RelationType
GetRelationType is a wrapper around the C function atk_relation_get_relation_type.
func (*Relation) RemoveTarget ¶
RemoveTarget is a wrapper around the C function atk_relation_remove_target.
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) 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 arbitary 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) 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) 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 ¶
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 ¶
RoleForName is a wrapper around the C function atk_role_for_name.
func RoleRegister ¶
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 (*Selection) AddSelection ¶
AddSelection is a wrapper around the C function atk_selection_add_selection.
func (*Selection) ClearSelection ¶
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 ¶
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) GetSelectionCount ¶
GetSelectionCount is a wrapper around the C function atk_selection_get_selection_count.
func (*Selection) IsChildSelected ¶
IsChildSelected is a wrapper around the C function atk_selection_is_child_selected.
func (*Selection) RefSelection ¶
RefSelection is a wrapper around the C function atk_selection_ref_selection.
func (*Selection) RemoveSelection ¶
RemoveSelection is a wrapper around the C function atk_selection_remove_selection.
func (*Selection) SelectAllSelection ¶
SelectAllSelection is a wrapper around the C function atk_selection_select_all_selection.
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) ToC ¶
func (recv *SelectionIface) ToC() unsafe.Pointer
type SelectionSignalSelectionChangedCallback ¶
type SelectionSignalSelectionChangedCallback func()
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 ¶
CastToWidget down casts any arbitary 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 ¶
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) ToC ¶
func (recv *SocketClass) ToC() unsafe.Pointer
type StateSet ¶
type StateSet struct {
// contains filtered or unexported fields
}
StateSet is a wrapper around the C record AtkStateSet.
func CastToStateSet ¶
CastToWidget down casts any arbitary 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 (*StateSet) ClearStates ¶
func (recv *StateSet) ClearStates()
ClearStates is a wrapper around the C function atk_state_set_clear_states.
func (*StateSet) ContainsState ¶
ContainsState is a wrapper around the C function atk_state_set_contains_state.
func (*StateSet) ContainsStates ¶
ContainsStates is a wrapper around the C function atk_state_set_contains_states.
func (*StateSet) RemoveState ¶
RemoveState is a wrapper around the C function atk_state_set_remove_state.
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) 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 ¶
StateTypeForName is a wrapper around the C function atk_state_type_for_name.
func StateTypeRegister ¶
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) 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) 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) ToC ¶
func (recv *StreamableContentIface) ToC() unsafe.Pointer
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
Table is a wrapper around the C record AtkTable.
func TableNewFromC ¶
func (*Table) AddColumnSelection ¶
AddColumnSelection is a wrapper around the C function atk_table_add_column_selection.
func (*Table) AddRowSelection ¶
AddRowSelection is a wrapper around the C function atk_table_add_row_selection.
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) 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) DisconnectColumnReordered ¶
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 ¶
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) DisconnectRowReordered ¶
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) GetCaption ¶
GetCaption is a wrapper around the C function atk_table_get_caption.
func (*Table) GetColumnAtIndex ¶
GetColumnAtIndex is a wrapper around the C function atk_table_get_column_at_index.
func (*Table) GetColumnDescription ¶
GetColumnDescription is a wrapper around the C function atk_table_get_column_description.
func (*Table) GetColumnExtentAt ¶
GetColumnExtentAt is a wrapper around the C function atk_table_get_column_extent_at.
func (*Table) GetColumnHeader ¶
GetColumnHeader is a wrapper around the C function atk_table_get_column_header.
func (*Table) GetIndexAt ¶
GetIndexAt is a wrapper around the C function atk_table_get_index_at.
func (*Table) GetNColumns ¶
GetNColumns is a wrapper around the C function atk_table_get_n_columns.
func (*Table) GetRowAtIndex ¶
GetRowAtIndex is a wrapper around the C function atk_table_get_row_at_index.
func (*Table) GetRowDescription ¶
GetRowDescription is a wrapper around the C function atk_table_get_row_description.
func (*Table) GetRowExtentAt ¶
GetRowExtentAt is a wrapper around the C function atk_table_get_row_extent_at.
func (*Table) GetRowHeader ¶
GetRowHeader is a wrapper around the C function atk_table_get_row_header.
func (*Table) GetSummary ¶
GetSummary is a wrapper around the C function atk_table_get_summary.
func (*Table) IsColumnSelected ¶
IsColumnSelected is a wrapper around the C function atk_table_is_column_selected.
func (*Table) IsRowSelected ¶
IsRowSelected is a wrapper around the C function atk_table_is_row_selected.
func (*Table) IsSelected ¶
IsSelected is a wrapper around the C function atk_table_is_selected.
func (*Table) RemoveColumnSelection ¶
RemoveColumnSelection is a wrapper around the C function atk_table_remove_column_selection.
func (*Table) RemoveRowSelection ¶
RemoveRowSelection is a wrapper around the C function atk_table_remove_row_selection.
func (*Table) SetCaption ¶
SetCaption is a wrapper around the C function atk_table_set_caption.
func (*Table) SetColumnDescription ¶
SetColumnDescription is a wrapper around the C function atk_table_set_column_description.
func (*Table) SetColumnHeader ¶
SetColumnHeader is a wrapper around the C function atk_table_set_column_header.
func (*Table) SetRowDescription ¶
SetRowDescription is a wrapper around the C function atk_table_set_row_description.
func (*Table) SetRowHeader ¶
SetRowHeader is a wrapper around the C function atk_table_set_row_header.
func (*Table) SetSummary ¶
SetSummary is a wrapper around the C function atk_table_set_summary.
type TableCell ¶
type TableCell struct {
// contains filtered or unexported fields
}
TableCell is a wrapper around the C record AtkTableCell.
func TableCellNewFromC ¶
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) 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) ToC ¶
func (recv *TableIface) ToC() unsafe.Pointer
type TableSignalColumnReorderedCallback ¶
type TableSignalColumnReorderedCallback func()
TableSignalColumnReorderedCallback is a callback function for a 'column-reordered' signal emitted from a Table.
type TableSignalModelChangedCallback ¶
type TableSignalModelChangedCallback func()
TableSignalModelChangedCallback is a callback function for a 'model-changed' signal emitted from a Table.
type TableSignalRowReorderedCallback ¶
type TableSignalRowReorderedCallback func()
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 (*Text) AddSelection ¶
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) 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 ¶
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) DisconnectTextSelectionChanged ¶
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) GetCaretOffset ¶
GetCaretOffset is a wrapper around the C function atk_text_get_caret_offset.
func (*Text) GetCharacterAtOffset ¶
GetCharacterAtOffset is a wrapper around the C function atk_text_get_character_at_offset.
func (*Text) GetCharacterCount ¶
GetCharacterCount is a wrapper around the C function atk_text_get_character_count.
func (*Text) GetCharacterExtents ¶
GetCharacterExtents is a wrapper around the C function atk_text_get_character_extents.
func (*Text) GetNSelections ¶
GetNSelections is a wrapper around the C function atk_text_get_n_selections.
func (*Text) GetOffsetAtPoint ¶
GetOffsetAtPoint is a wrapper around the C function atk_text_get_offset_at_point.
func (*Text) GetSelection ¶
GetSelection is a wrapper around the C function atk_text_get_selection.
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 ¶
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 ¶
RemoveSelection is a wrapper around the C function atk_text_remove_selection.
func (*Text) SetCaretOffset ¶
SetCaretOffset is a wrapper around the C function atk_text_set_caret_offset.
func (*Text) SetSelection ¶
SetSelection is a wrapper around the C function atk_text_set_selection.
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 ¶
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 ¶
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) ToC ¶
func (recv *TextRectangle) ToC() unsafe.Pointer
type TextSignalTextAttributesChangedCallback ¶
type TextSignalTextAttributesChangedCallback func()
TextSignalTextAttributesChangedCallback is a callback function for a 'text-attributes-changed' signal emitted from a Text.
type TextSignalTextSelectionChangedCallback ¶
type TextSignalTextSelectionChangedCallback func()
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 ¶
CastToWidget down casts any arbitary Object to Util. Exercise care, as this is a potentially dangerous function if the Object is not a Util.
func UtilNewFromC ¶
type UtilClass ¶
type UtilClass struct {
// contains filtered or unexported fields
}
UtilClass is a wrapper around the C record AtkUtilClass.
func UtilClassNewFromC ¶
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
Value is a wrapper around the C record AtkValue.
func ValueNewFromC ¶
func (*Value) GetCurrentValue ¶
GetCurrentValue is a wrapper around the C function atk_value_get_current_value.
func (*Value) GetMaximumValue ¶
GetMaximumValue is a wrapper around the C function atk_value_get_maximum_value.
func (*Value) GetMinimumValue ¶
GetMinimumValue is a wrapper around the C function atk_value_get_minimum_value.
func (*Value) SetCurrentValue ¶
SetCurrentValue is a wrapper around the C function atk_value_set_current_value.
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) 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 ¶
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) ToC ¶
func (recv *WindowIface) ToC() unsafe.Pointer