gtk3Import

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PangoMarkup

type PangoMarkup struct {
	InString    string
	OutString   string
	OutStringSl []string
	// contains filtered or unexported fields
}

func (*PangoMarkup) AddPosition

func (pm *PangoMarkup) AddPosition(pos ...[]int)

Add multiples positions, (where markup is applied)

func (*PangoMarkup) AddTypes

func (pm *PangoMarkup) AddTypes(mType ...[]string)

Add multiples markup types, (the style applied at given positions)

func (*PangoMarkup) Init

func (pm *PangoMarkup) Init(inString string)

func (*PangoMarkup) Markup

func (pm *PangoMarkup) Markup() string

Apply multiples pango markups to the whole text.

func (*PangoMarkup) MarkupAtPos

func (pm *PangoMarkup) MarkupAtPos() string

Apply multiples pango markups to text at specified positions given into 2d slices.

func (*PangoMarkup) MarkupSeparate

func (pm *PangoMarkup) MarkupSeparate() (outStrSl []string)

Apply multiples pango markups to the whole text.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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