Documentation ¶
Index ¶
- func AppWithFrame(app Control, framer Framer) *appFrame
- func AppWithLink(app AppFramer, linker Linker) *linkApp
- func MainApp(a *impress.Application) *mainApp
- type Actor
- type App
- type AppFramer
- type Control
- type EventLink
- func (c *EventLink) Actor() (Actor, bool)
- func (c *EventLink) Cancel()
- func (c *EventLink) Chan() <-chan event.Eventer
- func (c *EventLink) Close()
- func (c *EventLink) Link(parentCtx context.Context, appFramer AppFramer, child Actor)
- func (c *EventLink) Put(ctx context.Context, ev event.Eventer)
- func (c *EventLink) PutInnerPt(ctx context.Context, e event.Eventer)
- type Framer
- type Linker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppWithFrame ¶
AppWithFrame combines an AppFrame with a specified Framer
func AppWithLink ¶
AppWithLink combines an AppFrame with the specified Linker
func MainApp ¶
func MainApp(a *impress.Application) *mainApp
MainApp creates root AppFramer from impress.Application
Types ¶
type App ¶
App is an interface for accessing application methods, a parent event channel, and a parent frame
type Control ¶
type Control interface { Sync() Cancel() }
Control is an interface for accessing application methods
type EventLink ¶
type EventLink struct {
// contains filtered or unexported fields
}
EventLink is the event channel for the child window controller
func (*EventLink) Close ¶
func (c *EventLink) Close()
Close cancels the child context and waits for the child goroutines
Click to show internal directories.
Click to hide internal directories.