layershell

package
v0.0.0-...-1218ea8 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoExclusiveZoneEnable

func AutoExclusiveZoneEnable(window *gtk.Window)

func InitForWindow

func InitForWindow(window *gtk.Window)

func SetAnchor

func SetAnchor(window *gtk.Window, side LayerShellEdgeFlags, pinned bool)

func SetExclusiveZone

func SetExclusiveZone(window *gtk.Window, size int)

func SetKeyboardMode

func SetKeyboardMode(window *gtk.Window, mode LayerShellKeyboardMode)

func SetLayer

func SetLayer(window *gtk.Window, layer LayerShellLayerFlags)

func SetLayerNamespace

func SetLayerNamespace(window *gtk.Window, namespace string)

func SetMargin

func SetMargin(window *gtk.Window, side LayerShellEdgeFlags, margin int)

func SetMonitor

func SetMonitor(window *gtk.Window, monitor *gdk.Monitor)

Types

type LayerShellEdgeFlags

type LayerShellEdgeFlags int
const (
	LAYER_SHELL_EDGE_LEFT LayerShellEdgeFlags = iota
	LAYER_SHELL_EDGE_RIGHT
	LAYER_SHELL_EDGE_TOP
	LAYER_SHELL_EDGE_BOTTOM
)

type LayerShellKeyboardMode

type LayerShellKeyboardMode int
const (
	LAYER_SHELL_KEYBOARD_MODE_NONE LayerShellKeyboardMode = iota
	LAYER_SHELL_KEYBOARD_MODE_EXCLUSIVE
	LAYER_SHELL_KEYBOARD_MODE_ON_DEMAND
	LAYER_SHELL_KEYBOARD_MODE_ENTRY_NUMBER
)

type LayerShellLayerFlags

type LayerShellLayerFlags int
const (
	LAYER_SHELL_LAYER_BACKGROUND LayerShellLayerFlags = iota
	LAYER_SHELL_LAYER_BOTTOM
	LAYER_SHELL_LAYER_TOP
	LAYER_SHELL_LAYER_OVERLAY
)

Jump to

Keyboard shortcuts

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