chickadee » xlib-utils

xlib-utils

Description

Grab-bag of utilities for use with the xlib egg. This includes a set of procedures for working with X properties, events, and EWMH desktops, as well as a datatype called xcontext, which is a way to package up a display, a screen, a xinerama-screen, and a window into a single convenient record.

For bug reports, feature requests, and development versions, visit the bitbucket project page.

Authors

Requirements

Chicken Eggs

C Headers

API

xcontext

make-xcontextprocedure
make-xcontext #!rest keywordsprocedure
make-xcontext xc #!rest keywordsprocedure
xcontext? xcprocedure
xcontext-display xcprocedure
xcontext-screen xcprocedure
xcontext-xinerama-screen xcprocedure
xcontext-window xcprocedure
xcontext-root xcprocedure
xcontext-data xcprocedure
xcontext-data-set! xc objectprocedure
(with-xcontext xc (field...) body...) => body...procedure

events

add-event-handler! xc event-type mask handler guardprocedure
handle-event event xcsprocedure
xclientmessageevent-data-b eventprocedure
xclientmessageevent-data-s eventprocedure
xclientmessageevent-data-l eventprocedure

screens

screen-or-xinerama-screen-height xcprocedure
screen-or-xinerama-screen-width xcprocedure
screen-or-xinerama-screen-left xcprocedure
screen-or-xinerama-screen-top xcprocedure

properties

window-property-typeprocedure
window-property-formatprocedure
window-property-dataprocedure
window-property-countprocedure
make-atom-property xc atom-nameprocedure
make-number-property numberprocedure
make-numbers-property numbersprocedure
make-text-property textprocedure
window-property-set xc key valueprocedure
window-property-append xc key valueprocedure
window-get-string-property display window propertyprocedure
window-get-string-property* xc propertyprocedure
set-wm-protocols xc symsprocedure
active-window-title xcprocedure

desktops

number-of-desktops xcprocedure
desktop-names xcprocedure
switch-to-desktop xc desktop-nameprocedure

Examples

License

BSD

Version History

Contents »