示例#1
0
文件: tree.go 项目: linux-mac/gxui
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)
}
示例#2
0
文件: tree.go 项目: henrylee2cn/gxui
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)
}