Documentation ¶
Index ¶
- Variables
- func NewConfigFromViewEvent(w *app.Window, evt app.ViewEvent, title string) share.Config
- func UpdateConfigFromFrameEvent(config *share.Config, w *app.Window, evt system.FrameEvent)
- func UpdateConfigFromViewEvent(config *share.Config, w *app.Window, evt app.ViewEvent)
- type ErrorEvent
- type Shareable
- type TextOp
- type WebsiteOp
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotAvailable is return when the current OS isn't supported. ErrNotAvailable = errors.New("current OS not supported") // ErrNotAvailableAction is return when the current Shareable item isn't supported. ErrNotAvailableAction = errors.New("current shareable item not supported") )
Functions ¶
func NewConfigFromViewEvent ¶
NewConfigFromViewEvent creates a share.Config based on app.ViewEvent.
Types ¶
type ErrorEvent ¶
type ErrorEvent struct {
// contains filtered or unexported fields
}
ErrorEvent is issued when an error occurs.
func (ErrorEvent) ImplementsEvent ¶
func (ErrorEvent) ImplementsEvent()
type TextOp ¶
TextOp represents the text to be shared.
func (TextOp) ImplementsShareable ¶
func (o TextOp) ImplementsShareable()
Click to show internal directories.
Click to hide internal directories.