Documentation ¶
Index ¶
- type AlertArgs
- type CallbackFunc
- type ColorRGBArgs
- type Gui
- func (g *Gui) DialogAlertError(title string, message string)
- func (g *Gui) DialogAlertInfo(title string, message string)
- func (g *Gui) DialogAlertWarning(title string, message string)
- func (g *Gui) DialogOpenDirectory(title string) (path string)
- func (g *Gui) DialogOpenFile(title string) (path string)
- func (g *Gui) DialogSaveFile(title string) (path string)
- func (g *Gui) Dispatch(function func())
- func (g *Gui) Eval(js string)
- func (g *Gui) Register(rcvr interface{}) error
- func (g *Gui) RegisterName(name string, rcvr interface{}) error
- func (g *Gui) Run()
- func (g *Gui) SetColorRGB(red, green, blue uint8)
- func (g *Gui) SetFullScreen(fullscreen bool)
- func (g *Gui) SetTitle(title string)
- func (g *Gui) Terminate()
- type GuiExport
- func (g *GuiExport) DialogAlertError(args *AlertArgs, reply *struct{}) error
- func (g *GuiExport) DialogAlertInfo(args *AlertArgs, reply *struct{}) error
- func (g *GuiExport) DialogAlertWarning(args *AlertArgs, reply *struct{}) error
- func (g *GuiExport) DialogOpenDirectory(title string, reply *PathReply) error
- func (g *GuiExport) DialogOpenFile(title string, reply *PathReply) error
- func (g *GuiExport) DialogSaveFile(title string, reply *PathReply) error
- func (g *GuiExport) SetColorRGB(args ColorRGBArgs, reply *struct{}) error
- func (g *GuiExport) SetFullScreen(fullScreen bool, reply *struct{}) error
- func (g *GuiExport) SetTitle(title string, reply *struct{}) error
- func (g *GuiExport) Terminate(args struct{}, reply *struct{}) error
- type PathReply
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallbackFunc ¶
type CallbackFunc func(data string)
type ColorRGBArgs ¶
type ColorRGBArgs struct {
R, G, B uint8
}
type Gui ¶
type Gui struct {
// contains filtered or unexported fields
}
func (*Gui) DialogAlertError ¶
func (*Gui) DialogAlertInfo ¶
func (*Gui) DialogAlertWarning ¶
func (*Gui) DialogOpenDirectory ¶
func (*Gui) DialogOpenFile ¶
func (*Gui) DialogSaveFile ¶
func (*Gui) Dispatch ¶
func (g *Gui) Dispatch(function func())
send func() to the dispatch channel and call dispatch() dispatch() is an exported Go function called by C on the main thread
func (*Gui) RegisterName ¶
RegisterName is like register but uses the provided name
func (*Gui) SetColorRGB ¶
func (*Gui) SetFullScreen ¶
type GuiExport ¶
type GuiExport struct {
// contains filtered or unexported fields
}
func (*GuiExport) DialogAlertError ¶
func (*GuiExport) DialogAlertInfo ¶
func (*GuiExport) DialogAlertWarning ¶
func (*GuiExport) DialogOpenDirectory ¶
func (*GuiExport) DialogOpenFile ¶
func (*GuiExport) DialogSaveFile ¶
func (*GuiExport) SetColorRGB ¶
func (g *GuiExport) SetColorRGB(args ColorRGBArgs, reply *struct{}) error
func (*GuiExport) SetFullScreen ¶
Directories ¶
Path | Synopsis |
---|---|
examples
|
|
Package rpc provides access to the exported methods of an object across a network or other I/O connection.
|
Package rpc provides access to the exported methods of an object across a network or other I/O connection. |
Click to show internal directories.
Click to hide internal directories.