Skip to content

robert-ancell/x11.dart

Repository files navigation

Pub Package

A native Dart implementation of the X window system protocol, version 11 (X11).

import 'package:x11/x11.dart';

var client = X11Client();
await client.connect();

var id = client.generateId();
client.createWindow(id, client.screens[0].window, X11Rectangle(width: 400, height: 300));
await client.changePropertyString(id, 'WM_NAME', 'x11.dart');
client.mapWindow(id);

client.setCloseDownMode(X11CloseDownMode.retainPermanent);

await client.close();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages