blob: 1d669923a13882fada0d3fedb6ed2e2ebbd821a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package repolist
import "go.wit.com/gui"
// This creates a view of the repos
// you can only have one at this point
func TempWindowView(parent *gui.Node) *RepoList {
tmp := new(RepoList)
tmp.viewName = "autotypist"
// me.reposbox = gui.RawBox()
tmp.reposbox = parent
tmp.reposgroup = tmp.reposbox.NewGroup("git repositories that are not merged")
tmp.reposgrid = tmp.reposgroup.NewGrid("mergegrid", 0, 0)
tmp.reposgrid.NewLabel("") // path goes here
tmp.reposgrid.NewLabel("last tag").SetProgName("last tag")
tmp.reposgrid.NewLabel("master version")
tmp.reposgrid.NewLabel("devel version")
tmp.reposgrid.NewLabel("user version")
tmp.reposgrid.NewLabel("Status")
tmp.reposgrid.NewLabel("Current").SetProgName("CurrentName")
tmp.reposgrid.NewLabel("Version").SetProgName("CurrentVersion")
tmp.reposgrid.NextRow()
tmp.shownCount = me.blind.NewLabel("showCount")
tmp.duration = me.blind.NewLabel("duration")
return tmp
}
|