diff options
| author | Jeff Carr <[email protected]> | 2024-01-06 11:12:10 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-06 11:12:10 -0600 |
| commit | b7c90c8bbccb5eb15a06bc6a370074c756d698ff (patch) | |
| tree | c8c5a241bd0a1b15423bfbd41a8b5b0f2943e86e /gui.go | |
| parent | f35ad0837bae88d260e896886033320b64c2772e (diff) | |
stepping through init on a window with state
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
| -rw-r--r-- | gui.go | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -229,16 +229,25 @@ func mainWindow(title string) { gr.NewButton("linuxstatus.New()", func () { me.statusOS = linuxstatus.New() }) - gr.NewButton("statusOS.Ready()", func () { - me.statusOS.Ready() + gr.NewButton("SetParent()", func () { + me.statusOS.SetParent(me.myGui) + }) + gr.NewButton("InitWindow()", func () { + me.statusOS.InitWindow() }) gr.NewButton("statusOS.Draw()", func () { + me.statusOS.Draw() + }) + gr.NewButton("statusOS.Draw2()", func () { + me.statusOS.Draw2() + }) + gr.NewButton("statusOS.Ready()", func () { me.statusOS.Ready() }) gr.NewButton("statusOS.Update()", func () { me.statusOS.Update() }) - gr.NewButton("Linux details", func () { + gr.NewButton("Linux Status", func () { me.statusOS.Toggle() }) gr.NewButton("resolver status", func () { |
