NewSoloFuncButton returns a standalone [FuncButton] with a fake parent with the given context for popping up any dialogs.
(ctx Widget)
| 30 | // NewSoloFuncButton returns a standalone [FuncButton] with a fake parent |
| 31 | // with the given context for popping up any dialogs. |
| 32 | func NewSoloFuncButton(ctx Widget) *FuncButton { |
| 33 | return NewFuncButton(NewWidgetBase()).SetContext(ctx) |
| 34 | } |
| 35 | |
| 36 | // FuncButton is a button that is set up to call a function when it |
| 37 | // is pressed, using a dialog to prompt the user for any arguments. |
no test coverage detected