Documentation ¶
Overview ¶
Package gail provides API definitions for accessing libgailutil-18.dll.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MiscAddAttribute func( attribSet *A.AttributeSet, attr A.TextAttribute, value string) *A.AttributeSet MiscLayoutGetRunAttributes func( attribSet *A.AttributeSet, layout *P.Layout, text string, offset int, startOffset, endOffset *int) *A.AttributeSet MiscGetDefaultAttributes func( attribSet *A.AttributeSet, layout *P.Layout, widget *G.Widget) *A.AttributeSet MiscGetExtentsFromPangoRectangle func( widget *G.Widget, charRect *P.Rectangle, xLayout, yLayout int, x, y, width, height *int, coords A.CoordType) MiscGetIndexAtPointInLayout func( widget *G.Widget, layout *P.Layout, xLayout, yLayout, x, y int, coords A.CoordType) int MiscGetOrigins func( widget *G.Widget, xWindow, yWindow, xToplevel, yToplevel *int) MiscAddToAttrSet func( attribSet *A.AttributeSet, attrs *G.TextAttributes, attr A.TextAttribute) *A.AttributeSet MiscBufferGetRunAttributes func( buffer *G.TextBuffer, offset int, startOffset, endOffset *int) *A.AttributeSet )
View Source
var ( TextUtilGetType func() O.Type TextUtilNew func() *TextUtil TextUtilTextSetup func(t *TextUtil, text string) TextUtilBufferSetup func(t *TextUtil, buffer *G.TextBuffer) TextUtilGetText func(t *TextUtil, layout T.Gpointer, function OffsetType, boundaryType A.TextBoundary, offset int, startOffset, endOffset *int) string TextUtilGetSubstring func(t *TextUtil, startPos, endPos int) string )
Functions ¶
This section is empty.
Types ¶
type OffsetType ¶
type OffsetType Enum
const ( BEFORE_OFFSET OffsetType = iota AT_OFFSET AFTER_OFFSET )
type TextUtil ¶
type TextUtil struct { Parent O.Object Buffer *G.TextBuffer }
func (*TextUtil) BufferSetup ¶
func (t *TextUtil) BufferSetup(buffer *G.TextBuffer)
func (*TextUtil) GetSubstring ¶
Click to show internal directories.
Click to hide internal directories.