dlasky / gotk3-layershell

Gotk3 addon module that provides gtk_layer_shell compatibiility

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gotk3-layershell

A simple golang library to provide bindings for the excellent Gtk Layer Shell library which can be consumed in the also excellent gotk3 gtk library.

This allows for GTK windows in linux window managers like swaywm that utilize the Layer Shell proticol in wayland to be positioned relative to the viewport including pinning and layer depth control.

Getting started

For the moment please see example.go for a simple working example

WIP

While the critical API components are ported (layer, anchors), currently the entirety gtk_layer_shell.h is only supported up to pre .5 versions of layer-shell.

About

Gotk3 addon module that provides gtk_layer_shell compatibiility

License:MIT License


Languages

Language:Go 100.0%