Coder Social home page Coder Social logo

libwm's Introduction

libwm

A small library for X window manipulation

documentation

Here is the full list of all the functions provided by libwm:

wm_init_xcb();
wm_kill_xcb();
wm_is_alive(wid);
wm_is_ignored(wid);
wm_is_listable(wid, mask);
wm_is_mapped(wid);
wm_get_atom_string(wid, atom, **value);
wm_get_screen();
wm_get_windows(wid, **list);
wm_get_focus();
wm_get_attribute(wid, attr);
wm_get_cursor(mode, wid, *x, *y);
wm_set_border(width, color, wid);
wm_set_focus(wid);
wm_set_cursor(x, y, mode);
wm_set_override(wid, mode);
wm_teleport(wid, w, h, x, y);
wm_move(wid, mode, x, y);
wm_remap(wid, mode);
wm_resize(wid, mode, w, h);
wm_restack(wid, mode);
wm_reg_event(wid, mask);

Their usage is specified in the wm.h header file, as it is quite small for now.

installation

libwm provides two files: libwm.a and wm.h.
You can build/install them as follows:

$ make
# make install

The makefile supports 2 macros: DESTDIR and PREFIX.

To link your program against it, compile it as follows:

$ cc pgm.c -lwm -o pgm

libwm's People

Contributors

dcat avatar ferdi265 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.