Documentation ¶
Index ¶
- Constants
- type Dialog
- func (d *Dialog) Calendar(date time.Time) (string, error)
- func (d *Dialog) Checklist(listHeight int, tagItemStatus ...string) ([]string, error)
- func (d *Dialog) Combobox(item ...string) (string, error)
- func (d *Dialog) Dselect(dirpath string) (string, error)
- func (d *Dialog) Fselect(filepath string) (string, error)
- func (d *Dialog) Getcolor() string
- func (d *Dialog) Geticon() string
- func (d *Dialog) HelpButton(truefalse bool)
- func (d *Dialog) Infobox(text string)
- func (d *Dialog) Inputbox(value string) (string, error)
- func (d *Dialog) Inputmenu(menuHeight int, tagItem ...string) ([]string, error)
- func (d *Dialog) Menu(menuHeight int, tagItem ...string) (string, error)
- func (d *Dialog) Mixedform(title string, insecure bool, tagItemStatus ...string) ([]string, error)
- func (d *Dialog) Msgbox(text string)
- func (d *Dialog) Passivepopup(text string, timeout int)
- func (d *Dialog) Passwordbox(insecure bool) (string, error)
- func (d *Dialog) Pause(seconds int)
- func (d *Dialog) Progressbar() *progress
- func (d *Dialog) Radiolist(listHeight int, tagItemStatus ...string) (string, error)
- func (d *Dialog) SetBackTitle(backtitle string)
- func (d *Dialog) SetCancelLabel(label string)
- func (d *Dialog) SetExtraLabel(label string)
- func (d *Dialog) SetHelpLabel(label string)
- func (d *Dialog) SetLabel(label string)
- func (d *Dialog) SetOkLabel(label string)
- func (d *Dialog) SetSize(height int, width int)
- func (d *Dialog) SetTitle(title string)
- func (d *Dialog) Shadow(truefalse bool)
- func (d *Dialog) Slider(min int, max int, step int) (int, error)
- func (d *Dialog) Textbox(filepath string) error
- func (d *Dialog) Timebox(date time.Time) (string, error)
- func (d *Dialog) Yesno() bool
Constants ¶
View Source
const ( CONSOLE = "dialog" KDE = "kdialog" GTK = "gtkdialog" X = "Xdialog" AUTO = "auto" )
View Source
const ( DIALOG_ERR_CANCEL = "exit status 1" DIALOG_ERR_HELP = "exit status 2" DIALOG_ERR_EXTRA = "exit status 3" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialog ¶
type Dialog struct {
// contains filtered or unexported fields
}
func (*Dialog) HelpButton ¶
func (*Dialog) Passivepopup ¶
func (*Dialog) Progressbar ¶
func (d *Dialog) Progressbar() *progress
func (*Dialog) SetBackTitle ¶
func (*Dialog) SetCancelLabel ¶
func (*Dialog) SetExtraLabel ¶
func (*Dialog) SetHelpLabel ¶
func (*Dialog) SetOkLabel ¶
Click to show internal directories.
Click to hide internal directories.