Documentation ¶
Index ¶
- type Dialog
- func (d *Dialog) ErrorIcon() *Dialog
- func (d *Dialog) Extra(extra string) *Dialog
- func (d *Dialog) Height(height int) *Dialog
- func (d *Dialog) InfoIcon() *Dialog
- func (d *Dialog) OkButton() *Dialog
- func (d *Dialog) OkCancelButtons() *Dialog
- func (d *Dialog) QuestionIcon() *Dialog
- func (d *Dialog) Show() (gtk.ResponseType, error)
- func (d *Dialog) Size(width, height int) *Dialog
- func (d *Dialog) Text(text string) *Dialog
- func (d *Dialog) TextMarkup(textMarkup string) *Dialog
- func (d *Dialog) WarningIcon() *Dialog
- func (d *Dialog) Width(width int) *Dialog
- func (d *Dialog) YesNoButtons() *Dialog
- func (d *Dialog) YesNoCancelButtons() *Dialog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialog ¶
type Dialog struct {
// contains filtered or unexported fields
}
Dialog contains information about the dialog the user wants
func (*Dialog) OkCancelButtons ¶
OkCancelButtons adds an ok button and a cancel button to the dialog
func (*Dialog) QuestionIcon ¶
QuestionIcon adds a question icon to the dialog
func (*Dialog) Show ¶
func (d *Dialog) Show() (gtk.ResponseType, error)
Show will display the dialog
func (*Dialog) TextMarkup ¶
TextMarkup sets the main text in the dialog in the GTK markup format.
func (*Dialog) WarningIcon ¶
WarningIcon adds a warning icon to the dialog
func (*Dialog) YesNoButtons ¶
YesNoButtons adds a yes button and no cancel button to the dialog
func (*Dialog) YesNoCancelButtons ¶
YesNoCancelButtons adds a yes button, a no button, and a cancel button to the dialog
Click to show internal directories.
Click to hide internal directories.