gform icon indicating copy to clipboard operation
gform copied to clipboard

to many func not found when i run the demo

Open haochun opened this issue 10 years ago • 0 comments

my code like this:

package main

import ( "github.com/AllenDang/gform" )

func main() { gform.Init()

mainWindow := gform.NewForm(nil)
mainWindow.SetPos(300, 100)
mainWindow.SetSize(500, 300)
mainWindow.SetCaption("Controls Demo")

btn := gform.NewPushButton(mainWindow)
btn.SetPos(10, 10)
btn.OnLBUp().Bind(btn_onclick)

mainWindow.Show()

gform.RunMainLoop()
}

when i run it ,it print

error

but when i check the program,it has that functions.

haochun avatar Feb 03 '15 03:02 haochun