ui

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MPL-2.0 Imports: 52 Imported by: 0

Documentation

Index

Constants

View Source
const ApplicationName = "Seabird"

Variables

View Source
var Version string = "dev"

Functions

This section is empty.

Types

type AboutWindow

type AboutWindow struct {
	*adw.AboutWindow
}

func NewAboutWindow

func NewAboutWindow(parent *gtk.Window) *AboutWindow

type Application

type Application struct {
	*adw.Application
	// contains filtered or unexported fields
}

func NewApplication

func NewApplication(version string) (*Application, error)

func (*Application) Run

func (a *Application) Run()

type ClusterPrefPage

type ClusterPrefPage struct {
	*adw.NavigationPage
	*common.State
	// contains filtered or unexported fields
}

func NewClusterPrefPage

func NewClusterPrefPage(ctx context.Context, state *common.State, prefs observer.Property[api.ClusterPreferences]) *ClusterPrefPage

type ClusterWindow

type ClusterWindow struct {
	*adw.ApplicationWindow
	*common.ClusterState
	// contains filtered or unexported fields
}

func NewClusterWindow

func NewClusterWindow(ctx context.Context, app *gtk.Application, state *common.ClusterState) *ClusterWindow
type Navigation struct {
	*adw.ToolbarView
	*common.ClusterState
	// contains filtered or unexported fields
}

func NewNavigation

func NewNavigation(ctx context.Context, state *common.ClusterState, viewStack *gtk.Stack, editor *editor.EditorWindow) *Navigation
func (n *Navigation) AddPin(object client.Object)
func (n *Navigation) RemovePin(object client.Object)

type ObjectView added in v0.3.0

type ObjectView struct {
	*adw.NavigationPage
	*common.ClusterState
	// contains filtered or unexported fields
}

func NewObjectView added in v0.3.0

func NewObjectView(ctx context.Context, state *common.ClusterState, editor *editor.EditorWindow, navView *adw.NavigationView, navigation *Navigation) *ObjectView

type PanicWindow

type PanicWindow struct {
	*gtk.Window
}

func NewPanicWindow

func NewPanicWindow(err any) *PanicWindow

type PrefsWindow

type PrefsWindow struct {
	*adw.PreferencesWindow
	*common.State
	// contains filtered or unexported fields
}

func NewPreferencesWindow

func NewPreferencesWindow(ctx context.Context, state *common.State) *PrefsWindow

type WelcomeWindow

type WelcomeWindow struct {
	*adw.ApplicationWindow
	*common.State
	// contains filtered or unexported fields
}

func NewWelcomeWindow

func NewWelcomeWindow(ctx context.Context, app *gtk.Application, state *common.State) *WelcomeWindow

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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