Documentation
¶
Index ¶
- type CustosContext
- type CustosWorldApp
- func (custosWorldApp *CustosWorldApp) DetailFyneComponent(de *mashupsdk.MashupDetailedElement, ...)
- func (custosWorldApp *CustosWorldApp) DetailMappedFyneComponent(id, description string, genre string, renderer string, ...)
- func (w *CustosWorldApp) InitMainWindow()
- func (w *CustosWorldApp) InitServer(callerCreds string, insecure bool, maxMessageLength int)
- func (w *CustosWorldApp) ResetChangeStates() []*mashupsdk.MashupElementState
- type FyneWidgetBundle
- type ICustosRenderer
- type ITabItemRenderer
- type InitEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustosContext ¶
type CustosContext struct {
// contains filtered or unexported fields
}
type CustosWorldApp ¶
type CustosWorldApp struct { Headless bool // Mode for troubleshooting. Titlebar bool // With a title bar Title string Icon *fyne.StaticResource MainWindowSize fyne.Size HeadsupFyneContext *CustosContext MainWin fyne.Window DetailedElements []*mashupsdk.MashupDetailedElement MashupDetailedElementLibrary map[int64]*mashupsdk.MashupDetailedElement ElementLoaderIndex map[string]int64 // mashup indexes by Name FyneWidgetElements map[string]*FyneWidgetBundle TabItemMenu *container.AppTabs CustomTabItems map[string]func(custosWorlApp *CustosWorldApp, id string) *container.TabItem CustomTabItemRenderer map[string]ITabItemRenderer CustosRenderer ICustosRenderer // contains filtered or unexported fields }
var CUWorldApp *CustosWorldApp
func NewCustosWorldApp ¶
func NewCustosWorldApp(headless bool, titlebar bool, detailedElements []*mashupsdk.MashupDetailedElement, renderer ICustosRenderer) *CustosWorldApp
func (*CustosWorldApp) DetailFyneComponent ¶
func (custosWorldApp *CustosWorldApp) DetailFyneComponent(de *mashupsdk.MashupDetailedElement, tabItemFunc func(custosWorlApp *CustosWorldApp, id string) *container.TabItem)
func (*CustosWorldApp) DetailMappedFyneComponent ¶
func (custosWorldApp *CustosWorldApp) DetailMappedFyneComponent(id, description string, genre string, renderer string, tabItemFunc func(custosWorlApp *CustosWorldApp, id string) *container.TabItem)
func (*CustosWorldApp) InitMainWindow ¶
func (w *CustosWorldApp) InitMainWindow()
func (*CustosWorldApp) InitServer ¶
func (w *CustosWorldApp) InitServer(callerCreds string, insecure bool, maxMessageLength int)
func (*CustosWorldApp) ResetChangeStates ¶
func (w *CustosWorldApp) ResetChangeStates() []*mashupsdk.MashupElementState
type FyneWidgetBundle ¶
type FyneWidgetBundle struct {
mashupsdk.GuiWidgetBundle
}
func (*FyneWidgetBundle) OnStatusChanged ¶
func (fwb *FyneWidgetBundle) OnStatusChanged()
type ICustosRenderer ¶
type ITabItemRenderer ¶
type ITabItemRenderer interface { GetPriority() int64 BuildTabItem(id int64, concreteElement *mashupsdk.MashupDetailedElement) PreRender() // Called at end of all tab item renders. RenderTabItem(concreteElement *mashupsdk.MashupDetailedElement) Refresh() // Called at end of all tab item renders. }
Click to show internal directories.
Click to hide internal directories.