Documentation
¶
Index ¶
- Constants
- Variables
- type OSWindow
- func (w *OSWindow) Close() (err error)
- func (w *OSWindow) EventChan() (events <-chan interface{})
- func (w *OSWindow) FlushImage(bounds ...image.Rectangle)
- func (w *OSWindow) LockSize(lock bool)
- func (w *OSWindow) Screen() (im oswin.aWinImage)
- func (w *OSWindow) SetCursor(cursor oswin.Cursor)
- func (w *OSWindow) SetIcon(icon image.Image)
- func (w *OSWindow) SetIconName(name string)
- func (w *OSWindow) SetSize(width, height int)
- func (w *OSWindow) SetTitle(title string)
- func (w *OSWindow) Show()
- func (w *OSWindow) Size() (width, height int)
- type WinImage
Constants ¶
View Source
const AllEventsMask = xproto.EventMaskKeyPress | xproto.EventMaskKeyRelease | xproto.EventMaskKeymapState | xproto.EventMaskButtonPress | xproto.EventMaskButtonRelease | xproto.EventMaskEnterWindow | xproto.EventMaskLeaveWindow | xproto.EventMaskPointerMotion | xproto.EventMaskStructureNotify
Variables ¶
View Source
var Gordon image.Image
Functions ¶
This section is empty.
Types ¶
type OSWindow ¶
type OSWindow struct {
// contains filtered or unexported fields
}
func NewOSWindow ¶
func (*OSWindow) FlushImage ¶
func (*OSWindow) SetIconName ¶
Click to show internal directories.
Click to hide internal directories.