1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// This creates a simple hello world window package linuxstatus import ( ) func New() *LinuxStatus { me = &LinuxStatus { hidden: true, ready: false, } me.init = true return me // me.window = gadgets.NewBasicWindow(me.myGui, "Linux OS Details") }