util

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DropShadow added in v0.4.0

func DropShadow(x, y, radius float64, alpha int) *widgets.QGraphicsDropShadowEffect

func ExpandTildeToHomeDirectory added in v0.4.7

func ExpandTildeToHomeDirectory(path string) (string, error)

func IsTrue

func IsTrue(d interface{}) bool

func IsZero

func IsZero(d interface{}) bool

func NewHFlowLayout

func NewHFlowLayout(spacing int, padding int, paddingTop int, rightIdex int, width int) *widgets.QLayout

func NewVFlowLayout

func NewVFlowLayout(spacing int, padding int, paddingTop int, rightIdex int, width int) *widgets.QLayout

func PrepareRunProc

func PrepareRunProc(cmd *exec.Cmd)

func ReflectToFloat added in v0.4.0

func ReflectToFloat(iface interface{}) float64

func ReflectToInt

func ReflectToInt(iface interface{}) int

func SplitVimscript added in v0.4.0

func SplitVimscript(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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