diff options
| author | Jeff Carr <[email protected]> | 2023-12-15 17:18:48 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-15 17:18:48 -0600 |
| commit | dcce32583387be7fc4f6cd8c8dea62fd7dc42ecf (patch) | |
| tree | ffbedb095816a92c69546041271acbef5870481c /toolkit/andlabs/window.go | |
| parent | 282119d970faed3f8a60d5105a2f26ee14681ff4 (diff) | |
make a common.go for the toolkitsv0.8.7
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/window.go')
| -rw-r--r-- | toolkit/andlabs/window.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/andlabs/window.go b/toolkit/andlabs/window.go index ccc523a..f51536b 100644 --- a/toolkit/andlabs/window.go +++ b/toolkit/andlabs/window.go @@ -5,18 +5,18 @@ import ( _ "github.com/andlabs/ui/winmanifest" ) -func (t *andlabsT) MessageWindow(msg1 string, msg2 string) { +func (t *guiWidget) MessageWindow(msg1 string, msg2 string) { ui.MsgBox(t.uiWindow, msg1, msg2) } -func (t *andlabsT) ErrorWindow(msg1 string, msg2 string) { +func (t *guiWidget) ErrorWindow(msg1 string, msg2 string) { ui.MsgBoxError(t.uiWindow, msg1, msg2) } func newWindow(n *node) { - var newt *andlabsT + var newt *guiWidget - newt = new(andlabsT) + newt = new(guiWidget) // menubar bool is if the OS defined border on the window should be used win := ui.NewWindow(n.Name, n.X, n.Y, menubar) |
