treemodel

package
v0.0.0-...-bb53fb3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2018 License: GPL-3.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyTreeStore

func CopyTreeStore(
	src *gtk.TreeStore,
	start_path *gtk.TreePath,
) (
	*gtk.TreeStore,
	error,
)

func CopyTreeStoreType

func CopyTreeStoreType(src *gtk.TreeStore) (*gtk.TreeStore, error)

func FindTreePathByStringAndColOnSameLevel

func FindTreePathByStringAndColOnSameLevel(
	m *gtk.TreeStore,
	path *gtk.TreePath,
	str_val string,
	str_col int,
) (*gtk.TreePath, bool, error)

func GetTreePathByValueStringPath

func GetTreePathByValueStringPath(
	path []string,
	m *gtk.TreeStore,
	str_col int,
) (*gtk.TreePath, error)

func ListTreeStore

func ListTreeStore(
	m *gtk.TreeStore,
	path *gtk.TreePath,
) ([][]*Value, error)

func PasteTreeStore

func PasteTreeStore(
	src *gtk.TreeStore,
	dst *gtk.TreeStore,
	path_to_use_as_parent_in_dst *gtk.TreePath,
) error

func RenderTreePathString

func RenderTreePathString(
	m *gtk.TreeStore,
	path *gtk.TreePath,
	str_col int,
) ([]string, error)

func SetTreeStoreRowValues

func SetTreeStoreRowValues(
	dst *gtk.TreeStore,
	path *gtk.TreePath,
	values []*Value,
) error

func TreeStoreForEach

func TreeStoreForEach(
	m *gtk.TreeStore,
	path *gtk.TreePath,
	target func(
		m *gtk.TreeStore,
		path *gtk.TreePath,
		iter *gtk.TreeIter,
	) error,
) error

func TreeStorePopulatePath

func TreeStorePopulatePath(
	dst *gtk.TreeStore,
	path *gtk.TreePath,
	values [][]*Value,
) error

func TreeStoreString

func TreeStoreString(str *gtk.TreeStore, path *gtk.TreePath) (string, error)

func WalkTreeStore

func WalkTreeStore(
	m *gtk.TreeStore,
	path *gtk.TreePath,
	target func(
		m *gtk.TreeStore,
		path *gtk.TreePath,
		values [][]*Value,
	) error,
) error

Types

type Value

type Value struct {
	Type   glib.Type
	GValue *glib.Value
}

func GetTreeStoreRowValues

func GetTreeStoreRowValues(src *gtk.TreeStore, path *gtk.TreePath) (
	[]*Value,
	error,
)

func TreeStoreGetValue

func TreeStoreGetValue(
	src *gtk.TreeStore,
	path *gtk.TreePath,
	colind int,
) (
	*Value,
	error,
)

func (*Value) Interface

func (self *Value) Interface() (interface{}, error)

func (*Value) String

func (self *Value) String() string

func (*Value) TreeStoreSetValue

func (self *Value) TreeStoreSetValue(
	dst *gtk.TreeStore,
	path *gtk.TreePath,
	colind int,
) error

Jump to

Keyboard shortcuts

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