blob: 5c55c34ae7ca09680de286d9971b2c890e214f0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// This creates a 'smart window'
// it should work even when it is hidden
// from the gui toolkit plugins
package smartwindow
import (
"go.wit.com/log"
)
func (sw *SmartWindow) Ready() bool {
log.Log(INFO, "Ready() START")
if sw == nil {return false}
if sw.window == nil {return false}
log.Log(INFO, "Ready() END sw.ready =", sw.ready)
return sw.ready
}
func (sw *SmartWindow) Initialized() bool {
log.Log(INFO, "checking Initialized()")
if sw == nil {return false}
return true
}
|