更新时间:2021-07-02 13:20:20
coverpage
Title Page
Copyright and Credits
Hands-On GUI Application Development in Go
About Packt
Why subscribe?
Packt.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Conventions used
Get in touch
Reviews
Section 1: Graphical User Interface Development
The Benefits of Native Graphical Applications
Return of the graphical application
Personal computers
From desktop to internet
Smart phones apps and customer retention
Native performance
Integrated user experience
Reliability and offline functionality
Maintainability and testing
Summary
Graphical User Interface Challenges
Standard look and feel or app theme
GUIs and visual hierarchy
Multiple documents
Accessory windows
Visual hierarchy
Mobile standards
Concurrency and multi-threading
Switching threads
Avoiding complexity
Web services and cloud integration
Communications
Data parsing
Standard components
Developing for multiple platforms
Cross-platform APIs
Icons and design
Testing
Packaging and distribution
Go to the Rescue!
Introduction
Cross-platform for any application
Cross-compiling
Standard library
Concurrency in language design
Goroutines
Channels
The sync package
Web services included as standard
Choosing your look and feel
Section 2: Toolkits Using Existing Widgets
Walk - Building Graphical Windows Applications
Background and aims
Get started with walk
Setup
Code
Build
Run
Benefits of a declarative API
Compared with the native API
Using both APIs for flexibility
Building a user interface
Style
Layout
Toolbar and menu
Communicating with the GUI
View model
Detail view
List view
Background processing
Walk in a cross-platform application
andlabs UI - Cross-platform Native UIs
Background and history
Getting started with andlabs UI
Prerequisites
Microsoft windows
macOS
Linux
Rebuilding the UI library (workaround)
Generic API for multiple platforms
Controls
Box
Containers