Documentation ¶
Index ¶
Constants ¶
View Source
const EOL = "\r\n"
View Source
const VK_CONTROL = 17
View Source
const VK_V = 86
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Clipboard ¶
type Clipboard interface { IsStringable() (bool, error) GetAsString() (string, error) SetString(data *string) error }
func NewClipboard ¶
func NewClipboard() Clipboard
type Cursor ¶
type KeyAction ¶
type KeyAction uint
generic keyboard event info ////////////////////////////////
const KeyDown KeyAction = 0
const KeyUp KeyAction = 1
type KeyHooker ¶
func NewKeyHooker ¶
type List ¶
type List interface { Size() uint Push(string) Get(uint) *string GetData() []string Pop(uint) *string AddListener(chan struct{}) Dump() }
func NewListWithData ¶
type Monitor ¶
func NewMonitor ¶
type MsWinWindow ¶
type MsWinWindow struct {
// contains filtered or unexported fields
}
func (*MsWinWindow) Hide ¶
func (this *MsWinWindow) Hide()
func (MsWinWindow) ResizeWindow ¶
func (this MsWinWindow) ResizeWindow(w int16, h int16) error
func (*MsWinWindow) SendPasteCommand ¶
func (this *MsWinWindow) SendPasteCommand() error
func (*MsWinWindow) Show ¶
func (this *MsWinWindow) Show()
type Storage ¶
type Storage interface { Load(path *string) ([]string, error) Save(path *string, data []string) error }
func NewStorage ¶
func NewStorage() Storage
type Window ¶
type WindowsClipboard ¶
type WindowsClipboard struct { }
func (*WindowsClipboard) GetAsString ¶
func (this *WindowsClipboard) GetAsString() (string, error)
可能なら文字列として取得する
func (*WindowsClipboard) IsStringable ¶
func (this *WindowsClipboard) IsStringable() (bool, error)
文字列っぽいか否か
func (*WindowsClipboard) SetString ¶
func (this *WindowsClipboard) SetString(rawData *string) error
クリップボードにデータをセット
type WindowsKeyHooker ¶
type WindowsKeyHooker struct {
// contains filtered or unexported fields
}
func (*WindowsKeyHooker) Start ¶
func (this *WindowsKeyHooker) Start() error
func (*WindowsKeyHooker) Stop ¶
func (this *WindowsKeyHooker) Stop() error
type WindowsMonitor ¶
type WindowsMonitor struct {
// contains filtered or unexported fields
}
func (*WindowsMonitor) Monitoring ¶
func (this *WindowsMonitor) Monitoring() error
func (*WindowsMonitor) Stop ¶
func (this *WindowsMonitor) Stop() error
Click to show internal directories.
Click to hide internal directories.