css

package
v0.0.0-...-e62810a Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGlobal

func AddGlobal(css string)

AddGlobal adds CSS to the global CSS buffer.

func LoadGlobal

func LoadGlobal(disp *gdk.Display)

LoadGlobal loads the global CSS buffer into the given display.

func Prepare

func Prepare(css string) *gtk.CSSProvider

Prepare parses the given CSS and returns the CSSProvider.

func PrepareClass

func PrepareClass(class, css string) (attach func(gtk.Widgetter))

PrepareClass prepares the CSS and returns a function that applies the class onto the given widget. The CSS should be for the class only, and the class should reflect what's in the CSS block.

Types

This section is empty.

Jump to

Keyboard shortcuts

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