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

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

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

	log.Warn("NewImage() not implemented. fix this")

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