(type egg)
(signature "xinerama egg")
(timestamp 1612269487)
(sxml ((section 2 "Outdated egg!" (p "This is an egg for CHICKEN 4, the unsupported old release.  You're almost certainly looking for " (int-link "/eggref/5/xinerama" "the CHICKEN 5 version of this egg") ", if it exists.") (p "If it does not exist, there may be equivalent functionality provided by another egg; have a look at the " (link "https://wiki.call-cc.org/chicken-projects/egg-index-5.html" "egg index") ". Otherwise, please consider porting this egg to the current version of CHICKEN.")) (section 2 "xinerama" (toc)) (section 2 "Description" (p "Basic bindings for " (link "https://www.x.org/releases/X11R7.7/doc/man/man3/Xinerama.3.xhtml" "Xinerama") ".") (p "For bug reports, feature requests, and development versions, visit the " (link "https://github.com/retroj/xinerama-egg/" "github project page") ".")) (section 2 "Authors" (ul (li "John J Foerch"))) (section 2 "Requirements" (section 3 "Chicken Eggs") (section 3 "C Headers" (ul (li "Xinerama.h")))) (section 2 "API" (def (sig (procedure "(xinerama-query-extension display) => (event-base error-base) or #f" (id xinerama-query-extension)))) (def (sig (procedure "(xinerama-query-version) => (major minor) or #f" (id xinerama-query-version)))) (def (sig (procedure "(xinerama-active? display) => bool" (id xinerama-active?)))) (def (sig (procedure "(xinerama-query-screens display) => (xinerama-screen-info ...)" (id xinerama-query-screens)))) (def (sig (procedure "(xinerama-screen-info? x) => bool" (id xinerama-screen-info?)))) (def (sig (procedure "(xinerama-screen-info-screen-number screen-info) => int" (id xinerama-screen-info-screen-number)))) (def (sig (procedure "(xinerama-screen-info-x-org screen-info) => int" (id xinerama-screen-info-x-org)))) (def (sig (procedure "(xinerama-screen-info-y-org screen-info) => int" (id xinerama-screen-info-y-org)))) (def (sig (procedure "(xinerama-screen-info-width screen-info) => int" (id xinerama-screen-info-width)))) (def (sig (procedure "(xinerama-screen-info-height screen-info) => int" (id xinerama-screen-info-height))))) (section 2 "Examples" (highlight scheme "(use xinerama xlib)\n(define xdisplay (xopendisplay #f))\n(when (xinerama-active? xdisplay)\n  (for-each\n   (lambda (screen)\n    (printf \"~A ~A ~A ~A ~A~%\"\n            (xinerama-screen-info-screen-number screen)\n            (xinerama-screen-info-x-org screen)\n            (xinerama-screen-info-y-org screen)\n            (xinerama-screen-info-width screen)\n            (xinerama-screen-info-height screen)))\n   (xinerama-query-screens xdisplay)))")) (section 2 "License" (p "BSD")) (section 2 "Version History" (ul (li "1.0.0 (2017-06-04) initial release") (li "1.0.1 (2017-06-04) fix typo") (li "1.0.2 (2017-06-05) trivial fixes and changes")))))
