Skip to content
forked from ying32/govcl

A cross-platform Golang GUI library. Use Delphi VCL and Lazarus LCL for binding. QQ群号:263106281

License

Notifications You must be signed in to change notification settings

ghj1040110333/govcl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A cross-platform Golang GUI library. Use Delphi VCL and Lazarus LCL for binding.


license Recommended Golang Version screenshots Chinese Wiki Chinese Chat

Support Platform
Note: linux and macOS only part of the components, properties, events and methods are valid

Librarys binaries
Librarys
Note: The attachment contains liblcl three platform binary, libvcl does not currently provide, you need to compile.

res2go Tool
res2go
Note: Designed in Delphi/Lazarus, code written in Golang.

VCL style files
VCL style files

usage:

go get github.com/ying32/govcl

package main

import (
   "github.com/ying32/govcl/vcl"
)

var (
   mainForm *vcl.TForm
)

func main() {
    vcl.Application.Initialize()
    mainForm = vcl.Application.CreateForm()
    mainForm.SetCaption("Hello")
    mainForm.EnabledMaximize(false)
    mainForm.ScreenCenter()
    vcl.Application.Run()
}

FAQ

Q: Why is there no English WIKI?
A: My English is bad. You can try using Google Translate Chinese WIKI.


  • Windows: Copy "libvcl.dll" or "libvclx64.dll" or "liblcl.dll" to the current exe directory or system environment path.

  • Linux: Copy the "liblcl.so" executable directory (you can also copy liblcl.so to the /usr/lib/ directory and use it as a public library).

  • MacOS: Copy the "liblcl.dylib" executable directory (Note for MacOS: you need to create the info.plist file yourself), or refer to: App packaging on MacOS


About

A cross-platform Golang GUI library. Use Delphi VCL and Lazarus LCL for binding. QQ群号:263106281

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 57.5%
  • Pascal 42.5%