crash.software
Projects
Pull Requests
Issues
Builds
termdash
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
termdash
Files
🤬
Sign In
9a82474a
ROOT
/
container
/
container.go
Search
History
465 lines
|
ISO-8859-1
|
13 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Container
parent
:
*Container
first
:
*Container
second
:
*Container
term
:
terminalapi.Terminal
focusTracker
:
*focusTracker
area
:
image.Rectangle
opts
:
*options
clearNeeded
:
bool
mu
:
*sync.Mutex
New
(t terminalapi.Terminal, opts ...Option)
:
(*Container, error)
newChild
(parent *Container, opts []Option)
:
(*Container, error)
mouseEvTarget
widget
:
widgetapi.Widget
ev
:
*terminalapi.Mouse
newMouseEvTarget
(w widgetapi.Widget, wArea image.Rectangle, ev *terminalapi.Mouse)
:
*mouseEvTarget
adjustMouseEv
(m *terminalapi.Mouse, wArea image.Rectangle)
:
*terminalapi.Mouse
*Container
String
()
:
string
hasBorder
()
:
bool
hasWidget
()
:
bool
usable
()
:
image.Rectangle
widgetArea
()
:
(image.Rectangle, error)
split
()
:
(image.Rectangle, image.Rectangle, error)
createFirst
(opts []Option)
:
error
createSecond
(opts []Option)
:
error
Draw
()
:
error
Update
(id string, opts ...Option)
:
error
updateFocus
(m *terminalapi.Mouse)
processEvent
(ev terminalapi.Event)
:
error
prepareEvTargets
(ev terminalapi.Event)
:
(func() error, error)
keyEvTargets
()
:
[]widgetapi.Widget
mouseEvTargets
(m *terminalapi.Mouse)
:
([]*mouseEvTarget, error)
Subscribe
(eds *event.DistributionSystem)
All occurrences
Please wait...
Page is in error, reload to recover