Popularity
2.6
Growing
Activity
0.0
Stable
2
2
0
Monthly Downloads: 12
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
bindings-wlc alternatives and similar packages
Based on the "bindings" category.
Alternatively, view bindings-wlc alternatives based on common mentions on social networks and blogs.
Kargo - Stop Scripting Promotions. Start Shipping with Kargo
Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now.
Promo
akuity.io
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of bindings-wlc or a related project?
README
bindings-wlc
WIP bindings against libwlc
Using Bindings.WLC
Low level bindings to WLC via bindings-dsl
do
logger <- mk'log_handler_cb (\_ -> print)
c'wlc_log_set_handler logger
c'wlc_init2
created_cb <- mk'output_created_cb (\output -> do
putStrLn "Output created"
return True)
c'wlc_set_output_created_cb created_cb
c'wlc_run
Using System.WLC
System.WLC builds on Binding.WLC
do
initialize
logHandler (\tag text -> putStrLn $ stringTag tag ++ " " ++ text) -- Log all the things
dispatchEvent (PointerMotion (\_ _ ptr -> do pointerSetPosition ptr; return True)) -- Allow mouse movement
dispatchEvent (ViewCreated (\view -> do viewBringToFront view; viewFocus view; return True)) -- Pop views to the front
dispatchEvent (CompositorReady $ exec "weston-terminal" []) -- Launch weston-terminal when we're ready
run