Documentation ¶
Index ¶
- func ExportFunc(fn interface{}) *rpc_FuncExport
- func Invoke(ptr string) error
- func Release(p *rpc.Peer, v interface{}) error
- func Run()
- func SetHandle(v interface{}, h string)
- func Sync(p *rpc.Peer, v interface{}) error
- func Walk(v interface{}, ...) error
- type Color
- type Handle
- type Host
- type Menu
- type MenuItem
- type Point
- type Resource
- type Size
- type State
- type StatusItem
- type Window
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportFunc ¶
func ExportFunc(fn interface{}) *rpc_FuncExport
Types ¶
type Menu ¶
type Menu struct { Icon string Title string Tooltip string Items []MenuItem // contains filtered or unexported fields }
type MenuItem ¶
type MenuItem struct { Title string Icon string Tooltip string Separator bool Enabled bool Checked bool OnClick *rpc_FuncExport }
func (*MenuItem) NSMenuItem ¶
func (i *MenuItem) NSMenuItem() cocoa.NSMenuItem
type State ¶
type State struct { Menus []*Menu StatusItems []*StatusItem Windows []*Window sync.Mutex // contains filtered or unexported fields }
type StatusItem ¶
type StatusItem struct { Icon string Text string Menu *Menu // contains filtered or unexported fields }
type Window ¶
type Window struct { Title string Position Point Size Size Closable bool Minimizable bool Resizable bool Background *Color Borderless bool CornerRadius float64 AlwaysOnTop bool IgnoreMouse bool Center bool URL string Image string // contains filtered or unexported fields }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.