vte

package module
v0.0.0-...-ab6fda7 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2017 License: MIT Imports: 5 Imported by: 0

README

go-vte

This is a binding for libvte

The binding acts as an extension to github.com/gotk3/gotk3/gtk

Example

term, err := vte.TerminalNew()
if err != nil {
	log.Fatal("Unable to create terminal:", err)
}
wd, _ := os.Getwd()
term.SpawnAsyncSimple(wd, []string{"/bin/bash"}, []string{"TERM=xterm"})

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Terminal

type Terminal struct {
	Widget
}

func TerminalNew

func TerminalNew() (*Terminal, error)

func (*Terminal) Feed

func (t *Terminal) Feed(text string)

func (*Terminal) FeedChild

func (t *Terminal) FeedChild(text string)

func (*Terminal) SpawnAsyncSimple

func (t *Terminal) SpawnAsyncSimple(workingDirectory string, argv, envv []string) error

Jump to

Keyboard shortcuts

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