Beispiel #1
0
func (t *Tree) Init(outer TreeOuter, theme gxui.Theme) {
	t.List.Init(outer, theme)
	t.Focusable.Init(outer)
	t.outer = outer

	// Interface compliance test
	_ = gxui.Tree(t)
}
Beispiel #2
0
func (t *Tree) Init(outer TreeOuter, theme gxui.Theme) {
	t.List.Init(outer, theme)
	t.Focusable.Init(outer)
	t.outer = outer
	t.creator = defaultTreeControlCreator{}

	// Interface compliance test
	_ = gxui.Tree(t)
}