Skip to content

physcat/xcb_tutorial

Repository files navigation

xcb_tutorial

Example code from the xcb tutorials

  • /xlibxcb - This folder contains code to compare the timings of Xlib vs XCB.
  • basic_info.c - Demonstrates the use of xcb_setup_roots_iterator to get the first screen and display some basic information.
  • first_window.c - Creates a basic window
  • basic_gc.c - Set up a basic graphics context
  • basic_drawing.c - Demonstrates some basic X drawing functions
  • event.c - Demonstrates xcb events: keyboard, mouse, expose, et cetera
  • font.c - Core server fonts. TODO: This demo should probably be suplemented with another font library?
  • window_name.c - Set the window and icon name
  • mouse_cursor.c - Change the mouse cursor

About

Example code from the xcb tutorials

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages