Documentation ¶
Rendered for windows/amd64
Index ¶
- type Button
- type DefaultButton
- type Icon
- type MsgBox
- func AbortRetryIgnore() *MsgBox
- func DefBtn1() *MsgBox
- func DefBtn2() *MsgBox
- func DefBtn3() *MsgBox
- func Err() *MsgBox
- func Info() *MsgBox
- func New() *MsgBox
- func OK() *MsgBox
- func OKCancel() *MsgBox
- func Owner(owner win.HWND) *MsgBox
- func Ques() *MsgBox
- func RetryCancel() *MsgBox
- func Show(text1caption2 ...string) *MsgBox
- func Warn() *MsgBox
- func YesNo() *MsgBox
- func YesNoCancel() *MsgBox
- func (mb *MsgBox) AbortRetryIgnore() *MsgBox
- func (mb *MsgBox) DefBtn1() *MsgBox
- func (mb *MsgBox) DefBtn2() *MsgBox
- func (mb *MsgBox) DefBtn3() *MsgBox
- func (mb *MsgBox) Err() *MsgBox
- func (mb *MsgBox) Info() *MsgBox
- func (mb *MsgBox) IsAbort() bool
- func (mb *MsgBox) IsCancel() bool
- func (mb *MsgBox) IsIgnore() bool
- func (mb *MsgBox) IsNo() bool
- func (mb *MsgBox) IsNone() bool
- func (mb *MsgBox) IsOK() bool
- func (mb *MsgBox) IsRetry() bool
- func (mb *MsgBox) IsYes() bool
- func (mb *MsgBox) OK() *MsgBox
- func (mb *MsgBox) OKCancel() *MsgBox
- func (mb *MsgBox) Owner(owner win.HWND) *MsgBox
- func (mb *MsgBox) Ques() *MsgBox
- func (mb *MsgBox) RetryCancel() *MsgBox
- func (mb *MsgBox) Show(text1caption2 ...string) *MsgBox
- func (mb *MsgBox) Warn() *MsgBox
- func (mb *MsgBox) YesNo() *MsgBox
- func (mb *MsgBox) YesNoCancel() *MsgBox
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Button ¶
type Button uint
const ( ButtonAbortRetryIgnore Button = Button(walk.MsgBoxAbortRetryIgnore) ButtonOK Button = Button(walk.MsgBoxOK) ButtonOKCancel Button = Button(walk.MsgBoxOKCancel) ButtonRetryCancel Button = Button(walk.MsgBoxRetryCancel) ButtonYesNo Button = Button(walk.MsgBoxYesNo) ButtonYesNoCancel Button = Button(walk.MsgBoxYesNoCancel) )
type DefaultButton ¶
type DefaultButton uint
const ( DefaultButton1 DefaultButton = DefaultButton(walk.MsgBoxDefButton1) DefaultButton2 DefaultButton = DefaultButton(walk.MsgBoxDefButton2) DefaultButton3 DefaultButton = DefaultButton(walk.MsgBoxDefButton3) )
type Icon ¶
type Icon uint
const ( IconNone Icon = Icon(0) IconError Icon = Icon(walk.MsgBoxIconError) IconExclamation Icon = Icon(walk.MsgBoxIconExclamation) IconHand Icon = Icon(walk.MsgBoxIconHand) IconInformation Icon = Icon(walk.MsgBoxIconInformation) IconQuestion Icon = Icon(walk.MsgBoxIconQuestion) IconStop Icon = Icon(walk.MsgBoxIconStop) IconWarning Icon = Icon(walk.MsgBoxIconWarning) )
type MsgBox ¶
type MsgBox struct { InnerValue msgBox Result Result }
func AbortRetryIgnore ¶
func AbortRetryIgnore() *MsgBox
func RetryCancel ¶
func RetryCancel() *MsgBox
func YesNoCancel ¶
func YesNoCancel() *MsgBox
func (*MsgBox) AbortRetryIgnore ¶
func (*MsgBox) DefBtn1 ¶
----------------------------------------------------------------
DefaultButton
----------------------------------------------------------------
func (*MsgBox) RetryCancel ¶
func (*MsgBox) YesNoCancel ¶
type Result ¶
type Result uint
const ( ResultNone Result = walk.DlgCmdNone ResultOK Result = walk.DlgCmdOK ResultCancel Result = walk.DlgCmdCancel ResultYes Result = walk.DlgCmdYes ResultNo Result = walk.DlgCmdNo ResultAbort Result = walk.DlgCmdAbort ResultIgnore Result = walk.DlgCmdIgnore ResultRetry Result = walk.DlgCmdRetry )
Click to show internal directories.
Click to hide internal directories.