Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶ added in v0.4.2
type App struct {
*app.Window
*ui.Base
*BaseLayout
}
App is holding the app state and configs.
type BaseLayout ¶ added in v0.4.2
type BaseLayout struct {
// views
ProtoFilesView *protofiles.View
RequestsView *requests.View
EnvironmentsView *environments.View
WorkspaceView *workspaces.View
SettingsView *settings.View
// controllers
WorkspacesController *workspaces.Controller
ProtoFileController *protofiles.Controller
RequestsController *requests.Controller
SettingsController *settings.Controller
EnvironmentsController *environments.Controller
// layouts
HeaderLayout *header.Header
ConsoleLayout *console.Console
// contains filtered or unexported fields
}
func NewBaseLayout ¶ added in v0.4.2
func NewBaseLayout(base *ui.Base) (*BaseLayout, error)
func (*BaseLayout) Layout ¶ added in v0.4.2
func (b *BaseLayout) Layout(gtx layout.Context, th *chapartheme.Theme) layout.Dimensions
Click to show internal directories.
Click to hide internal directories.