summaryrefslogtreecommitdiff
path: root/image.go
blob: 566dd794f9a0386d074f07cea265b2e482c34a74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package gui

import (
	"go.wit.com/log"
	"go.wit.com/widget"
)

func (parent *Node) NewImage(name string) *Node {
	var newNode *Node
	newNode = parent.newNode(name, widget.Image)

	log.Log(WARN, "NewImage() not implemented. fix this")

	// inform the toolkits
	sendAction(newNode, widget.Add)
	return newNode
}