x11 0.1.3 copy "x11: ^0.1.3" to clipboard
x11: ^0.1.3 copied to clipboard

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

example/example.dart

import 'package:x11/x11.dart';

void main() async {
  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();
}
6
likes
130
pub points
17%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MPL-2.0 (LICENSE)

More

Packages that depend on x11