MCPcopy Create free account

hub / github.com/faiface/gui / types & classes

Types & classes23 in github.com/faiface/gui

TypeAliasButton
Button indicates a mouse button in an event.
win/events.go:9
InterfaceEnv
Env is the most important thing in this package. It is an interactive graphical environment, such as a window. It has two channels: Events() and Draw
env.go:30
InterfaceEvent
Event is something that can happen in an environment. This package defines only one kind of event: Resize. Other packages implementing environments m
event.go:13
StructKbDown
KbDown is an event that happens when a key on the keyboard gets pressed.
win/events.go:70
StructKbRepeat
KbRepeat is an event that happens when a key on the keyboard gets repeated. This happens when its held down for some time.
win/events.go:78
StructKbType
KbType is an event that happens when a Unicode character gets typed on the keyboard.
win/events.go:67
StructKbUp
KbUp is an event that happens when a key on the keyboard gets released.
win/events.go:73
TypeAliasKey
Key indicates a keyboard key in an event.
win/events.go:19
StructMoDown
MoDown is an event that happens when a mouse button gets pressed.
win/events.go:50
StructMoMove
MoMove is an event that happens when the mouse gets moved across the window.
win/events.go:47
StructMoScroll
MoScroll is an event that happens on scrolling the mouse. The Point field tells the amount scrolled in each direction.
win/events.go:64
StructMoUp
MoUp is an event that happens when a mouse button gets released.
win/events.go:56
StructMux
Mux can be used to multiplex an Env, let's call it a root Env. Mux implements a way to create multiple virtual Envs that all interact with the root En
mux.go:12
FuncTypeOption
Option is a functional option to the window constructor New.
win/win.go:17
StructPairMsg
examples/pexeso/main.go:49
StructResize
Resize is an event that happens when the environment changes the size of its drawing area.
event.go:18
StructTheme
examples/imageviewer/theme.go:9
StructWiClose
WiClose is an event that happens when the user presses the close button on the window.
win/events.go:44
StructWin
Win is an Env that handles an actual graphical window. It receives its events from the OS and it draws to the surface of the window. Warning: only o
win/win.go:160
StructconcurrentFace
examples/imageviewer/util.go:15
StructenvPair
examples/imageviewer/splits.go:10
StructmuxEnv
mux.go:63
Structoptions
win/win.go:19