widget

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FallbackSpinner

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

func NewFallbackSpinner

func NewFallbackSpinner(fallback gtk.Widgetter) *FallbackSpinner

func (*FallbackSpinner) Start

func (f *FallbackSpinner) Start()

func (*FallbackSpinner) Stop

func (f *FallbackSpinner) Stop()

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

type UniversalWindow struct {
	*gtk.Window
	AdwWindow *adw.Window
}

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)

Jump to

Keyboard shortcuts

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