ui

package
v0.0.0-...-e57d8e2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2018 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Overview

Package ui provides cross-platform UI elements for thymeline

Index

Constants

View Source
const (
	Windows = "windows"

	Linux = "linux"
)

Variables

This section is empty.

Functions

func ChooseDirectory

func ChooseDirectory() (string, error)

ChooseDirectory prompts the user to choose a directory via a native GUI prompt

func GetText

func GetText(promptString string) (string, bool, error)

GetText prompts for user input via a text box given a prompt string

Returns

string entered into textbox

bool indicating whether text input was cancelled (false) or submitted (true)

error if error occurred

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL