summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/textbox.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2022-11-05 10:19:04 -0500
committerJeff Carr <[email protected]>2022-11-05 10:19:04 -0500
commit099efb6b24caf9eaad50d7386636a7ac23552bde (patch)
tree215685d7153e6d002c921d4f7ad2fa12d52fe323 /toolkit/andlabs/textbox.go
parenta72d0ab2d0ff58704cc28993ea428b8c6c8825d7 (diff)
v0.4.2 more code cleanups and improvementsv0.4.2
Add command line argv handling using go-arg make hello world dumb stupid simple again more swtiching to common code move debugging options to support go-args more debugging output cleanup more debugging cleanups fix null pointer crash
Diffstat (limited to 'toolkit/andlabs/textbox.go')
-rw-r--r--toolkit/andlabs/textbox.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/toolkit/andlabs/textbox.go b/toolkit/andlabs/textbox.go
index 95bfbaa..44946b8 100644
--- a/toolkit/andlabs/textbox.go
+++ b/toolkit/andlabs/textbox.go
@@ -6,7 +6,9 @@ import "github.com/andlabs/ui"
import _ "github.com/andlabs/ui/winmanifest"
func (t Toolkit) NewTextbox(name string) *Toolkit {
- log.Println("gui.Toolkit.NewTextbox()", name)
+ if (DebugToolkit) {
+ log.Println("gui.Toolkit.NewTextbox()", name)
+ }
var newt Toolkit
if t.broken() {