x11 0.0.0-dev.7 copy "x11: ^0.0.0-dev.7" to clipboard
x11: ^0.0.0-dev.7 copied to clipboard

outdated

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(0, 0, 400, 300));
  await client.changePropertyString(id, 'WM_NAME', 'x11.dart');
  client.mapWindow(id);

  client.setCloseDownMode(X11CloseDownMode.retainPermanent);

  await client.close();
}
6
likes
0
pub points
37%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on x11