The very basic client app, not adapted for mobiles.
This commit is contained in:
14
client/internal/services/core/options/dto/option_pane.go
Normal file
14
client/internal/services/core/options/dto/option_pane.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package dto
|
||||
|
||||
import "fyne.io/fyne/v2"
|
||||
|
||||
// OptionPane is a DTO for registering options pane.
|
||||
type OptionPane struct {
|
||||
Widget fyne.CanvasObject
|
||||
SaveHandler OptionSaveHandler
|
||||
Name string
|
||||
}
|
||||
|
||||
// OptionSaveHandler is a signature for functions responsible for saving options, resides in service that registers own
|
||||
// options pane.
|
||||
type OptionSaveHandler func() error
|
Reference in New Issue
Block a user