Is there a libXrandr API documentation?
Asked Answered
F

1

7

I want to use libXrandr in C++. Is there a suitable documentation?

Fiberglass answered 10/6, 2013 at 14:32 Comment(0)
M
6

See project page and project repository.

Reasonable Linux distributions come with man pages, which might be split-off into a -devel package (for example on Slackware you need libXrandr, on openSUSE it would be libXrandr-devel) - Xrandr(3) is a good starting point.

Maladroit answered 10/6, 2013 at 16:8 Comment(4)
The project repository helped me immensely! I can't find type defintions though for like sruct of like XRROutputInfo etcTabloid
You probably didn't look at include/X11/extensions/Xrandr.h:283. ctags or similar utility might help next time.Maladroit
There is no documentation of the library API on the project page. They just describe the protocol and talk about xrandr like if it was just the command line tool, no mention about using it as a library.Vina
xrandr is just a command line tool - pretty much a thin wrapper around libXrandr. But if you for whatever reason need to use libXrandr, looking at xrandr source would be a reasonable place to start (since there is no documentation per se).Maladroit

© 2022 - 2024 — McMap. All rights reserved.