Package Usage: go: github.com/BurntSushi/xgb
Package XGB provides the X Go Binding, which is a low-level API to communicate
with the core X protocol and many of the X extensions.
It is *very* closely modeled on XCB, so that experience with XCB (or xpyb) is
easily translatable to XGB. That is, it uses the same cookie/reply model
and is thread safe. There are otherwise no major differences (in the API).
Most uses of XGB typically fall under the realm of window manager and GUI kit
development, but other applications (like pagers, panels, tilers, etc.) may
also require XGB. Moreover, it is a near certainty that if you need to work
with X, xgbutil will be of great use to you as well:
https://github.com/BurntSushi/xgbutil
This is an extremely terse example that demonstrates how to connect to X,
create a window, listen to StructureNotify events and Key{Press,Release}
events, map the window, and print out all events received. An example with
accompanying documentation can be found in examples/create-window.
This is another small example that shows how to query Xinerama for geometry
information of each active head. Accompanying documentation for this example
can be found in examples/xinerama.
XGB can benefit greatly from parallelism due to its concurrent design. For
evidence of this claim, please see the benchmarks in xproto/xproto_test.go.
xproto/xproto_test.go contains a number of contrived tests that stress
particular corners of XGB that I presume could be problem areas. Namely:
requests with no replies, requests with replies, checked errors, unchecked
errors, sequence number wrapping, cookie buffer flushing (i.e., forcing a round
trip every N requests made that don't have a reply), getting/setting properties
and creating a window and listening to StructureNotify events.
Both XCB and xpyb use the same Python module (xcbgen) for a code generator. XGB
(before this fork) used the same code generator as well, but in my attempt to
add support for more extensions, I found the code generator extremely difficult
to work with. Therefore, I re-wrote the code generator in Go. It can be found
in its own sub-package, xgbgen, of xgb. My design of xgbgen includes a rough
consideration that it could be used for other languages.
I am reasonably confident that the core X protocol is in full working form. I've
also tested the Xinerama and RandR extensions sparingly. Many of the other
existing extensions have Go source generated (and are compilable) and are
included in this package, but I am currently unsure of their status. They
*should* work.
XKB is the only extension that intentionally does not work, although I suspect
that GLX also does not work (however, there is Go source code for GLX that
compiles, unlike XKB). I don't currently have any intention of getting XKB
working, due to its complexity and my current mental incapacity to test it.
2 versions
Latest release: over 4 years ago
498 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/BurntSushi/xgb
Dependent Repos 61
healthdatahub/outils-pour-la-plateforme-technologique/ingestion-transfo-tools
Last synced: 6 days ago - Pushed: 11 months ago
1024pix/steampipe-plugin-learningcontent
Steampipe plugin to query LCMS contentSize: 101 KB - Last synced: 2 days ago - Pushed: over 1 year ago

1024pix/steampipe-plugin-metabase
Use SQL to query databases, tables, permissions and more from MetabaseSize: 1.22 MB - Last synced: 2 days ago - Pushed: 3 days ago

E227432J/sae-particules
SAE-Particules (Partie 4)Last synced: 12 months ago - Pushed: 11 months ago
E221936K/systeme-de-particule
Un projet incroyable, novateur, révolutionnaire et innovant : on déplace des pixels Projet réalisé par Nils Moreau--Thomas et Tom FrémontLast synced: 12 months ago - Pushed: 11 months ago
particules/particules
Ce projet est issus d'une SAE dans la matière initiation au développement. Son objectif est de concevoir une application basé sur le langage Go (Golang) traitant de particule. Les limites de ce projet sont notre imagination.Last synced: 7 months ago - Pushed: 11 months ago

E213572T/projetparticules
Programme de gestion d'un système de particulesLast synced: 12 months ago - Pushed: 11 months ago
E219731N/projet-particules
Lomann LECOQ Camille MOREAULast synced: 12 months ago - Pushed: 11 months ago
E212977X/projet-particules
Martineau Tomas Boulay JonathanLast synced: 12 months ago - Pushed: 11 months ago
E214248D/particule
Groupe: Nolan Vandemeulebroucke Adrien Séac'h INFO1 2.2Last synced: 12 months ago - Pushed: 11 months ago
lwinavid/particules
https://media.discordapp.net/attachments/883455161450762301/920227059274489886/image0-156-1-2.gif Louis BRUNETEAU David CHOCHO Léna CAILLERIELast synced: 7 months ago - Pushed: 11 months ago
swh/infra/ci-cd/3rdparty/cert-manager-webhook-gandi
Last synced: 7 months ago - Pushed: 11 months ago
betagouv/sealed-secrets Fork of bitnami-labs/sealed-secrets
A Kubernetes controller and tool for one-way encrypted SecretsSize: 19.2 MB - Last synced: 6 days ago - Pushed: almost 3 years ago

betagouv/vouch-proxy Fork of vouch/vouch-proxy
an SSO and OAuth / OIDC login solution for Nginx using the auth_request moduleSize: 5.68 MB - Last synced: 6 days ago - Pushed: over 1 year ago

cea-hpc/fabricmon Fork of dswarbrick/fabricmon
InfiniBand fabric monitoring daemon written in GoSize: 404 KB - Last synced: 7 days ago - Pushed: 6 months ago

1024pix/steampipe-plugin-github Fork of turbot/steampipe-plugin-github
Use SQL to instantly query repositories, users, gists and more from GitHub. Open source CLI. No DB required.Size: 206 KB - Last synced: 2 days ago - Pushed: about 1 year ago

radiofrance/process-exporter Fork of ncabatoff/process-exporter
Prometheus exporter that mines /proc to report on selected processesSize: 2.25 MB - Last synced: 6 days ago - Pushed: over 1 year ago

signaux-faibles/wekan-alerter
wekan-alerterSize: 44.9 KB - Last synced: 7 days ago - Pushed: over 2 years ago

signaux-faibles/goup
Serveur minimaliste pour téléverser des fichiers avec une gestion de droitsSize: 63.1 MB - Last synced: 7 days ago - Pushed: over 2 years ago

radiofrance/helm-chart-sonarqube Fork of SonarSource/helm-chart-sonarqube
Size: 2.99 MB - Last synced: 7 months ago - Pushed: 9 months ago

web-et-numerique/factory/llle_project/cozy-stack
Fork of cozy-stack https://github.com/cozy/cozy-stackLast synced: 7 months ago

gestion-des-assemblees/elections
Application de recensement des votes d'une élection et affichage de ses résultats.Last synced: 7 months ago
systemes-dinformation/project-template/sdk-go
Simple Developpement Kit for GO with Gorm ORM for backend and Bulma for frontend.Last synced: 7 months ago
E211935P/blourde_projects
Bonjour, vous trouverez ici les projets en groupe que j'ai eu la chance de faire lors de ma formations la l'iut de Nantes.Last synced: 12 months ago - Pushed: 11 months ago

E219111P/kikicourtvite
https://www.youtube.com/watch?v=dQw4w9WgXcQLast synced: 12 months ago - Pushed: 11 months ago
jezequel-l/introdev
Documents pour le cours d'introduction au développement en première année au département informatique de l'IUT de NantesLast synced: 12 months ago - Pushed: 11 months ago
Lana-but-2-semestre-1/programation-systeme-jeu-course
Last synced: 7 months ago - Pushed: 11 months ago

