summaryrefslogtreecommitdiff
path: root/linuxstatus/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-06 05:55:51 -0600
committerJeff Carr <[email protected]>2024-01-06 05:55:51 -0600
commitc59247824f22cf62b1625f5eeea11b809374d7a0 (patch)
tree4aa43e92ae656d62c5b3d928768dcd7965219652 /linuxstatus/structs.go
parent1de593fd63d075b58e97ff9a656acef99938e487 (diff)
more window handling
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'linuxstatus/structs.go')
-rw-r--r--linuxstatus/structs.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/linuxstatus/structs.go b/linuxstatus/structs.go
index 185f0d7..be541f2 100644
--- a/linuxstatus/structs.go
+++ b/linuxstatus/structs.go
@@ -14,13 +14,14 @@ import (
var me *LinuxStatus
type LinuxStatus struct {
- init bool
- ready bool
- hidden bool
- changed bool
+ ready bool
+ hidden bool
+ changed bool
- ifmap map[int]*IFtype // the current interfaces
- ipmap map[string]*IPtype // the current ip addresses
+ parent *gui.Node
+
+ ifmap map[int]*IFtype // the current interfaces
+ ipmap map[string]*IPtype // the current ip addresses
window *gadgets.BasicWindow
group *gui.Node