Documentation ¶
Overview ¶
Package atk provides API definitions for accessing libatk-1.0-0.dll.
Index ¶
- Variables
- type Action
- func (a *Action) DoAction(i int) bool
- func (a *Action) GetDescription(i int) string
- func (a *Action) GetKeybinding(i int) string
- func (a *Action) GetLocalizedName(i int) string
- func (a *Action) GetNActions() int
- func (a *Action) GetName(i int) string
- func (a *Action) SetDescription(i int, desc string) bool
- type AttributeSet
- type Component
- func (c *Component) AddFocusHandler(handler FocusHandler) uint
- func (c *Component) Contains(x, y int, coordType CoordType) bool
- func (c *Component) GetAlpha() float64
- func (c *Component) GetExtents(x, y, width, height *int, coordType CoordType)
- func (c *Component) GetLayer() Layer
- func (c *Component) GetMdiZorder() int
- func (c *Component) GetPosition(x, y *int, coordType CoordType)
- func (c *Component) GetSize(width, height *int)
- func (c *Component) GrabFocus() bool
- func (c *Component) RefAccessibleAtPoint(x, y int, coordType CoordType) *Object
- func (c *Component) RemoveFocusHandler(handlerId uint)
- func (c *Component) SetExtents(x, y, width, height int, coordType CoordType) bool
- func (c *Component) SetPosition(x, y int, coordType CoordType) bool
- func (c *Component) SetSize(width, height int) bool
- type CoordType
- type Document
- func (d *Document) GetAttributeValue(attributeName string) string
- func (d *Document) GetAttributes() *AttributeSet
- func (d *Document) GetDocument() T.Gpointer
- func (d *Document) GetDocumentType() string
- func (d *Document) GetLocale() string
- func (d *Document) SetAttributeValue(attributeName, attributeValue string) bool
- type EditableText
- func (e *EditableText) CopyText(startPos, endPos int)
- func (e *EditableText) CutText(startPos, endPos int)
- func (e *EditableText) DeleteText(startPos, endPos int)
- func (e *EditableText) InsertText(str string, length int, position *int)
- func (e *EditableText) PasteText(position int)
- func (e *EditableText) SetRunAttributes(attribSet *AttributeSet, startOffset, endOffset int) bool
- func (e *EditableText) SetTextContents(str string)
- type Enum
- type EventListener
- type EventListenerInit
- type FocusHandler
- type GObjectAccessible
- type Hyperlink
- func (h *Hyperlink) GetEndIndex() int
- func (h *Hyperlink) GetNAnchors() int
- func (h *Hyperlink) GetObject(i int) *Object
- func (h *Hyperlink) GetStartIndex() int
- func (h *Hyperlink) GetUri(i int) string
- func (h *Hyperlink) IsInline() bool
- func (h *Hyperlink) IsSelectedLink() bool
- func (h *Hyperlink) IsValid() bool
- type HyperlinkImpl
- type HyperlinkStateFlags
- type Hypertext
- type Image
- type Implementor
- type KeyEventStruct
- type KeyEventType
- type KeySnoopFunc
- type Layer
- type Misc
- type Object
- func (o *Object) AddRelationship(relationship RelationType, target *Object) bool
- func (o *Object) ConnectPropertyChangeHandler(handler *PropertyChangeHandler) uint
- func (o *Object) GetAttributes() *AttributeSet
- func (o *Object) GetDescription() string
- func (o *Object) GetIndexInParent() int
- func (o *Object) GetLayer() Layer
- func (o *Object) GetMdiZorder() int
- func (o *Object) GetNAccessibleChildren() int
- func (o *Object) GetName() string
- func (o *Object) GetParent() *Object
- func (o *Object) GetRole() Role
- func (o *Object) Initialize(data T.Gpointer)
- func (o *Object) NotifyStateChange(state State, value bool)
- func (o *Object) RefAccessibleChild(i int) *Object
- func (o *Object) RefRelationSet() *RelationSet
- func (o *Object) RefStateSet() *StateSet
- func (o *Object) RemovePropertyChangeHandler(handlerId uint)
- func (o *Object) RemoveRelationship(relationship RelationType, target *Object) bool
- func (o *Object) SetDescription(description string)
- func (o *Object) SetName(name string)
- func (o *Object) SetParent(parent *Object)
- func (o *Object) SetRole(role Role)
- type ObjectFactory
- type PropertyChangeHandler
- type PropertyValues
- type Registry
- type Relation
- type RelationSet
- func (r *RelationSet) Add(relation *Relation)
- func (r *RelationSet) AddRelationByType(relationship RelationType, target *Object)
- func (r *RelationSet) Contains(relationship RelationType) bool
- func (r *RelationSet) GetNRelations() int
- func (r *RelationSet) GetRelation(i int) *Relation
- func (r *RelationSet) GetRelationByType(relationship RelationType) *Relation
- func (r *RelationSet) Remove(relation *Relation)
- type RelationType
- type Role
- type Selection
- func (s *Selection) AddSelection(i int) bool
- func (s *Selection) ClearSelection() bool
- func (s *Selection) GetSelectionCount() int
- func (s *Selection) IsChildSelected(i int) bool
- func (s *Selection) RefSelection(i int) *Object
- func (s *Selection) RemoveSelection(i int) bool
- func (s *Selection) SelectAllSelection() bool
- type Socket
- type State
- type StateSet
- func (s *StateSet) AddState(t StateType) bool
- func (s *StateSet) AddStates(types *StateType, nTypes int)
- func (s *StateSet) AndSets(compareSet *StateSet) *StateSet
- func (s *StateSet) ClearStates()
- func (s *StateSet) ContainsState(t StateType) bool
- func (s *StateSet) ContainsStates(types *StateType, nTypes int) bool
- func (s *StateSet) IsEmpty() bool
- func (s *StateSet) OrSets(compareSet *StateSet) *StateSet
- func (s *StateSet) RemoveState(t StateType) bool
- func (s *StateSet) XorSets(compareSet *StateSet) *StateSet
- type StateType
- type StreamableContent
- type Table
- func (t *Table) AddColumnSelection(column int) bool
- func (t *Table) AddRowSelection(row int) bool
- func (t *Table) GetCaption() *Object
- func (t *Table) GetColumnAtIndex(index int) int
- func (t *Table) GetColumnDescription(column int) string
- func (t *Table) GetColumnExtentAt(row, column int) int
- func (t *Table) GetColumnHeader(column int) *Object
- func (t *Table) GetIndexAt(row, column int) int
- func (t *Table) GetNColumns() int
- func (t *Table) GetNRows() int
- func (t *Table) GetRowAtIndex(index int) int
- func (t *Table) GetRowDescription(row int) string
- func (t *Table) GetRowExtentAt(row, column int) int
- func (t *Table) GetRowHeader(row int) *Object
- func (t *Table) GetSelectedColumns(selected **int) int
- func (t *Table) GetSelectedRows(selected **int) int
- func (t *Table) GetSummary() *Object
- func (t *Table) IsColumnSelected(column int) bool
- func (t *Table) IsRowSelected(row int) bool
- func (t *Table) IsSelected(row, column int) bool
- func (t *Table) RefAt(row, column int) *Object
- func (t *Table) RemoveColumnSelection(column int) bool
- func (t *Table) RemoveRowSelection(row int) bool
- func (t *Table) SetCaption(caption *Object)
- func (t *Table) SetColumnDescription(column int, description string)
- func (t *Table) SetColumnHeader(column int, header *Object)
- func (t *Table) SetRowDescription(row int, description string)
- func (t *Table) SetRowHeader(row int, header *Object)
- func (t *Table) SetSummary(accessible *Object)
- type Text
- func (t *Text) AddSelection(startOffset, endOffset int) bool
- func (t *Text) GetBoundedRanges(rect *TextRectangle, coordType CoordType, xClipType, yClipType TextClipType) **TextRange
- func (t *Text) GetCaretOffset() int
- func (t *Text) GetCharacterAtOffset(offset int) L.Unichar
- func (t *Text) GetCharacterCount() int
- func (t *Text) GetCharacterExtents(offset int, x, y, width, height *int, coords CoordType)
- func (t *Text) GetDefaultAttributes() *AttributeSet
- func (t *Text) GetNSelections() int
- func (t *Text) GetOffsetAtPoint(x, y int, coords CoordType) int
- func (t *Text) GetRangeExtents(startOffset, endOffset int, coordType CoordType, rect *TextRectangle)
- func (t *Text) GetRunAttributes(offset int, startOffset, endOffset *int) *AttributeSet
- func (t *Text) GetSelection(selectionNum int, startOffset, endOffset *int) string
- func (t *Text) GetText(startOffset, endOffset int) string
- func (t *Text) GetTextAfterOffset(offset int, boundaryType TextBoundary, startOffset, endOffset *int) string
- func (t *Text) GetTextAtOffset(offset int, boundaryType TextBoundary, startOffset, endOffset *int) string
- func (t *Text) GetTextBeforeOffset(offset int, boundaryType TextBoundary, startOffset, endOffset *int) string
- func (t *Text) RemoveSelection(selectionNum int) bool
- func (t *Text) SetCaretOffset(offset int) bool
- func (t *Text) SetSelection(selectionNum, startOffset, endOffset int) bool
- type TextAttribute
- type TextBoundary
- type TextClipType
- type TextRange
- type TextRectangle
- type Value
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UtilGetType func() O.Type FocusTrackerInit func(init EventListenerInit) FocusTrackerNotify func(object *Object) NoOpObjectNew func(obj *O.Object) *Object NoOpObjectFactoryGetType func() O.Type NoOpObjectFactoryNew func() *ObjectFactory LayerGetType func() O.Type NoOpObjectGetType func() O.Type )
View Source
var ( MiscGetType func() O.Type MiscGetInstance func() *Misc MiscThreadsEnter func(m *Misc) MiscThreadsLeave func(m *Misc) )
View Source
var ( ActionGetType func() O.Type ActionDoAction func(a *Action, i int) bool ActionGetDescription func(a *Action, i int) string ActionGetKeybinding func(a *Action, i int) string ActionGetLocalizedName func(a *Action, i int) string ActionGetNActions func(a *Action) int ActionGetName func(a *Action, i int) string ActionSetDescription func(a *Action, i int, desc string) bool )
View Source
var ( AddFocusTracker func(focusTracker EventListener) uint AddGlobalEventListener func(listener O.SignalEmissionHook, eventType string) uint AddKeyEventListener func(listener KeySnoopFunc, data T.Gpointer) uint AttributeSetFree func(attribSet *AttributeSet) )
View Source
var ( ComponentGetType func() O.Type ComponentAddFocusHandler func(c *Component, handler FocusHandler) uint ComponentContains func(c *Component, x, y int, coordType CoordType) bool ComponentGetAlpha func(c *Component) float64 ComponentGetExtents func(c *Component, x, y, width, height *int, coordType CoordType) ComponentGetLayer func(c *Component) Layer ComponentGetMdiZorder func(c *Component) int ComponentGetPosition func(c *Component, x, y *int, coordType CoordType) ComponentGetSize func(c *Component, width, height *int) ComponentGrabFocus func(c *Component) bool ComponentRefAccessibleAtPoint func(c *Component, x, y int, coordType CoordType) *Object ComponentRemoveFocusHandler func(c *Component, handlerId uint) ComponentSetExtents func(c *Component, x, y, width, height int, coordType CoordType) bool ComponentSetPosition func(c *Component, x, y int, coordType CoordType) bool ComponentSetSize func(c *Component, width, height int) bool )
View Source
var ( DocumentGetType func() O.Type DocumentGetAttributes func(d *Document) *AttributeSet DocumentGetAttributeValue func(d *Document, attributeName string) string DocumentGetDocument func(d *Document) T.Gpointer DocumentGetDocumentType func(d *Document) string DocumentGetLocale func(d *Document) string DocumentSetAttributeValue func(d *Document, attributeName, attributeValue string) bool )
View Source
var ( EditableTextGetType func() O.Type EditableTextCopyText func(e *EditableText, startPos, endPos int) EditableTextCutText func(e *EditableText, startPos, endPos int) EditableTextDeleteText func(e *EditableText, startPos, endPos int) EditableTextInsertText func(e *EditableText, str string, length int, position *int) EditableTextPasteText func(e *EditableText, position int) EditableTextSetRunAttributes func(e *EditableText, attribSet *AttributeSet, startOffset, endOffset int) bool EditableTextSetTextContents func(e *EditableText, str string) )
View Source
var ( GetRoot func() *Object GetFocusObject func() *Object GetToolkitName func() string GetToolkitVersion func() string GobjectAccessibleForObject func(obj *O.Object) *Object )
View Source
var ( GetDefaultRegistry func() *Registry GobjectAccessibleGetType func() O.Type )
View Source
var ( HyperlinkGetType func() O.Type HyperlinkGetEndIndex func(h *Hyperlink) int HyperlinkGetNAnchors func(h *Hyperlink) int HyperlinkGetObject func(h *Hyperlink, i int) *Object HyperlinkGetStartIndex func(h *Hyperlink) int HyperlinkGetUri func(h *Hyperlink, i int) string HyperlinkIsInline func(h *Hyperlink) bool HyperlinkIsSelectedLink func(h *Hyperlink) bool HyperlinkIsValid func(h *Hyperlink) bool )
View Source
var ( HyperlinkImplGetType func() O.Type HyperlinkImplGetHyperlink func(h *HyperlinkImpl) *Hyperlink )
View Source
var ( HypertextGetType func() O.Type HypertextGetLink func(h *Hypertext, linkIndex int) *Hyperlink HypertextGetLinkIndex func(h *Hypertext, charIndex int) int HypertextGetNLinks func(h *Hypertext) int )
View Source
var ( ImageGetType func() O.Type ImageGetImageDescription func(i *Image) string ImageGetImageLocale func(i *Image) string ImageGetImagePosition func(i *Image, x, y *int, coordType CoordType) ImageGetImageSize func(i *Image, width, height *int) ImageSetImageDescription func(i *Image, description string) bool )
View Source
var ( ImplementorGetType func() O.Type ImplementorRefAccessible func(i *Implementor) *Object )
View Source
var ( ObjectGetType func() O.Type ObjectAddRelationship func(o *Object, relationship RelationType, target *Object) bool ObjectConnectPropertyChangeHandler func(o *Object, handler *PropertyChangeHandler) uint ObjectGetAttributes func(o *Object) *AttributeSet ObjectGetDescription func(o *Object) string ObjectGetIndexInParent func(o *Object) int ObjectGetLayer func(o *Object) Layer ObjectGetMdiZorder func(o *Object) int ObjectGetNAccessibleChildren func(o *Object) int ObjectGetName func(o *Object) string ObjectGetParent func(o *Object) *Object ObjectGetRole func(o *Object) Role ObjectInitialize func(o *Object, data T.Gpointer) ObjectNotifyStateChange func(o *Object, state State, value bool) ObjectRefAccessibleChild func(o *Object, i int) *Object ObjectRefRelationSet func(o *Object) *RelationSet ObjectRefStateSet func(o *Object) *StateSet ObjectRemovePropertyChangeHandler func(o *Object, handlerId uint) ObjectRemoveRelationship func(o *Object, relationship RelationType, target *Object) bool ObjectSetDescription func(o *Object, description string) ObjectSetName func(o *Object, name string) ObjectSetParent func(o *Object, parent *Object) ObjectSetRole func(o *Object, role Role) )
View Source
var ( ObjectFactoryGetType func() O.Type ObjectFactoryCreateAccessible func(o *ObjectFactory, obj *O.Object) *Object ObjectFactoryGetAccessibleType func(o *ObjectFactory) O.Type ObjectFactoryInvalidate func(o *ObjectFactory) )
View Source
var ( RegistryGetType func() O.Type RegistryGetFactory func(r *Registry, t O.Type) *ObjectFactory RegistrySetFactoryType func(r *Registry, t O.Type, factoryType O.Type) RegistryGetFactoryType func(r *Registry, t O.Type) O.Type )
View Source
var ( RelationGetType func() O.Type RelationNew func(targets **Object, nTargets int, relationship RelationType) *Relation RelationAddTarget func(r *Relation, target *Object) RelationGetRelationType func(r *Relation) RelationType RelationGetTarget func(r *Relation) *L.PtrArray RelationRemoveTarget func(r *Relation, target *Object) bool )
View Source
var ( RelationSetGetType func() O.Type RelationSetNew func() *RelationSet RelationSetAdd func(r *RelationSet, relation *Relation) RelationSetAddRelationByType func(r *RelationSet, relationship RelationType, target *Object) RelationSetContains func(r *RelationSet, relationship RelationType) bool RelationSetGetNRelations func(r *RelationSet) int RelationSetGetRelation func(r *RelationSet, i int) *Relation RelationSetGetRelationByType func(r *RelationSet, relationship RelationType) *Relation RelationSetRemove func(r *RelationSet, relation *Relation) )
View Source
var ( RelationTypeGetType func() O.Type RelationTypeRegister func(name string) RelationType RelationTypeForName func(name string) RelationType RelationTypeGetName func(r RelationType) string )
View Source
var ( RemoveFocusTracker func(trackerId uint) RemoveGlobalEventListener func(listenerId uint) RemoveKeyEventListener func(listenerId uint) )
View Source
var ( RoleGetType func() O.Type RoleForName func(name string) Role RoleRegister func(name string) Role RoleGetLocalizedName func(r Role) string RoleGetName func(r Role) string )
View Source
var ( StateTypeRegister func(name string) StateType StateTypeForName func(name string) StateType StateTypeGetName func(s StateType) string )
View Source
var ( SelectionGetType func() O.Type SelectionAddSelection func(s *Selection, i int) bool SelectionClearSelection func(s *Selection) bool SelectionGetSelectionCount func(s *Selection) int SelectionIsChildSelected func(s *Selection, i int) bool SelectionRefSelection func(s *Selection, i int) *Object SelectionRemoveSelection func(s *Selection, i int) bool SelectionSelectAllSelection func(s *Selection) bool )
View Source
var ( SocketNew func() *Object SocketEmbed func(obj *Socket, plugId string) SocketIsOccupied func(obj *Socket) bool )
View Source
var ( StateSetGetType func() O.Type StateSetNew func() *StateSet StateSetAddState func(s *StateSet, t StateType) bool StateSetAddStates func(s *StateSet, types *StateType, nTypes int) StateSetAndSets func(s *StateSet, compareSet *StateSet) *StateSet StateSetClearStates func(s *StateSet) StateSetContainsState func(s *StateSet, t StateType) bool StateSetContainsStates func(s *StateSet, types *StateType, nTypes int) bool StateSetIsEmpty func(s *StateSet) bool StateSetOrSets func(s *StateSet, compareSet *StateSet) *StateSet StateSetRemoveState func(s *StateSet, t StateType) bool StateSetXorSets func(s *StateSet, compareSet *StateSet) *StateSet )
View Source
var ( StreamableContentGetType func() O.Type StreamableContentGetMimeType func(s *StreamableContent, i int) string StreamableContentGetNMimeTypes func(s *StreamableContent) int StreamableContentGetStream func(s *StreamableContent, mimeType string) *L.IOChannel StreamableContentGetUri func(s *StreamableContent, mimeType string) string )
View Source
var ( TableGetType func() O.Type TableAddColumnSelection func(t *Table, column int) bool TableAddRowSelection func(t *Table, row int) bool TableGetCaption func(t *Table) *Object TableGetColumnAtIndex func(t *Table, index int) int TableGetColumnDescription func(t *Table, column int) string TableGetColumnExtentAt func(t *Table, row, column int) int TableGetColumnHeader func(t *Table, column int) *Object TableGetIndexAt func(t *Table, row, column int) int TableGetNColumns func(t *Table) int TableGetNRows func(t *Table) int TableGetRowAtIndex func(t *Table, index int) int TableGetRowDescription func(t *Table, row int) string TableGetRowExtentAt func(t *Table, row, column int) int TableGetRowHeader func(t *Table, row int) *Object TableGetSelectedColumns func(t *Table, selected **int) int TableGetSelectedRows func(t *Table, selected **int) int TableGetSummary func(t *Table) *Object TableIsColumnSelected func(t *Table, column int) bool TableIsRowSelected func(t *Table, row int) bool TableIsSelected func(t *Table, row, column int) bool TableRefAt func(t *Table, row, column int) *Object TableRemoveColumnSelection func(t *Table, column int) bool TableRemoveRowSelection func(t *Table, row int) bool TableSetCaption func(t *Table, caption *Object) TableSetColumnDescription func(t *Table, column int, description string) TableSetColumnHeader func(t *Table, column int, header *Object) TableSetRowDescription func(t *Table, row int, description string) TableSetRowHeader func(t *Table, row int, header *Object) TableSetSummary func(t *Table, accessible *Object) )
View Source
var ( TextGetType func() O.Type TextAttributeRegister func(name string) TextAttribute TextFreeRanges func(ranges **TextRange) TextAddSelection func(t *Text, startOffset, endOffset int) bool TextGetBoundedRanges func(t *Text, rect *TextRectangle, coordType CoordType, xClipType, yClipType TextClipType) **TextRange TextGetCaretOffset func(t *Text) int TextGetCharacterAtOffset func(t *Text, offset int) L.Unichar TextGetCharacterCount func(t *Text) int TextGetCharacterExtents func(t *Text, offset int, x, y, width, height *int, coords CoordType) TextGetDefaultAttributes func(t *Text) *AttributeSet TextGetNSelections func(t *Text) int TextGetOffsetAtPoint func(t *Text, x, y int, coords CoordType) int TextGetRangeExtents func(t *Text, startOffset, endOffset int, coordType CoordType, rect *TextRectangle) TextGetRunAttributes func(t *Text, offset int, startOffset, endOffset *int) *AttributeSet TextGetSelection func(t *Text, selectionNum int, startOffset, endOffset *int) string TextGetText func(t *Text, startOffset, endOffset int) string TextGetTextAfterOffset func(t *Text, offset int, boundaryType TextBoundary, startOffset, endOffset *int) string TextGetTextAtOffset func(t *Text, offset int, boundaryType TextBoundary, startOffset, endOffset *int) string TextGetTextBeforeOffset func(t *Text, offset int, boundaryType TextBoundary, startOffset, endOffset *int) string TextRemoveSelection func(t *Text, selectionNum int) bool TextSetCaretOffset func(t *Text, offset int) bool TextSetSelection func(t *Text, selectionNum, startOffset, endOffset int) bool )
View Source
var ( TextAttributeGetType func() O.Type TextAttributeForName func(name string) TextAttribute TextAttributeGetName func(t TextAttribute) string TextAttributeGetValue func(t TextAttribute, index int) string )
View Source
var ( ValueGetType func() O.Type ValueGetCurrentValue func(v *Value, value *O.Value) ValueGetMaximumValue func(v *Value, value *O.Value) ValueGetMinimumValue func(v *Value, value *O.Value) ValueSetCurrentValue func(v *Value, value *O.Value) bool ValueGetMinimumIncrement func(v *Value, value *O.Value) )
View Source
var CoordTypeGetType func() O.Type
View Source
var GobjectAccessibleGetObject func(obj *GObjectAccessible) *O.Object
View Source
var HyperlinkStateFlagsGetType func() O.Type
View Source
var KeyEventTypeGetType func() O.Type
View Source
var RectangleGetType func() O.Type //TODO(t):Use?
View Source
var StateTypeGetType func() O.Type
View Source
var TextBoundaryGetType func() O.Type
View Source
var TextClipTypeGetType func() O.Type
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct{}
func (*Action) GetDescription ¶
func (*Action) GetKeybinding ¶
func (*Action) GetLocalizedName ¶
func (*Action) GetNActions ¶
type AttributeSet ¶
type Component ¶
type Component struct{}
func (*Component) AddFocusHandler ¶
func (c *Component) AddFocusHandler(handler FocusHandler) uint
func (*Component) GetExtents ¶
func (*Component) GetMdiZorder ¶
func (*Component) GetPosition ¶
func (*Component) RefAccessibleAtPoint ¶
func (*Component) RemoveFocusHandler ¶
func (*Component) SetExtents ¶
type Document ¶
type Document struct{}
func (*Document) GetAttributeValue ¶
func (*Document) GetAttributes ¶
func (d *Document) GetAttributes() *AttributeSet
func (*Document) GetDocument ¶
func (*Document) GetDocumentType ¶
func (*Document) SetAttributeValue ¶
type EditableText ¶
type EditableText struct{}
func (*EditableText) CopyText ¶
func (e *EditableText) CopyText(startPos, endPos int)
func (*EditableText) CutText ¶
func (e *EditableText) CutText(startPos, endPos int)
func (*EditableText) DeleteText ¶
func (e *EditableText) DeleteText(startPos, endPos int)
func (*EditableText) InsertText ¶
func (e *EditableText) InsertText(str string, length int, position *int)
func (*EditableText) PasteText ¶
func (e *EditableText) PasteText(position int)
func (*EditableText) SetRunAttributes ¶
func (e *EditableText) SetRunAttributes(attribSet *AttributeSet, startOffset, endOffset int) bool
func (*EditableText) SetTextContents ¶
func (e *EditableText) SetTextContents(str string)
type EventListener ¶
type EventListener func(obj *Object)
type EventListenerInit ¶
type EventListenerInit func()
type FocusHandler ¶
type GObjectAccessible ¶
type GObjectAccessible struct {
Parent Object
}
func (*GObjectAccessible) GetObject ¶
func (o *GObjectAccessible) GetObject() *O.Object
type Hyperlink ¶
type Hyperlink struct {
// contains filtered or unexported fields
}
func (*Hyperlink) GetEndIndex ¶
func (*Hyperlink) GetNAnchors ¶
func (*Hyperlink) GetStartIndex ¶
func (*Hyperlink) IsSelectedLink ¶
type HyperlinkImpl ¶
type HyperlinkImpl struct{}
func (*HyperlinkImpl) GetHyperlink ¶
func (h *HyperlinkImpl) GetHyperlink() *Hyperlink
type HyperlinkStateFlags ¶
type HyperlinkStateFlags Enum
NOTE(t): Unreferenced
const HYPERLINK_IS_INLINE HyperlinkStateFlags = 1 << 0
type Image ¶
type Image struct{}
func (*Image) GetImageDescription ¶
func (*Image) GetImageLocale ¶
func (*Image) GetImagePosition ¶
func (*Image) GetImageSize ¶
func (*Image) SetImageDescription ¶
type Implementor ¶
type Implementor struct{}
func (*Implementor) RefAccessible ¶
func (i *Implementor) RefAccessible() *Object
type KeyEventStruct ¶
type KeyEventType ¶
type KeyEventType Enum
NOTE(t): Unreferenced
const ( KEY_EVENT_PRESS KeyEventType = iota KEY_EVENT_RELEASE KEY_EVENT_LAST_DEFINED )
type KeySnoopFunc ¶
type KeySnoopFunc func( event *KeyEventStruct, funcData T.Gpointer) int
type Misc ¶
type Misc struct {
// contains filtered or unexported fields
}
func (*Misc) ThreadsEnter ¶
func (m *Misc) ThreadsEnter()
func (*Misc) ThreadsLeave ¶
func (m *Misc) ThreadsLeave()
type Object ¶
type Object struct { Parent O.Object Description *T.Gchar Name *T.Gchar AccessibleParent *Object Role Role RelationSet *RelationSet Layer Layer }
func (*Object) AddRelationship ¶
func (o *Object) AddRelationship(relationship RelationType, target *Object) bool
func (*Object) ConnectPropertyChangeHandler ¶
func (o *Object) ConnectPropertyChangeHandler(handler *PropertyChangeHandler) uint
func (*Object) GetAttributes ¶
func (o *Object) GetAttributes() *AttributeSet
func (*Object) GetDescription ¶
func (*Object) GetIndexInParent ¶
func (*Object) GetMdiZorder ¶
func (*Object) GetNAccessibleChildren ¶
func (*Object) Initialize ¶
func (*Object) NotifyStateChange ¶
func (*Object) RefAccessibleChild ¶
func (*Object) RefRelationSet ¶
func (o *Object) RefRelationSet() *RelationSet
func (*Object) RefStateSet ¶
func (*Object) RemovePropertyChangeHandler ¶
func (*Object) RemoveRelationship ¶
func (o *Object) RemoveRelationship(relationship RelationType, target *Object) bool
func (*Object) SetDescription ¶
type ObjectFactory ¶
type ObjectFactory struct {
// contains filtered or unexported fields
}
func (*ObjectFactory) CreateAccessible ¶
func (o *ObjectFactory) CreateAccessible(obj *O.Object) *Object
func (*ObjectFactory) GetAccessibleType ¶
func (o *ObjectFactory) GetAccessibleType() O.Type
func (*ObjectFactory) Invalidate ¶
func (o *ObjectFactory) Invalidate()
type PropertyChangeHandler ¶
type PropertyChangeHandler func(*Object, *PropertyValues)
type PropertyValues ¶
type Registry ¶
type Registry struct { Parent O.Object FactoryTypeRegistry *L.HashTable FactorySingletonCache *L.HashTable }
func (*Registry) GetFactory ¶
func (r *Registry) GetFactory(t O.Type) *ObjectFactory
type Relation ¶
type Relation struct { Parent O.Object Target *L.PtrArray Relationship RelationType }
func (*Relation) GetRelationType ¶
func (r *Relation) GetRelationType() RelationType
func (*Relation) RemoveTarget ¶
type RelationSet ¶
func (*RelationSet) Add ¶
func (r *RelationSet) Add(relation *Relation)
func (*RelationSet) AddRelationByType ¶
func (r *RelationSet) AddRelationByType(relationship RelationType, target *Object)
func (*RelationSet) Contains ¶
func (r *RelationSet) Contains(relationship RelationType) bool
func (*RelationSet) GetNRelations ¶
func (r *RelationSet) GetNRelations() int
func (*RelationSet) GetRelation ¶
func (r *RelationSet) GetRelation(i int) *Relation
func (*RelationSet) GetRelationByType ¶
func (r *RelationSet) GetRelationByType(relationship RelationType) *Relation
func (*RelationSet) Remove ¶
func (r *RelationSet) Remove(relation *Relation)
type RelationType ¶
type RelationType Enum
const ( RELATION_NULL RelationType = iota RELATION_CONTROLLED_BY RELATION_CONTROLLER_FOR RELATION_LABEL_FOR RELATION_LABELLED_BY RELATION_MEMBER_OF RELATION_NODE_CHILD_OF RELATION_FLOWS_TO RELATION_FLOWS_FROM RELATION_SUBWINDOW_OF RELATION_EMBEDS RELATION_EMBEDDED_BY RELATION_POPUP_FOR RELATION_PARENT_WINDOW_OF RELATION_DESCRIBED_BY RELATION_DESCRIPTION_FOR RELATION_NODE_PARENT_OF RELATION_LAST_DEFINED )
func (RelationType) GetName ¶
func (r RelationType) GetName() string
type Role ¶
type Role Enum
const ( ROLE_INVALID Role = iota ROLE_ACCEL_LABEL ROLE_ALERT ROLE_ANIMATION ROLE_ARROW ROLE_CALENDAR ROLE_CANVAS ROLE_CHECK_BOX ROLE_CHECK_MENU_ITEM ROLE_COLOR_CHOOSER ROLE_COLUMN_HEADER ROLE_COMBO_BOX ROLE_DATE_EDITOR ROLE_DESKTOP_ICON ROLE_DESKTOP_FRAME ROLE_DIAL ROLE_DIALOG ROLE_DIRECTORY_PANE ROLE_DRAWING_AREA ROLE_FILE_CHOOSER ROLE_FILLER ROLE_FONT_CHOOSER ROLE_FRAME ROLE_GLASS_PANE ROLE_HTML_CONTAINER ROLE_ICON ROLE_IMAGE ROLE_INTERNAL_FRAME ROLE_LABEL ROLE_LAYERED_PANE ROLE_LIST ROLE_LIST_ITEM ROLE_MENU ROLE_MENU_BAR ROLE_MENU_ITEM ROLE_OPTION_PANE ROLE_PAGE_TAB ROLE_PAGE_TAB_LIST ROLE_PANEL ROLE_PASSWORD_TEXT ROLE_POPUP_MENU ROLE_PROGRESS_BAR ROLE_PUSH_BUTTON ROLE_RADIO_BUTTON ROLE_RADIO_MENU_ITEM ROLE_ROOT_PANE ROLE_ROW_HEADER ROLE_SCROLL_BAR ROLE_SCROLL_PANE ROLE_SEPARATOR ROLE_SLIDER ROLE_SPLIT_PANE ROLE_SPIN_BUTTON ROLE_STATUSBAR ROLE_TABLE ROLE_TABLE_CELL ROLE_TABLE_COLUMN_HEADER ROLE_TABLE_ROW_HEADER ROLE_TEAR_OFF_MENU_ITEM ROLE_TERMINAL ROLE_TEXT ROLE_TOGGLE_BUTTON ROLE_TOOL_BAR ROLE_TOOL_TIP ROLE_TREE ROLE_TREE_TABLE ROLE_UNKNOWN ROLE_VIEWPORT ROLE_WINDOW ROLE_HEADER ROLE_FOOTER ROLE_PARAGRAPH ROLE_RULER ROLE_APPLICATION ROLE_AUTOCOMPLETE ROLE_EDITBAR ROLE_EMBEDDED ROLE_ENTRY ROLE_CHART ROLE_CAPTION ROLE_DOCUMENT_FRAME ROLE_HEADING ROLE_PAGE ROLE_SECTION ROLE_REDUNDANT_OBJECT ROLE_FORM ROLE_LINK ROLE_INPUT_METHOD_WINDOW ROLE_LAST_DEFINED )
func (Role) GetLocalizedName ¶
type Selection ¶
type Selection struct{}
func (*Selection) AddSelection ¶
func (*Selection) ClearSelection ¶
func (*Selection) GetSelectionCount ¶
func (*Selection) IsChildSelected ¶
func (*Selection) RefSelection ¶
func (*Selection) RemoveSelection ¶
func (*Selection) SelectAllSelection ¶
type StateSet ¶
type StateSet struct {
// contains filtered or unexported fields
}
func (*StateSet) ClearStates ¶
func (s *StateSet) ClearStates()
func (*StateSet) ContainsState ¶
func (*StateSet) ContainsStates ¶
func (*StateSet) RemoveState ¶
type StateType ¶
type StateType Enum
const ( STATE_INVALID StateType = iota STATE_ACTIVE STATE_ARMED STATE_BUSY STATE_CHECKED STATE_DEFUNCT STATE_EDITABLE STATE_ENABLED STATE_EXPANDABLE STATE_EXPANDED STATE_FOCUSABLE STATE_FOCUSED STATE_HORIZONTAL STATE_ICONIFIED STATE_MODAL STATE_MULTI_LINE STATE_MULTISELECTABLE STATE_OPAQUE STATE_PRESSED STATE_RESIZABLE STATE_SELECTABLE STATE_SELECTED STATE_SENSITIVE STATE_SHOWING STATE_SINGLE_LINE STATE_STALE STATE_TRANSIENT STATE_VERTICAL STATE_VISIBLE STATE_MANAGES_DESCENDANTS STATE_INDETERMINATE STATE_TRUNCATED STATE_REQUIRED STATE_INVALID_ENTRY STATE_SUPPORTS_AUTOCOMPLETION STATE_SELECTABLE_TEXT STATE_DEFAULT STATE_ANIMATED STATE_VISITED STATE_LAST_DEFINED )
type StreamableContent ¶
type StreamableContent struct{}
func (*StreamableContent) GetMimeType ¶
func (s *StreamableContent) GetMimeType(i int) string
func (*StreamableContent) GetNMimeTypes ¶
func (s *StreamableContent) GetNMimeTypes() int
func (*StreamableContent) GetStream ¶
func (s *StreamableContent) GetStream(mimeType string) *L.IOChannel
func (*StreamableContent) GetUri ¶
func (s *StreamableContent) GetUri(mimeType string) string
type Table ¶
type Table struct{}
func (*Table) AddColumnSelection ¶
func (*Table) AddRowSelection ¶
func (*Table) GetCaption ¶
func (*Table) GetColumnAtIndex ¶
func (*Table) GetColumnDescription ¶
func (*Table) GetColumnExtentAt ¶
func (*Table) GetColumnHeader ¶
func (*Table) GetIndexAt ¶
func (*Table) GetNColumns ¶
func (*Table) GetRowAtIndex ¶
func (*Table) GetRowDescription ¶
func (*Table) GetRowExtentAt ¶
func (*Table) GetRowHeader ¶
func (*Table) GetSelectedColumns ¶
func (*Table) GetSelectedRows ¶
func (*Table) GetSummary ¶
func (*Table) IsColumnSelected ¶
func (*Table) IsRowSelected ¶
func (*Table) IsSelected ¶
func (*Table) RemoveColumnSelection ¶
func (*Table) RemoveRowSelection ¶
func (*Table) SetCaption ¶
func (*Table) SetColumnDescription ¶
func (*Table) SetColumnHeader ¶
func (*Table) SetRowDescription ¶
func (*Table) SetRowHeader ¶
func (*Table) SetSummary ¶
type Text ¶
type Text struct{}
func (*Text) AddSelection ¶
func (*Text) GetBoundedRanges ¶
func (t *Text) GetBoundedRanges(rect *TextRectangle, coordType CoordType, xClipType, yClipType TextClipType) **TextRange
func (*Text) GetCaretOffset ¶
func (*Text) GetCharacterCount ¶
func (*Text) GetCharacterExtents ¶
func (*Text) GetDefaultAttributes ¶
func (t *Text) GetDefaultAttributes() *AttributeSet
func (*Text) GetNSelections ¶
func (*Text) GetRangeExtents ¶
func (t *Text) GetRangeExtents(startOffset, endOffset int, coordType CoordType, rect *TextRectangle)
func (*Text) GetRunAttributes ¶
func (t *Text) GetRunAttributes(offset int, startOffset, endOffset *int) *AttributeSet
func (*Text) GetSelection ¶
func (*Text) GetTextAfterOffset ¶
func (t *Text) GetTextAfterOffset(offset int, boundaryType TextBoundary, startOffset, endOffset *int) string
func (*Text) GetTextAtOffset ¶
func (t *Text) GetTextAtOffset(offset int, boundaryType TextBoundary, startOffset, endOffset *int) string
func (*Text) GetTextBeforeOffset ¶
func (t *Text) GetTextBeforeOffset(offset int, boundaryType TextBoundary, startOffset, endOffset *int) string
func (*Text) RemoveSelection ¶
func (*Text) SetCaretOffset ¶
func (*Text) SetSelection ¶
type TextAttribute ¶
type TextAttribute Enum
const ( TEXT_ATTR_INVALID TextAttribute = iota TEXT_ATTR_LEFT_MARGIN TEXT_ATTR_RIGHT_MARGIN TEXT_ATTR_INDENT TEXT_ATTR_INVISIBLE TEXT_ATTR_EDITABLE TEXT_ATTR_PIXELS_ABOVE_LINES TEXT_ATTR_PIXELS_BELOW_LINES TEXT_ATTR_PIXELS_INSIDE_WRAP TEXT_ATTR_BG_FULL_HEIGHT TEXT_ATTR_RISE TEXT_ATTR_UNDERLINE TEXT_ATTR_STRIKETHROUGH TEXT_ATTR_SIZE TEXT_ATTR_SCALE TEXT_ATTR_WEIGHT TEXT_ATTR_LANGUAGE TEXT_ATTR_FAMILY_NAME TEXT_ATTR_BG_COLOR TEXT_ATTR_FG_COLOR TEXT_ATTR_BG_STIPPLE TEXT_ATTR_FG_STIPPLE TEXT_ATTR_WRAP_MODE TEXT_ATTR_DIRECTION TEXT_ATTR_JUSTIFICATION TEXT_ATTR_STRETCH TEXT_ATTR_VARIANT TEXT_ATTR_STYLE TEXT_ATTR_LAST_DEFINED )
func (TextAttribute) GetName ¶
func (t TextAttribute) GetName() string
func (TextAttribute) GetValue ¶
func (t TextAttribute) GetValue(index int) string
type TextBoundary ¶
type TextBoundary Enum
const ( TEXT_BOUNDARY_CHAR TextBoundary = iota TEXT_BOUNDARY_WORD_START TEXT_BOUNDARY_WORD_END TEXT_BOUNDARY_SENTENCE_START TEXT_BOUNDARY_SENTENCE_END TEXT_BOUNDARY_LINE_START TEXT_BOUNDARY_LINE_END )
type TextClipType ¶
type TextClipType Enum
const ( TEXT_CLIP_NONE TextClipType = iota TEXT_CLIP_MIN TEXT_CLIP_MAX TEXT_CLIP_BOTH )
type TextRange ¶
type TextRange struct { Bounds TextRectangle StartOffset int EndOffset int Content *T.Gchar }
type Value ¶
type Value struct{}
func (*Value) GetCurrentValue ¶
func (*Value) GetMaximumValue ¶
func (*Value) GetMinimumIncrement ¶
func (*Value) GetMinimumValue ¶
Click to show internal directories.
Click to hide internal directories.