alkasir: github.com/alkasir/alkasir/pkg/client/ui Index | Files | Directories

package ui

import "github.com/alkasir/alkasir/pkg/client/ui"

api for ui module(s)

Index

Package Files

ui.go

Variables

var Actions = struct {
    Quit, CopyBrowserCodeToClipboard, OpenInBrowser, Help chan interface{}
}{
    CopyBrowserCodeToClipboard: make(chan interface{}, 0),
    Quit:          make(chan interface{}, 0),
    OpenInBrowser: make(chan interface{}, 0),
    Help:          make(chan interface{}, 0),
}

func Done Uses

func Done()

func Language Uses

func Language(lang string) error

func Notify Uses

func Notify(msg string)

func Run Uses

func Run(onReady func()) error

Init wrapper

func Set Uses

func Set(ui ui)

Set sets the ui implementation

func WriteClipboard Uses

func WriteClipboard(msg string) error

Directories

PathSynopsis
cliui
wmGUI package, requires cgo/platform specific stuff.

Package ui imports 3 packages (graph) and is imported by 5 packages. Updated 2016-08-14. Refresh now. Tools for package owners.