window

package
Version: v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2014 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Window

type Window struct {
	TargetID         uint
	CommandHistory   []*Command
	ResponseHistory  []*CommandResponse
	WaitingResponses []*Command
	CommandQueue     []*Command
	Url              string
	Title            string
	Ready            bool
	Displayed        bool
	SendChannel      *connection.In `json:"-"`
}

func (*Window) Call

func (w *Window) Call(command *Command)

func (*Window) CallWhenDisplayed

func (w *Window) CallWhenDisplayed(command *Command)

func (*Window) CallWhenReady

func (w *Window) CallWhenReady(command *Command)

func (*Window) Create

func (w *Window) Create(sendChannel *connection.In, sess *session.Session)

func (*Window) DispatchResponse

func (w *Window) DispatchResponse(reply CommandResponse)

func (*Window) Focus added in v0.2.1

func (w *Window) Focus()

func (*Window) HandleError

func (w *Window) HandleError(reply CommandResponse)

func (*Window) HandleEvent

func (w *Window) HandleEvent(reply CommandResponse)

func (*Window) HandleReply

func (w *Window) HandleReply(reply CommandResponse)

func (*Window) IsTarget

func (w *Window) IsTarget(targetId uint) bool

func (*Window) Maximize

func (w *Window) Maximize()

func (*Window) Minimize

func (w *Window) Minimize()

func (*Window) Restore

func (w *Window) Restore()

func (*Window) Send

func (w *Window) Send(command *Command)

func (*Window) SetSendChannel

func (w *Window) SetSendChannel(sendChannel *connection.In)

func (*Window) Show

func (w *Window) Show()

func (*Window) UnFocus added in v0.2.1

func (w *Window) UnFocus()

func (*Window) UnMaximize

func (w *Window) UnMaximize()

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL