view

package
v0.0.0-...-196a8a7 Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: ISC Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type View

type View interface {
	// Register wid with the current view
	Register(wid wmutils.WindowID)
	// Unregister wid from the current view
	Unregister(wid wmutils.WindowID) error
	// Unregister wid from all views
	UnregisterAll(wid wmutils.WindowID)
	// true if wid is registered in any view
	IsRegistered(wid wmutils.WindowID) bool
	// Include wid in view n
	Include(wid wmutils.WindowID, n int)
	// Set the view to n
	Set(n int) error
	// Toggle fullsceen for wid
	Fullscreen(wid wmutils.WindowID) error
	// Mark wid as not fullscreen
	Unfullscreen(wid wmutils.WindowID) error
}

func New

func New(screen wmutils.Size, border wmutils.Pixels, start int) (View, error)

Jump to

Keyboard shortcuts

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