add Custom() close window method
This commit is contained in:
parent
18fc6238df
commit
f98a8fdd89
|
@ -20,6 +20,7 @@ type GenericWindow struct {
|
||||||
Group *gui.Node // the first item top box is always a group
|
Group *gui.Node // the first item top box is always a group
|
||||||
Middle *gui.Node // the middle box (shelf style)
|
Middle *gui.Node // the middle box (shelf style)
|
||||||
Bottom *gui.Node // the bottom box (stack style)
|
Bottom *gui.Node // the bottom box (stack style)
|
||||||
|
Custom func() // a user defined close() window function
|
||||||
}
|
}
|
||||||
|
|
||||||
func (gw *GenericWindow) Hidden() bool {
|
func (gw *GenericWindow) Hidden() bool {
|
||||||
|
|
Loading…
Reference in New Issue