app.go 434 B

12345678910111213
  1. // Copyright 2016 The G3N Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // Package app implements a cross-platform G3N app.
  5. package app
  6. // Application singleton
  7. var app *Application
  8. // OnExit is the event generated by Application when the user
  9. // tries to close the window (desktop) or the Exit() method is called.
  10. const OnExit = "app.OnExit"