gail

package
v0.0.0-...-f05e200 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2013 License: BSD-3-Clause Imports: 6 Imported by: 0

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 Enum

type Enum int

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

func (t *TextUtil) GetSubstring(startPos, endPos int) string

func (*TextUtil) GetText

func (t *TextUtil) GetText(layout T.Gpointer, function OffsetType, boundaryType A.TextBoundary, offset int, startOffset, endOffset *int) string

func (*TextUtil) TextSetup

func (t *TextUtil) TextSetup(text string)

Jump to

Keyboard shortcuts

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