mirror of https://github.com/OrbTools/OrbBind
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
450 B
Go
24 lines
450 B
Go
package baseui
|
|
|
|
import (
|
|
"fyne.io/fyne"
|
|
"fyne.io/fyne/widget"
|
|
"github.com/OrbTools/OrbCommon/devices/orbweaver"
|
|
)
|
|
|
|
//BasicPage creates a very basic Page
|
|
type BasicPage interface {
|
|
Create() *widget.TabItem
|
|
}
|
|
|
|
//PageWithBindings defines a page with bindings
|
|
type PageWithBindings interface {
|
|
BasicPage
|
|
SetBindings(*orbweaver.PKM)
|
|
}
|
|
|
|
//DialogPage is a dialog popup
|
|
type DialogPage interface {
|
|
Create() *fyne.CanvasObject
|
|
}
|