MCPcopy Create free account
hub / github.com/ECSTeam/cloudfoundry-top-plugin / Init

Method Init

ui/uiCommon/inputDialogWidget.go:82–90  ·  view source on GitHub ↗
(g *gocui.Gui)

Source from the content-addressed store, hash-verified

80}
81
82func (w *InputDialogWidget) Init(g *gocui.Gui) error {
83 w.masterUI.LayoutManager().Add(w)
84 w.masterUI.LayoutManager().Add(w.labelWidget)
85 w.masterUI.LayoutManager().Add(w.inputWidget)
86 w.Layout(g)
87 w.labelWidget.Layout(g)
88 w.inputWidget.Layout(g)
89 return w.masterUI.SetCurrentViewOnTop(g)
90}
91
92func (w *InputDialogWidget) Layout(g *gocui.Gui) error {
93 maxX, maxY := g.Size()

Callers 1

editUpdateIntervalMethod · 0.95

Calls 5

LayoutMethod · 0.95
AddMethod · 0.65
LayoutManagerMethod · 0.65
LayoutMethod · 0.65
SetCurrentViewOnTopMethod · 0.65

Tested by

no test coverage detected