PopupButton
Describes a button that will be placed at the bottom of the popup window
type PopupButton struct {
OnClick func(Popup)
Title string
Type PopupButtonType
}
Member |
Type |
Description |
OnClick |
func(Popup) |
Handle function which will be called when user click on this button |
Title |
string |
Button text |
Type |
PopupButtonType |
Type of the button. See below |
Type value |
Description |
0 (NormalButton ) |
Normal button |
1 (DefaultButton ) |
Button that fires when the "Enter" key is pressed |
2 (CancelButton ) |
Button that fires when the "Escape" key is pressed |
© Alxanosoft inc.