Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MockHasKDialogExecutable ¶
func MockHasKDialogExecutable(f func() bool) func()
func MockHasZenityExecutable ¶
func MockHasZenityExecutable(f func() bool) func()
Types ¶
type DialogOptions ¶
Options for the UI interface
type UI ¶
type UI interface { // YesNo asks a yes/no question. The primary text // will be printed in a larger font, the secondary text // in the standard font and the (optional) footer will // be printed in a small font. // // The value "true" is returned if the user clicks "yes", // otherwise "false". YesNo(primary, secondary string, options *DialogOptions) bool }
UI is an interface for user interaction
Click to show internal directories.
Click to hide internal directories.