GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
X11::XCB(3) User Contributed Perl Documentation X11::XCB(3)

X11::XCB - perl bindings for libxcb

  use X11::XCB::Connection;
  my $x = X11::XCB::Connection->new;

  my $window = $x->root->create_child(
    class => WINDOW_CLASS_INPUT_OUTPUT,
    rect => [0, 0, 200, 200],
    background_color => '#FF00FF',
  );

  $window->map;

These bindings wrap libxcb (a C library to speak with X11, in many cases better than Xlib in many aspects) and provide a nice object oriented interface to its methods (using Mouse).

Please note that its aim is NOT to provide yet another toolkit for creating graphical applications. It is a low-level method of communicating with X11. Use cases include testcases for all kinds of X11 applications, implementing really simple applications which do not require an graphical toolkit (such as GTK, QT, etc.) or command-line utilities which communicate with X11.

WARNING: X11::XCB is in a rather early stage and thus API breaks may happen in future versions. It is not yet widely used.

<http://xcb.freedesktop.org/>
The website of libxcb.
<http://code.stapelberg.de/git/X11-XCB/>
The git webinterface for the development of X11::XCB.
<http://code.stapelberg.de/git/i3/tree/testcases?h=next>
The i3 window manager includes testcases which use X11::XCB.

Michael Stapelberg, <michael+xcb@stapelberg.de> Maik Fischer, <maikf+xcb@qu.cx>

Copyright (C) 2009-2011 Michael Stapelberg Copyright (C) 2011 Maik Fischer

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.

2016-05-29 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.