Documentation
¶
Index ¶
- func NewResourceBar(res *resource.Quantity, req *resource.Quantity, iconName string) *gtk.Box
- func ShowErrorDialog(ctx context.Context, title string, err error) *adw.MessageDialog
- type FallbackSpinner
- type LogPage
- type Status
- type StatusType
- type TerminalPage
- type UniversalApplicationWindow
- type UniversalWindow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResourceBar ¶ added in v0.1.2
func ShowErrorDialog ¶ added in v0.1.2
Types ¶
type FallbackSpinner ¶
func NewFallbackSpinner ¶
func NewFallbackSpinner(fallback gtk.Widgetter) *FallbackSpinner
func (*FallbackSpinner) Start ¶
func (f *FallbackSpinner) Start()
func (*FallbackSpinner) Stop ¶
func (f *FallbackSpinner) Stop()
type Status ¶ added in v0.4.0
type Status struct { Condition string Reason string Type StatusType Children []*Status }
func ObjectStatus ¶ added in v0.4.0
type StatusType ¶ added in v0.4.0
type StatusType string
const StatusTypeError StatusType = "error"
const StatusTypeInfo StatusType = "accent"
const StatusTypeSuccess StatusType = "success"
const StatusTypeWarning StatusType = "warning"
type TerminalPage ¶ added in v0.1.2
type TerminalPage struct { // contains filtered or unexported fields }
func NewTerminalPage ¶ added in v0.1.2
type UniversalApplicationWindow ¶ added in v0.0.13
type UniversalApplicationWindow struct { *gtk.ApplicationWindow AdwWindow *adw.ApplicationWindow }
Adwaita makes client side decorations mandatory, which causes some problems on the Windows platform See e.g. https://gitlab.gnome.org/GNOME/gtk/-/issues/3749 This wrapper uses GtkWindow on Windows and AdwWindow everywhere else
func NewUniversalApplicationWindow ¶ added in v0.0.13
func NewUniversalApplicationWindow(app *gtk.Application) *UniversalApplicationWindow
func (*UniversalApplicationWindow) SetContent ¶ added in v0.0.13
func (w *UniversalApplicationWindow) SetContent(content gtk.Widgetter)
type UniversalWindow ¶ added in v0.0.13
Adwaita makes client side decorations mandatory, which causes some problems on the Windows platform See e.g. https://gitlab.gnome.org/GNOME/gtk/-/issues/3749 This wrapper uses GtkWindow on Windows and AdwWindow everywhere else
func NewUniversalWindow ¶ added in v0.0.13
func NewUniversalWindow() *UniversalWindow
func (*UniversalWindow) SetContent ¶ added in v0.0.13
func (w *UniversalWindow) SetContent(content gtk.Widgetter)
Click to show internal directories.
Click to hide internal directories.