| 1 |
/* |
| 2 |
Package examples contains a few different use cases of XGB, like creating |
| 3 |
a window, reading properties, and querying for information about multiple |
| 4 |
heads using the Xinerama or RandR extensions. |
| 5 |
|
| 6 |
If you're looking to get started quickly, I recommend checking out the |
| 7 |
create-window example first. It is the most documented and probably covers |
| 8 |
some of the more common bare bones cases of creating windows and responding |
| 9 |
to events. |
| 10 |
|
| 11 |
If you're looking to query information about your window manager, |
| 12 |
get-active-window is a start. However, to do anything extensive requires |
| 13 |
a lot of boiler plate. To that end, I'd recommend use of my higher level |
| 14 |
library, xgbutil: https://github.com/BurntSushi/xgbutil |
| 15 |
|
| 16 |
There are also examples of using the Xinerama and RandR extensions, if you're |
| 17 |
interested in querying information about your active heads. In RandR's case, |
| 18 |
you can also reconfigure your heads, but the example doesn't cover that. |
| 19 |
|
| 20 |
*/ |
| 21 |
package documentation |