Go語言的原生平臺GUI庫:Go UI

jopen 11年前發布 | 73K 次閱讀 Go語言 Google Go/Golang開發

Go UI是一個Go語言的原生平臺GUI庫。以下是你需要知道的重要事情:

  • this package is very much incomplete and until I clear out the existing set of TODOs has an API which may change without warning (the API is stable for the most part)
  • this package requires Go 1.3, which is presently available as a RC build (source builds from go tip will work too)

    • I don't think the Windows side uses any Go 1.3 features, but just to be safe I'm going to say express caution
    • Unix builds need 1.3 to fix some type-checker bugs in cgo
    • Mac OS X builds need 1.3 because Go 1.3 adds Objective-C support to cgo
    • </ul> </li>

    • the Windows build does not need cgo unless you want to regenerate the zconstants_windows_*.go files; the other targets do
    • my plan is to target all versions of OSs that Go itself supports; that means:

      • Windows: Windows XP or newer
      • Unix: this is trickier; I decided to settle on GTK+ 3.4 or newer as Ubuntu 12.04 LTS ships with it
      • Mac OS X: Mac OS X 10.6 or newer
      • </ul> </li>

      • for the Windows build, you won't need to provide a comctl32.dll version 6 manifest, as the package produces its own
 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!