layershell

package
v0.0.0-...-5c5115f Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 4 Imported by: 7 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 SetMargin

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

func SetMonitor

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

func SetNamespace

func SetNamespace(window *gtk.Window, name string)

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