colorpicker

command
v0.0.0-...-20a9d7b Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 7 Imported by: 0

README

ColorPicker Demo

Screenshot

This demo shows off the ColorPicker window.

The ColorPicker lets you ask the user to select a color, visually, using a callback interface. While the UI toolkit doesn't support text input entry, there is a work-around to prompt the user to enter a color by hex code with assistance of your program.

In this example program, clicking on the Hex color button will prompt you via STDIN (check the terminal window!) to enter a color value. The UI will be frozen until your answer is given. For programs that don't need this, the Hex color button does nothing when clicked.

Running It

From your terminal, just type go run main.go from this example's directory.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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