window

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const CSS = `` /* 3501-byte string literal not displayed */

Variables

View Source
var CustomCSS string

Functions

func Blur

func Blur()

func Destroy

func Destroy()

Destroy closes the application as well.

func Display

func Display(w gtk.IWidget)

func HeaderDisplay

func HeaderDisplay(w gtkutils.ExtendedWidget)

func HeaderShowAll

func HeaderShowAll()

func Notify

func Notify(id string, notification *glib.Notification)

func PreferDarkTheme

func PreferDarkTheme(value bool)

func Resize

func Resize(w, h int)

func SetTitle

func SetTitle(title string)

func Show

func Show()

func ShowAll

func ShowAll()

func Unblur

func Unblur()

func WithApplication

func WithApplication(app *gtk.Application) error

Types

type Container

type Container struct {
	*gtk.ApplicationWindow
	App   *gtk.Application
	Accel *gtk.AccelGroup

	Root   *gdk.Window
	Widget gtk.IWidget

	Header *Header

	CSS       *gtk.CssProvider
	Clipboard *gtk.Clipboard

	Settings *gtk.Settings
}
var Window *Container
type Header struct {
	*handy.TitleBar
	Widget gtkutils.ExtendedWidget
}

Jump to

Keyboard shortcuts

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