indexiter

package
v0.0.0-...-0caaa62 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2017 License: GPL-3.0-or-later Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByID

type ByID interface {
	Append(iter *gtk.TreeIter)
	FindIter(int) (*gtk.TreeIter, bool)
	SetActive(int) bool
	Log() cdtype.Logger
}

ByID defines a simple list of gtk iter indexed by the position they were added. Use with a list of your useful data referenced in the same order.

func NewByID

func NewByID(widget Widget, log cdtype.Logger) ByID

NewByID creates a list of gtk iter indexed by their position.

type ByString

type ByString interface {
	Append(*gtk.TreeIter, string)
	FindID(string) (int, bool)
	SetActive(string) bool
}

ByString creates a list of gtk iter indexed by a key string.

func NewByString

func NewByString(widget Widget, log cdtype.Logger) ByString

NewByString creates a list of gtk iter indexed by their key string.

type Widget

type Widget interface {
	SetActiveIter(*gtk.TreeIter)
}

Widget defines a gtk widget with the SetActiveIter method.

Jump to

Keyboard shortcuts

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