-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Gdk bindings
--   
--   Bindings for Gdk, autogenerated by haskell-gi.
@package gi-gdk
@version 3.0.16


module GI.Gdk.Constants

-- | This is the priority that the idle handler processing window updates
--   is given in the [GLib Main Loop][glib-The-Main-Event-Loop].

-- | A special value, indicating that the background for a window should be
--   inherited from the parent window.

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | <i>No description available in the introspection data.</i>

-- | Use this macro as the return value for stopping the propagation of an
--   event handler.
--   
--   <i>Since: 3.4</i>

-- | Use this macro as the return value for continuing the propagation of
--   an event handler.
--   
--   <i>Since: 3.4</i>

-- | Represents the current time, and can be used anywhere a time is
--   expected.

-- | The secondary button. This is typically the right mouse button, or the
--   left button in a left-handed setup.
--   
--   <i>Since: 3.4</i>

-- | The primary button. This is typically the left mouse button, or the
--   right button in a left-handed setup.
--   
--   <i>Since: 3.4</i>

-- | The middle button.
--   
--   <i>Since: 3.4</i>


module GI.Gdk.Enums

-- | An enumeration describing the way in which a device axis (valuator)
--   maps onto the predefined valuator types that GTK+ understands.
--   
--   Note that the X and Y axes are not really needed; pointer devices
--   report their location via the x/y members of events regardless.
--   Whether X and Y are present as axes depends on the GDK backend.
data AxisUse

-- | the axis is ignored.
AxisUseIgnore :: AxisUse

-- | the axis is used as the x axis.
AxisUseX :: AxisUse

-- | the axis is used as the y axis.
AxisUseY :: AxisUse

-- | the axis is used for pressure information.
AxisUsePressure :: AxisUse

-- | the axis is used for x tilt information.
AxisUseXtilt :: AxisUse

-- | the axis is used for y tilt information.
AxisUseYtilt :: AxisUse

-- | the axis is used for wheel information.
AxisUseWheel :: AxisUse

-- | the axis is used for pen/tablet distance information. (Since: 3.22)
AxisUseDistance :: AxisUse

-- | the axis is used for pen rotation information. (Since: 3.22)
AxisUseRotation :: AxisUse

-- | the axis is used for pen slider information. (Since: 3.22)
AxisUseSlider :: AxisUse

-- | a constant equal to the numerically highest axis value.
AxisUseLast :: AxisUse

-- | Catch-all for unknown values
AnotherAxisUse :: Int -> AxisUse

-- | A set of values describing the possible byte-orders for storing pixel
--   values in memory.
data ByteOrder

-- | The values are stored with the least-significant byte first. For
--   instance, the 32-bit value 0xffeecc would be stored in memory as 0xcc,
--   0xee, 0xff, 0x00.
ByteOrderLsbFirst :: ByteOrder

-- | The values are stored with the most-significant byte first. For
--   instance, the 32-bit value 0xffeecc would be stored in memory as 0x00,
--   0xff, 0xee, 0xcc.
ByteOrderMsbFirst :: ByteOrder

-- | Catch-all for unknown values
AnotherByteOrder :: Int -> ByteOrder

-- | Specifies the crossing mode for <a>EventCrossing</a>.
data CrossingMode

-- | crossing because of pointer motion.
CrossingModeNormal :: CrossingMode

-- | crossing because a grab is activated.
CrossingModeGrab :: CrossingMode

-- | crossing because a grab is deactivated.
CrossingModeUngrab :: CrossingMode

-- | crossing because a GTK+ grab is activated.
CrossingModeGtkGrab :: CrossingMode

-- | crossing because a GTK+ grab is deactivated.
CrossingModeGtkUngrab :: CrossingMode

-- | crossing because a GTK+ widget changed state (e.g. sensitivity).
CrossingModeStateChanged :: CrossingMode

-- | crossing because a touch sequence has begun, this event is synthetic
--   as the pointer might have not left the window.
CrossingModeTouchBegin :: CrossingMode

-- | crossing because a touch sequence has ended, this event is synthetic
--   as the pointer might have not left the window.
CrossingModeTouchEnd :: CrossingMode

-- | crossing because of a device switch (i.e. a mouse taking control of
--   the pointer after a touch device), this event is synthetic as the
--   pointer didn’t leave the window.
CrossingModeDeviceSwitch :: CrossingMode

-- | Catch-all for unknown values
AnotherCrossingMode :: Int -> CrossingMode

-- | Predefined cursors.
--   
--   Note that these IDs are directly taken from the X cursor font, and
--   many of these cursors are either not useful, or are not available on
--   other platforms.
--   
--   The recommended way to create cursors is to use
--   <a>cursorNewFromName</a>.
data CursorType

CursorTypeXCursor :: CursorType

CursorTypeArrow :: CursorType

CursorTypeBasedArrowDown :: CursorType

CursorTypeBasedArrowUp :: CursorType

CursorTypeBoat :: CursorType

CursorTypeBogosity :: CursorType

CursorTypeBottomLeftCorner :: CursorType

CursorTypeBottomRightCorner :: CursorType

CursorTypeBottomSide :: CursorType

CursorTypeBottomTee :: CursorType

CursorTypeBoxSpiral :: CursorType

CursorTypeCenterPtr :: CursorType

CursorTypeCircle :: CursorType

CursorTypeClock :: CursorType

CursorTypeCoffeeMug :: CursorType

CursorTypeCross :: CursorType

CursorTypeCrossReverse :: CursorType

CursorTypeCrosshair :: CursorType

CursorTypeDiamondCross :: CursorType

CursorTypeDot :: CursorType

CursorTypeDotbox :: CursorType

CursorTypeDoubleArrow :: CursorType

CursorTypeDraftLarge :: CursorType

CursorTypeDraftSmall :: CursorType

CursorTypeDrapedBox :: CursorType

CursorTypeExchange :: CursorType

CursorTypeFleur :: CursorType

CursorTypeGobbler :: CursorType

CursorTypeGumby :: CursorType

CursorTypeHand1 :: CursorType

CursorTypeHand2 :: CursorType

CursorTypeHeart :: CursorType

CursorTypeIcon :: CursorType

CursorTypeIronCross :: CursorType

CursorTypeLeftPtr :: CursorType

CursorTypeLeftSide :: CursorType

CursorTypeLeftTee :: CursorType

CursorTypeLeftbutton :: CursorType

CursorTypeLlAngle :: CursorType

CursorTypeLrAngle :: CursorType

CursorTypeMan :: CursorType

CursorTypeMiddlebutton :: CursorType

CursorTypeMouse :: CursorType

CursorTypePencil :: CursorType

CursorTypePirate :: CursorType

CursorTypePlus :: CursorType

CursorTypeQuestionArrow :: CursorType

CursorTypeRightPtr :: CursorType

CursorTypeRightSide :: CursorType

CursorTypeRightTee :: CursorType

CursorTypeRightbutton :: CursorType

CursorTypeRtlLogo :: CursorType

CursorTypeSailboat :: CursorType

CursorTypeSbDownArrow :: CursorType

CursorTypeSbHDoubleArrow :: CursorType

CursorTypeSbLeftArrow :: CursorType

CursorTypeSbRightArrow :: CursorType

CursorTypeSbUpArrow :: CursorType

CursorTypeSbVDoubleArrow :: CursorType

CursorTypeShuttle :: CursorType

CursorTypeSizing :: CursorType

CursorTypeSpider :: CursorType

CursorTypeSpraycan :: CursorType

CursorTypeStar :: CursorType

CursorTypeTarget :: CursorType

CursorTypeTcross :: CursorType

CursorTypeTopLeftArrow :: CursorType

CursorTypeTopLeftCorner :: CursorType

CursorTypeTopRightCorner :: CursorType

CursorTypeTopSide :: CursorType

CursorTypeTopTee :: CursorType

CursorTypeTrek :: CursorType

CursorTypeUlAngle :: CursorType

CursorTypeUmbrella :: CursorType

CursorTypeUrAngle :: CursorType

CursorTypeWatch :: CursorType

CursorTypeXterm :: CursorType

-- | last cursor type
CursorTypeLastCursor :: CursorType

-- | Blank cursor. Since 2.16
CursorTypeBlankCursor :: CursorType

-- | type of cursors constructed with <a>cursorNewFromPixbuf</a>
CursorTypeCursorIsPixmap :: CursorType

-- | Catch-all for unknown values
AnotherCursorType :: Int -> CursorType

-- | A pad feature.
data DevicePadFeature

-- | a button
DevicePadFeatureButton :: DevicePadFeature

-- | a ring-shaped interactive area
DevicePadFeatureRing :: DevicePadFeature

-- | a straight interactive area
DevicePadFeatureStrip :: DevicePadFeature

-- | Catch-all for unknown values
AnotherDevicePadFeature :: Int -> DevicePadFeature

-- | Indicates the specific type of tool being used being a tablet. Such as
--   an airbrush, pencil, etc.
--   
--   <i>Since: 3.22</i>
data DeviceToolType

-- | Tool is of an unknown type.
DeviceToolTypeUnknown :: DeviceToolType

-- | Tool is a standard tablet stylus.
DeviceToolTypePen :: DeviceToolType

-- | Tool is standard tablet eraser.
DeviceToolTypeEraser :: DeviceToolType

-- | Tool is a brush stylus.
DeviceToolTypeBrush :: DeviceToolType

-- | Tool is a pencil stylus.
DeviceToolTypePencil :: DeviceToolType

-- | Tool is an airbrush stylus.
DeviceToolTypeAirbrush :: DeviceToolType

-- | Tool is a mouse.
DeviceToolTypeMouse :: DeviceToolType

-- | Tool is a lens cursor.
DeviceToolTypeLens :: DeviceToolType

-- | Catch-all for unknown values
AnotherDeviceToolType :: Int -> DeviceToolType

-- | Indicates the device type. See [above][GdkDeviceManager.description]
--   for more information about the meaning of these device types.
data DeviceType

-- | Device is a master (or virtual) device. There will be an associated
--   focus indicator on the screen.
DeviceTypeMaster :: DeviceType

-- | Device is a slave (or physical) device.
DeviceTypeSlave :: DeviceType

-- | Device is a physical device, currently not attached to any virtual
--   device.
DeviceTypeFloating :: DeviceType

-- | Catch-all for unknown values
AnotherDeviceType :: Int -> DeviceType

-- | Used in <a>DragContext</a> to the reason of a cancelled DND operation.
--   
--   <i>Since: 3.20</i>
data DragCancelReason

-- | There is no suitable drop target.
DragCancelReasonNoTarget :: DragCancelReason

-- | Drag cancelled by the user
DragCancelReasonUserCancelled :: DragCancelReason

-- | Unspecified error.
DragCancelReasonError :: DragCancelReason

-- | Catch-all for unknown values
AnotherDragCancelReason :: Int -> DragCancelReason

-- | Used in <a>DragContext</a> to indicate the protocol according to which
--   DND is done.
data DragProtocol

-- | no protocol.
DragProtocolNone :: DragProtocol

-- | The Motif DND protocol. No longer supported
DragProtocolMotif :: DragProtocol

-- | The Xdnd protocol.
DragProtocolXdnd :: DragProtocol

-- | An extension to the Xdnd protocol for unclaimed root window drops.
DragProtocolRootwin :: DragProtocol

-- | The simple WM_DROPFILES protocol.
DragProtocolWin32Dropfiles :: DragProtocol

-- | The complex OLE2 DND protocol (not implemented).
DragProtocolOle2 :: DragProtocol

-- | Intra-application DND.
DragProtocolLocal :: DragProtocol

-- | Wayland DND protocol.
DragProtocolWayland :: DragProtocol

-- | Catch-all for unknown values
AnotherDragProtocol :: Int -> DragProtocol

-- | Specifies the type of the event.
--   
--   Do not confuse these events with the signals that GTK+ widgets emit.
--   Although many of these events result in corresponding signals being
--   emitted, the events are often transformed or filtered along the way.
--   
--   In some language bindings, the values <a>EventType2buttonPress</a> and
--   <a>EventType3buttonPress</a> would translate into something
--   syntactically invalid (eg <tt>Gdk.EventType.2ButtonPress</tt>, where a
--   symbol is not allowed to start with a number). In that case, the
--   aliases <a>EventTypeDoubleButtonPress</a> and
--   <a>EventTypeTripleButtonPress</a> can be used instead.
data EventType

-- | a special code to indicate a null event.
EventTypeNothing :: EventType

-- | the window manager has requested that the toplevel window be hidden or
--   destroyed, usually when the user clicks on a special icon in the title
--   bar.
EventTypeDelete :: EventType

-- | the window has been destroyed.
EventTypeDestroy :: EventType

-- | all or part of the window has become visible and needs to be redrawn.
EventTypeExpose :: EventType

-- | the pointer (usually a mouse) has moved.
EventTypeMotionNotify :: EventType

-- | a mouse button has been pressed.
EventTypeButtonPress :: EventType

-- | a mouse button has been double-clicked (clicked twice within a short
--   period of time). Note that each click also generates a
--   <a>EventTypeButtonPress</a> event.
EventType2buttonPress :: EventType

-- | alias for <a>EventType2buttonPress</a>, added in 3.6.
EventTypeDoubleButtonPress :: EventType

-- | a mouse button has been clicked 3 times in a short period of time.
--   Note that each click also generates a <a>EventTypeButtonPress</a>
--   event.
EventType3buttonPress :: EventType

-- | alias for <a>EventType3buttonPress</a>, added in 3.6.
EventTypeTripleButtonPress :: EventType

-- | a mouse button has been released.
EventTypeButtonRelease :: EventType

-- | a key has been pressed.
EventTypeKeyPress :: EventType

-- | a key has been released.
EventTypeKeyRelease :: EventType

-- | the pointer has entered the window.
EventTypeEnterNotify :: EventType

-- | the pointer has left the window.
EventTypeLeaveNotify :: EventType

-- | the keyboard focus has entered or left the window.
EventTypeFocusChange :: EventType

-- | the size, position or stacking order of the window has changed. Note
--   that GTK+ discards these events for <a>WindowTypeChild</a> windows.
EventTypeConfigure :: EventType

-- | the window has been mapped.
EventTypeMap :: EventType

-- | the window has been unmapped.
EventTypeUnmap :: EventType

-- | a property on the window has been changed or deleted.
EventTypePropertyNotify :: EventType

-- | the application has lost ownership of a selection.
EventTypeSelectionClear :: EventType

-- | another application has requested a selection.
EventTypeSelectionRequest :: EventType

-- | a selection has been received.
EventTypeSelectionNotify :: EventType

-- | an input device has moved into contact with a sensing surface (e.g. a
--   touchscreen or graphics tablet).
EventTypeProximityIn :: EventType

-- | an input device has moved out of contact with a sensing surface.
EventTypeProximityOut :: EventType

-- | the mouse has entered the window while a drag is in progress.
EventTypeDragEnter :: EventType

-- | the mouse has left the window while a drag is in progress.
EventTypeDragLeave :: EventType

-- | the mouse has moved in the window while a drag is in progress.
EventTypeDragMotion :: EventType

-- | the status of the drag operation initiated by the window has changed.
EventTypeDragStatus :: EventType

-- | a drop operation onto the window has started.
EventTypeDropStart :: EventType

-- | the drop operation initiated by the window has completed.
EventTypeDropFinished :: EventType

-- | a message has been received from another application.
EventTypeClientEvent :: EventType

-- | the window visibility status has changed.
EventTypeVisibilityNotify :: EventType

-- | the scroll wheel was turned
EventTypeScroll :: EventType

-- | the state of a window has changed. See <a>WindowState</a> for the
--   possible window states
EventTypeWindowState :: EventType

-- | a setting has been modified.
EventTypeSetting :: EventType

-- | the owner of a selection has changed. This event type was added in 2.6
EventTypeOwnerChange :: EventType

-- | a pointer or keyboard grab was broken. This event type was added in
--   2.8.
EventTypeGrabBroken :: EventType

-- | the content of the window has been changed. This event type was added
--   in 2.14.
EventTypeDamage :: EventType

-- | A new touch event sequence has just started. This event type was added
--   in 3.4.
EventTypeTouchBegin :: EventType

-- | A touch event sequence has been updated. This event type was added in
--   3.4.
EventTypeTouchUpdate :: EventType

-- | A touch event sequence has finished. This event type was added in 3.4.
EventTypeTouchEnd :: EventType

-- | A touch event sequence has been canceled. This event type was added in
--   3.4.
EventTypeTouchCancel :: EventType

-- | A touchpad swipe gesture event, the current state is determined by its
--   phase field. This event type was added in 3.18.
EventTypeTouchpadSwipe :: EventType

-- | A touchpad pinch gesture event, the current state is determined by its
--   phase field. This event type was added in 3.18.
EventTypeTouchpadPinch :: EventType

-- | A tablet pad button press event. This event type was added in 3.22.
EventTypePadButtonPress :: EventType

-- | A tablet pad button release event. This event type was added in 3.22.
EventTypePadButtonRelease :: EventType

-- | A tablet pad axis event from a "ring". This event type was added in
--   3.22.
EventTypePadRing :: EventType

-- | A tablet pad axis event from a "strip". This event type was added in
--   3.22.
EventTypePadStrip :: EventType

-- | A tablet pad group mode change. This event type was added in 3.22.
EventTypePadGroupMode :: EventType

-- | marks the end of the GdkEventType enumeration. Added in 2.18
EventTypeEventLast :: EventType

-- | Catch-all for unknown values
AnotherEventType :: Int -> EventType

-- | Specifies the result of applying a <a>FilterFunc</a> to a native
--   event.
data FilterReturn

-- | event not handled, continue processing.
FilterReturnContinue :: FilterReturn

-- | native event translated into a GDK event and stored in the
--   <tt>event</tt> structure that was passed in.
FilterReturnTranslate :: FilterReturn

-- | event handled, terminate processing.
FilterReturnRemove :: FilterReturn

-- | Catch-all for unknown values
AnotherFilterReturn :: Int -> FilterReturn

-- | Indicates which monitor (in a multi-head setup) a window should span
--   over when in fullscreen mode.
--   
--   <i>Since: 3.8</i>
data FullscreenMode

-- | Fullscreen on current monitor only.
FullscreenModeCurrentMonitor :: FullscreenMode

-- | Span across all monitors when fullscreen.
FullscreenModeAllMonitors :: FullscreenMode

-- | Catch-all for unknown values
AnotherFullscreenMode :: Int -> FullscreenMode

-- | Error enumeration for <a>GLContext</a>.
--   
--   <i>Since: 3.16</i>
data GLError

-- | OpenGL support is not available
GLErrorNotAvailable :: GLError

-- | The requested visual format is not supported
GLErrorUnsupportedFormat :: GLError

-- | The requested profile is not supported
GLErrorUnsupportedProfile :: GLError

-- | Catch-all for unknown values
AnotherGLError :: Int -> GLError

-- | Catch exceptions of type <a>GLError</a>. This is a specialized version
--   of <a>catchGErrorJustDomain</a>.
catchGLError :: IO a -> (GLError -> GErrorMessage -> IO a) -> IO a

-- | Handle exceptions of type <a>GLError</a>. This is a specialized
--   version of <a>handleGErrorJustDomain</a>.
handleGLError :: (GLError -> GErrorMessage -> IO a) -> IO a -> IO a

-- | Defines how device grabs interact with other devices.
data GrabOwnership

-- | All other devices’ events are allowed.
GrabOwnershipNone :: GrabOwnership

-- | Other devices’ events are blocked for the grab window.
GrabOwnershipWindow :: GrabOwnership

-- | Other devices’ events are blocked for the whole application.
GrabOwnershipApplication :: GrabOwnership

-- | Catch-all for unknown values
AnotherGrabOwnership :: Int -> GrabOwnership

-- | Returned by <a>deviceGrab</a>, <a>pointerGrab</a> and
--   <a>keyboardGrab</a> to indicate success or the reason for the failure
--   of the grab attempt.
data GrabStatus

-- | the resource was successfully grabbed.
GrabStatusSuccess :: GrabStatus

-- | the resource is actively grabbed by another client.
GrabStatusAlreadyGrabbed :: GrabStatus

-- | the resource was grabbed more recently than the specified time.
GrabStatusInvalidTime :: GrabStatus

-- | the grab window or the <i><tt>confineTo</tt></i> window are not
--   viewable.
GrabStatusNotViewable :: GrabStatus

-- | the resource is frozen by an active grab of another client.
GrabStatusFrozen :: GrabStatus

-- | the grab failed for some other reason. Since 3.16
GrabStatusFailed :: GrabStatus

-- | Catch-all for unknown values
AnotherGrabStatus :: Int -> GrabStatus

-- | Defines the reference point of a window and the meaning of coordinates
--   passed to <tt><i>gtk_window_move()</i></tt>. See
--   <tt><i>gtk_window_move()</i></tt> and the "implementation notes"
--   section of the <a>Extended Window Manager Hints</a> specification for
--   more details.
data Gravity

-- | the reference point is at the top left corner.
GravityNorthWest :: Gravity

-- | the reference point is in the middle of the top edge.
GravityNorth :: Gravity

-- | the reference point is at the top right corner.
GravityNorthEast :: Gravity

-- | the reference point is at the middle of the left edge.
GravityWest :: Gravity

-- | the reference point is at the center of the window.
GravityCenter :: Gravity

-- | the reference point is at the middle of the right edge.
GravityEast :: Gravity

-- | the reference point is at the lower left corner.
GravitySouthWest :: Gravity

-- | the reference point is at the middle of the lower edge.
GravitySouth :: Gravity

-- | the reference point is at the lower right corner.
GravitySouthEast :: Gravity

-- | the reference point is at the top left corner of the window itself,
--   ignoring window manager decorations.
GravityStatic :: Gravity

-- | Catch-all for unknown values
AnotherGravity :: Int -> Gravity

-- | An enumeration that describes the mode of an input device.
data InputMode

-- | the device is disabled and will not report any events.
InputModeDisabled :: InputMode

-- | the device is enabled. The device’s coordinate space maps to the
--   entire screen.
InputModeScreen :: InputMode

-- | the device is enabled. The device’s coordinate space is mapped to a
--   single window. The manner in which this window is chosen is undefined,
--   but it will typically be the same way in which the focus window for
--   key events is determined.
InputModeWindow :: InputMode

-- | Catch-all for unknown values
AnotherInputMode :: Int -> InputMode

-- | An enumeration describing the type of an input device in general
--   terms.
data InputSource

-- | the device is a mouse. (This will be reported for the core pointer,
--   even if it is something else, such as a trackball.)
InputSourceMouse :: InputSource

-- | the device is a stylus of a graphics tablet or similar device.
InputSourcePen :: InputSource

-- | the device is an eraser. Typically, this would be the other end of a
--   stylus on a graphics tablet.
InputSourceEraser :: InputSource

-- | the device is a graphics tablet “puck” or similar device.
InputSourceCursor :: InputSource

-- | the device is a keyboard.
InputSourceKeyboard :: InputSource

-- | the device is a direct-input touch device, such as a touchscreen or
--   tablet. This device type has been added in 3.4.
InputSourceTouchscreen :: InputSource

-- | the device is an indirect touch device, such as a touchpad. This
--   device type has been added in 3.4.
InputSourceTouchpad :: InputSource

-- | the device is a trackpoint. This device type has been added in 3.22
InputSourceTrackpoint :: InputSource

-- | the device is a "pad", a collection of buttons, rings and strips found
--   in drawing tablets. This device type has been added in 3.22.
InputSourceTabletPad :: InputSource

-- | Catch-all for unknown values
AnotherInputSource :: Int -> InputSource

-- | This enum is used with <a>keymapGetModifierMask</a> in order to
--   determine what modifiers the currently used windowing system backend
--   uses for particular purposes. For example, on X11/Windows, the Control
--   key is used for invoking menu shortcuts (accelerators), whereas on
--   Apple computers it’s the Command key (which correspond to
--   <a>ModifierTypeControlMask</a> and <a>ModifierTypeMod2Mask</a>,
--   respectively).
--   
--   <i>Since: 3.4</i>
data ModifierIntent

-- | the primary modifier used to invoke menu accelerators.
ModifierIntentPrimaryAccelerator :: ModifierIntent

-- | the modifier used to invoke context menus. Note that mouse button 3
--   always triggers context menus. When this modifier is not 0, it
--   additionally triggers context menus when used with mouse button 1.
ModifierIntentContextMenu :: ModifierIntent

-- | the modifier used to extend selections using <tt>modifier</tt>-click
--   or <tt>modifier</tt>-cursor-key
ModifierIntentExtendSelection :: ModifierIntent

-- | the modifier used to modify selections, which in most cases means
--   toggling the clicked item into or out of the selection.
ModifierIntentModifySelection :: ModifierIntent

-- | when any of these modifiers is pressed, the key event cannot produce a
--   symbol directly. This is meant to be used for input methods, and for
--   use cases like typeahead search.
ModifierIntentNoTextInput :: ModifierIntent

-- | the modifier that switches between keyboard groups (AltGr on
--   X11/Windows and Option/Alt on OS X).
ModifierIntentShiftGroup :: ModifierIntent

-- | The set of modifier masks accepted as modifiers in accelerators.
--   Needed because Command is mapped to MOD2 on OSX, which is widely used,
--   but on X11 MOD2 is NumLock and using that for a mod key is problematic
--   at best. Ref: https://bugzilla.gnome.org/show_bug.cgi?id=736125.
ModifierIntentDefaultModMask :: ModifierIntent

-- | Catch-all for unknown values
AnotherModifierIntent :: Int -> ModifierIntent

-- | Specifies the kind of crossing for <a>EventCrossing</a>.
--   
--   See the X11 protocol specification of LeaveNotify for full details of
--   crossing event generation.
data NotifyType

-- | the window is entered from an ancestor or left towards an ancestor.
NotifyTypeAncestor :: NotifyType

-- | the pointer moves between an ancestor and an inferior of the window.
NotifyTypeVirtual :: NotifyType

-- | the window is entered from an inferior or left towards an inferior.
NotifyTypeInferior :: NotifyType

-- | the window is entered from or left towards a window which is neither
--   an ancestor nor an inferior.
NotifyTypeNonlinear :: NotifyType

-- | the pointer moves between two windows which are not ancestors of each
--   other and the window is part of the ancestor chain between one of
--   these windows and their least common ancestor.
NotifyTypeNonlinearVirtual :: NotifyType

-- | an unknown type of enter/leave event occurred.
NotifyTypeUnknown :: NotifyType

-- | Catch-all for unknown values
AnotherNotifyType :: Int -> NotifyType

-- | Specifies why a selection ownership was changed.
data OwnerChange

-- | some other app claimed the ownership
OwnerChangeNewOwner :: OwnerChange

-- | the window was destroyed
OwnerChangeDestroy :: OwnerChange

-- | the client was closed
OwnerChangeClose :: OwnerChange

-- | Catch-all for unknown values
AnotherOwnerChange :: Int -> OwnerChange

-- | Describes how existing data is combined with new data when using
--   <tt><i>gdk_property_change()</i></tt>.
data PropMode

-- | the new data replaces the existing data.
PropModeReplace :: PropMode

-- | the new data is prepended to the existing data.
PropModePrepend :: PropMode

-- | the new data is appended to the existing data.
PropModeAppend :: PropMode

-- | Catch-all for unknown values
AnotherPropMode :: Int -> PropMode

-- | Specifies the type of a property change for a <a>EventProperty</a>.
data PropertyState

-- | the property value was changed.
PropertyStateNewValue :: PropertyState

-- | the property was deleted.
PropertyStateDelete :: PropertyState

-- | Catch-all for unknown values
AnotherPropertyState :: Int -> PropertyState

-- | Specifies the direction for <a>EventScroll</a>.
data ScrollDirection

-- | the window is scrolled up.
ScrollDirectionUp :: ScrollDirection

-- | the window is scrolled down.
ScrollDirectionDown :: ScrollDirection

-- | the window is scrolled to the left.
ScrollDirectionLeft :: ScrollDirection

-- | the window is scrolled to the right.
ScrollDirectionRight :: ScrollDirection

-- | the scrolling is determined by the delta values in <a>EventScroll</a>.
--   See <a>eventGetScrollDeltas</a>. Since: 3.4
ScrollDirectionSmooth :: ScrollDirection

-- | Catch-all for unknown values
AnotherScrollDirection :: Int -> ScrollDirection

-- | Specifies the kind of modification applied to a setting in a
--   <a>EventSetting</a>.
data SettingAction

-- | a setting was added.
SettingActionNew :: SettingAction

-- | a setting was changed.
SettingActionChanged :: SettingAction

-- | a setting was deleted.
SettingActionDeleted :: SettingAction

-- | Catch-all for unknown values
AnotherSettingAction :: Int -> SettingAction

-- | <i>No description available in the introspection data.</i>
data Status

-- | <i>No description available in the introspection data.</i>
StatusOk :: Status

-- | <i>No description available in the introspection data.</i>
StatusError :: Status

-- | <i>No description available in the introspection data.</i>
StatusErrorParam :: Status

-- | <i>No description available in the introspection data.</i>
StatusErrorFile :: Status

-- | <i>No description available in the introspection data.</i>
StatusErrorMem :: Status

-- | Catch-all for unknown values
AnotherStatus :: Int -> Status

-- | This enumeration describes how the red, green and blue components of
--   physical pixels on an output device are laid out.
--   
--   <i>Since: 3.22</i>
data SubpixelLayout

-- | The layout is not known
SubpixelLayoutUnknown :: SubpixelLayout

-- | Not organized in this way
SubpixelLayoutNone :: SubpixelLayout

-- | The layout is horizontal, the order is RGB
SubpixelLayoutHorizontalRgb :: SubpixelLayout

-- | The layout is horizontal, the order is BGR
SubpixelLayoutHorizontalBgr :: SubpixelLayout

-- | The layout is vertical, the order is RGB
SubpixelLayoutVerticalRgb :: SubpixelLayout

-- | The layout is vertical, the order is BGR
SubpixelLayoutVerticalBgr :: SubpixelLayout

-- | Catch-all for unknown values
AnotherSubpixelLayout :: Int -> SubpixelLayout

-- | Specifies the current state of a touchpad gesture. All gestures are
--   guaranteed to begin with an event with phase
--   <a>TouchpadGesturePhaseBegin</a>, followed by 0 or several events with
--   phase <a>TouchpadGesturePhaseUpdate</a>.
--   
--   A finished gesture may have 2 possible outcomes, an event with phase
--   <a>TouchpadGesturePhaseEnd</a> will be emitted when the gesture is
--   considered successful, this should be used as the hint to perform any
--   permanent changes.
--   
--   Cancelled gestures may be so for a variety of reasons, due to hardware
--   or the compositor, or due to the gesture recognition layers hinting
--   the gesture did not finish resolutely (eg. a 3rd finger being added
--   during a pinch gesture). In these cases, the last event will report
--   the phase <a>TouchpadGesturePhaseCancel</a>, this should be used as a
--   hint to undo any visible/permanent changes that were done throughout
--   the progress of the gesture.
--   
--   See also <a>EventTouchpadSwipe</a> and <a>EventTouchpadPinch</a>.
data TouchpadGesturePhase

-- | The gesture has begun.
TouchpadGesturePhaseBegin :: TouchpadGesturePhase

-- | The gesture has been updated.
TouchpadGesturePhaseUpdate :: TouchpadGesturePhase

-- | The gesture was finished, changes should be permanently applied.
TouchpadGesturePhaseEnd :: TouchpadGesturePhase

-- | The gesture was cancelled, all changes should be undone.
TouchpadGesturePhaseCancel :: TouchpadGesturePhase

-- | Catch-all for unknown values
AnotherTouchpadGesturePhase :: Int -> TouchpadGesturePhase

-- | Specifies the visiblity status of a window for a
--   <a>EventVisibility</a>.
data VisibilityState

-- | the window is completely visible.
VisibilityStateUnobscured :: VisibilityState

-- | the window is partially visible.
VisibilityStatePartial :: VisibilityState

-- | the window is not visible at all.
VisibilityStateFullyObscured :: VisibilityState

-- | Catch-all for unknown values
AnotherVisibilityState :: Int -> VisibilityState

-- | A set of values that describe the manner in which the pixel values for
--   a visual are converted into RGB values for display.
data VisualType

-- | Each pixel value indexes a grayscale value directly.
VisualTypeStaticGray :: VisualType

-- | Each pixel is an index into a color map that maps pixel values into
--   grayscale values. The color map can be changed by an application.
VisualTypeGrayscale :: VisualType

-- | Each pixel value is an index into a predefined, unmodifiable color map
--   that maps pixel values into RGB values.
VisualTypeStaticColor :: VisualType

-- | Each pixel is an index into a color map that maps pixel values into
--   rgb values. The color map can be changed by an application.
VisualTypePseudoColor :: VisualType

-- | Each pixel value directly contains red, green, and blue components.
--   Use <a>visualGetRedPixelDetails</a>, etc, to obtain information about
--   how the components are assembled into a pixel value.
VisualTypeTrueColor :: VisualType

-- | Each pixel value contains red, green, and blue components as for
--   <a>VisualTypeTrueColor</a>, but the components are mapped via a color
--   table into the final output table instead of being converted directly.
VisualTypeDirectColor :: VisualType

-- | Catch-all for unknown values
AnotherVisualType :: Int -> VisualType

-- | Determines a window edge or corner.
data WindowEdge

-- | the top left corner.
WindowEdgeNorthWest :: WindowEdge

-- | the top edge.
WindowEdgeNorth :: WindowEdge

-- | the top right corner.
WindowEdgeNorthEast :: WindowEdge

-- | the left edge.
WindowEdgeWest :: WindowEdge

-- | the right edge.
WindowEdgeEast :: WindowEdge

-- | the lower left corner.
WindowEdgeSouthWest :: WindowEdge

-- | the lower edge.
WindowEdgeSouth :: WindowEdge

-- | the lower right corner.
WindowEdgeSouthEast :: WindowEdge

-- | Catch-all for unknown values
AnotherWindowEdge :: Int -> WindowEdge

-- | Describes the kind of window.
data WindowType

-- | root window; this window has no parent, covers the entire screen, and
--   is created by the window system
WindowTypeRoot :: WindowType

-- | toplevel window (used to implement <tt><i>GtkWindow</i></tt>)
WindowTypeToplevel :: WindowType

-- | child window (used to implement e.g. <tt><i>GtkEntry</i></tt>)
WindowTypeChild :: WindowType

-- | override redirect temporary window (used to implement
--   <tt><i>GtkMenu</i></tt>)
WindowTypeTemp :: WindowType

-- | foreign window (see <tt><i>gdk_window_foreign_new()</i></tt>)
WindowTypeForeign :: WindowType

-- | offscreen window (see [Offscreen Windows][OFFSCREEN-WINDOWS]). Since
--   2.18
WindowTypeOffscreen :: WindowType

-- | subsurface-based window; This window is visually tied to a toplevel,
--   and is moved/stacked with it. Currently this window type is only
--   implemented in Wayland. Since 3.14
WindowTypeSubsurface :: WindowType

-- | Catch-all for unknown values
AnotherWindowType :: Int -> WindowType

-- | These are hints for the window manager that indicate what type of
--   function the window has. The window manager can use this when
--   determining decoration and behaviour of the window. The hint must be
--   set before mapping the window.
--   
--   See the <a>Extended Window Manager Hints</a> specification for more
--   details about window types.
data WindowTypeHint

-- | Normal toplevel window.
WindowTypeHintNormal :: WindowTypeHint

-- | Dialog window.
WindowTypeHintDialog :: WindowTypeHint

-- | Window used to implement a menu; GTK+ uses this hint only for torn-off
--   menus, see <tt><i>GtkTearoffMenuItem</i></tt>.
WindowTypeHintMenu :: WindowTypeHint

-- | Window used to implement toolbars.
WindowTypeHintToolbar :: WindowTypeHint

-- | Window used to display a splash screen during application startup.
WindowTypeHintSplashscreen :: WindowTypeHint

-- | Utility windows which are not detached toolbars or dialogs.
WindowTypeHintUtility :: WindowTypeHint

-- | Used for creating dock or panel windows.
WindowTypeHintDock :: WindowTypeHint

-- | Used for creating the desktop background window.
WindowTypeHintDesktop :: WindowTypeHint

-- | A menu that belongs to a menubar.
WindowTypeHintDropdownMenu :: WindowTypeHint

-- | A menu that does not belong to a menubar, e.g. a context menu.
WindowTypeHintPopupMenu :: WindowTypeHint

-- | A tooltip.
WindowTypeHintTooltip :: WindowTypeHint

-- | A notification - typically a “bubble” that belongs to a status icon.
WindowTypeHintNotification :: WindowTypeHint

-- | A popup from a combo box.
WindowTypeHintCombo :: WindowTypeHint

-- | A window that is used to implement a DND cursor.
WindowTypeHintDnd :: WindowTypeHint

-- | Catch-all for unknown values
AnotherWindowTypeHint :: Int -> WindowTypeHint

-- | <i><tt>gDKINPUTOUTPUT</tt></i> windows are the standard kind of window
--   you might expect. Such windows receive events and are also displayed
--   on screen. <i><tt>gDKINPUTONLY</tt></i> windows are invisible; they
--   are usually placed above other windows in order to trap or filter the
--   events. You can’t draw on <i><tt>gDKINPUTONLY</tt></i> windows.
data WindowWindowClass

-- | window for graphics and events
WindowWindowClassInputOutput :: WindowWindowClass

-- | window for events only
WindowWindowClassInputOnly :: WindowWindowClass

-- | Catch-all for unknown values
AnotherWindowWindowClass :: Int -> WindowWindowClass
instance GHC.Classes.Eq GI.Gdk.Enums.AxisUse
instance GHC.Show.Show GI.Gdk.Enums.AxisUse
instance GHC.Classes.Eq GI.Gdk.Enums.ByteOrder
instance GHC.Show.Show GI.Gdk.Enums.ByteOrder
instance GHC.Classes.Eq GI.Gdk.Enums.CrossingMode
instance GHC.Show.Show GI.Gdk.Enums.CrossingMode
instance GHC.Classes.Eq GI.Gdk.Enums.CursorType
instance GHC.Show.Show GI.Gdk.Enums.CursorType
instance GHC.Classes.Eq GI.Gdk.Enums.DevicePadFeature
instance GHC.Show.Show GI.Gdk.Enums.DevicePadFeature
instance GHC.Classes.Eq GI.Gdk.Enums.DeviceToolType
instance GHC.Show.Show GI.Gdk.Enums.DeviceToolType
instance GHC.Classes.Eq GI.Gdk.Enums.DeviceType
instance GHC.Show.Show GI.Gdk.Enums.DeviceType
instance GHC.Classes.Eq GI.Gdk.Enums.DragCancelReason
instance GHC.Show.Show GI.Gdk.Enums.DragCancelReason
instance GHC.Classes.Eq GI.Gdk.Enums.DragProtocol
instance GHC.Show.Show GI.Gdk.Enums.DragProtocol
instance GHC.Classes.Eq GI.Gdk.Enums.EventType
instance GHC.Show.Show GI.Gdk.Enums.EventType
instance GHC.Classes.Eq GI.Gdk.Enums.FilterReturn
instance GHC.Show.Show GI.Gdk.Enums.FilterReturn
instance GHC.Classes.Eq GI.Gdk.Enums.FullscreenMode
instance GHC.Show.Show GI.Gdk.Enums.FullscreenMode
instance GHC.Classes.Eq GI.Gdk.Enums.GLError
instance GHC.Show.Show GI.Gdk.Enums.GLError
instance GHC.Classes.Eq GI.Gdk.Enums.GrabOwnership
instance GHC.Show.Show GI.Gdk.Enums.GrabOwnership
instance GHC.Classes.Eq GI.Gdk.Enums.GrabStatus
instance GHC.Show.Show GI.Gdk.Enums.GrabStatus
instance GHC.Classes.Eq GI.Gdk.Enums.Gravity
instance GHC.Show.Show GI.Gdk.Enums.Gravity
instance GHC.Classes.Eq GI.Gdk.Enums.InputMode
instance GHC.Show.Show GI.Gdk.Enums.InputMode
instance GHC.Classes.Eq GI.Gdk.Enums.InputSource
instance GHC.Show.Show GI.Gdk.Enums.InputSource
instance GHC.Classes.Eq GI.Gdk.Enums.ModifierIntent
instance GHC.Show.Show GI.Gdk.Enums.ModifierIntent
instance GHC.Classes.Eq GI.Gdk.Enums.NotifyType
instance GHC.Show.Show GI.Gdk.Enums.NotifyType
instance GHC.Classes.Eq GI.Gdk.Enums.OwnerChange
instance GHC.Show.Show GI.Gdk.Enums.OwnerChange
instance GHC.Classes.Eq GI.Gdk.Enums.PropMode
instance GHC.Show.Show GI.Gdk.Enums.PropMode
instance GHC.Classes.Eq GI.Gdk.Enums.PropertyState
instance GHC.Show.Show GI.Gdk.Enums.PropertyState
instance GHC.Classes.Eq GI.Gdk.Enums.ScrollDirection
instance GHC.Show.Show GI.Gdk.Enums.ScrollDirection
instance GHC.Classes.Eq GI.Gdk.Enums.SettingAction
instance GHC.Show.Show GI.Gdk.Enums.SettingAction
instance GHC.Classes.Eq GI.Gdk.Enums.Status
instance GHC.Show.Show GI.Gdk.Enums.Status
instance GHC.Classes.Eq GI.Gdk.Enums.SubpixelLayout
instance GHC.Show.Show GI.Gdk.Enums.SubpixelLayout
instance GHC.Classes.Eq GI.Gdk.Enums.TouchpadGesturePhase
instance GHC.Show.Show GI.Gdk.Enums.TouchpadGesturePhase
instance GHC.Classes.Eq GI.Gdk.Enums.VisibilityState
instance GHC.Show.Show GI.Gdk.Enums.VisibilityState
instance GHC.Classes.Eq GI.Gdk.Enums.VisualType
instance GHC.Show.Show GI.Gdk.Enums.VisualType
instance GHC.Classes.Eq GI.Gdk.Enums.WindowEdge
instance GHC.Show.Show GI.Gdk.Enums.WindowEdge
instance GHC.Classes.Eq GI.Gdk.Enums.WindowType
instance GHC.Show.Show GI.Gdk.Enums.WindowType
instance GHC.Classes.Eq GI.Gdk.Enums.WindowTypeHint
instance GHC.Show.Show GI.Gdk.Enums.WindowTypeHint
instance GHC.Classes.Eq GI.Gdk.Enums.WindowWindowClass
instance GHC.Show.Show GI.Gdk.Enums.WindowWindowClass
instance GHC.Enum.Enum GI.Gdk.Enums.AxisUse
instance GHC.Classes.Ord GI.Gdk.Enums.AxisUse
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.AxisUse
instance GHC.Enum.Enum GI.Gdk.Enums.ByteOrder
instance GHC.Classes.Ord GI.Gdk.Enums.ByteOrder
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.ByteOrder
instance GHC.Enum.Enum GI.Gdk.Enums.CrossingMode
instance GHC.Classes.Ord GI.Gdk.Enums.CrossingMode
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.CrossingMode
instance GHC.Enum.Enum GI.Gdk.Enums.CursorType
instance GHC.Classes.Ord GI.Gdk.Enums.CursorType
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.CursorType
instance GHC.Enum.Enum GI.Gdk.Enums.DevicePadFeature
instance GHC.Classes.Ord GI.Gdk.Enums.DevicePadFeature
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.DevicePadFeature
instance GHC.Enum.Enum GI.Gdk.Enums.DeviceToolType
instance GHC.Classes.Ord GI.Gdk.Enums.DeviceToolType
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.DeviceToolType
instance GHC.Enum.Enum GI.Gdk.Enums.DeviceType
instance GHC.Classes.Ord GI.Gdk.Enums.DeviceType
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.DeviceType
instance GHC.Enum.Enum GI.Gdk.Enums.DragCancelReason
instance GHC.Classes.Ord GI.Gdk.Enums.DragCancelReason
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.DragCancelReason
instance GHC.Enum.Enum GI.Gdk.Enums.DragProtocol
instance GHC.Classes.Ord GI.Gdk.Enums.DragProtocol
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.DragProtocol
instance GHC.Enum.Enum GI.Gdk.Enums.EventType
instance GHC.Classes.Ord GI.Gdk.Enums.EventType
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.EventType
instance GHC.Enum.Enum GI.Gdk.Enums.FilterReturn
instance GHC.Classes.Ord GI.Gdk.Enums.FilterReturn
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.FilterReturn
instance GHC.Enum.Enum GI.Gdk.Enums.FullscreenMode
instance GHC.Classes.Ord GI.Gdk.Enums.FullscreenMode
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.FullscreenMode
instance GHC.Enum.Enum GI.Gdk.Enums.GLError
instance GHC.Classes.Ord GI.Gdk.Enums.GLError
instance Data.GI.Base.GError.GErrorClass GI.Gdk.Enums.GLError
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.GLError
instance GHC.Enum.Enum GI.Gdk.Enums.GrabOwnership
instance GHC.Classes.Ord GI.Gdk.Enums.GrabOwnership
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.GrabOwnership
instance GHC.Enum.Enum GI.Gdk.Enums.GrabStatus
instance GHC.Classes.Ord GI.Gdk.Enums.GrabStatus
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.GrabStatus
instance GHC.Enum.Enum GI.Gdk.Enums.Gravity
instance GHC.Classes.Ord GI.Gdk.Enums.Gravity
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.Gravity
instance GHC.Enum.Enum GI.Gdk.Enums.InputMode
instance GHC.Classes.Ord GI.Gdk.Enums.InputMode
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.InputMode
instance GHC.Enum.Enum GI.Gdk.Enums.InputSource
instance GHC.Classes.Ord GI.Gdk.Enums.InputSource
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.InputSource
instance GHC.Enum.Enum GI.Gdk.Enums.ModifierIntent
instance GHC.Classes.Ord GI.Gdk.Enums.ModifierIntent
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.ModifierIntent
instance GHC.Enum.Enum GI.Gdk.Enums.NotifyType
instance GHC.Classes.Ord GI.Gdk.Enums.NotifyType
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.NotifyType
instance GHC.Enum.Enum GI.Gdk.Enums.OwnerChange
instance GHC.Classes.Ord GI.Gdk.Enums.OwnerChange
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.OwnerChange
instance GHC.Enum.Enum GI.Gdk.Enums.PropMode
instance GHC.Classes.Ord GI.Gdk.Enums.PropMode
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.PropMode
instance GHC.Enum.Enum GI.Gdk.Enums.PropertyState
instance GHC.Classes.Ord GI.Gdk.Enums.PropertyState
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.PropertyState
instance GHC.Enum.Enum GI.Gdk.Enums.ScrollDirection
instance GHC.Classes.Ord GI.Gdk.Enums.ScrollDirection
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.ScrollDirection
instance GHC.Enum.Enum GI.Gdk.Enums.SettingAction
instance GHC.Classes.Ord GI.Gdk.Enums.SettingAction
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.SettingAction
instance GHC.Enum.Enum GI.Gdk.Enums.Status
instance GHC.Classes.Ord GI.Gdk.Enums.Status
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.Status
instance GHC.Enum.Enum GI.Gdk.Enums.SubpixelLayout
instance GHC.Classes.Ord GI.Gdk.Enums.SubpixelLayout
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.SubpixelLayout
instance GHC.Enum.Enum GI.Gdk.Enums.TouchpadGesturePhase
instance GHC.Classes.Ord GI.Gdk.Enums.TouchpadGesturePhase
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.TouchpadGesturePhase
instance GHC.Enum.Enum GI.Gdk.Enums.VisibilityState
instance GHC.Classes.Ord GI.Gdk.Enums.VisibilityState
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.VisibilityState
instance GHC.Enum.Enum GI.Gdk.Enums.VisualType
instance GHC.Classes.Ord GI.Gdk.Enums.VisualType
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.VisualType
instance GHC.Enum.Enum GI.Gdk.Enums.WindowEdge
instance GHC.Classes.Ord GI.Gdk.Enums.WindowEdge
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.WindowEdge
instance GHC.Enum.Enum GI.Gdk.Enums.WindowType
instance GHC.Classes.Ord GI.Gdk.Enums.WindowType
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.WindowType
instance GHC.Enum.Enum GI.Gdk.Enums.WindowTypeHint
instance GHC.Classes.Ord GI.Gdk.Enums.WindowTypeHint
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.WindowTypeHint
instance GHC.Enum.Enum GI.Gdk.Enums.WindowWindowClass
instance GHC.Classes.Ord GI.Gdk.Enums.WindowWindowClass
instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gdk.Enums.WindowWindowClass


module GI.Gdk.Flags

-- | Positioning hints for aligning a window relative to a rectangle.
--   
--   These hints determine how the window should be positioned in the case
--   that the window would fall off-screen if placed in its ideal position.
--   
--   For example, <a>AnchorHintsFlipX</a> will replace
--   <a>GravityNorthWest</a> with <a>GravityNorthEast</a> and vice versa if
--   the window extends beyond the left or right edges of the monitor.
--   
--   If <a>AnchorHintsSlideX</a> is set, the window can be shifted
--   horizontally to fit on-screen. If <a>AnchorHintsResizeX</a> is set,
--   the window can be shrunken horizontally to fit.
--   
--   In general, when multiple flags are set, flipping should take
--   precedence over sliding, which should take precedence over resizing.
--   
--   <i>Since: 3.22</i>
data AnchorHints

-- | allow flipping anchors horizontally
AnchorHintsFlipX :: AnchorHints

-- | allow flipping anchors vertically
AnchorHintsFlipY :: AnchorHints

-- | allow sliding window horizontally
AnchorHintsSlideX :: AnchorHints

-- | allow sliding window vertically
AnchorHintsSlideY :: AnchorHints

-- | allow resizing window horizontally
AnchorHintsResizeX :: AnchorHints

-- | allow resizing window vertically
AnchorHintsResizeY :: AnchorHints

-- | allow flipping anchors on both axes
AnchorHintsFlip :: AnchorHints

-- | allow sliding window on both axes
AnchorHintsSlide :: AnchorHints

-- | allow resizing window on both axes
AnchorHintsResize :: AnchorHints

-- | Catch-all for unknown values
AnotherAnchorHints :: Int -> AnchorHints

-- | Flags describing the current capabilities of a device/tool.
--   
--   <i>Since: 3.22</i>
data AxisFlags

-- | X axis is present
AxisFlagsX :: AxisFlags

-- | Y axis is present
AxisFlagsY :: AxisFlags

-- | Pressure axis is present
AxisFlagsPressure :: AxisFlags

-- | X tilt axis is present
AxisFlagsXtilt :: AxisFlags

-- | Y tilt axis is present
AxisFlagsYtilt :: AxisFlags

-- | Wheel axis is present
AxisFlagsWheel :: AxisFlags

-- | Distance axis is present
AxisFlagsDistance :: AxisFlags

-- | Z-axis rotation is present
AxisFlagsRotation :: AxisFlags

-- | Slider axis is present
AxisFlagsSlider :: AxisFlags

-- | Catch-all for unknown values
AnotherAxisFlags :: Int -> AxisFlags

-- | Used in <a>DragContext</a> to indicate what the destination should do
--   with the dropped data.
data DragAction

-- | Means nothing, and should not be used.
DragActionDefault :: DragAction

-- | Copy the data.
DragActionCopy :: DragAction

-- | Move the data, i.e. first copy it, then delete it from the source
--   using the DELETE target of the X selection protocol.
DragActionMove :: DragAction

-- | Add a link to the data. Note that this is only useful if source and
--   destination agree on what it means.
DragActionLink :: DragAction

-- | Special action which tells the source that the destination will do
--   something that the source doesn’t understand.
DragActionPrivate :: DragAction

-- | Ask the user what to do with the data.
DragActionAsk :: DragAction

-- | Catch-all for unknown values
AnotherDragAction :: Int -> DragAction

-- | A set of bit-flags to indicate which events a window is to receive.
--   Most of these masks map onto one or more of the <a>EventType</a> event
--   types above.
--   
--   See the [input handling overview][chap-input-handling] for details of
--   [event masks][event-masks] and [event propagation][event-propagation].
--   
--   <a>EventMaskPointerMotionHintMask</a> is deprecated. It is a special
--   mask to reduce the number of <a>EventTypeMotionNotify</a> events
--   received. When using <a>EventMaskPointerMotionHintMask</a>, fewer
--   <a>EventTypeMotionNotify</a> events will be sent, some of which are
--   marked as a hint (the is_hint member is <a>True</a>). To receive more
--   motion events after a motion hint event, the application needs to asks
--   for more, by calling <a>eventRequestMotions</a>.
--   
--   Since GTK 3.8, motion events are already compressed by default,
--   independent of this mechanism. This compression can be disabled with
--   <a>windowSetEventCompression</a>. See the documentation of that
--   function for details.
--   
--   If <a>EventMaskTouchMask</a> is enabled, the window will receive touch
--   events from touch-enabled devices. Those will come as sequences of
--   <a>EventTouch</a> with type <a>EventTypeTouchUpdate</a>, enclosed by
--   two events with type <a>EventTypeTouchBegin</a> and
--   <a>EventTypeTouchEnd</a> (or <a>EventTypeTouchCancel</a>).
--   <a>eventGetEventSequence</a> returns the event sequence for these
--   events, so different sequences may be distinguished.
data EventMask

-- | receive expose events
EventMaskExposureMask :: EventMask

-- | receive all pointer motion events
EventMaskPointerMotionMask :: EventMask

-- | deprecated. see the explanation above
EventMaskPointerMotionHintMask :: EventMask

-- | receive pointer motion events while any button is pressed
EventMaskButtonMotionMask :: EventMask

-- | receive pointer motion events while 1 button is pressed
EventMaskButton1MotionMask :: EventMask

-- | receive pointer motion events while 2 button is pressed
EventMaskButton2MotionMask :: EventMask

-- | receive pointer motion events while 3 button is pressed
EventMaskButton3MotionMask :: EventMask

-- | receive button press events
EventMaskButtonPressMask :: EventMask

-- | receive button release events
EventMaskButtonReleaseMask :: EventMask

-- | receive key press events
EventMaskKeyPressMask :: EventMask

-- | receive key release events
EventMaskKeyReleaseMask :: EventMask

-- | receive window enter events
EventMaskEnterNotifyMask :: EventMask

-- | receive window leave events
EventMaskLeaveNotifyMask :: EventMask

-- | receive focus change events
EventMaskFocusChangeMask :: EventMask

-- | receive events about window configuration change
EventMaskStructureMask :: EventMask

-- | receive property change events
EventMaskPropertyChangeMask :: EventMask

-- | receive visibility change events
EventMaskVisibilityNotifyMask :: EventMask

-- | receive proximity in events
EventMaskProximityInMask :: EventMask

-- | receive proximity out events
EventMaskProximityOutMask :: EventMask

-- | receive events about window configuration changes of child windows
EventMaskSubstructureMask :: EventMask

-- | receive scroll events
EventMaskScrollMask :: EventMask

-- | receive touch events. Since 3.4
EventMaskTouchMask :: EventMask

-- | receive smooth scrolling events. Since 3.4
EventMaskSmoothScrollMask :: EventMask

-- | receive touchpad gesture events. Since 3.18
EventMaskTouchpadGestureMask :: EventMask

-- | receive tablet pad events. Since 3.22
EventMaskTabletPadMask :: EventMask

-- | the combination of all the above event masks.
EventMaskAllEventsMask :: EventMask

-- | Catch-all for unknown values
AnotherEventMask :: Int -> EventMask

-- | <a>FrameClockPhase</a> is used to represent the different paint clock
--   phases that can be requested. The elements of the enumeration
--   correspond to the signals of <a>FrameClock</a>.
--   
--   <i>Since: 3.8</i>
data FrameClockPhase

-- | no phase
FrameClockPhaseNone :: FrameClockPhase

-- | corresponds to GdkFrameClock::flush-events. Should not be handled by
--   applications.
FrameClockPhaseFlushEvents :: FrameClockPhase

-- | corresponds to GdkFrameClock::before-paint. Should not be handled by
--   applications.
FrameClockPhaseBeforePaint :: FrameClockPhase

-- | corresponds to GdkFrameClock::update.
FrameClockPhaseUpdate :: FrameClockPhase

-- | corresponds to GdkFrameClock::layout.
FrameClockPhaseLayout :: FrameClockPhase

-- | corresponds to GdkFrameClock::paint.
FrameClockPhasePaint :: FrameClockPhase

-- | corresponds to GdkFrameClock::resume-events. Should not be handled by
--   applications.
FrameClockPhaseResumeEvents :: FrameClockPhase

-- | corresponds to GdkFrameClock::after-paint. Should not be handled by
--   applications.
FrameClockPhaseAfterPaint :: FrameClockPhase

-- | Catch-all for unknown values
AnotherFrameClockPhase :: Int -> FrameClockPhase

-- | A set of bit-flags to indicate the state of modifier keys and mouse
--   buttons in various event types. Typical modifier keys are Shift,
--   Control, Meta, Super, Hyper, Alt, Compose, Apple, CapsLock or
--   ShiftLock.
--   
--   Like the X Window System, GDK supports 8 modifier keys and 5 mouse
--   buttons.
--   
--   Since 2.10, GDK recognizes which of the Meta, Super or Hyper keys are
--   mapped to Mod2 - Mod5, and indicates this by setting
--   <a>ModifierTypeSuperMask</a>, <a>ModifierTypeHyperMask</a> or
--   <a>ModifierTypeMetaMask</a> in the state field of key events.
--   
--   Note that GDK may add internal values to events which include reserved
--   values such as <a>ModifierTypeModifierReserved13Mask</a>. Your code
--   should preserve and ignore them. You can use
--   <a>ModifierTypeModifierMask</a> to remove all reserved values.
--   
--   Also note that the GDK X backend interprets button press events for
--   button 4-7 as scroll events, so <a>ModifierTypeButton4Mask</a> and
--   <a>ModifierTypeButton5Mask</a> will never be set.
data ModifierType

-- | the Shift key.
ModifierTypeShiftMask :: ModifierType

-- | a Lock key (depending on the modifier mapping of the X server this may
--   either be CapsLock or ShiftLock).
ModifierTypeLockMask :: ModifierType

-- | the Control key.
ModifierTypeControlMask :: ModifierType

-- | the fourth modifier key (it depends on the modifier mapping of the X
--   server which key is interpreted as this modifier, but normally it is
--   the Alt key).
ModifierTypeMod1Mask :: ModifierType

-- | the fifth modifier key (it depends on the modifier mapping of the X
--   server which key is interpreted as this modifier).
ModifierTypeMod2Mask :: ModifierType

-- | the sixth modifier key (it depends on the modifier mapping of the X
--   server which key is interpreted as this modifier).
ModifierTypeMod3Mask :: ModifierType

-- | the seventh modifier key (it depends on the modifier mapping of the X
--   server which key is interpreted as this modifier).
ModifierTypeMod4Mask :: ModifierType

-- | the eighth modifier key (it depends on the modifier mapping of the X
--   server which key is interpreted as this modifier).
ModifierTypeMod5Mask :: ModifierType

-- | the first mouse button.
ModifierTypeButton1Mask :: ModifierType

-- | the second mouse button.
ModifierTypeButton2Mask :: ModifierType

-- | the third mouse button.
ModifierTypeButton3Mask :: ModifierType

-- | the fourth mouse button.
ModifierTypeButton4Mask :: ModifierType

-- | the fifth mouse button.
ModifierTypeButton5Mask :: ModifierType

-- | A reserved bit flag; do not use in your own code
ModifierTypeModifierReserved13Mask :: ModifierType

-- | A reserved bit flag; do not use in your own code
ModifierTypeModifierReserved14Mask :: ModifierType

-- | A reserved bit flag; do not use in your own code
ModifierTypeModifierReserved15Mask :: ModifierType

-- | A reserved bit flag; do not use in your own code
ModifierTypeModifierReserved16Mask :: ModifierType

-- | A reserved bit flag; do not use in your own code
ModifierTypeModifierReserved17Mask :: ModifierType

-- | A reserved bit flag; do not use in your own code
ModifierTypeModifierReserved18Mask :: ModifierType

-- | A reserved bit flag; do not use in your own code
ModifierTypeModifierReserved19Mask :: ModifierType

-- | A reserved bit flag; do not use in your own code
ModifierTypeModifierReserved20Mask :: ModifierType

-- | A reserved bit flag; do not use in your own code
ModifierTypeModifierReserved21Mask :: ModifierType

-- | A reserved bit flag; do not use in your own code
ModifierTypeModifierReserved22Mask :: ModifierType

-- | A reserved bit flag; do not use in your own code
ModifierTypeModifierReserved23Mask :: ModifierType

-- | A reserved bit flag; do not use in your own code
ModifierTypeModifierReserved24Mask :: ModifierType

-- | A reserved bit flag; do not use in your own code
ModifierTypeModifierReserved25Mask :: ModifierType

-- | the Super modifier. Since 2.10
ModifierTypeSuperMask :: ModifierType

-- | the Hyper modifier. Since 2.10
ModifierTypeHyperMask :: ModifierType

-- | the Meta modifier. Since 2.10
ModifierTypeMetaMask :: ModifierType

-- | A reserved bit flag; do not use in your own code
ModifierTypeModifierReserved29Mask :: ModifierType

-- | not used in GDK itself. GTK+ uses it to differentiate between (keyval,
--   modifiers) pairs from key press and release events.
ModifierTypeReleaseMask :: ModifierType

-- | a mask covering all modifier types.
ModifierTypeModifierMask :: ModifierType

-- | Catch-all for unknown values
AnotherModifierType :: Int -> ModifierType

-- | Flags describing the seat capabilities.
--   
--   <i>Since: 3.20</i>
data SeatCapabilities

-- | No input capabilities
SeatCapabilitiesNone :: SeatCapabilities

-- | The seat has a pointer (e.g. mouse)
SeatCapabilitiesPointer :: SeatCapabilities

-- | The seat has touchscreen(s) attached
SeatCapabilitiesTouch :: SeatCapabilities

-- | The seat has drawing tablet(s) attached
SeatCapabilitiesTabletStylus :: SeatCapabilities

-- | The seat has keyboard(s) attached
SeatCapabilitiesKeyboard :: SeatCapabilities

-- | The union of all pointing capabilities
SeatCapabilitiesAllPointing :: SeatCapabilities

-- | The union of all capabilities
SeatCapabilitiesAll :: SeatCapabilities

-- | Catch-all for unknown values
AnotherSeatCapabilities :: Int -> SeatCapabilities

-- | These are hints originally defined by the Motif toolkit. The window
--   manager can use them when determining how to decorate the window. The
--   hint must be set before mapping the window.
data WMDecoration

-- | all decorations should be applied.
WMDecorationAll :: WMDecoration

-- | a frame should be drawn around the window.
WMDecorationBorder :: WMDecoration

-- | the frame should have resize handles.
WMDecorationResizeh :: WMDecoration

-- | a titlebar should be placed above the window.
WMDecorationTitle :: WMDecoration

-- | a button for opening a menu should be included.
WMDecorationMenu :: WMDecoration

-- | a minimize button should be included.
WMDecorationMinimize :: WMDecoration

-- | a maximize button should be included.
WMDecorationMaximize :: WMDecoration

-- | Catch-all for unknown values
AnotherWMDecoration :: Int -> WMDecoration

-- | These are hints originally defined by the Motif toolkit. The window
--   manager can use them when determining the functions to offer for the
--   window. The hint must be set before mapping the window.
data WMFunction

-- | all functions should be offered.
WMFunctionAll :: WMFunction

-- | the window should be resizable.
WMFunctionResize :: WMFunction

-- | the window should be movable.
WMFunctionMove :: WMFunction

-- | the window should be minimizable.
WMFunctionMinimize :: WMFunction

-- | the window should be maximizable.
WMFunctionMaximize :: WMFunction

-- | the window should be closable.
WMFunctionClose :: WMFunction

-- | Catch-all for unknown values
AnotherWMFunction :: Int -> WMFunction

-- | Used to indicate which fields in the <a>WindowAttr</a> struct should
--   be honored. For example, if you filled in the “cursor” and “x” fields
--   of <a>WindowAttr</a>, pass “<i><tt>gDKWAX</tt></i> |
--   <i><tt>gDKWACURSOR</tt></i>” to <a>windowNew</a>. Fields in
--   <a>WindowAttr</a> not covered by a bit in this enum are required; for
--   example, the <i><tt>width</tt></i>/<i><tt>height</tt></i>,
--   <i><tt>wclass</tt></i>, and <i><tt>windowType</tt></i> fields are
--   required, they have no corresponding flag in
--   <a>WindowAttributesType</a>.
data WindowAttributesType

-- | Honor the title field
WindowAttributesTypeTitle :: WindowAttributesType

-- | Honor the X coordinate field
WindowAttributesTypeX :: WindowAttributesType

-- | Honor the Y coordinate field
WindowAttributesTypeY :: WindowAttributesType

-- | Honor the cursor field
WindowAttributesTypeCursor :: WindowAttributesType

-- | Honor the visual field
WindowAttributesTypeVisual :: WindowAttributesType

-- | Honor the wmclass_class and wmclass_name fields
WindowAttributesTypeWmclass :: WindowAttributesType

-- | Honor the override_redirect field
WindowAttributesTypeNoredir :: WindowAttributesType

-- | Honor the type_hint field
WindowAttributesTypeTypeHint :: WindowAttributesType

-- | Catch-all for unknown values
AnotherWindowAttributesType :: Int -> WindowAttributesType

-- | Used to indicate which fields of a <a>Geometry</a> struct should be
--   paid attention to. Also, the presence/absence of
--   <i><tt>gDKHINTPOS</tt></i>, <i><tt>gDKHINTUSERPOS</tt></i>, and
--   <i><tt>gDKHINTUSERSIZE</tt></i> is significant, though they don't
--   directly refer to <a>Geometry</a> fields.
--   <i><tt>gDKHINTUSERPOS</tt></i> will be set automatically by
--   <tt><i>GtkWindow</i></tt> if you call
--   <tt><i>gtk_window_move()</i></tt>. <i><tt>gDKHINTUSERPOS</tt></i> and
--   <i><tt>gDKHINTUSERSIZE</tt></i> should be set if the user specified a
--   size/position using a --geometry command-line argument;
--   <tt><i>gtk_window_parse_geometry()</i></tt> automatically sets these
--   flags.
data WindowHints

-- | indicates that the program has positioned the window
WindowHintsPos :: WindowHints

-- | min size fields are set
WindowHintsMinSize :: WindowHints

-- | max size fields are set
WindowHintsMaxSize :: WindowHints

-- | base size fields are set
WindowHintsBaseSize :: WindowHints

-- | aspect ratio fields are set
WindowHintsAspect :: WindowHints

-- | resize increment fields are set
WindowHintsResizeInc :: WindowHints

-- | window gravity field is set
WindowHintsWinGravity :: WindowHints

-- | indicates that the window’s position was explicitly set by the user
WindowHintsUserPos :: WindowHints

-- | indicates that the window’s size was explicitly set by the user
WindowHintsUserSize :: WindowHints

-- | Catch-all for unknown values
AnotherWindowHints :: Int -> WindowHints

-- | Specifies the state of a toplevel window.
data WindowState

-- | the window is not shown.
WindowStateWithdrawn :: WindowState

-- | the window is minimized.
WindowStateIconified :: WindowState

-- | the window is maximized.
WindowStateMaximized :: WindowState

-- | the window is sticky.
WindowStateSticky :: WindowState

-- | the window is maximized without decorations.
WindowStateFullscreen :: WindowState

-- | the window is kept above other windows.
WindowStateAbove :: WindowState

-- | the window is kept below other windows.
WindowStateBelow :: WindowState

-- | the window is presented as focused (with active decorations).
WindowStateFocused :: WindowState

-- | the window is in a tiled state, Since 3.10. Since 3.22.23, this is
--   deprecated in favor of per-edge information.
WindowStateTiled :: WindowState

-- | whether the top edge is tiled, Since 3.22.23
WindowStateTopTiled :: WindowState

-- | whether the top edge is resizable, Since 3.22.23
WindowStateTopResizable :: WindowState

-- | whether the right edge is tiled, Since 3.22.23
WindowStateRightTiled :: WindowState

-- | whether the right edge is resizable, Since 3.22.23
WindowStateRightResizable :: WindowState

-- | whether the bottom edge is tiled, Since 3.22.23
WindowStateBottomTiled :: WindowState

-- | whether the bottom edge is resizable, Since 3.22.23
WindowStateBottomResizable :: WindowState

-- | whether the left edge is tiled, Since 3.22.23
WindowStateLeftTiled :: WindowState

-- | whether the left edge is resizable, Since 3.22.23
WindowStateLeftResizable :: WindowState

-- | Catch-all for unknown values
AnotherWindowState :: Int -> WindowState
instance GHC.Classes.Eq GI.Gdk.Flags.AnchorHints
instance GHC.Show.Show GI.Gdk.Flags.AnchorHints
instance GHC.Classes.Eq GI.Gdk.Flags.AxisFlags
instance GHC.Show.Show GI.Gdk.Flags.AxisFlags
instance GHC.Classes.Eq GI.Gdk.Flags.DragAction
instance GHC.Show.Show GI.Gdk.Flags.DragAction
instance GHC.Classes.Eq GI.Gdk.Flags.EventMask
instance GHC.Show.Show GI.Gdk.Flags.EventMask
instance GHC.Classes.Eq GI.Gdk.Flags.FrameClockPhase
instance GHC.Show.Show GI.Gdk.Flags.FrameClockPhase
instance GHC.Classes.Eq GI.Gdk.Flags.ModifierType
instance GHC.Show.Show GI.Gdk.Flags.ModifierType
instance GHC.Classes.Eq GI.Gdk.Flags.SeatCapabilities
instance GHC.Show.Show GI.Gdk.Flags.SeatCapabilities
instance GHC.Classes.Eq GI.Gdk.Flags.WMDecoration
instance GHC.Show.Show GI.Gdk.Flags.WMDecoration
instance GHC.Classes.Eq GI.Gdk.Flags.WMFunction
instance GHC.Show.Show GI.Gdk.Flags.WMFunction
instance GHC.Classes.Eq GI.Gdk.Flags.WindowAttributesType
instance GHC.Show.Show GI.Gdk.Flags.WindowAttributesType
instance GHC.Classes.Eq GI.Gdk.Flags.WindowHints
instance GHC.Show.Show GI.Gdk.Flags.WindowHints
instance GHC.Classes.Eq GI.Gdk.Flags.WindowState
instance GHC.Show.Show GI.Gdk.Flags.WindowState
instance GHC.Enum.Enum GI.Gdk.Flags.AnchorHints
instance GHC.Classes.Ord GI.Gdk.Flags.AnchorHints
instance Data.GI.Base.BasicTypes.BoxedFlags GI.Gdk.Flags.AnchorHints
instance Data.GI.Base.BasicTypes.IsGFlag GI.Gdk.Flags.AnchorHints
instance GHC.Enum.Enum GI.Gdk.Flags.AxisFlags
instance GHC.Classes.Ord GI.Gdk.Flags.AxisFlags
instance Data.GI.Base.BasicTypes.BoxedFlags GI.Gdk.Flags.AxisFlags
instance Data.GI.Base.BasicTypes.IsGFlag GI.Gdk.Flags.AxisFlags
instance GHC.Enum.Enum GI.Gdk.Flags.DragAction
instance GHC.Classes.Ord GI.Gdk.Flags.DragAction
instance Data.GI.Base.BasicTypes.BoxedFlags GI.Gdk.Flags.DragAction
instance Data.GI.Base.BasicTypes.IsGFlag GI.Gdk.Flags.DragAction
instance GHC.Enum.Enum GI.Gdk.Flags.EventMask
instance GHC.Classes.Ord GI.Gdk.Flags.EventMask
instance Data.GI.Base.BasicTypes.BoxedFlags GI.Gdk.Flags.EventMask
instance Data.GI.Base.BasicTypes.IsGFlag GI.Gdk.Flags.EventMask
instance GHC.Enum.Enum GI.Gdk.Flags.FrameClockPhase
instance GHC.Classes.Ord GI.Gdk.Flags.FrameClockPhase
instance Data.GI.Base.BasicTypes.BoxedFlags GI.Gdk.Flags.FrameClockPhase
instance Data.GI.Base.BasicTypes.IsGFlag GI.Gdk.Flags.FrameClockPhase
instance GHC.Enum.Enum GI.Gdk.Flags.ModifierType
instance GHC.Classes.Ord GI.Gdk.Flags.ModifierType
instance Data.GI.Base.BasicTypes.BoxedFlags GI.Gdk.Flags.ModifierType
instance Data.GI.Base.BasicTypes.IsGFlag GI.Gdk.Flags.ModifierType
instance GHC.Enum.Enum GI.Gdk.Flags.SeatCapabilities
instance GHC.Classes.Ord GI.Gdk.Flags.SeatCapabilities
instance Data.GI.Base.BasicTypes.BoxedFlags GI.Gdk.Flags.SeatCapabilities
instance Data.GI.Base.BasicTypes.IsGFlag GI.Gdk.Flags.SeatCapabilities
instance GHC.Enum.Enum GI.Gdk.Flags.WMDecoration
instance GHC.Classes.Ord GI.Gdk.Flags.WMDecoration
instance Data.GI.Base.BasicTypes.BoxedFlags GI.Gdk.Flags.WMDecoration
instance Data.GI.Base.BasicTypes.IsGFlag GI.Gdk.Flags.WMDecoration
instance GHC.Enum.Enum GI.Gdk.Flags.WMFunction
instance GHC.Classes.Ord GI.Gdk.Flags.WMFunction
instance Data.GI.Base.BasicTypes.BoxedFlags GI.Gdk.Flags.WMFunction
instance Data.GI.Base.BasicTypes.IsGFlag GI.Gdk.Flags.WMFunction
instance GHC.Enum.Enum GI.Gdk.Flags.WindowAttributesType
instance GHC.Classes.Ord GI.Gdk.Flags.WindowAttributesType
instance Data.GI.Base.BasicTypes.BoxedFlags GI.Gdk.Flags.WindowAttributesType
instance Data.GI.Base.BasicTypes.IsGFlag GI.Gdk.Flags.WindowAttributesType
instance GHC.Enum.Enum GI.Gdk.Flags.WindowHints
instance GHC.Classes.Ord GI.Gdk.Flags.WindowHints
instance Data.GI.Base.BasicTypes.BoxedFlags GI.Gdk.Flags.WindowHints
instance Data.GI.Base.BasicTypes.IsGFlag GI.Gdk.Flags.WindowHints
instance GHC.Enum.Enum GI.Gdk.Flags.WindowState
instance GHC.Classes.Ord GI.Gdk.Flags.WindowState
instance Data.GI.Base.BasicTypes.BoxedFlags GI.Gdk.Flags.WindowState
instance Data.GI.Base.BasicTypes.IsGFlag GI.Gdk.Flags.WindowState


-- | <a>DevicePad</a> is an interface implemented by devices of type
--   <a>InputSourceTabletPad</a>, it allows querying the features provided
--   by the pad device.
--   
--   Tablet pads may contain one or more groups, each containing a subset
--   of the buttons/rings/strips available. <a>devicePadGetNGroups</a> can
--   be used to obtain the number of groups, <a>devicePadGetNFeatures</a>
--   and <a>devicePadGetFeatureGroup</a> can be combined to find out the
--   number of buttons/rings/strips the device has, and how are they
--   grouped.
--   
--   Each of those groups have different modes, which may be used to map
--   each individual pad feature to multiple actions. Only one mode is
--   effective (current) for each given group, different groups may have
--   different current modes. The number of available modes in a group can
--   be found out through <a>devicePadGetGroupNModes</a>, and the current
--   mode for a given group will be notified through the
--   <a>EventPadGroupMode</a> event.
module GI.Gdk.Interfaces.DevicePad

-- | Memory-managed wrapper type.
newtype DevicePad
DevicePad :: (ManagedPtr DevicePad) -> DevicePad

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>DevicePad</a>.
noDevicePad :: Maybe DevicePad

-- | Type class for types which can be safely cast to <a>DevicePad</a>, for
--   instance with <a>toDevicePad</a>.
class GObject o => IsDevicePad o

-- | Cast to <a>DevicePad</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toDevicePad :: (MonadIO m, IsDevicePad o) => o -> m DevicePad

-- | Returns the group the given <i><tt>feature</tt></i> and
--   <i><tt>idx</tt></i> belong to, or -1 if feature/index do not exist in
--   <i><tt>pad</tt></i>.
--   
--   <i>Since: 3.22</i>
devicePadGetFeatureGroup :: (HasCallStack, MonadIO m, IsDevicePad a) => a -> DevicePadFeature -> Int32 -> m Int32

-- | Returns the number of modes that <i><tt>group</tt></i> may have.
--   
--   <i>Since: 3.22</i>
devicePadGetGroupNModes :: (HasCallStack, MonadIO m, IsDevicePad a) => a -> Int32 -> m Int32

-- | Returns the number of features a tablet pad has.
--   
--   <i>Since: 3.22</i>
devicePadGetNFeatures :: (HasCallStack, MonadIO m, IsDevicePad a) => a -> DevicePadFeature -> m Int32

-- | Returns the number of groups this pad device has. Pads have at least
--   one group. A pad group is a subcollection of buttons/strip/rings that
--   is affected collectively by a same current mode.
--   
--   <i>Since: 3.22</i>
devicePadGetNGroups :: (HasCallStack, MonadIO m, IsDevicePad a) => a -> m Int32
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Interfaces.DevicePad.DevicePad a) => GI.Gdk.Interfaces.DevicePad.IsDevicePad a
instance GI.Gdk.Interfaces.DevicePad.IsDevicePad GI.Gdk.Interfaces.DevicePad.DevicePad
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Interfaces.DevicePad.DevicePad
instance GI.Gdk.Objects.Device.IsDevice GI.Gdk.Interfaces.DevicePad.DevicePad
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Interfaces.DevicePad.DevicePad


module GI.Gdk.Interfaces


-- | <i>No description available in the introspection data.</i>
module GI.Gdk.Objects.DeviceTool

-- | Memory-managed wrapper type.
newtype DeviceTool
DeviceTool :: (ManagedPtr DeviceTool) -> DeviceTool

-- | Type class for types which can be safely cast to <a>DeviceTool</a>,
--   for instance with <a>toDeviceTool</a>.
class GObject o => IsDeviceTool o

-- | Cast to <a>DeviceTool</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toDeviceTool :: (MonadIO m, IsDeviceTool o) => o -> m DeviceTool

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>DeviceTool</a>.
noDeviceTool :: Maybe DeviceTool

-- | Gets the hardware ID of this tool, or 0 if it's not known. When
--   non-zero, the identificator is unique for the given tool model,
--   meaning that two identical tools will share the same
--   <i><tt>hardwareId</tt></i>, but will have different serial numbers
--   (see <a>deviceToolGetSerial</a>).
--   
--   This is a more concrete (and device specific) method to identify a
--   <a>DeviceTool</a> than <a>deviceToolGetToolType</a>, as a tablet may
--   support multiple devices with the same <a>DeviceToolType</a>, but
--   having different hardware identificators.
--   
--   <i>Since: 3.22</i>
deviceToolGetHardwareId :: (HasCallStack, MonadIO m, IsDeviceTool a) => a -> m Word64

-- | Gets the serial of this tool, this value can be used to identify a
--   physical tool (eg. a tablet pen) across program executions.
--   
--   <i>Since: 3.22</i>
deviceToolGetSerial :: (HasCallStack, MonadIO m, IsDeviceTool a) => a -> m Word64

-- | Gets the <a>DeviceToolType</a> of the tool.
--   
--   <i>Since: 3.22</i>
deviceToolGetToolType :: (HasCallStack, MonadIO m, IsDeviceTool a) => a -> m DeviceToolType

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>axes</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructDeviceToolAxes :: (IsDeviceTool o) => [AxisFlags] -> IO (GValueConstruct o)

-- | Get the value of the “<tt>axes</tt>” property. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> deviceTool #axes
--   </pre>
getDeviceToolAxes :: (MonadIO m, IsDeviceTool o) => o -> m [AxisFlags]

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>hardware-id</tt>” property. This is rarely needed directly, but
--   it is used by <a>new</a>.
constructDeviceToolHardwareId :: (IsDeviceTool o) => Word64 -> IO (GValueConstruct o)

-- | Get the value of the “<tt>hardware-id</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> deviceTool #hardwareId
--   </pre>
getDeviceToolHardwareId :: (MonadIO m, IsDeviceTool o) => o -> m Word64

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>serial</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructDeviceToolSerial :: (IsDeviceTool o) => Word64 -> IO (GValueConstruct o)

-- | Get the value of the “<tt>serial</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> deviceTool #serial
--   </pre>
getDeviceToolSerial :: (MonadIO m, IsDeviceTool o) => o -> m Word64

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>tool-type</tt>” property. This is rarely needed directly, but it
--   is used by <a>new</a>.
constructDeviceToolToolType :: (IsDeviceTool o) => DeviceToolType -> IO (GValueConstruct o)

-- | Get the value of the “<tt>tool-type</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> deviceTool #toolType
--   </pre>
getDeviceToolToolType :: (MonadIO m, IsDeviceTool o) => o -> m DeviceToolType
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Objects.DeviceTool.DeviceTool a) => GI.Gdk.Objects.DeviceTool.IsDeviceTool a
instance GI.Gdk.Objects.DeviceTool.IsDeviceTool GI.Gdk.Objects.DeviceTool.DeviceTool
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Objects.DeviceTool.DeviceTool
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Objects.DeviceTool.DeviceTool


-- | In addition to a single pointer and keyboard for user interface input,
--   GDK contains support for a variety of input devices, including
--   graphics tablets, touchscreens and multiple pointers/keyboards
--   interacting simultaneously with the user interface. Such input devices
--   often have additional features, such as sub-pixel positioning
--   information and additional device-dependent information.
--   
--   In order to query the device hierarchy and be aware of changes in the
--   device hierarchy (such as virtual devices being created or removed, or
--   physical devices being plugged or unplugged), GDK provides
--   <a>DeviceManager</a>.
--   
--   By default, and if the platform supports it, GDK is aware of multiple
--   keyboard/pointer pairs and multitouch devices. This behavior can be
--   changed by calling <a>disableMultidevice</a> before
--   <a>displayOpen</a>. There should rarely be a need to do that though,
--   since GDK defaults to a compatibility mode in which it will emit just
--   one enter/leave event pair for all devices on a window. To enable
--   per-device enter/leave events and other multi-pointer interaction
--   features, <a>windowSetSupportMultidevice</a> must be called on
--   <tt><i>GdkWindows</i></tt> (or
--   <tt><i>gtk_widget_set_support_multidevice()</i></tt> on widgets).
--   window. See the <a>windowSetSupportMultidevice</a> documentation for
--   more information.
--   
--   On X11, multi-device support is implemented through XInput 2. Unless
--   <a>disableMultidevice</a> is called, the XInput 2 <a>DeviceManager</a>
--   implementation will be used as the input source. Otherwise either the
--   core or XInput 1 implementations will be used.
--   
--   For simple applications that don’t have any special interest in input
--   devices, the so-called “client pointer” provides a reasonable
--   approximation to a simple setup with a single pointer and keyboard.
--   The device that has been set as the client pointer can be accessed via
--   <a>deviceManagerGetClientPointer</a>.
--   
--   Conceptually, in multidevice mode there are 2 device types. Virtual
--   devices (or master devices) are represented by the pointer cursors and
--   keyboard foci that are seen on the screen. Physical devices (or slave
--   devices) represent the hardware that is controlling the virtual
--   devices, and thus have no visible cursor on the screen.
--   
--   Virtual devices are always paired, so there is a keyboard device for
--   every pointer device. Associations between devices may be inspected
--   through <a>deviceGetAssociatedDevice</a>.
--   
--   There may be several virtual devices, and several physical devices
--   could be controlling each of these virtual devices. Physical devices
--   may also be “floating”, which means they are not attached to any
--   virtual device.
--   
--   <h1>Master and slave devices</h1>
--   
--   <pre>
--   carlos@sacarino:~$ xinput list
--   ⎡ Virtual core pointer                          id=2    [master pointer  (3)]
--   ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
--   ⎜   ↳ Wacom ISDv4 E6 Pen stylus                 id=10   [slave  pointer  (2)]
--   ⎜   ↳ Wacom ISDv4 E6 Finger touch               id=11   [slave  pointer  (2)]
--   ⎜   ↳ SynPS/2 Synaptics TouchPad                id=13   [slave  pointer  (2)]
--   ⎜   ↳ TPPS/2 IBM TrackPoint                     id=14   [slave  pointer  (2)]
--   ⎜   ↳ Wacom ISDv4 E6 Pen eraser                 id=16   [slave  pointer  (2)]
--   ⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
--       ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
--       ↳ Power Button                              id=6    [slave  keyboard (3)]
--       ↳ Video Bus                                 id=7    [slave  keyboard (3)]
--       ↳ Sleep Button                              id=8    [slave  keyboard (3)]
--       ↳ Integrated Camera                         id=9    [slave  keyboard (3)]
--       ↳ AT Translated Set 2 keyboard              id=12   [slave  keyboard (3)]
--       ↳ ThinkPad Extra Buttons                    id=15   [slave  keyboard (3)]
--   </pre>
--   
--   By default, GDK will automatically listen for events coming from all
--   master devices, setting the <a>Device</a> for all events coming from
--   input devices. Events containing device information are
--   <tt><i>GDK_MOTION_NOTIFY</i></tt>, <tt><i>GDK_BUTTON_PRESS</i></tt>,
--   <tt><i>GDK_2BUTTON_PRESS</i></tt>, <tt><i>GDK_3BUTTON_PRESS</i></tt>,
--   <tt><i>GDK_BUTTON_RELEASE</i></tt>, <tt><i>GDK_SCROLL</i></tt>,
--   <tt><i>GDK_KEY_PRESS</i></tt>, <tt><i>GDK_KEY_RELEASE</i></tt>,
--   <tt><i>GDK_ENTER_NOTIFY</i></tt>, <tt><i>GDK_LEAVE_NOTIFY</i></tt>,
--   <tt><i>GDK_FOCUS_CHANGE</i></tt>, <tt><i>GDK_PROXIMITY_IN</i></tt>,
--   <tt><i>GDK_PROXIMITY_OUT</i></tt>, <tt><i>GDK_DRAG_ENTER</i></tt>,
--   <tt><i>GDK_DRAG_LEAVE</i></tt>, <tt><i>GDK_DRAG_MOTION</i></tt>,
--   <tt><i>GDK_DRAG_STATUS</i></tt>, <tt><i>GDK_DROP_START</i></tt>,
--   <tt><i>GDK_DROP_FINISHED</i></tt> and <tt><i>GDK_GRAB_BROKEN</i></tt>.
--   When dealing with an event on a master device, it is possible to get
--   the source (slave) device that the event originated from via
--   <a>eventGetSourceDevice</a>.
--   
--   On a standard session, all physical devices are connected by default
--   to the "Virtual Core Pointer/Keyboard" master devices, hence routing
--   all events through these. This behavior is only modified by device
--   grabs, where the slave device is temporarily detached for as long as
--   the grab is held, and more permanently by user modifications to the
--   device hierarchy.
--   
--   On certain application specific setups, it may make sense to detach a
--   physical device from its master pointer, and mapping it to an specific
--   window. This can be achieved by the combination of <a>deviceGrab</a>
--   and <a>deviceSetMode</a>.
--   
--   In order to listen for events coming from devices other than a virtual
--   device, <a>windowSetDeviceEvents</a> must be called. Generally, this
--   function can be used to modify the event mask for any given device.
--   
--   Input devices may also provide additional information besides X/Y. For
--   example, graphics tablets may also provide pressure and X/Y tilt
--   information. This information is device-dependent, and may be queried
--   through <tt><i>gdk_device_get_axis()</i></tt>. In multidevice mode,
--   virtual devices will change axes in order to always represent the
--   physical device that is routing events through it. Whenever the
--   physical device changes, the <a>Device</a>:<tt><i>n-axes</i></tt>
--   property will be notified, and <a>deviceListAxes</a> will return the
--   new device axes.
--   
--   Devices may also have associated “keys” or macro buttons. Such keys
--   can be globally set to map into normal X keyboard events. The mapping
--   is set using <a>deviceSetKey</a>.
--   
--   In GTK+ 3.20, a new <a>Seat</a> object has been introduced that
--   supersedes <a>DeviceManager</a> and should be preferred in newly
--   written code.
module GI.Gdk.Objects.DeviceManager

-- | Memory-managed wrapper type.
newtype DeviceManager
DeviceManager :: (ManagedPtr DeviceManager) -> DeviceManager

-- | Type class for types which can be safely cast to <a>DeviceManager</a>,
--   for instance with <a>toDeviceManager</a>.
class GObject o => IsDeviceManager o

-- | Cast to <a>DeviceManager</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toDeviceManager :: (MonadIO m, IsDeviceManager o) => o -> m DeviceManager

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>DeviceManager</a>.
noDeviceManager :: Maybe DeviceManager

-- | Returns the client pointer, that is, the master pointer that acts as
--   the core pointer for this application. In X11, window managers may
--   change this depending on the interaction pattern under the presence of
--   several pointers.
--   
--   You should use this function seldomly, only in code that isn’t
--   triggered by a <a>Event</a> and there aren’t other means to get a
--   meaningful <a>Device</a> to operate on.
--   
--   <i>Since: 3.0</i>

-- | <i>Deprecated: (Since version 3.20)Use <a>seatGetPointer</a>
--   instead.</i>
deviceManagerGetClientPointer :: (HasCallStack, MonadIO m, IsDeviceManager a) => a -> m Device

-- | Gets the <a>Display</a> associated to <i><tt>deviceManager</tt></i>.
--   
--   <i>Since: 3.0</i>
deviceManagerGetDisplay :: (HasCallStack, MonadIO m, IsDeviceManager a) => a -> m (Maybe Display)

-- | Returns the list of devices of type <i><tt>type</tt></i> currently
--   attached to <i><tt>deviceManager</tt></i>.
--   
--   <i>Since: 3.0</i>

-- | <i>Deprecated: (Since version 3.20), use <a>seatGetPointer</a>,
--   <a>seatGetKeyboard</a> and <a>seatGetSlaves</a> instead.</i>
deviceManagerListDevices :: (HasCallStack, MonadIO m, IsDeviceManager a) => a -> DeviceType -> m [Device]

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>display</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructDeviceManagerDisplay :: (IsDeviceManager o, IsDisplay a) => a -> IO (GValueConstruct o)

-- | Get the value of the “<tt>display</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> deviceManager #display
--   </pre>
getDeviceManagerDisplay :: (MonadIO m, IsDeviceManager o) => o -> m (Maybe Display)

-- | Type for the callback on the (unwrapped) C side.
type C_DeviceManagerDeviceAddedCallback = Ptr () -> Ptr Device -> Ptr () -> IO ()

-- | The ::device-added signal is emitted either when a new master pointer
--   is created, or when a slave (Hardware) input device is plugged in.
type DeviceManagerDeviceAddedCallback = Device  /@device@/: the newly added 'GI.Gdk.Objects.Device.Device'.  -> IO ()

-- | Connect a signal handler for the “<tt>device-added</tt>” signal, to be
--   run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> deviceManager #deviceAdded callback
--   </pre>
afterDeviceManagerDeviceAdded :: (IsDeviceManager a, MonadIO m) => a -> DeviceManagerDeviceAddedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_DeviceManagerDeviceAdded :: DeviceManagerDeviceAddedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_DeviceManagerDeviceAddedCallback</a>.
mk_DeviceManagerDeviceAddedCallback :: C_DeviceManagerDeviceAddedCallback -> IO (FunPtr C_DeviceManagerDeviceAddedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>DeviceManagerDeviceAddedCallback</a></tt>.
noDeviceManagerDeviceAddedCallback :: Maybe DeviceManagerDeviceAddedCallback

-- | Connect a signal handler for the “<tt>device-added</tt>” signal, to be
--   run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> deviceManager #deviceAdded callback
--   </pre>
onDeviceManagerDeviceAdded :: (IsDeviceManager a, MonadIO m) => a -> DeviceManagerDeviceAddedCallback -> m SignalHandlerId

-- | Wrap a <a>DeviceManagerDeviceAddedCallback</a> into a
--   <a>C_DeviceManagerDeviceAddedCallback</a>.
wrap_DeviceManagerDeviceAddedCallback :: DeviceManagerDeviceAddedCallback -> C_DeviceManagerDeviceAddedCallback

-- | Type for the callback on the (unwrapped) C side.
type C_DeviceManagerDeviceChangedCallback = Ptr () -> Ptr Device -> Ptr () -> IO ()

-- | The ::device-changed signal is emitted whenever a device has changed
--   in the hierarchy, either slave devices being disconnected from their
--   master device or connected to another one, or master devices being
--   added or removed a slave device.
--   
--   If a slave device is detached from all master devices
--   (<a>deviceGetAssociatedDevice</a> returns <a>Nothing</a>), its
--   <a>DeviceType</a> will change to <a>DeviceTypeFloating</a>, if it's
--   attached, it will change to <a>DeviceTypeSlave</a>.
type DeviceManagerDeviceChangedCallback = Device  /@device@/: the 'GI.Gdk.Objects.Device.Device' that changed.  -> IO ()

-- | Connect a signal handler for the “<tt>device-changed</tt>” signal, to
--   be run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> deviceManager #deviceChanged callback
--   </pre>
afterDeviceManagerDeviceChanged :: (IsDeviceManager a, MonadIO m) => a -> DeviceManagerDeviceChangedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_DeviceManagerDeviceChanged :: DeviceManagerDeviceChangedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_DeviceManagerDeviceChangedCallback</a>.
mk_DeviceManagerDeviceChangedCallback :: C_DeviceManagerDeviceChangedCallback -> IO (FunPtr C_DeviceManagerDeviceChangedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>DeviceManagerDeviceChangedCallback</a></tt>.
noDeviceManagerDeviceChangedCallback :: Maybe DeviceManagerDeviceChangedCallback

-- | Connect a signal handler for the “<tt>device-changed</tt>” signal, to
--   be run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> deviceManager #deviceChanged callback
--   </pre>
onDeviceManagerDeviceChanged :: (IsDeviceManager a, MonadIO m) => a -> DeviceManagerDeviceChangedCallback -> m SignalHandlerId

-- | Wrap a <a>DeviceManagerDeviceChangedCallback</a> into a
--   <a>C_DeviceManagerDeviceChangedCallback</a>.
wrap_DeviceManagerDeviceChangedCallback :: DeviceManagerDeviceChangedCallback -> C_DeviceManagerDeviceChangedCallback

-- | Type for the callback on the (unwrapped) C side.
type C_DeviceManagerDeviceRemovedCallback = Ptr () -> Ptr Device -> Ptr () -> IO ()

-- | The ::device-removed signal is emitted either when a master pointer is
--   removed, or when a slave (Hardware) input device is unplugged.
type DeviceManagerDeviceRemovedCallback = Device  /@device@/: the just removed 'GI.Gdk.Objects.Device.Device'.  -> IO ()

-- | Connect a signal handler for the “<tt>device-removed</tt>” signal, to
--   be run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> deviceManager #deviceRemoved callback
--   </pre>
afterDeviceManagerDeviceRemoved :: (IsDeviceManager a, MonadIO m) => a -> DeviceManagerDeviceRemovedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_DeviceManagerDeviceRemoved :: DeviceManagerDeviceRemovedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_DeviceManagerDeviceRemovedCallback</a>.
mk_DeviceManagerDeviceRemovedCallback :: C_DeviceManagerDeviceRemovedCallback -> IO (FunPtr C_DeviceManagerDeviceRemovedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>DeviceManagerDeviceRemovedCallback</a></tt>.
noDeviceManagerDeviceRemovedCallback :: Maybe DeviceManagerDeviceRemovedCallback

-- | Connect a signal handler for the “<tt>device-removed</tt>” signal, to
--   be run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> deviceManager #deviceRemoved callback
--   </pre>
onDeviceManagerDeviceRemoved :: (IsDeviceManager a, MonadIO m) => a -> DeviceManagerDeviceRemovedCallback -> m SignalHandlerId

-- | Wrap a <a>DeviceManagerDeviceRemovedCallback</a> into a
--   <a>C_DeviceManagerDeviceRemovedCallback</a>.
wrap_DeviceManagerDeviceRemovedCallback :: DeviceManagerDeviceRemovedCallback -> C_DeviceManagerDeviceRemovedCallback
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Objects.DeviceManager.DeviceManager a) => GI.Gdk.Objects.DeviceManager.IsDeviceManager a
instance GI.Gdk.Objects.DeviceManager.IsDeviceManager GI.Gdk.Objects.DeviceManager.DeviceManager
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Objects.DeviceManager.DeviceManager
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Objects.DeviceManager.DeviceManager


-- | A <a>Cursor</a> represents a cursor. Its contents are private.
module GI.Gdk.Objects.Cursor

-- | Memory-managed wrapper type.
newtype Cursor
Cursor :: (ManagedPtr Cursor) -> Cursor

-- | Type class for types which can be safely cast to <a>Cursor</a>, for
--   instance with <a>toCursor</a>.
class GObject o => IsCursor o

-- | Cast to <a>Cursor</a>, for types for which this is known to be safe.
--   For general casts, use <a>castTo</a>.
toCursor :: (MonadIO m, IsCursor o) => o -> m Cursor

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a> <a>Cursor</a>.
noCursor :: Maybe Cursor

-- | Returns the cursor type for this cursor.
--   
--   <i>Since: 2.22</i>
cursorGetCursorType :: (HasCallStack, MonadIO m, IsCursor a) => a -> m CursorType

-- | Returns the display on which the <a>Cursor</a> is defined.
--   
--   <i>Since: 2.2</i>
cursorGetDisplay :: (HasCallStack, MonadIO m, IsCursor a) => a -> m Display

-- | Returns a <a>Pixbuf</a> with the image used to display the cursor.
--   
--   Note that depending on the capabilities of the windowing system and on
--   the cursor, GDK may not be able to obtain the image data. In this
--   case, <a>Nothing</a> is returned.
--   
--   <i>Since: 2.8</i>
cursorGetImage :: (HasCallStack, MonadIO m, IsCursor a) => a -> m (Maybe Pixbuf)

-- | Returns a cairo image surface with the image used to display the
--   cursor.
--   
--   Note that depending on the capabilities of the windowing system and on
--   the cursor, GDK may not be able to obtain the image data. In this
--   case, <a>Nothing</a> is returned.
--   
--   <i>Since: 3.10</i>
cursorGetSurface :: (HasCallStack, MonadIO m, IsCursor a) => a -> m ((Maybe Surface, Double, Double))

-- | Creates a new cursor from the set of builtin cursors for the default
--   display. See <a>cursorNewForDisplay</a>.
--   
--   To make the cursor invisible, use <a>CursorTypeBlankCursor</a>.

-- | <i>Deprecated: (Since version 3.16)Use <a>cursorNewForDisplay</a>
--   instead.</i>
cursorNew :: (HasCallStack, MonadIO m) => CursorType -> m Cursor

-- | Creates a new cursor from the set of builtin cursors.
--   
--   <i>Since: 2.2</i>
cursorNewForDisplay :: (HasCallStack, MonadIO m, IsDisplay a) => a -> CursorType -> m Cursor

-- | Creates a new cursor by looking up <i><tt>name</tt></i> in the current
--   cursor theme.
--   
--   A recommended set of cursor names that will work across different
--   platforms can be found in the CSS specification:
--   
--   <ul>
--   <li>"none"</li>
--   <li>"default"</li>
--   <li>"help"</li>
--   <li>"pointer"</li>
--   <li>"context-menu"</li>
--   <li>"progress"</li>
--   <li>"wait"</li>
--   <li>"cell"</li>
--   <li>"crosshair"</li>
--   <li>"text"</li>
--   <li>"vertical-text"</li>
--   <li>"alias"</li>
--   <li>"copy"</li>
--   <li>"no-drop"</li>
--   <li>"move"</li>
--   <li>"not-allowed"</li>
--   <li>"grab"</li>
--   <li>"grabbing"</li>
--   <li>"all-scroll"</li>
--   <li>"col-resize"</li>
--   <li>"row-resize"</li>
--   <li>"n-resize"</li>
--   <li>"e-resize"</li>
--   <li>"s-resize"</li>
--   <li>"w-resize"</li>
--   <li>"ne-resize"</li>
--   <li>"nw-resize"</li>
--   <li>"sw-resize"</li>
--   <li>"se-resize"</li>
--   <li>"ew-resize"</li>
--   <li>"ns-resize"</li>
--   <li>"nesw-resize"</li>
--   <li>"nwse-resize"</li>
--   <li>"zoom-in"</li>
--   <li>"zoom-out"</li>
--   </ul>
--   
--   <i>Since: 2.8</i>
cursorNewFromName :: (HasCallStack, MonadIO m, IsDisplay a) => a -> Text -> m (Maybe Cursor)

-- | Creates a new cursor from a pixbuf.
--   
--   Not all GDK backends support RGBA cursors. If they are not supported,
--   a monochrome approximation will be displayed. The functions
--   <a>displaySupportsCursorAlpha</a> and
--   <a>displaySupportsCursorColor</a> can be used to determine whether
--   RGBA cursors are supported; <a>displayGetDefaultCursorSize</a> and
--   <a>displayGetMaximalCursorSize</a> give information about cursor
--   sizes.
--   
--   If <i><tt>x</tt></i> or <i><tt>y</tt></i> are <tt>-1</tt>, the pixbuf
--   must have options named “x_hot” and “y_hot”, resp., containing integer
--   values between <tt>0</tt> and the width resp. height of the pixbuf.
--   (Since: 3.0)
--   
--   On the X backend, support for RGBA cursors requires a sufficently new
--   version of the X Render extension.
--   
--   <i>Since: 2.4</i>
cursorNewFromPixbuf :: (HasCallStack, MonadIO m, IsDisplay a, IsPixbuf b) => a -> b -> Int32 -> Int32 -> m Cursor

-- | Creates a new cursor from a cairo image surface.
--   
--   Not all GDK backends support RGBA cursors. If they are not supported,
--   a monochrome approximation will be displayed. The functions
--   <a>displaySupportsCursorAlpha</a> and
--   <a>displaySupportsCursorColor</a> can be used to determine whether
--   RGBA cursors are supported; <a>displayGetDefaultCursorSize</a> and
--   <a>displayGetMaximalCursorSize</a> give information about cursor
--   sizes.
--   
--   On the X backend, support for RGBA cursors requires a sufficently new
--   version of the X Render extension.
--   
--   <i>Since: 3.10</i>
cursorNewFromSurface :: (HasCallStack, MonadIO m, IsDisplay a) => a -> Surface -> Double -> Double -> m Cursor

-- | Adds a reference to <i><tt>cursor</tt></i>.

-- | <i>Deprecated: (Since version 3.0)Use <a>objectRef</a> instead</i>
cursorRef :: (HasCallStack, MonadIO m, IsCursor a) => a -> m Cursor

-- | Removes a reference from <i><tt>cursor</tt></i>, deallocating the
--   cursor if no references remain.

-- | <i>Deprecated: (Since version 3.0)Use <a>objectUnref</a> instead</i>
cursorUnref :: (HasCallStack, MonadIO m, IsCursor a) => a -> m ()

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>cursor-type</tt>” property. This is rarely needed directly, but
--   it is used by <a>new</a>.
constructCursorCursorType :: (IsCursor o) => CursorType -> IO (GValueConstruct o)

-- | Get the value of the “<tt>cursor-type</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> cursor #cursorType
--   </pre>
getCursorCursorType :: (MonadIO m, IsCursor o) => o -> m CursorType

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>display</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructCursorDisplay :: (IsCursor o, IsDisplay a) => a -> IO (GValueConstruct o)

-- | Get the value of the “<tt>display</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> cursor #display
--   </pre>
getCursorDisplay :: (MonadIO m, IsCursor o) => o -> m Display
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Objects.Cursor.Cursor a) => GI.Gdk.Objects.Cursor.IsCursor a
instance GI.Gdk.Objects.Cursor.IsCursor GI.Gdk.Objects.Cursor.Cursor
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Objects.Cursor.Cursor
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Objects.Cursor.Cursor


-- | The purpose of the <a>DisplayManager</a> singleton object is to offer
--   notification when displays appear or disappear or the default display
--   changes.
--   
--   You can use <a>displayManagerGet</a> to obtain the
--   <a>DisplayManager</a> singleton, but that should be rarely necessary.
--   Typically, initializing GTK+ opens a display that you can work with
--   without ever accessing the <a>DisplayManager</a>.
--   
--   The GDK library can be built with support for multiple backends. The
--   <a>DisplayManager</a> object determines which backend is used at
--   runtime.
--   
--   When writing backend-specific code that is supposed to work with
--   multiple GDK backends, you have to consider both compile time and
--   runtime. At compile time, use the <tt><i>GDK_WINDOWING_X11</i></tt>,
--   <tt><i>GDK_WINDOWING_WIN32</i></tt> macros, etc. to find out which
--   backends are present in the GDK library you are building your
--   application against. At runtime, use type-check macros like
--   <tt><i>GDK_IS_X11_DISPLAY()</i></tt> to find out which backend is in
--   use:
--   
--   ## {<tt><i>backend</i></tt>-specific}
--   
--   <h3><i>C code</i></h3>
--   
--   <pre>
--   #ifdef GDK_WINDOWING_X11
--     if (GDK_IS_X11_DISPLAY (display))
--       {
--         // make X11-specific calls here
--       }
--     else
--   #endif
--   #ifdef GDK_WINDOWING_QUARTZ
--     if (GDK_IS_QUARTZ_DISPLAY (display))
--       {
--         // make Quartz-specific calls here
--       }
--     else
--   #endif
--     g_error ("Unsupported GDK backend");
--   </pre>
module GI.Gdk.Objects.DisplayManager

-- | Memory-managed wrapper type.
newtype DisplayManager
DisplayManager :: (ManagedPtr DisplayManager) -> DisplayManager

-- | Type class for types which can be safely cast to
--   <a>DisplayManager</a>, for instance with <a>toDisplayManager</a>.
class GObject o => IsDisplayManager o

-- | Cast to <a>DisplayManager</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toDisplayManager :: (MonadIO m, IsDisplayManager o) => o -> m DisplayManager

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>DisplayManager</a>.
noDisplayManager :: Maybe DisplayManager

-- | Gets the singleton <a>DisplayManager</a> object.
--   
--   When called for the first time, this function consults the
--   <tt>GDK_BACKEND</tt> environment variable to find out which of the
--   supported GDK backends to use (in case GDK has been compiled with
--   multiple backends). Applications can use <a>setAllowedBackends</a> to
--   limit what backends can be used.
--   
--   <i>Since: 2.2</i>
displayManagerGet :: (HasCallStack, MonadIO m) => m DisplayManager

-- | Gets the default <a>Display</a>.
--   
--   <i>Since: 2.2</i>
displayManagerGetDefaultDisplay :: (HasCallStack, MonadIO m, IsDisplayManager a) => a -> m (Maybe Display)

-- | List all currently open displays.
--   
--   <i>Since: 2.2</i>
displayManagerListDisplays :: (HasCallStack, MonadIO m, IsDisplayManager a) => a -> m [Display]

-- | Opens a display.
--   
--   <i>Since: 3.0</i>
displayManagerOpenDisplay :: (HasCallStack, MonadIO m, IsDisplayManager a) => a -> Text -> m (Maybe Display)

-- | Sets <i><tt>display</tt></i> as the default display.
--   
--   <i>Since: 2.2</i>
displayManagerSetDefaultDisplay :: (HasCallStack, MonadIO m, IsDisplayManager a, IsDisplay b) => a -> b -> m ()

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>default-display</tt>” property. This is rarely needed directly,
--   but it is used by <a>new</a>.
constructDisplayManagerDefaultDisplay :: (IsDisplayManager o, IsDisplay a) => a -> IO (GValueConstruct o)

-- | Get the value of the “<tt>default-display</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> displayManager #defaultDisplay
--   </pre>
getDisplayManagerDefaultDisplay :: (MonadIO m, IsDisplayManager o) => o -> m (Maybe Display)

-- | Set the value of the “<tt>default-display</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> displayManager [ #defaultDisplay <a>:=</a> value ]
--   </pre>
setDisplayManagerDefaultDisplay :: (MonadIO m, IsDisplayManager o, IsDisplay a) => o -> a -> m ()

-- | Type for the callback on the (unwrapped) C side.
type C_DisplayManagerDisplayOpenedCallback = Ptr () -> Ptr Display -> Ptr () -> IO ()

-- | The ::display-opened signal is emitted when a display is opened.
--   
--   <i>Since: 2.2</i>
type DisplayManagerDisplayOpenedCallback = Display  /@display@/: the opened display  -> IO ()

-- | Connect a signal handler for the “<tt>display-opened</tt>” signal, to
--   be run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> displayManager #displayOpened callback
--   </pre>
afterDisplayManagerDisplayOpened :: (IsDisplayManager a, MonadIO m) => a -> DisplayManagerDisplayOpenedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_DisplayManagerDisplayOpened :: DisplayManagerDisplayOpenedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_DisplayManagerDisplayOpenedCallback</a>.
mk_DisplayManagerDisplayOpenedCallback :: C_DisplayManagerDisplayOpenedCallback -> IO (FunPtr C_DisplayManagerDisplayOpenedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>DisplayManagerDisplayOpenedCallback</a></tt>.
noDisplayManagerDisplayOpenedCallback :: Maybe DisplayManagerDisplayOpenedCallback

-- | Connect a signal handler for the “<tt>display-opened</tt>” signal, to
--   be run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> displayManager #displayOpened callback
--   </pre>
onDisplayManagerDisplayOpened :: (IsDisplayManager a, MonadIO m) => a -> DisplayManagerDisplayOpenedCallback -> m SignalHandlerId

-- | Wrap a <a>DisplayManagerDisplayOpenedCallback</a> into a
--   <a>C_DisplayManagerDisplayOpenedCallback</a>.
wrap_DisplayManagerDisplayOpenedCallback :: DisplayManagerDisplayOpenedCallback -> C_DisplayManagerDisplayOpenedCallback
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Objects.DisplayManager.DisplayManager a) => GI.Gdk.Objects.DisplayManager.IsDisplayManager a
instance GI.Gdk.Objects.DisplayManager.IsDisplayManager GI.Gdk.Objects.DisplayManager.DisplayManager
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Objects.DisplayManager.DisplayManager
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Objects.DisplayManager.DisplayManager


-- | GdkAppLaunchContext is an implementation of <a>AppLaunchContext</a>
--   that handles launching an application in a graphical context. It
--   provides startup notification and allows to launch applications on a
--   specific screen or workspace.
--   
--   <h2>Launching an application</h2>
--   
--   <h3><i>C code</i></h3>
--   
--   <pre>
--   GdkAppLaunchContext *context;
--   
--   context = gdk_display_get_app_launch_context (display);
--   
--   gdk_app_launch_context_set_screen (screen);
--   gdk_app_launch_context_set_timestamp (event-&gt;time);
--   
--   if (!g_app_info_launch_default_for_uri ("http://www.gtk.org", context, &amp;error))
--     g_warning ("Launching failed: %s\n", error-&gt;message);
--   
--   g_object_unref (context);
--   </pre>
module GI.Gdk.Objects.AppLaunchContext

-- | Memory-managed wrapper type.
newtype AppLaunchContext
AppLaunchContext :: (ManagedPtr AppLaunchContext) -> AppLaunchContext

-- | Type class for types which can be safely cast to
--   <a>AppLaunchContext</a>, for instance with <a>toAppLaunchContext</a>.
class GObject o => IsAppLaunchContext o

-- | Cast to <a>AppLaunchContext</a>, for types for which this is known to
--   be safe. For general casts, use <a>castTo</a>.
toAppLaunchContext :: (MonadIO m, IsAppLaunchContext o) => o -> m AppLaunchContext

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>AppLaunchContext</a>.
noAppLaunchContext :: Maybe AppLaunchContext

-- | Creates a new <a>AppLaunchContext</a>.
--   
--   <i>Since: 2.14</i>

-- | <i>Deprecated: (Since version 3.0)Use
--   <a>displayGetAppLaunchContext</a> instead</i>
appLaunchContextNew :: (HasCallStack, MonadIO m) => m AppLaunchContext

-- | Sets the workspace on which applications will be launched when using
--   this context when running under a window manager that supports
--   multiple workspaces, as described in the <a>Extended Window Manager
--   Hints</a>.
--   
--   When the workspace is not specified or <i><tt>desktop</tt></i> is set
--   to -1, it is up to the window manager to pick one, typically it will
--   be the current workspace.
--   
--   <i>Since: 2.14</i>
appLaunchContextSetDesktop :: (HasCallStack, MonadIO m, IsAppLaunchContext a) => a -> Int32 -> m ()

-- | Sets the display on which applications will be launched when using
--   this context. See also <a>appLaunchContextSetScreen</a>.
--   
--   <i>Since: 2.14</i>

-- | <i>Deprecated: (Since version 3.0)Use
--   <a>displayGetAppLaunchContext</a> instead</i>
appLaunchContextSetDisplay :: (HasCallStack, MonadIO m, IsAppLaunchContext a, IsDisplay b) => a -> b -> m ()

-- | Sets the icon for applications that are launched with this context.
--   
--   Window Managers can use this information when displaying startup
--   notification.
--   
--   See also <a>appLaunchContextSetIconName</a>.
--   
--   <i>Since: 2.14</i>
appLaunchContextSetIcon :: (HasCallStack, MonadIO m, IsAppLaunchContext a, IsIcon b) => a -> Maybe (b) -> m ()

-- | Sets the icon for applications that are launched with this context.
--   The <i><tt>iconName</tt></i> will be interpreted in the same way as
--   the Icon field in desktop files. See also
--   <a>appLaunchContextSetIcon</a>.
--   
--   If both <i><tt>icon</tt></i> and <i><tt>iconName</tt></i> are set, the
--   <i><tt>iconName</tt></i> takes priority. If neither
--   <i><tt>icon</tt></i> or <i><tt>iconName</tt></i> is set, the icon is
--   taken from either the file that is passed to launched application or
--   from the <a>AppInfo</a> for the launched application itself.
--   
--   <i>Since: 2.14</i>
appLaunchContextSetIconName :: (HasCallStack, MonadIO m, IsAppLaunchContext a) => a -> Maybe (Text) -> m ()

-- | Sets the screen on which applications will be launched when using this
--   context. See also <a>appLaunchContextSetDisplay</a>.
--   
--   If both <i><tt>screen</tt></i> and <i><tt>display</tt></i> are set,
--   the <i><tt>screen</tt></i> takes priority. If neither
--   <i><tt>screen</tt></i> or <i><tt>display</tt></i> are set, the default
--   screen and display are used.
--   
--   <i>Since: 2.14</i>
appLaunchContextSetScreen :: (HasCallStack, MonadIO m, IsAppLaunchContext a, IsScreen b) => a -> b -> m ()

-- | Sets the timestamp of <i><tt>context</tt></i>. The timestamp should
--   ideally be taken from the event that triggered the launch.
--   
--   Window managers can use this information to avoid moving the focus to
--   the newly launched application when the user is busy typing in another
--   window. This is also known as 'focus stealing prevention'.
--   
--   <i>Since: 2.14</i>
appLaunchContextSetTimestamp :: (HasCallStack, MonadIO m, IsAppLaunchContext a) => a -> Word32 -> m ()

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>display</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructAppLaunchContextDisplay :: (IsAppLaunchContext o, IsDisplay a) => a -> IO (GValueConstruct o)

-- | Get the value of the “<tt>display</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> appLaunchContext #display
--   </pre>
getAppLaunchContextDisplay :: (MonadIO m, IsAppLaunchContext o) => o -> m (Maybe Display)
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Objects.AppLaunchContext.AppLaunchContext a) => GI.Gdk.Objects.AppLaunchContext.IsAppLaunchContext a
instance GI.Gdk.Objects.AppLaunchContext.IsAppLaunchContext GI.Gdk.Objects.AppLaunchContext.AppLaunchContext
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Objects.AppLaunchContext.AppLaunchContext
instance GI.Gio.Objects.AppLaunchContext.IsAppLaunchContext GI.Gdk.Objects.AppLaunchContext.AppLaunchContext
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Objects.AppLaunchContext.AppLaunchContext


-- | A <a>Visual</a> contains information about a particular visual.
module GI.Gdk.Objects.Visual

-- | Memory-managed wrapper type.
newtype Visual
Visual :: (ManagedPtr Visual) -> Visual

-- | Type class for types which can be safely cast to <a>Visual</a>, for
--   instance with <a>toVisual</a>.
class GObject o => IsVisual o

-- | Cast to <a>Visual</a>, for types for which this is known to be safe.
--   For general casts, use <a>castTo</a>.
toVisual :: (MonadIO m, IsVisual o) => o -> m Visual

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a> <a>Visual</a>.
noVisual :: Maybe Visual

-- | Get the visual with the most available colors for the default GDK
--   screen. The return value should not be freed.

-- | <i>Deprecated: (Since version 3.22)Visual selection should be done
--   using <a>screenGetSystemVisual</a> and <a>screenGetRgbaVisual</a></i>
visualGetBest :: (HasCallStack, MonadIO m) => m Visual

-- | Get the best available depth for the default GDK screen. “Best” means
--   “largest,” i.e. 32 preferred over 24 preferred over 8 bits per pixel.

-- | <i>Deprecated: (Since version 3.22)Visual selection should be done
--   using <a>screenGetSystemVisual</a> and <a>screenGetRgbaVisual</a></i>
visualGetBestDepth :: (HasCallStack, MonadIO m) => m Int32

-- | Return the best available visual type for the default GDK screen.

-- | <i>Deprecated: (Since version 3.22)Visual selection should be done
--   using <a>screenGetSystemVisual</a> and <a>screenGetRgbaVisual</a></i>
visualGetBestType :: (HasCallStack, MonadIO m) => m VisualType

-- | Combines <a>visualGetBestWithDepth</a> and
--   <a>visualGetBestWithType</a>.

-- | <i>Deprecated: (Since version 3.22)Visual selection should be done
--   using <a>screenGetSystemVisual</a> and <a>screenGetRgbaVisual</a></i>
visualGetBestWithBoth :: (HasCallStack, MonadIO m) => Int32 -> VisualType -> m (Maybe Visual)

-- | Get the best visual with depth <i><tt>depth</tt></i> for the default
--   GDK screen. Color visuals and visuals with mutable colormaps are
--   preferred over grayscale or fixed-colormap visuals. The return value
--   should not be freed. <a>Nothing</a> may be returned if no visual
--   supports <i><tt>depth</tt></i>.

-- | <i>Deprecated: (Since version 3.22)Visual selection should be done
--   using <a>screenGetSystemVisual</a> and <a>screenGetRgbaVisual</a></i>
visualGetBestWithDepth :: (HasCallStack, MonadIO m) => Int32 -> m Visual

-- | Get the best visual of the given <i><tt>visualType</tt></i> for the
--   default GDK screen. Visuals with higher color depths are considered
--   better. The return value should not be freed. <a>Nothing</a> may be
--   returned if no visual has type <i><tt>visualType</tt></i>.

-- | <i>Deprecated: (Since version 3.22)Visual selection should be done
--   using <a>screenGetSystemVisual</a> and <a>screenGetRgbaVisual</a></i>
visualGetBestWithType :: (HasCallStack, MonadIO m) => VisualType -> m Visual

-- | Returns the number of significant bits per red, green and blue value.
--   
--   Not all GDK backend provide a meaningful value for this function.
--   
--   <i>Since: 2.22</i>

-- | <i>Deprecated: (Since version 3.22.)Use
--   <a>visualGetRedPixelDetails</a> and its variants to learn about the
--   pixel layout of TrueColor and DirectColor visuals</i>
visualGetBitsPerRgb :: (HasCallStack, MonadIO m, IsVisual a) => a -> m Int32

-- | Obtains values that are needed to calculate blue pixel values in
--   TrueColor and DirectColor. The “mask” is the significant bits within
--   the pixel. The “shift” is the number of bits left we must shift a
--   primary for it to be in position (according to the "mask"). Finally,
--   "precision" refers to how much precision the pixel value contains for
--   a particular primary.
--   
--   <i>Since: 2.22</i>
visualGetBluePixelDetails :: (HasCallStack, MonadIO m, IsVisual a) => a -> m ((Word32, Int32, Int32))

-- | Returns the byte order of this visual.
--   
--   The information returned by this function is only relevant when
--   working with XImages, and not all backends return meaningful
--   information for this.
--   
--   <i>Since: 2.22</i>

-- | <i>Deprecated: (Since version 3.22)This information is not useful</i>
visualGetByteOrder :: (HasCallStack, MonadIO m, IsVisual a) => a -> m ByteOrder

-- | Returns the size of a colormap for this visual.
--   
--   You have to use platform-specific APIs to manipulate colormaps.
--   
--   <i>Since: 2.22</i>

-- | <i>Deprecated: (Since version 3.22)This information is not useful,
--   since GDK does not provide APIs to operate on colormaps.</i>
visualGetColormapSize :: (HasCallStack, MonadIO m, IsVisual a) => a -> m Int32

-- | Returns the bit depth of this visual.
--   
--   <i>Since: 2.22</i>
visualGetDepth :: (HasCallStack, MonadIO m, IsVisual a) => a -> m Int32

-- | Obtains values that are needed to calculate green pixel values in
--   TrueColor and DirectColor. The “mask” is the significant bits within
--   the pixel. The “shift” is the number of bits left we must shift a
--   primary for it to be in position (according to the "mask"). Finally,
--   "precision" refers to how much precision the pixel value contains for
--   a particular primary.
--   
--   <i>Since: 2.22</i>
visualGetGreenPixelDetails :: (HasCallStack, MonadIO m, IsVisual a) => a -> m ((Word32, Int32, Int32))

-- | Obtains values that are needed to calculate red pixel values in
--   TrueColor and DirectColor. The “mask” is the significant bits within
--   the pixel. The “shift” is the number of bits left we must shift a
--   primary for it to be in position (according to the "mask"). Finally,
--   "precision" refers to how much precision the pixel value contains for
--   a particular primary.
--   
--   <i>Since: 2.22</i>
visualGetRedPixelDetails :: (HasCallStack, MonadIO m, IsVisual a) => a -> m ((Word32, Int32, Int32))

-- | Gets the screen to which this visual belongs
--   
--   <i>Since: 2.2</i>
visualGetScreen :: (HasCallStack, MonadIO m, IsVisual a) => a -> m Screen

-- | Get the system’s default visual for the default GDK screen. This is
--   the visual for the root window of the display. The return value should
--   not be freed.

-- | <i>Deprecated: (Since version 3.22)Use gdk_screen_get_system_visual
--   (gdk_screen_get_default ()).</i>
visualGetSystem :: (HasCallStack, MonadIO m) => m Visual

-- | Returns the type of visual this is (PseudoColor, TrueColor, etc).
--   
--   <i>Since: 2.22</i>
visualGetVisualType :: (HasCallStack, MonadIO m, IsVisual a) => a -> m VisualType
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Objects.Visual.Visual a) => GI.Gdk.Objects.Visual.IsVisual a
instance GI.Gdk.Objects.Visual.IsVisual GI.Gdk.Objects.Visual.Visual
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Objects.Visual.Visual
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Objects.Visual.Visual


-- | <a>GLContext</a> is an object representing the platform-specific
--   OpenGL drawing context.
--   
--   <tt><i>GdkGLContexts</i></tt> are created for a <a>Window</a> using
--   <a>windowCreateGlContext</a>, and the context will match the
--   <a>Visual</a> of the window.
--   
--   A <a>GLContext</a> is not tied to any particular normal framebuffer.
--   For instance, it cannot draw to the <a>Window</a> back buffer. The GDK
--   repaint system is in full control of the painting to that. Instead,
--   you can create render buffers or textures and use
--   <a>cairoDrawFromGl</a> in the draw function of your widget to draw
--   them. Then GDK will handle the integration of your rendering with that
--   of other widgets.
--   
--   Support for <a>GLContext</a> is platform-specific, context creation
--   can fail, returning <a>Nothing</a> context.
--   
--   A <a>GLContext</a> has to be made "current" in order to start using
--   it, otherwise any OpenGL call will be ignored.
--   
--   <h2>Creating a new OpenGL context </h2>
--   
--   In order to create a new <a>GLContext</a> instance you need a
--   <a>Window</a>, which you typically get during the realize call of a
--   widget.
--   
--   A <a>GLContext</a> is not realized until either
--   <a>gLContextMakeCurrent</a>, or until it is realized using
--   <a>gLContextRealize</a>. It is possible to specify details of the GL
--   context like the OpenGL version to be used, or whether the GL context
--   should have extra state validation enabled after calling
--   <a>windowCreateGlContext</a> by calling <a>gLContextRealize</a>. If
--   the realization fails you have the option to change the settings of
--   the <a>GLContext</a> and try again.
--   
--   <h2>Using a GdkGLContext </h2>
--   
--   You will need to make the <a>GLContext</a> the current context before
--   issuing OpenGL calls; the system sends OpenGL commands to whichever
--   context is current. It is possible to have multiple contexts, so you
--   always need to ensure that the one which you want to draw with is the
--   current one before issuing commands:
--   
--   <h3><i>C code</i></h3>
--   
--   <pre>
--   gdk_gl_context_make_current (context);
--   </pre>
--   
--   You can now perform your drawing using OpenGL commands.
--   
--   You can check which <a>GLContext</a> is the current one by using
--   <a>gLContextGetCurrent</a>; you can also unset any <a>GLContext</a>
--   that is currently set by calling <a>gLContextClearCurrent</a>.
module GI.Gdk.Objects.GLContext

-- | Memory-managed wrapper type.
newtype GLContext
GLContext :: (ManagedPtr GLContext) -> GLContext

-- | Type class for types which can be safely cast to <a>GLContext</a>, for
--   instance with <a>toGLContext</a>.
class GObject o => IsGLContext o

-- | Cast to <a>GLContext</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toGLContext :: (MonadIO m, IsGLContext o) => o -> m GLContext

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>GLContext</a>.
noGLContext :: Maybe GLContext

-- | Clears the current <a>GLContext</a>.
--   
--   Any OpenGL call after this function returns will be ignored until
--   <a>gLContextMakeCurrent</a> is called.
--   
--   <i>Since: 3.16</i>
gLContextClearCurrent :: (HasCallStack, MonadIO m) => m ()

-- | Retrieves the current <a>GLContext</a>.
--   
--   <i>Since: 3.16</i>
gLContextGetCurrent :: (HasCallStack, MonadIO m) => m (Maybe GLContext)

-- | Retrieves the value set using <a>gLContextSetDebugEnabled</a>.
--   
--   <i>Since: 3.16</i>
gLContextGetDebugEnabled :: (HasCallStack, MonadIO m, IsGLContext a) => a -> m Bool

-- | Retrieves the <a>Display</a> the <i><tt>context</tt></i> is created
--   for
--   
--   <i>Since: 3.16</i>
gLContextGetDisplay :: (HasCallStack, MonadIO m, IsGLContext a) => a -> m (Maybe Display)

-- | Retrieves the value set using <a>gLContextSetForwardCompatible</a>.
--   
--   <i>Since: 3.16</i>
gLContextGetForwardCompatible :: (HasCallStack, MonadIO m, IsGLContext a) => a -> m Bool

-- | Retrieves the major and minor version requested by calling
--   <a>gLContextSetRequiredVersion</a>.
--   
--   <i>Since: 3.16</i>
gLContextGetRequiredVersion :: (HasCallStack, MonadIO m, IsGLContext a) => a -> m ((Int32, Int32))

-- | Retrieves the <a>GLContext</a> that this <i><tt>context</tt></i> share
--   data with.
--   
--   <i>Since: 3.16</i>
gLContextGetSharedContext :: (HasCallStack, MonadIO m, IsGLContext a) => a -> m (Maybe GLContext)

-- | Checks whether the <i><tt>context</tt></i> is using an OpenGL or
--   OpenGL ES profile.
--   
--   <i>Since: 3.22</i>
gLContextGetUseEs :: (HasCallStack, MonadIO m, IsGLContext a) => a -> m Bool

-- | Retrieves the OpenGL version of the <i><tt>context</tt></i>.
--   
--   The <i><tt>context</tt></i> must be realized prior to calling this
--   function.
--   
--   <i>Since: 3.16</i>
gLContextGetVersion :: (HasCallStack, MonadIO m, IsGLContext a) => a -> m ((Int32, Int32))

-- | Retrieves the <a>Window</a> used by the <i><tt>context</tt></i>.
--   
--   <i>Since: 3.16</i>
gLContextGetWindow :: (HasCallStack, MonadIO m, IsGLContext a) => a -> m (Maybe Window)

-- | Whether the <a>GLContext</a> is in legacy mode or not.
--   
--   The <a>GLContext</a> must be realized before calling this function.
--   
--   When realizing a GL context, GDK will try to use the OpenGL 3.2 core
--   profile; this profile removes all the OpenGL API that was deprecated
--   prior to the 3.2 version of the specification. If the realization is
--   successful, this function will return <a>False</a>.
--   
--   If the underlying OpenGL implementation does not support core
--   profiles, GDK will fall back to a pre-3.2 compatibility profile, and
--   this function will return <a>True</a>.
--   
--   You can use the value returned by this function to decide which kind
--   of OpenGL API to use, or whether to do extension discovery, or what
--   kind of shader programs to load.
--   
--   <i>Since: 3.20</i>
gLContextIsLegacy :: (HasCallStack, MonadIO m, IsGLContext a) => a -> m Bool

-- | Makes the <i><tt>context</tt></i> the current one.
--   
--   <i>Since: 3.16</i>
gLContextMakeCurrent :: (HasCallStack, MonadIO m, IsGLContext a) => a -> m ()

-- | Realizes the given <a>GLContext</a>.
--   
--   It is safe to call this function on a realized <a>GLContext</a>.
--   
--   <i>Since: 3.16</i>
gLContextRealize :: (HasCallStack, MonadIO m, IsGLContext a) => a -> m ()

-- | Sets whether the <a>GLContext</a> should perform extra validations and
--   run time checking. This is useful during development, but has
--   additional overhead.
--   
--   The <a>GLContext</a> must not be realized or made current prior to
--   calling this function.
--   
--   <i>Since: 3.16</i>
gLContextSetDebugEnabled :: (HasCallStack, MonadIO m, IsGLContext a) => a -> Bool -> m ()

-- | Sets whether the <a>GLContext</a> should be forward compatible.
--   
--   Forward compatibile contexts must not support OpenGL functionality
--   that has been marked as deprecated in the requested version;
--   non-forward compatible contexts, on the other hand, must support both
--   deprecated and non deprecated functionality.
--   
--   The <a>GLContext</a> must not be realized or made current prior to
--   calling this function.
--   
--   <i>Since: 3.16</i>
gLContextSetForwardCompatible :: (HasCallStack, MonadIO m, IsGLContext a) => a -> Bool -> m ()

-- | Sets the major and minor version of OpenGL to request.
--   
--   Setting <i><tt>major</tt></i> and <i><tt>minor</tt></i> to zero will
--   use the default values.
--   
--   The <a>GLContext</a> must not be realized or made current prior to
--   calling this function.
--   
--   <i>Since: 3.16</i>
gLContextSetRequiredVersion :: (HasCallStack, MonadIO m, IsGLContext a) => a -> Int32 -> Int32 -> m ()

-- | Requests that GDK create a OpenGL ES context instead of an OpenGL one,
--   if the platform and windowing system allows it.
--   
--   The <i><tt>context</tt></i> must not have been realized.
--   
--   By default, GDK will attempt to automatically detect whether the
--   underlying GL implementation is OpenGL or OpenGL ES once the
--   <i><tt>context</tt></i> is realized.
--   
--   You should check the return value of <a>gLContextGetUseEs</a> after
--   calling <a>gLContextRealize</a> to decide whether to use the OpenGL or
--   OpenGL ES API, extensions, or shaders.
--   
--   <i>Since: 3.22</i>
gLContextSetUseEs :: (HasCallStack, MonadIO m, IsGLContext a) => a -> Int32 -> m ()

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>display</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructGLContextDisplay :: (IsGLContext o, IsDisplay a) => a -> IO (GValueConstruct o)

-- | Get the value of the “<tt>display</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> gLContext #display
--   </pre>
getGLContextDisplay :: (MonadIO m, IsGLContext o) => o -> m (Maybe Display)

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>shared-context</tt>” property. This is rarely needed directly,
--   but it is used by <a>new</a>.
constructGLContextSharedContext :: (IsGLContext o, IsGLContext a) => a -> IO (GValueConstruct o)

-- | Get the value of the “<tt>shared-context</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> gLContext #sharedContext
--   </pre>
getGLContextSharedContext :: (MonadIO m, IsGLContext o) => o -> m (Maybe GLContext)

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>window</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructGLContextWindow :: (IsGLContext o, IsWindow a) => a -> IO (GValueConstruct o)

-- | Get the value of the “<tt>window</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> gLContext #window
--   </pre>
getGLContextWindow :: (MonadIO m, IsGLContext o) => o -> m (Maybe Window)
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Objects.GLContext.GLContext a) => GI.Gdk.Objects.GLContext.IsGLContext a
instance GI.Gdk.Objects.GLContext.IsGLContext GI.Gdk.Objects.GLContext.GLContext
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Objects.GLContext.GLContext
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Objects.GLContext.GLContext


-- | <a>DrawingContext</a> is an object that represents the current drawing
--   state of a <a>Window</a>.
--   
--   It's possible to use a <a>DrawingContext</a> to draw on a
--   <a>Window</a> via rendering API like Cairo or OpenGL.
--   
--   A <a>DrawingContext</a> can only be created by calling
--   <a>windowBeginDrawFrame</a> and will be valid until a call to
--   <a>windowEndDrawFrame</a>.
--   
--   <a>DrawingContext</a> is available since GDK 3.22
module GI.Gdk.Objects.DrawingContext

-- | Memory-managed wrapper type.
newtype DrawingContext
DrawingContext :: (ManagedPtr DrawingContext) -> DrawingContext

-- | Type class for types which can be safely cast to
--   <a>DrawingContext</a>, for instance with <a>toDrawingContext</a>.
class GObject o => IsDrawingContext o

-- | Cast to <a>DrawingContext</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toDrawingContext :: (MonadIO m, IsDrawingContext o) => o -> m DrawingContext

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>DrawingContext</a>.
noDrawingContext :: Maybe DrawingContext

-- | Retrieves a Cairo context to be used to draw on the <a>Window</a> that
--   created the <a>DrawingContext</a>.
--   
--   The returned context is guaranteed to be valid as long as the
--   <a>DrawingContext</a> is valid, that is between a call to
--   <a>windowBeginDrawFrame</a> and <a>windowEndDrawFrame</a>.
--   
--   <i>Since: 3.22</i>
drawingContextGetCairoContext :: (HasCallStack, MonadIO m, IsDrawingContext a) => a -> m Context

-- | Retrieves a copy of the clip region used when creating the
--   <i><tt>context</tt></i>.
--   
--   <i>Since: 3.22</i>
drawingContextGetClip :: (HasCallStack, MonadIO m, IsDrawingContext a) => a -> m (Maybe Region)

-- | Retrieves the window that created the drawing <i><tt>context</tt></i>.
--   
--   <i>Since: 3.22</i>
drawingContextGetWindow :: (HasCallStack, MonadIO m, IsDrawingContext a) => a -> m Window

-- | Checks whether the given <a>DrawingContext</a> is valid.
--   
--   <i>Since: 3.22</i>
drawingContextIsValid :: (HasCallStack, MonadIO m, IsDrawingContext a) => a -> m Bool

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>clip</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructDrawingContextClip :: (IsDrawingContext o) => Region -> IO (GValueConstruct o)

-- | Get the value of the “<tt>clip</tt>” property. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> drawingContext #clip
--   </pre>
getDrawingContextClip :: (MonadIO m, IsDrawingContext o) => o -> m (Maybe Region)

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>window</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructDrawingContextWindow :: (IsDrawingContext o, IsWindow a) => a -> IO (GValueConstruct o)

-- | Get the value of the “<tt>window</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> drawingContext #window
--   </pre>
getDrawingContextWindow :: (MonadIO m, IsDrawingContext o) => o -> m Window
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Objects.DrawingContext.DrawingContext a) => GI.Gdk.Objects.DrawingContext.IsDrawingContext a
instance GI.Gdk.Objects.DrawingContext.IsDrawingContext GI.Gdk.Objects.DrawingContext.DrawingContext
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Objects.DrawingContext.DrawingContext
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Objects.DrawingContext.DrawingContext


-- | <i>No description available in the introspection data.</i>
module GI.Gdk.Objects.DragContext

-- | Memory-managed wrapper type.
newtype DragContext
DragContext :: (ManagedPtr DragContext) -> DragContext

-- | Type class for types which can be safely cast to <a>DragContext</a>,
--   for instance with <a>toDragContext</a>.
class GObject o => IsDragContext o

-- | Cast to <a>DragContext</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toDragContext :: (MonadIO m, IsDragContext o) => o -> m DragContext

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>DragContext</a>.
noDragContext :: Maybe DragContext

-- | Determines the bitmask of actions proposed by the source if
--   <a>dragContextGetSuggestedAction</a> returns <a>DragActionAsk</a>.
--   
--   <i>Since: 2.22</i>
dragContextGetActions :: (HasCallStack, MonadIO m, IsDragContext a) => a -> m [DragAction]

-- | Returns the destination window for the DND operation.
--   
--   <i>Since: 3.0</i>
dragContextGetDestWindow :: (HasCallStack, MonadIO m, IsDragContext a) => a -> m Window

-- | Returns the <a>Device</a> associated to the drag context.
dragContextGetDevice :: (HasCallStack, MonadIO m, IsDragContext a) => a -> m Device

-- | Returns the window on which the drag icon should be rendered during
--   the drag operation. Note that the window may not be available until
--   the drag operation has begun. GDK will move the window in accordance
--   with the ongoing drag operation. The window is owned by
--   <i><tt>context</tt></i> and will be destroyed when the drag operation
--   is over.
--   
--   <i>Since: 3.20</i>
dragContextGetDragWindow :: (HasCallStack, MonadIO m, IsDragContext a) => a -> m (Maybe Window)

-- | Returns the drag protocol that is used by this context.
--   
--   <i>Since: 3.0</i>
dragContextGetProtocol :: (HasCallStack, MonadIO m, IsDragContext a) => a -> m DragProtocol

-- | Determines the action chosen by the drag destination.
--   
--   <i>Since: 2.22</i>
dragContextGetSelectedAction :: (HasCallStack, MonadIO m, IsDragContext a) => a -> m [DragAction]

-- | Returns the <a>Window</a> where the DND operation started.
--   
--   <i>Since: 2.22</i>
dragContextGetSourceWindow :: (HasCallStack, MonadIO m, IsDragContext a) => a -> m Window

-- | Determines the suggested drag action of the context.
--   
--   <i>Since: 2.22</i>
dragContextGetSuggestedAction :: (HasCallStack, MonadIO m, IsDragContext a) => a -> m [DragAction]

-- | Retrieves the list of targets of the context.
--   
--   <i>Since: 2.22</i>
dragContextListTargets :: (HasCallStack, MonadIO m, IsDragContext a) => a -> m [Atom]

-- | Requests the drag and drop operation to be managed by
--   <i><tt>context</tt></i>. When a drag and drop operation becomes
--   managed, the <a>DragContext</a> will internally handle all input and
--   source-side <a>EventDND</a> events as required by the windowing
--   system.
--   
--   Once the drag and drop operation is managed, the drag context will
--   emit the following signals:
--   
--   <ul>
--   <li>The <a>DragContext</a>::<tt><i>action-changed</i></tt> signal
--   whenever the final action to be performed by the drag and drop
--   operation changes.</li>
--   <li>The <a>DragContext</a>::<tt><i>drop-performed</i></tt> signal
--   after the user performs the drag and drop gesture (typically by
--   releasing the mouse button).</li>
--   <li>The <a>DragContext</a>::<tt><i>dnd-finished</i></tt> signal after
--   the drag and drop operation concludes (after all
--   <tt><i>GdkSelection</i></tt> transfers happen).</li>
--   <li>The <a>DragContext</a>::<tt><i>cancel</i></tt> signal if the drag
--   and drop operation is finished but doesn't happen over an accepting
--   destination, or is cancelled through other means.</li>
--   </ul>
--   
--   <i>Since: 3.20</i>
dragContextManageDnd :: (HasCallStack, MonadIO m, IsDragContext a, IsWindow b) => a -> b -> [DragAction] -> m Bool

-- | Associates a <a>Device</a> to <i><tt>context</tt></i>, so all Drag and
--   Drop events for <i><tt>context</tt></i> are emitted as if they came
--   from this device.
dragContextSetDevice :: (HasCallStack, MonadIO m, IsDragContext a, IsDevice b) => a -> b -> m ()

-- | Sets the position of the drag window that will be kept under the
--   cursor hotspot. Initially, the hotspot is at the top left corner of
--   the drag window.
--   
--   <i>Since: 3.20</i>
dragContextSetHotspot :: (HasCallStack, MonadIO m, IsDragContext a) => a -> Int32 -> Int32 -> m ()

-- | Type for the callback on the (unwrapped) C side.
type C_DragContextActionChangedCallback = Ptr () -> CUInt -> Ptr () -> IO ()

-- | A new action is being chosen for the drag and drop operation.
--   
--   This signal will only be emitted if the <a>DragContext</a> manages the
--   drag and drop operation. See <a>dragContextManageDnd</a> for more
--   information.
--   
--   <i>Since: 3.20</i>
type DragContextActionChangedCallback = [DragAction]  /@action@/: The action currently chosen  -> IO ()

-- | Connect a signal handler for the “<tt>action-changed</tt>” signal, to
--   be run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> dragContext #actionChanged callback
--   </pre>
afterDragContextActionChanged :: (IsDragContext a, MonadIO m) => a -> DragContextActionChangedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_DragContextActionChanged :: DragContextActionChangedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_DragContextActionChangedCallback</a>.
mk_DragContextActionChangedCallback :: C_DragContextActionChangedCallback -> IO (FunPtr C_DragContextActionChangedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>DragContextActionChangedCallback</a></tt>.
noDragContextActionChangedCallback :: Maybe DragContextActionChangedCallback

-- | Connect a signal handler for the “<tt>action-changed</tt>” signal, to
--   be run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> dragContext #actionChanged callback
--   </pre>
onDragContextActionChanged :: (IsDragContext a, MonadIO m) => a -> DragContextActionChangedCallback -> m SignalHandlerId

-- | Wrap a <a>DragContextActionChangedCallback</a> into a
--   <a>C_DragContextActionChangedCallback</a>.
wrap_DragContextActionChangedCallback :: DragContextActionChangedCallback -> C_DragContextActionChangedCallback

-- | Type for the callback on the (unwrapped) C side.
type C_DragContextCancelCallback = Ptr () -> CUInt -> Ptr () -> IO ()

-- | The drag and drop operation was cancelled.
--   
--   This signal will only be emitted if the <a>DragContext</a> manages the
--   drag and drop operation. See <a>dragContextManageDnd</a> for more
--   information.
--   
--   <i>Since: 3.20</i>
type DragContextCancelCallback = DragCancelReason  /@reason@/: The reason the context was cancelled  -> IO ()

-- | Connect a signal handler for the “<tt>cancel</tt>” signal, to be run
--   after the default handler. When <a>overloading</a> is enabled, this is
--   equivalent to
--   
--   <pre>
--   <a>after</a> dragContext #cancel callback
--   </pre>
afterDragContextCancel :: (IsDragContext a, MonadIO m) => a -> DragContextCancelCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_DragContextCancel :: DragContextCancelCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_DragContextCancelCallback</a>.
mk_DragContextCancelCallback :: C_DragContextCancelCallback -> IO (FunPtr C_DragContextCancelCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>DragContextCancelCallback</a></tt>.
noDragContextCancelCallback :: Maybe DragContextCancelCallback

-- | Connect a signal handler for the “<tt>cancel</tt>” signal, to be run
--   before the default handler. When <a>overloading</a> is enabled, this
--   is equivalent to
--   
--   <pre>
--   <a>on</a> dragContext #cancel callback
--   </pre>
onDragContextCancel :: (IsDragContext a, MonadIO m) => a -> DragContextCancelCallback -> m SignalHandlerId

-- | Wrap a <a>DragContextCancelCallback</a> into a
--   <a>C_DragContextCancelCallback</a>.
wrap_DragContextCancelCallback :: DragContextCancelCallback -> C_DragContextCancelCallback

-- | Type for the callback on the (unwrapped) C side.
type C_DragContextDndFinishedCallback = Ptr () -> Ptr () -> IO ()

-- | The drag and drop operation was finished, the drag destination
--   finished reading all data. The drag source can now free all
--   miscellaneous data.
--   
--   This signal will only be emitted if the <a>DragContext</a> manages the
--   drag and drop operation. See <a>dragContextManageDnd</a> for more
--   information.
--   
--   <i>Since: 3.20</i>
type DragContextDndFinishedCallback = IO ()

-- | Connect a signal handler for the “<tt>dnd-finished</tt>” signal, to be
--   run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> dragContext #dndFinished callback
--   </pre>
afterDragContextDndFinished :: (IsDragContext a, MonadIO m) => a -> DragContextDndFinishedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_DragContextDndFinished :: DragContextDndFinishedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_DragContextDndFinishedCallback</a>.
mk_DragContextDndFinishedCallback :: C_DragContextDndFinishedCallback -> IO (FunPtr C_DragContextDndFinishedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>DragContextDndFinishedCallback</a></tt>.
noDragContextDndFinishedCallback :: Maybe DragContextDndFinishedCallback

-- | Connect a signal handler for the “<tt>dnd-finished</tt>” signal, to be
--   run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> dragContext #dndFinished callback
--   </pre>
onDragContextDndFinished :: (IsDragContext a, MonadIO m) => a -> DragContextDndFinishedCallback -> m SignalHandlerId

-- | Wrap a <a>DragContextDndFinishedCallback</a> into a
--   <a>C_DragContextDndFinishedCallback</a>.
wrap_DragContextDndFinishedCallback :: DragContextDndFinishedCallback -> C_DragContextDndFinishedCallback

-- | Type for the callback on the (unwrapped) C side.
type C_DragContextDropPerformedCallback = Ptr () -> Int32 -> Ptr () -> IO ()

-- | The drag and drop operation was performed on an accepting client.
--   
--   This signal will only be emitted if the <a>DragContext</a> manages the
--   drag and drop operation. See <a>dragContextManageDnd</a> for more
--   information.
--   
--   <i>Since: 3.20</i>
type DragContextDropPerformedCallback = Int32  /@time@/: the time at which the drop happened.  -> IO ()

-- | Connect a signal handler for the “<tt>drop-performed</tt>” signal, to
--   be run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> dragContext #dropPerformed callback
--   </pre>
afterDragContextDropPerformed :: (IsDragContext a, MonadIO m) => a -> DragContextDropPerformedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_DragContextDropPerformed :: DragContextDropPerformedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_DragContextDropPerformedCallback</a>.
mk_DragContextDropPerformedCallback :: C_DragContextDropPerformedCallback -> IO (FunPtr C_DragContextDropPerformedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>DragContextDropPerformedCallback</a></tt>.
noDragContextDropPerformedCallback :: Maybe DragContextDropPerformedCallback

-- | Connect a signal handler for the “<tt>drop-performed</tt>” signal, to
--   be run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> dragContext #dropPerformed callback
--   </pre>
onDragContextDropPerformed :: (IsDragContext a, MonadIO m) => a -> DragContextDropPerformedCallback -> m SignalHandlerId

-- | Wrap a <a>DragContextDropPerformedCallback</a> into a
--   <a>C_DragContextDropPerformedCallback</a>.
wrap_DragContextDropPerformedCallback :: DragContextDropPerformedCallback -> C_DragContextDropPerformedCallback
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Objects.DragContext.DragContext a) => GI.Gdk.Objects.DragContext.IsDragContext a
instance GI.Gdk.Objects.DragContext.IsDragContext GI.Gdk.Objects.DragContext.DragContext
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Objects.DragContext.DragContext
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Objects.DragContext.DragContext


-- | The <a>Device</a> object represents a single input device, such as a
--   keyboard, a mouse, a touchpad, etc.
--   
--   See the <a>DeviceManager</a> documentation for more information about
--   the various kinds of master and slave devices, and their
--   relationships.
module GI.Gdk.Objects.Device

-- | Memory-managed wrapper type.
newtype Device
Device :: (ManagedPtr Device) -> Device

-- | Type class for types which can be safely cast to <a>Device</a>, for
--   instance with <a>toDevice</a>.
class GObject o => IsDevice o

-- | Cast to <a>Device</a>, for types for which this is known to be safe.
--   For general casts, use <a>castTo</a>.
toDevice :: (MonadIO m, IsDevice o) => o -> m Device

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a> <a>Device</a>.
noDevice :: Maybe Device

-- | Returns the associated device to <i><tt>device</tt></i>, if
--   <i><tt>device</tt></i> is of type <a>DeviceTypeMaster</a>, it will
--   return the paired pointer or keyboard.
--   
--   If <i><tt>device</tt></i> is of type <a>DeviceTypeSlave</a>, it will
--   return the master device to which <i><tt>device</tt></i> is attached
--   to.
--   
--   If <i><tt>device</tt></i> is of type <a>DeviceTypeFloating</a>,
--   <a>Nothing</a> will be returned, as there is no associated device.
--   
--   <i>Since: 3.0</i>
deviceGetAssociatedDevice :: (HasCallStack, MonadIO m, IsDevice a) => a -> m (Maybe Device)

-- | Returns the axes currently available on the device.
--   
--   <i>Since: 3.22</i>
deviceGetAxes :: (HasCallStack, MonadIO m, IsDevice a) => a -> m [AxisFlags]

-- | Returns the axis use for <i><tt>index_</tt></i>.
--   
--   <i>Since: 2.20</i>
deviceGetAxisUse :: (HasCallStack, MonadIO m, IsDevice a) => a -> Word32 -> m AxisUse

-- | Returns the device type for <i><tt>device</tt></i>.
--   
--   <i>Since: 3.0</i>
deviceGetDeviceType :: (HasCallStack, MonadIO m, IsDevice a) => a -> m DeviceType

-- | Returns the <a>Display</a> to which <i><tt>device</tt></i> pertains.
--   
--   <i>Since: 3.0</i>
deviceGetDisplay :: (HasCallStack, MonadIO m, IsDevice a) => a -> m Display

-- | Determines whether the pointer follows device motion. This is not
--   meaningful for keyboard devices, which don't have a pointer.
--   
--   <i>Since: 2.20</i>
deviceGetHasCursor :: (HasCallStack, MonadIO m, IsDevice a) => a -> m Bool

-- | If <i><tt>index_</tt></i> has a valid keyval, this function will
--   return <a>True</a> and fill in <i><tt>keyval</tt></i> and
--   <i><tt>modifiers</tt></i> with the keyval settings.
--   
--   <i>Since: 2.20</i>
deviceGetKey :: (HasCallStack, MonadIO m, IsDevice a) => a -> Word32 -> m ((Bool, Word32, [ModifierType]))

-- | Gets information about which window the given pointer device is in,
--   based on events that have been received so far from the display
--   server. If another application has a pointer grab, or this application
--   has a grab with owner_events = <a>False</a>, <a>Nothing</a> may be
--   returned even if the pointer is physically over one of this
--   application's windows.
--   
--   <i>Since: 3.12</i>
deviceGetLastEventWindow :: (HasCallStack, MonadIO m, IsDevice a) => a -> m (Maybe Window)

-- | Determines the mode of the device.
--   
--   <i>Since: 2.20</i>
deviceGetMode :: (HasCallStack, MonadIO m, IsDevice a) => a -> m InputMode

-- | Returns the number of axes the device currently has.
--   
--   <i>Since: 3.0</i>
deviceGetNAxes :: (HasCallStack, MonadIO m, IsDevice a) => a -> m Int32

-- | Returns the number of keys the device currently has.
--   
--   <i>Since: 2.24</i>
deviceGetNKeys :: (HasCallStack, MonadIO m, IsDevice a) => a -> m Int32

-- | Determines the name of the device.
--   
--   <i>Since: 2.20</i>
deviceGetName :: (HasCallStack, MonadIO m, IsDevice a) => a -> m Text

-- | Gets the current location of <i><tt>device</tt></i>. As a slave device
--   coordinates are those of its master pointer, This function may not be
--   called on devices of type <a>DeviceTypeSlave</a>, unless there is an
--   ongoing grab on them, see <a>deviceGrab</a>.
--   
--   <i>Since: 3.0</i>
deviceGetPosition :: (HasCallStack, MonadIO m, IsDevice a) => a -> m ((Screen, Int32, Int32))

-- | Gets the current location of <i><tt>device</tt></i> in double
--   precision. As a slave device's coordinates are those of its master
--   pointer, this function may not be called on devices of type
--   <a>DeviceTypeSlave</a>, unless there is an ongoing grab on them. See
--   <a>deviceGrab</a>.
--   
--   <i>Since: 3.10</i>
deviceGetPositionDouble :: (HasCallStack, MonadIO m, IsDevice a) => a -> m ((Screen, Double, Double))

-- | Returns the product ID of this device, or <a>Nothing</a> if this
--   information couldn't be obtained. This ID is retrieved from the
--   device, and is thus constant for it. See <a>deviceGetVendorId</a> for
--   more information.
--   
--   <i>Since: 3.16</i>
deviceGetProductId :: (HasCallStack, MonadIO m, IsDevice a) => a -> m (Maybe Text)

-- | Returns the <a>Seat</a> the device belongs to.
--   
--   <i>Since: 3.20</i>
deviceGetSeat :: (HasCallStack, MonadIO m, IsDevice a) => a -> m Seat

-- | Determines the type of the device.
--   
--   <i>Since: 2.20</i>
deviceGetSource :: (HasCallStack, MonadIO m, IsDevice a) => a -> m InputSource

-- | Returns the vendor ID of this device, or <a>Nothing</a> if this
--   information couldn't be obtained. This ID is retrieved from the
--   device, and is thus constant for it.
--   
--   This function, together with <a>deviceGetProductId</a>, can be used to
--   eg. compose <a>Settings</a> paths to store settings for this device.
--   
--   <h3><i>C code</i></h3>
--   
--   <pre>
--   static GSettings *
--   get_device_settings (GdkDevice *device)
--   {
--     const gchar *vendor, *product;
--     GSettings *settings;
--     GdkDevice *device;
--     gchar *path;
--   
--     vendor = gdk_device_get_vendor_id (device);
--     product = gdk_device_get_product_id (device);
--   
--     path = g_strdup_printf ("/org/example/app/devices/%s:%s/", vendor, product);
--     settings = g_settings_new_with_path (DEVICE_SCHEMA, path);
--     g_free (path);
--   
--     return settings;
--   }
--   </pre>
--   
--   <i>Since: 3.16</i>
deviceGetVendorId :: (HasCallStack, MonadIO m, IsDevice a) => a -> m (Maybe Text)

-- | Obtains the window underneath <i><tt>device</tt></i>, returning the
--   location of the device in <i><tt>winX</tt></i> and
--   <i><tt>winY</tt></i>. Returns <a>Nothing</a> if the window tree under
--   <i><tt>device</tt></i> is not known to GDK (for example, belongs to
--   another application).
--   
--   As a slave device coordinates are those of its master pointer, This
--   function may not be called on devices of type <a>DeviceTypeSlave</a>,
--   unless there is an ongoing grab on them, see <a>deviceGrab</a>.
--   
--   <i>Since: 3.0</i>
deviceGetWindowAtPosition :: (HasCallStack, MonadIO m, IsDevice a) => a -> m ((Maybe Window, Int32, Int32))

-- | Obtains the window underneath <i><tt>device</tt></i>, returning the
--   location of the device in <i><tt>winX</tt></i> and
--   <i><tt>winY</tt></i> in double precision. Returns <a>Nothing</a> if
--   the window tree under <i><tt>device</tt></i> is not known to GDK (for
--   example, belongs to another application).
--   
--   As a slave device coordinates are those of its master pointer, This
--   function may not be called on devices of type <a>DeviceTypeSlave</a>,
--   unless there is an ongoing grab on them, see <a>deviceGrab</a>.
--   
--   <i>Since: 3.0</i>
deviceGetWindowAtPositionDouble :: (HasCallStack, MonadIO m, IsDevice a) => a -> m ((Maybe Window, Double, Double))

-- | Grabs the device so that all events coming from this device are passed
--   to this application until the device is ungrabbed with
--   <a>deviceUngrab</a>, or the window becomes unviewable. This overrides
--   any previous grab on the device by this client.
--   
--   Note that <i><tt>device</tt></i> and <i><tt>window</tt></i> need to be
--   on the same display.
--   
--   Device grabs are used for operations which need complete control over
--   the given device events (either pointer or keyboard). For example in
--   GTK+ this is used for Drag and Drop operations, popup menus and such.
--   
--   Note that if the event mask of an X window has selected both button
--   press and button release events, then a button press event will cause
--   an automatic pointer grab until the button is released. X does this
--   automatically since most applications expect to receive button press
--   and release events in pairs. It is equivalent to a pointer grab on the
--   window with <i><tt>ownerEvents</tt></i> set to <a>True</a>.
--   
--   If you set up anything at the time you take the grab that needs to be
--   cleaned up when the grab ends, you should handle the
--   <a>EventGrabBroken</a> events that are emitted when the grab ends
--   unvoluntarily.
--   
--   <i>Since: 3.0</i>

-- | <i>Deprecated: (Since version 3.20.)Use <a>seatGrab</a> instead.</i>
deviceGrab :: (HasCallStack, MonadIO m, IsDevice a, IsWindow b, IsCursor c) => a -> b -> GrabOwnership -> Bool -> [EventMask] -> Maybe (c) -> Word32 -> m GrabStatus

-- | Determines information about the current keyboard grab. This is not
--   public API and must not be used by applications.

-- | <i>Deprecated: (Since version 3.16)The symbol was never meant to be
--   used outside of GTK+</i>
deviceGrabInfoLibgtkOnly :: (HasCallStack, MonadIO m, IsDisplay a, IsDevice b) => a -> b -> m ((Bool, Window, Bool))

-- | Returns a <a>List</a> of <tt><i>GdkAtoms</i></tt>, containing the
--   labels for the axes that <i><tt>device</tt></i> currently has.
--   
--   <i>Since: 3.0</i>
deviceListAxes :: (HasCallStack, MonadIO m, IsDevice a) => a -> m [Atom]

-- | If the device if of type <a>DeviceTypeMaster</a>, it will return the
--   list of slave devices attached to it, otherwise it will return
--   <a>Nothing</a>
deviceListSlaveDevices :: (HasCallStack, MonadIO m, IsDevice a) => a -> m [Device]

-- | Specifies how an axis of a device is used.
deviceSetAxisUse :: (HasCallStack, MonadIO m, IsDevice a) => a -> Word32 -> AxisUse -> m ()

-- | Specifies the X key event to generate when a macro button of a device
--   is pressed.
deviceSetKey :: (HasCallStack, MonadIO m, IsDevice a) => a -> Word32 -> Word32 -> [ModifierType] -> m ()

-- | Sets a the mode of an input device. The mode controls if the device is
--   active and whether the device’s range is mapped to the entire screen
--   or to a single window.
--   
--   Note: This is only meaningful for floating devices, master devices
--   (and slaves connected to these) drive the pointer cursor, which is not
--   limited by the input mode.
deviceSetMode :: (HasCallStack, MonadIO m, IsDevice a) => a -> InputMode -> m Bool

-- | Release any grab on <i><tt>device</tt></i>.
--   
--   <i>Since: 3.0</i>

-- | <i>Deprecated: (Since version 3.20.)Use <a>seatUngrab</a> instead.</i>
deviceUngrab :: (HasCallStack, MonadIO m, IsDevice a) => a -> Word32 -> m ()

-- | Warps <i><tt>device</tt></i> in <i><tt>display</tt></i> to the point
--   <i><tt>x</tt></i>,<i><tt>y</tt></i> on the screen
--   <i><tt>screen</tt></i>, unless the device is confined to a window by a
--   grab, in which case it will be moved as far as allowed by the grab.
--   Warping the pointer creates events as if the user had moved the mouse
--   instantaneously to the destination.
--   
--   Note that the pointer should normally be under the control of the
--   user. This function was added to cover some rare use cases like
--   keyboard navigation support for the color picker in the
--   <tt><i>GtkColorSelectionDialog</i></tt>.
--   
--   <i>Since: 3.0</i>
deviceWarp :: (HasCallStack, MonadIO m, IsDevice a, IsScreen b) => a -> b -> Int32 -> Int32 -> m ()

-- | Get the value of the “<tt>associated-device</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> device #associatedDevice
--   </pre>
getDeviceAssociatedDevice :: (MonadIO m, IsDevice o) => o -> m (Maybe Device)

-- | Get the value of the “<tt>axes</tt>” property. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> device #axes
--   </pre>
getDeviceAxes :: (MonadIO m, IsDevice o) => o -> m [AxisFlags]

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>device-manager</tt>” property. This is rarely needed directly,
--   but it is used by <a>new</a>.
constructDeviceDeviceManager :: (IsDevice o, IsDeviceManager a) => a -> IO (GValueConstruct o)

-- | Get the value of the “<tt>device-manager</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> device #deviceManager
--   </pre>
getDeviceDeviceManager :: (MonadIO m, IsDevice o) => o -> m (Maybe DeviceManager)

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>display</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructDeviceDisplay :: (IsDevice o, IsDisplay a) => a -> IO (GValueConstruct o)

-- | Get the value of the “<tt>display</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> device #display
--   </pre>
getDeviceDisplay :: (MonadIO m, IsDevice o) => o -> m Display

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>has-cursor</tt>” property. This is rarely needed directly, but it
--   is used by <a>new</a>.
constructDeviceHasCursor :: (IsDevice o) => Bool -> IO (GValueConstruct o)

-- | Get the value of the “<tt>has-cursor</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> device #hasCursor
--   </pre>
getDeviceHasCursor :: (MonadIO m, IsDevice o) => o -> m Bool

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>input-mode</tt>” property. This is rarely needed directly, but it
--   is used by <a>new</a>.
constructDeviceInputMode :: (IsDevice o) => InputMode -> IO (GValueConstruct o)

-- | Get the value of the “<tt>input-mode</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> device #inputMode
--   </pre>
getDeviceInputMode :: (MonadIO m, IsDevice o) => o -> m InputMode

-- | Set the value of the “<tt>input-mode</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> device [ #inputMode <a>:=</a> value ]
--   </pre>
setDeviceInputMode :: (MonadIO m, IsDevice o) => o -> InputMode -> m ()

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>input-source</tt>” property. This is rarely needed directly, but
--   it is used by <a>new</a>.
constructDeviceInputSource :: (IsDevice o) => InputSource -> IO (GValueConstruct o)

-- | Get the value of the “<tt>input-source</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> device #inputSource
--   </pre>
getDeviceInputSource :: (MonadIO m, IsDevice o) => o -> m InputSource

-- | Get the value of the “<tt>n-axes</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> device #nAxes
--   </pre>
getDeviceNAxes :: (MonadIO m, IsDevice o) => o -> m Word32

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>name</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructDeviceName :: (IsDevice o) => Text -> IO (GValueConstruct o)

-- | Get the value of the “<tt>name</tt>” property. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> device #name
--   </pre>
getDeviceName :: (MonadIO m, IsDevice o) => o -> m Text

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>num-touches</tt>” property. This is rarely needed directly, but
--   it is used by <a>new</a>.
constructDeviceNumTouches :: (IsDevice o) => Word32 -> IO (GValueConstruct o)

-- | Get the value of the “<tt>num-touches</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> device #numTouches
--   </pre>
getDeviceNumTouches :: (MonadIO m, IsDevice o) => o -> m Word32

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>product-id</tt>” property. This is rarely needed directly, but it
--   is used by <a>new</a>.
constructDeviceProductId :: (IsDevice o) => Text -> IO (GValueConstruct o)

-- | Get the value of the “<tt>product-id</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> device #productId
--   </pre>
getDeviceProductId :: (MonadIO m, IsDevice o) => o -> m (Maybe Text)

-- | Set the value of the “<tt>seat</tt>” property to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #seat
--   </pre>
clearDeviceSeat :: (MonadIO m, IsDevice o) => o -> m ()

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>seat</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructDeviceSeat :: (IsDevice o, IsSeat a) => a -> IO (GValueConstruct o)

-- | Get the value of the “<tt>seat</tt>” property. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> device #seat
--   </pre>
getDeviceSeat :: (MonadIO m, IsDevice o) => o -> m Seat

-- | Set the value of the “<tt>seat</tt>” property. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> device [ #seat <a>:=</a> value ]
--   </pre>
setDeviceSeat :: (MonadIO m, IsDevice o, IsSeat a) => o -> a -> m ()

-- | Get the value of the “<tt>tool</tt>” property. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> device #tool
--   </pre>
getDeviceTool :: (MonadIO m, IsDevice o) => o -> m (Maybe DeviceTool)

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>type</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructDeviceType :: (IsDevice o) => DeviceType -> IO (GValueConstruct o)

-- | Get the value of the “<tt>type</tt>” property. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> device #type
--   </pre>
getDeviceType :: (MonadIO m, IsDevice o) => o -> m DeviceType

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>vendor-id</tt>” property. This is rarely needed directly, but it
--   is used by <a>new</a>.
constructDeviceVendorId :: (IsDevice o) => Text -> IO (GValueConstruct o)

-- | Get the value of the “<tt>vendor-id</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> device #vendorId
--   </pre>
getDeviceVendorId :: (MonadIO m, IsDevice o) => o -> m (Maybe Text)

-- | Type for the callback on the (unwrapped) C side.
type C_DeviceChangedCallback = Ptr () -> Ptr () -> IO ()

-- | The ::changed signal is emitted either when the <a>Device</a> has
--   changed the number of either axes or keys. For example In X this will
--   normally happen when the slave device routing events through the
--   master device changes (for example, user switches from the USB mouse
--   to a tablet), in that case the master device will change to reflect
--   the new slave device axes and keys.
type DeviceChangedCallback = IO ()

-- | Connect a signal handler for the “<tt>changed</tt>” signal, to be run
--   after the default handler. When <a>overloading</a> is enabled, this is
--   equivalent to
--   
--   <pre>
--   <a>after</a> device #changed callback
--   </pre>
afterDeviceChanged :: (IsDevice a, MonadIO m) => a -> DeviceChangedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_DeviceChanged :: DeviceChangedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_DeviceChangedCallback</a>.
mk_DeviceChangedCallback :: C_DeviceChangedCallback -> IO (FunPtr C_DeviceChangedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>DeviceChangedCallback</a></tt>.
noDeviceChangedCallback :: Maybe DeviceChangedCallback

-- | Connect a signal handler for the “<tt>changed</tt>” signal, to be run
--   before the default handler. When <a>overloading</a> is enabled, this
--   is equivalent to
--   
--   <pre>
--   <a>on</a> device #changed callback
--   </pre>
onDeviceChanged :: (IsDevice a, MonadIO m) => a -> DeviceChangedCallback -> m SignalHandlerId

-- | Wrap a <a>DeviceChangedCallback</a> into a
--   <a>C_DeviceChangedCallback</a>.
wrap_DeviceChangedCallback :: DeviceChangedCallback -> C_DeviceChangedCallback

-- | Type for the callback on the (unwrapped) C side.
type C_DeviceToolChangedCallback = Ptr () -> Ptr DeviceTool -> Ptr () -> IO ()

-- | The ::tool-changed signal is emitted on pen/eraser
--   <tt><i>GdkDevices</i></tt> whenever tools enter or leave proximity.
--   
--   <i>Since: 3.22</i>
type DeviceToolChangedCallback = DeviceTool  /@tool@/: The new current tool  -> IO ()

-- | Connect a signal handler for the “<tt>tool-changed</tt>” signal, to be
--   run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> device #toolChanged callback
--   </pre>
afterDeviceToolChanged :: (IsDevice a, MonadIO m) => a -> DeviceToolChangedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_DeviceToolChanged :: DeviceToolChangedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_DeviceToolChangedCallback</a>.
mk_DeviceToolChangedCallback :: C_DeviceToolChangedCallback -> IO (FunPtr C_DeviceToolChangedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>DeviceToolChangedCallback</a></tt>.
noDeviceToolChangedCallback :: Maybe DeviceToolChangedCallback

-- | Connect a signal handler for the “<tt>tool-changed</tt>” signal, to be
--   run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> device #toolChanged callback
--   </pre>
onDeviceToolChanged :: (IsDevice a, MonadIO m) => a -> DeviceToolChangedCallback -> m SignalHandlerId

-- | Wrap a <a>DeviceToolChangedCallback</a> into a
--   <a>C_DeviceToolChangedCallback</a>.
wrap_DeviceToolChangedCallback :: DeviceToolChangedCallback -> C_DeviceToolChangedCallback
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Objects.Device.Device a) => GI.Gdk.Objects.Device.IsDevice a
instance GI.Gdk.Objects.Device.IsDevice GI.Gdk.Objects.Device.Device
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Objects.Device.Device
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Objects.Device.Device


-- | An opaque type representing a string as an index into a table of
--   strings on the X server.
module GI.Gdk.Structs.Atom

-- | Memory-managed wrapper type.
newtype Atom
Atom :: (ManagedPtr Atom) -> Atom

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a> <a>Atom</a>.
noAtom :: Maybe Atom

-- | Finds or creates an atom corresponding to a given string.
atomIntern :: (HasCallStack, MonadIO m) => Text -> Bool -> m Atom

-- | Finds or creates an atom corresponding to a given string.
--   
--   Note that this function is identical to <a>atomIntern</a> except that
--   if a new <a>Atom</a> is created the string itself is used rather than
--   a copy. This saves memory, but can only be used if the string will
--   always exist. It can be used with statically allocated strings in the
--   main program, but not with statically allocated memory in dynamically
--   loaded modules, if you expect to ever unload the module again (e.g. do
--   not use this function in GTK+ theme engines).
--   
--   <i>Since: 2.10</i>
atomInternStaticString :: (HasCallStack, MonadIO m) => Text -> m Atom

-- | Determines the string corresponding to an atom.
atomName :: (HasCallStack, MonadIO m) => Atom -> m Text
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.Atom.Atom


-- | A <a>Color</a> is used to describe a color, similar to the XColor
--   struct used in the X11 drawing API.
module GI.Gdk.Structs.Color

-- | Memory-managed wrapper type.
newtype Color
Color :: (ManagedPtr Color) -> Color

-- | Construct a <a>Color</a> struct initialized to zero.
newZeroColor :: MonadIO m => m Color

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a> <a>Color</a>.
noColor :: Maybe Color

-- | Makes a copy of a <a>Color</a>.
--   
--   The result must be freed using <a>colorFree</a>.

-- | <i>Deprecated: (Since version 3.14)Use <a>RGBA</a></i>
colorCopy :: (HasCallStack, MonadIO m) => Color -> m Color

-- | Compares two colors.

-- | <i>Deprecated: (Since version 3.14)Use <a>RGBA</a></i>
colorEqual :: (HasCallStack, MonadIO m) => Color -> Color -> m Bool

-- | Frees a <a>Color</a> created with <a>colorCopy</a>.

-- | <i>Deprecated: (Since version 3.14)Use <a>RGBA</a></i>
colorFree :: (HasCallStack, MonadIO m) => Color -> m ()

-- | A hash function suitable for using for a hash table that stores
--   <tt><i>GdkColors</i></tt>.

-- | <i>Deprecated: (Since version 3.14)Use <a>RGBA</a></i>
colorHash :: (HasCallStack, MonadIO m) => Color -> m Word32

-- | Parses a textual specification of a color and fill in the
--   <i><tt>red</tt></i>, <i><tt>green</tt></i>, and <i><tt>blue</tt></i>
--   fields of a <a>Color</a>.
--   
--   The string can either one of a large set of standard names (taken from
--   the X11 <tt>rgb.txt</tt> file), or it can be a hexadecimal value in
--   the form “rrggbb”, “#rrrgggbbb” or “#rrrrggggbbbb” where “r”, “g” and
--   “b” are hex digits of the red, green, and blue components of the
--   color, respectively. (White in the four forms is “ffffff”,
--   “#fffffffff” and “#ffffffffffff”).

-- | <i>Deprecated: (Since version 3.14)Use <a>RGBA</a></i>
colorParse :: (HasCallStack, MonadIO m) => Text -> m ((Bool, Color))

-- | Returns a textual specification of <i><tt>color</tt></i> in the
--   hexadecimal form “#rrrrggggbbbb” where “r”, “g” and “b” are hex digits
--   representing the red, green and blue components respectively.
--   
--   The returned string can be parsed by <a>colorParse</a>.
--   
--   <i>Since: 2.12</i>

-- | <i>Deprecated: (Since version 3.14)Use <a>RGBA</a></i>
colorToString :: (HasCallStack, MonadIO m) => Color -> m Text

-- | Get the value of the “<tt>blue</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> color #blue
--   </pre>
getColorBlue :: MonadIO m => Color -> m Word16

-- | Set the value of the “<tt>blue</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> color [ #blue <a>:=</a> value ]
--   </pre>
setColorBlue :: MonadIO m => Color -> Word16 -> m ()

-- | Get the value of the “<tt>green</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> color #green
--   </pre>
getColorGreen :: MonadIO m => Color -> m Word16

-- | Set the value of the “<tt>green</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> color [ #green <a>:=</a> value ]
--   </pre>
setColorGreen :: MonadIO m => Color -> Word16 -> m ()

-- | Get the value of the “<tt>pixel</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> color #pixel
--   </pre>
getColorPixel :: MonadIO m => Color -> m Word32

-- | Set the value of the “<tt>pixel</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> color [ #pixel <a>:=</a> value ]
--   </pre>
setColorPixel :: MonadIO m => Color -> Word32 -> m ()

-- | Get the value of the “<tt>red</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> color #red
--   </pre>
getColorRed :: MonadIO m => Color -> m Word16

-- | Set the value of the “<tt>red</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> color [ #red <a>:=</a> value ]
--   </pre>
setColorRed :: MonadIO m => Color -> Word16 -> m ()
instance Data.GI.Base.BasicTypes.BoxedObject GI.Gdk.Structs.Color.Color
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.Color.Color tag


-- | Contains the fields which are common to all event structs. Any event
--   pointer can safely be cast to a pointer to a <a>EventAny</a> to access
--   these fields.
module GI.Gdk.Structs.EventAny

-- | Memory-managed wrapper type.
newtype EventAny
EventAny :: (ManagedPtr EventAny) -> EventAny

-- | Construct a <a>EventAny</a> struct initialized to zero.
newZeroEventAny :: MonadIO m => m EventAny

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventAny</a>.
noEventAny :: Maybe EventAny

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventAny #sendEvent
--   </pre>
getEventAnySendEvent :: MonadIO m => EventAny -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventAny [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventAnySendEvent :: MonadIO m => EventAny -> Int8 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventAny #type
--   </pre>
getEventAnyType :: MonadIO m => EventAny -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventAny [ #type <a>:=</a> value ]
--   </pre>
setEventAnyType :: MonadIO m => EventAny -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventAnyWindow :: MonadIO m => EventAny -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventAny #window
--   </pre>
getEventAnyWindow :: MonadIO m => EventAny -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventAny [ #window <a>:=</a> value ]
--   </pre>
setEventAnyWindow :: MonadIO m => EventAny -> Ptr Window -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventAny.EventAny
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventAny.EventAny tag


-- | Used for button press and button release events. The
--   <i><tt>type</tt></i> field will be one of <a>EventTypeButtonPress</a>,
--   <a>EventType2buttonPress</a>, <a>EventType3buttonPress</a> or
--   <a>EventTypeButtonRelease</a>,
--   
--   Double and triple-clicks result in a sequence of events being
--   received. For double-clicks the order of events will be:
--   
--   <ul>
--   <li><a>EventTypeButtonPress</a></li>
--   <li><a>EventTypeButtonRelease</a></li>
--   <li><a>EventTypeButtonPress</a></li>
--   <li><a>EventType2buttonPress</a></li>
--   <li><a>EventTypeButtonRelease</a></li>
--   </ul>
--   
--   Note that the first click is received just like a normal button press,
--   while the second click results in a <a>EventType2buttonPress</a> being
--   received just after the <a>EventTypeButtonPress</a>.
--   
--   Triple-clicks are very similar to double-clicks, except that
--   <a>EventType3buttonPress</a> is inserted after the third click. The
--   order of the events is:
--   
--   <ul>
--   <li><a>EventTypeButtonPress</a></li>
--   <li><a>EventTypeButtonRelease</a></li>
--   <li><a>EventTypeButtonPress</a></li>
--   <li><a>EventType2buttonPress</a></li>
--   <li><a>EventTypeButtonRelease</a></li>
--   <li><a>EventTypeButtonPress</a></li>
--   <li><a>EventType3buttonPress</a></li>
--   <li><a>EventTypeButtonRelease</a></li>
--   </ul>
--   
--   For a double click to occur, the second button press must occur within
--   1/4 of a second of the first. For a triple click to occur, the third
--   button press must also occur within 1/2 second of the first button
--   press.
module GI.Gdk.Structs.EventButton

-- | Memory-managed wrapper type.
newtype EventButton
EventButton :: (ManagedPtr EventButton) -> EventButton

-- | Construct a <a>EventButton</a> struct initialized to zero.
newZeroEventButton :: MonadIO m => m EventButton

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventButton</a>.
noEventButton :: Maybe EventButton

-- | Get the value of the “<tt>axes</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventButton #axes
--   </pre>
getEventButtonAxes :: MonadIO m => EventButton -> m Double

-- | Set the value of the “<tt>axes</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventButton [ #axes <a>:=</a> value ]
--   </pre>
setEventButtonAxes :: MonadIO m => EventButton -> Double -> m ()

-- | Get the value of the “<tt>button</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventButton #button
--   </pre>
getEventButtonButton :: MonadIO m => EventButton -> m Word32

-- | Set the value of the “<tt>button</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventButton [ #button <a>:=</a> value ]
--   </pre>
setEventButtonButton :: MonadIO m => EventButton -> Word32 -> m ()

-- | Set the value of the “<tt>device</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #device
--   </pre>
clearEventButtonDevice :: MonadIO m => EventButton -> m ()

-- | Get the value of the “<tt>device</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventButton #device
--   </pre>
getEventButtonDevice :: MonadIO m => EventButton -> m (Maybe Device)

-- | Set the value of the “<tt>device</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventButton [ #device <a>:=</a> value ]
--   </pre>
setEventButtonDevice :: MonadIO m => EventButton -> Ptr Device -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventButton #sendEvent
--   </pre>
getEventButtonSendEvent :: MonadIO m => EventButton -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventButton [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventButtonSendEvent :: MonadIO m => EventButton -> Int8 -> m ()

-- | Get the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventButton #state
--   </pre>
getEventButtonState :: MonadIO m => EventButton -> m [ModifierType]

-- | Set the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventButton [ #state <a>:=</a> value ]
--   </pre>
setEventButtonState :: MonadIO m => EventButton -> [ModifierType] -> m ()

-- | Get the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventButton #time
--   </pre>
getEventButtonTime :: MonadIO m => EventButton -> m Word32

-- | Set the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventButton [ #time <a>:=</a> value ]
--   </pre>
setEventButtonTime :: MonadIO m => EventButton -> Word32 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventButton #type
--   </pre>
getEventButtonType :: MonadIO m => EventButton -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventButton [ #type <a>:=</a> value ]
--   </pre>
setEventButtonType :: MonadIO m => EventButton -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventButtonWindow :: MonadIO m => EventButton -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventButton #window
--   </pre>
getEventButtonWindow :: MonadIO m => EventButton -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventButton [ #window <a>:=</a> value ]
--   </pre>
setEventButtonWindow :: MonadIO m => EventButton -> Ptr Window -> m ()

-- | Get the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventButton #x
--   </pre>
getEventButtonX :: MonadIO m => EventButton -> m Double

-- | Set the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventButton [ #x <a>:=</a> value ]
--   </pre>
setEventButtonX :: MonadIO m => EventButton -> Double -> m ()

-- | Get the value of the “<tt>x_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventButton #xRoot
--   </pre>
getEventButtonXRoot :: MonadIO m => EventButton -> m Double

-- | Set the value of the “<tt>x_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventButton [ #xRoot <a>:=</a> value ]
--   </pre>
setEventButtonXRoot :: MonadIO m => EventButton -> Double -> m ()

-- | Get the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventButton #y
--   </pre>
getEventButtonY :: MonadIO m => EventButton -> m Double

-- | Set the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventButton [ #y <a>:=</a> value ]
--   </pre>
setEventButtonY :: MonadIO m => EventButton -> Double -> m ()

-- | Get the value of the “<tt>y_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventButton #yRoot
--   </pre>
getEventButtonYRoot :: MonadIO m => EventButton -> m Double

-- | Set the value of the “<tt>y_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventButton [ #yRoot <a>:=</a> value ]
--   </pre>
setEventButtonYRoot :: MonadIO m => EventButton -> Double -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventButton.EventButton
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventButton.EventButton tag


-- | Generated when a window size or position has changed.
module GI.Gdk.Structs.EventConfigure

-- | Memory-managed wrapper type.
newtype EventConfigure
EventConfigure :: (ManagedPtr EventConfigure) -> EventConfigure

-- | Construct a <a>EventConfigure</a> struct initialized to zero.
newZeroEventConfigure :: MonadIO m => m EventConfigure

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventConfigure</a>.
noEventConfigure :: Maybe EventConfigure

-- | Get the value of the “<tt>height</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventConfigure #height
--   </pre>
getEventConfigureHeight :: MonadIO m => EventConfigure -> m Int32

-- | Set the value of the “<tt>height</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventConfigure [ #height <a>:=</a> value ]
--   </pre>
setEventConfigureHeight :: MonadIO m => EventConfigure -> Int32 -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventConfigure #sendEvent
--   </pre>
getEventConfigureSendEvent :: MonadIO m => EventConfigure -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventConfigure [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventConfigureSendEvent :: MonadIO m => EventConfigure -> Int8 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventConfigure #type
--   </pre>
getEventConfigureType :: MonadIO m => EventConfigure -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventConfigure [ #type <a>:=</a> value ]
--   </pre>
setEventConfigureType :: MonadIO m => EventConfigure -> EventType -> m ()

-- | Get the value of the “<tt>width</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventConfigure #width
--   </pre>
getEventConfigureWidth :: MonadIO m => EventConfigure -> m Int32

-- | Set the value of the “<tt>width</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventConfigure [ #width <a>:=</a> value ]
--   </pre>
setEventConfigureWidth :: MonadIO m => EventConfigure -> Int32 -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventConfigureWindow :: MonadIO m => EventConfigure -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventConfigure #window
--   </pre>
getEventConfigureWindow :: MonadIO m => EventConfigure -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventConfigure [ #window <a>:=</a> value ]
--   </pre>
setEventConfigureWindow :: MonadIO m => EventConfigure -> Ptr Window -> m ()

-- | Get the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventConfigure #x
--   </pre>
getEventConfigureX :: MonadIO m => EventConfigure -> m Int32

-- | Set the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventConfigure [ #x <a>:=</a> value ]
--   </pre>
setEventConfigureX :: MonadIO m => EventConfigure -> Int32 -> m ()

-- | Get the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventConfigure #y
--   </pre>
getEventConfigureY :: MonadIO m => EventConfigure -> m Int32

-- | Set the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventConfigure [ #y <a>:=</a> value ]
--   </pre>
setEventConfigureY :: MonadIO m => EventConfigure -> Int32 -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventConfigure.EventConfigure
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventConfigure.EventConfigure tag


-- | Generated when the pointer enters or leaves a window.
module GI.Gdk.Structs.EventCrossing

-- | Memory-managed wrapper type.
newtype EventCrossing
EventCrossing :: (ManagedPtr EventCrossing) -> EventCrossing

-- | Construct a <a>EventCrossing</a> struct initialized to zero.
newZeroEventCrossing :: MonadIO m => m EventCrossing

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventCrossing</a>.
noEventCrossing :: Maybe EventCrossing

-- | Get the value of the “<tt>detail</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventCrossing #detail
--   </pre>
getEventCrossingDetail :: MonadIO m => EventCrossing -> m NotifyType

-- | Set the value of the “<tt>detail</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventCrossing [ #detail <a>:=</a> value ]
--   </pre>
setEventCrossingDetail :: MonadIO m => EventCrossing -> NotifyType -> m ()

-- | Get the value of the “<tt>focus</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventCrossing #focus
--   </pre>
getEventCrossingFocus :: MonadIO m => EventCrossing -> m Bool

-- | Set the value of the “<tt>focus</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventCrossing [ #focus <a>:=</a> value ]
--   </pre>
setEventCrossingFocus :: MonadIO m => EventCrossing -> Bool -> m ()

-- | Get the value of the “<tt>mode</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventCrossing #mode
--   </pre>
getEventCrossingMode :: MonadIO m => EventCrossing -> m CrossingMode

-- | Set the value of the “<tt>mode</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventCrossing [ #mode <a>:=</a> value ]
--   </pre>
setEventCrossingMode :: MonadIO m => EventCrossing -> CrossingMode -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventCrossing #sendEvent
--   </pre>
getEventCrossingSendEvent :: MonadIO m => EventCrossing -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventCrossing [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventCrossingSendEvent :: MonadIO m => EventCrossing -> Int8 -> m ()

-- | Get the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventCrossing #state
--   </pre>
getEventCrossingState :: MonadIO m => EventCrossing -> m [ModifierType]

-- | Set the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventCrossing [ #state <a>:=</a> value ]
--   </pre>
setEventCrossingState :: MonadIO m => EventCrossing -> [ModifierType] -> m ()

-- | Set the value of the “<tt>subwindow</tt>” field to <a>Nothing</a>.
--   When <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #subwindow
--   </pre>
clearEventCrossingSubwindow :: MonadIO m => EventCrossing -> m ()

-- | Get the value of the “<tt>subwindow</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventCrossing #subwindow
--   </pre>
getEventCrossingSubwindow :: MonadIO m => EventCrossing -> m (Maybe Window)

-- | Set the value of the “<tt>subwindow</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventCrossing [ #subwindow <a>:=</a> value ]
--   </pre>
setEventCrossingSubwindow :: MonadIO m => EventCrossing -> Ptr Window -> m ()

-- | Get the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventCrossing #time
--   </pre>
getEventCrossingTime :: MonadIO m => EventCrossing -> m Word32

-- | Set the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventCrossing [ #time <a>:=</a> value ]
--   </pre>
setEventCrossingTime :: MonadIO m => EventCrossing -> Word32 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventCrossing #type
--   </pre>
getEventCrossingType :: MonadIO m => EventCrossing -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventCrossing [ #type <a>:=</a> value ]
--   </pre>
setEventCrossingType :: MonadIO m => EventCrossing -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventCrossingWindow :: MonadIO m => EventCrossing -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventCrossing #window
--   </pre>
getEventCrossingWindow :: MonadIO m => EventCrossing -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventCrossing [ #window <a>:=</a> value ]
--   </pre>
setEventCrossingWindow :: MonadIO m => EventCrossing -> Ptr Window -> m ()

-- | Get the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventCrossing #x
--   </pre>
getEventCrossingX :: MonadIO m => EventCrossing -> m Double

-- | Set the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventCrossing [ #x <a>:=</a> value ]
--   </pre>
setEventCrossingX :: MonadIO m => EventCrossing -> Double -> m ()

-- | Get the value of the “<tt>x_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventCrossing #xRoot
--   </pre>
getEventCrossingXRoot :: MonadIO m => EventCrossing -> m Double

-- | Set the value of the “<tt>x_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventCrossing [ #xRoot <a>:=</a> value ]
--   </pre>
setEventCrossingXRoot :: MonadIO m => EventCrossing -> Double -> m ()

-- | Get the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventCrossing #y
--   </pre>
getEventCrossingY :: MonadIO m => EventCrossing -> m Double

-- | Set the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventCrossing [ #y <a>:=</a> value ]
--   </pre>
setEventCrossingY :: MonadIO m => EventCrossing -> Double -> m ()

-- | Get the value of the “<tt>y_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventCrossing #yRoot
--   </pre>
getEventCrossingYRoot :: MonadIO m => EventCrossing -> m Double

-- | Set the value of the “<tt>y_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventCrossing [ #yRoot <a>:=</a> value ]
--   </pre>
setEventCrossingYRoot :: MonadIO m => EventCrossing -> Double -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventCrossing.EventCrossing
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventCrossing.EventCrossing tag


-- | Generated during DND operations.
module GI.Gdk.Structs.EventDND

-- | Memory-managed wrapper type.
newtype EventDND
EventDND :: (ManagedPtr EventDND) -> EventDND

-- | Construct a <a>EventDND</a> struct initialized to zero.
newZeroEventDND :: MonadIO m => m EventDND

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventDND</a>.
noEventDND :: Maybe EventDND

-- | Set the value of the “<tt>context</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #context
--   </pre>
clearEventDNDContext :: MonadIO m => EventDND -> m ()

-- | Get the value of the “<tt>context</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventDND #context
--   </pre>
getEventDNDContext :: MonadIO m => EventDND -> m (Maybe DragContext)

-- | Set the value of the “<tt>context</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventDND [ #context <a>:=</a> value ]
--   </pre>
setEventDNDContext :: MonadIO m => EventDND -> Ptr DragContext -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventDND #sendEvent
--   </pre>
getEventDNDSendEvent :: MonadIO m => EventDND -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventDND [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventDNDSendEvent :: MonadIO m => EventDND -> Int8 -> m ()

-- | Get the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventDND #time
--   </pre>
getEventDNDTime :: MonadIO m => EventDND -> m Word32

-- | Set the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventDND [ #time <a>:=</a> value ]
--   </pre>
setEventDNDTime :: MonadIO m => EventDND -> Word32 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventDND #type
--   </pre>
getEventDNDType :: MonadIO m => EventDND -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventDND [ #type <a>:=</a> value ]
--   </pre>
setEventDNDType :: MonadIO m => EventDND -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventDNDWindow :: MonadIO m => EventDND -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventDND #window
--   </pre>
getEventDNDWindow :: MonadIO m => EventDND -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventDND [ #window <a>:=</a> value ]
--   </pre>
setEventDNDWindow :: MonadIO m => EventDND -> Ptr Window -> m ()

-- | Get the value of the “<tt>x_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventDND #xRoot
--   </pre>
getEventDNDXRoot :: MonadIO m => EventDND -> m Int16

-- | Set the value of the “<tt>x_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventDND [ #xRoot <a>:=</a> value ]
--   </pre>
setEventDNDXRoot :: MonadIO m => EventDND -> Int16 -> m ()

-- | Get the value of the “<tt>y_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventDND #yRoot
--   </pre>
getEventDNDYRoot :: MonadIO m => EventDND -> m Int16

-- | Set the value of the “<tt>y_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventDND [ #yRoot <a>:=</a> value ]
--   </pre>
setEventDNDYRoot :: MonadIO m => EventDND -> Int16 -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventDND.EventDND
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventDND.EventDND tag


-- | Describes a change of keyboard focus.
module GI.Gdk.Structs.EventFocus

-- | Memory-managed wrapper type.
newtype EventFocus
EventFocus :: (ManagedPtr EventFocus) -> EventFocus

-- | Construct a <a>EventFocus</a> struct initialized to zero.
newZeroEventFocus :: MonadIO m => m EventFocus

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventFocus</a>.
noEventFocus :: Maybe EventFocus

-- | Get the value of the “<tt>in</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventFocus #in
--   </pre>
getEventFocusIn :: MonadIO m => EventFocus -> m Int16

-- | Set the value of the “<tt>in</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventFocus [ #in <a>:=</a> value ]
--   </pre>
setEventFocusIn :: MonadIO m => EventFocus -> Int16 -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventFocus #sendEvent
--   </pre>
getEventFocusSendEvent :: MonadIO m => EventFocus -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventFocus [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventFocusSendEvent :: MonadIO m => EventFocus -> Int8 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventFocus #type
--   </pre>
getEventFocusType :: MonadIO m => EventFocus -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventFocus [ #type <a>:=</a> value ]
--   </pre>
setEventFocusType :: MonadIO m => EventFocus -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventFocusWindow :: MonadIO m => EventFocus -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventFocus #window
--   </pre>
getEventFocusWindow :: MonadIO m => EventFocus -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventFocus [ #window <a>:=</a> value ]
--   </pre>
setEventFocusWindow :: MonadIO m => EventFocus -> Ptr Window -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventFocus.EventFocus
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventFocus.EventFocus tag


-- | Generated when a pointer or keyboard grab is broken. On X11, this
--   happens when the grab window becomes unviewable (i.e. it or one of its
--   ancestors is unmapped), or if the same application grabs the pointer
--   or keyboard again. Note that implicit grabs (which are initiated by
--   button presses) can also cause <a>EventGrabBroken</a> events.
--   
--   <i>Since: 2.8</i>
module GI.Gdk.Structs.EventGrabBroken

-- | Memory-managed wrapper type.
newtype EventGrabBroken
EventGrabBroken :: (ManagedPtr EventGrabBroken) -> EventGrabBroken

-- | Construct a <a>EventGrabBroken</a> struct initialized to zero.
newZeroEventGrabBroken :: MonadIO m => m EventGrabBroken

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventGrabBroken</a>.
noEventGrabBroken :: Maybe EventGrabBroken

-- | Set the value of the “<tt>grab_window</tt>” field to <a>Nothing</a>.
--   When <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #grabWindow
--   </pre>
clearEventGrabBrokenGrabWindow :: MonadIO m => EventGrabBroken -> m ()

-- | Get the value of the “<tt>grab_window</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventGrabBroken #grabWindow
--   </pre>
getEventGrabBrokenGrabWindow :: MonadIO m => EventGrabBroken -> m (Maybe Window)

-- | Set the value of the “<tt>grab_window</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventGrabBroken [ #grabWindow <a>:=</a> value ]
--   </pre>
setEventGrabBrokenGrabWindow :: MonadIO m => EventGrabBroken -> Ptr Window -> m ()

-- | Get the value of the “<tt>implicit</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventGrabBroken #implicit
--   </pre>
getEventGrabBrokenImplicit :: MonadIO m => EventGrabBroken -> m Bool

-- | Set the value of the “<tt>implicit</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventGrabBroken [ #implicit <a>:=</a> value ]
--   </pre>
setEventGrabBrokenImplicit :: MonadIO m => EventGrabBroken -> Bool -> m ()

-- | Get the value of the “<tt>keyboard</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventGrabBroken #keyboard
--   </pre>
getEventGrabBrokenKeyboard :: MonadIO m => EventGrabBroken -> m Bool

-- | Set the value of the “<tt>keyboard</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventGrabBroken [ #keyboard <a>:=</a> value ]
--   </pre>
setEventGrabBrokenKeyboard :: MonadIO m => EventGrabBroken -> Bool -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventGrabBroken #sendEvent
--   </pre>
getEventGrabBrokenSendEvent :: MonadIO m => EventGrabBroken -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventGrabBroken [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventGrabBrokenSendEvent :: MonadIO m => EventGrabBroken -> Int8 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventGrabBroken #type
--   </pre>
getEventGrabBrokenType :: MonadIO m => EventGrabBroken -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventGrabBroken [ #type <a>:=</a> value ]
--   </pre>
setEventGrabBrokenType :: MonadIO m => EventGrabBroken -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventGrabBrokenWindow :: MonadIO m => EventGrabBroken -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventGrabBroken #window
--   </pre>
getEventGrabBrokenWindow :: MonadIO m => EventGrabBroken -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventGrabBroken [ #window <a>:=</a> value ]
--   </pre>
setEventGrabBrokenWindow :: MonadIO m => EventGrabBroken -> Ptr Window -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventGrabBroken.EventGrabBroken
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventGrabBroken.EventGrabBroken tag


-- | Describes a key press or key release event.
module GI.Gdk.Structs.EventKey

-- | Memory-managed wrapper type.
newtype EventKey
EventKey :: (ManagedPtr EventKey) -> EventKey

-- | Construct a <a>EventKey</a> struct initialized to zero.
newZeroEventKey :: MonadIO m => m EventKey

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventKey</a>.
noEventKey :: Maybe EventKey

-- | Get the value of the “<tt>group</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventKey #group
--   </pre>
getEventKeyGroup :: MonadIO m => EventKey -> m Word8

-- | Set the value of the “<tt>group</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventKey [ #group <a>:=</a> value ]
--   </pre>
setEventKeyGroup :: MonadIO m => EventKey -> Word8 -> m ()

-- | Get the value of the “<tt>hardware_keycode</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventKey #hardwareKeycode
--   </pre>
getEventKeyHardwareKeycode :: MonadIO m => EventKey -> m Word16

-- | Set the value of the “<tt>hardware_keycode</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventKey [ #hardwareKeycode <a>:=</a> value ]
--   </pre>
setEventKeyHardwareKeycode :: MonadIO m => EventKey -> Word16 -> m ()

-- | Get the value of the “<tt>is_modifier</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventKey #isModifier
--   </pre>
getEventKeyIsModifier :: MonadIO m => EventKey -> m Word32

-- | Set the value of the “<tt>is_modifier</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventKey [ #isModifier <a>:=</a> value ]
--   </pre>
setEventKeyIsModifier :: MonadIO m => EventKey -> Word32 -> m ()

-- | Get the value of the “<tt>keyval</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventKey #keyval
--   </pre>
getEventKeyKeyval :: MonadIO m => EventKey -> m Word32

-- | Set the value of the “<tt>keyval</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventKey [ #keyval <a>:=</a> value ]
--   </pre>
setEventKeyKeyval :: MonadIO m => EventKey -> Word32 -> m ()

-- | Get the value of the “<tt>length</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventKey #length
--   </pre>
getEventKeyLength :: MonadIO m => EventKey -> m Int32

-- | Set the value of the “<tt>length</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventKey [ #length <a>:=</a> value ]
--   </pre>
setEventKeyLength :: MonadIO m => EventKey -> Int32 -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventKey #sendEvent
--   </pre>
getEventKeySendEvent :: MonadIO m => EventKey -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventKey [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventKeySendEvent :: MonadIO m => EventKey -> Int8 -> m ()

-- | Get the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventKey #state
--   </pre>
getEventKeyState :: MonadIO m => EventKey -> m [ModifierType]

-- | Set the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventKey [ #state <a>:=</a> value ]
--   </pre>
setEventKeyState :: MonadIO m => EventKey -> [ModifierType] -> m ()

-- | Set the value of the “<tt>string</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #string
--   </pre>
clearEventKeyString :: MonadIO m => EventKey -> m ()

-- | Get the value of the “<tt>string</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventKey #string
--   </pre>
getEventKeyString :: MonadIO m => EventKey -> m (Maybe Text)

-- | Set the value of the “<tt>string</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventKey [ #string <a>:=</a> value ]
--   </pre>
setEventKeyString :: MonadIO m => EventKey -> CString -> m ()

-- | Get the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventKey #time
--   </pre>
getEventKeyTime :: MonadIO m => EventKey -> m Word32

-- | Set the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventKey [ #time <a>:=</a> value ]
--   </pre>
setEventKeyTime :: MonadIO m => EventKey -> Word32 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventKey #type
--   </pre>
getEventKeyType :: MonadIO m => EventKey -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventKey [ #type <a>:=</a> value ]
--   </pre>
setEventKeyType :: MonadIO m => EventKey -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventKeyWindow :: MonadIO m => EventKey -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventKey #window
--   </pre>
getEventKeyWindow :: MonadIO m => EventKey -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventKey [ #window <a>:=</a> value ]
--   </pre>
setEventKeyWindow :: MonadIO m => EventKey -> Ptr Window -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventKey.EventKey
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventKey.EventKey tag


-- | Generated when the pointer moves.
module GI.Gdk.Structs.EventMotion

-- | Memory-managed wrapper type.
newtype EventMotion
EventMotion :: (ManagedPtr EventMotion) -> EventMotion

-- | Construct a <a>EventMotion</a> struct initialized to zero.
newZeroEventMotion :: MonadIO m => m EventMotion

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventMotion</a>.
noEventMotion :: Maybe EventMotion

-- | Get the value of the “<tt>axes</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventMotion #axes
--   </pre>
getEventMotionAxes :: MonadIO m => EventMotion -> m Double

-- | Set the value of the “<tt>axes</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventMotion [ #axes <a>:=</a> value ]
--   </pre>
setEventMotionAxes :: MonadIO m => EventMotion -> Double -> m ()

-- | Set the value of the “<tt>device</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #device
--   </pre>
clearEventMotionDevice :: MonadIO m => EventMotion -> m ()

-- | Get the value of the “<tt>device</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventMotion #device
--   </pre>
getEventMotionDevice :: MonadIO m => EventMotion -> m (Maybe Device)

-- | Set the value of the “<tt>device</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventMotion [ #device <a>:=</a> value ]
--   </pre>
setEventMotionDevice :: MonadIO m => EventMotion -> Ptr Device -> m ()

-- | Get the value of the “<tt>is_hint</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventMotion #isHint
--   </pre>
getEventMotionIsHint :: MonadIO m => EventMotion -> m Int16

-- | Set the value of the “<tt>is_hint</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventMotion [ #isHint <a>:=</a> value ]
--   </pre>
setEventMotionIsHint :: MonadIO m => EventMotion -> Int16 -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventMotion #sendEvent
--   </pre>
getEventMotionSendEvent :: MonadIO m => EventMotion -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventMotion [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventMotionSendEvent :: MonadIO m => EventMotion -> Int8 -> m ()

-- | Get the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventMotion #state
--   </pre>
getEventMotionState :: MonadIO m => EventMotion -> m [ModifierType]

-- | Set the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventMotion [ #state <a>:=</a> value ]
--   </pre>
setEventMotionState :: MonadIO m => EventMotion -> [ModifierType] -> m ()

-- | Get the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventMotion #time
--   </pre>
getEventMotionTime :: MonadIO m => EventMotion -> m Word32

-- | Set the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventMotion [ #time <a>:=</a> value ]
--   </pre>
setEventMotionTime :: MonadIO m => EventMotion -> Word32 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventMotion #type
--   </pre>
getEventMotionType :: MonadIO m => EventMotion -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventMotion [ #type <a>:=</a> value ]
--   </pre>
setEventMotionType :: MonadIO m => EventMotion -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventMotionWindow :: MonadIO m => EventMotion -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventMotion #window
--   </pre>
getEventMotionWindow :: MonadIO m => EventMotion -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventMotion [ #window <a>:=</a> value ]
--   </pre>
setEventMotionWindow :: MonadIO m => EventMotion -> Ptr Window -> m ()

-- | Get the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventMotion #x
--   </pre>
getEventMotionX :: MonadIO m => EventMotion -> m Double

-- | Set the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventMotion [ #x <a>:=</a> value ]
--   </pre>
setEventMotionX :: MonadIO m => EventMotion -> Double -> m ()

-- | Get the value of the “<tt>x_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventMotion #xRoot
--   </pre>
getEventMotionXRoot :: MonadIO m => EventMotion -> m Double

-- | Set the value of the “<tt>x_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventMotion [ #xRoot <a>:=</a> value ]
--   </pre>
setEventMotionXRoot :: MonadIO m => EventMotion -> Double -> m ()

-- | Get the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventMotion #y
--   </pre>
getEventMotionY :: MonadIO m => EventMotion -> m Double

-- | Set the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventMotion [ #y <a>:=</a> value ]
--   </pre>
setEventMotionY :: MonadIO m => EventMotion -> Double -> m ()

-- | Get the value of the “<tt>y_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventMotion #yRoot
--   </pre>
getEventMotionYRoot :: MonadIO m => EventMotion -> m Double

-- | Set the value of the “<tt>y_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventMotion [ #yRoot <a>:=</a> value ]
--   </pre>
setEventMotionYRoot :: MonadIO m => EventMotion -> Double -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventMotion.EventMotion
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventMotion.EventMotion tag


-- | Generated when the owner of a selection changes. On X11, this
--   information is only available if the X server supports the XFIXES
--   extension.
--   
--   <i>Since: 2.6</i>
module GI.Gdk.Structs.EventOwnerChange

-- | Memory-managed wrapper type.
newtype EventOwnerChange
EventOwnerChange :: (ManagedPtr EventOwnerChange) -> EventOwnerChange

-- | Construct a <a>EventOwnerChange</a> struct initialized to zero.
newZeroEventOwnerChange :: MonadIO m => m EventOwnerChange

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventOwnerChange</a>.
noEventOwnerChange :: Maybe EventOwnerChange

-- | Set the value of the “<tt>owner</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #owner
--   </pre>
clearEventOwnerChangeOwner :: MonadIO m => EventOwnerChange -> m ()

-- | Get the value of the “<tt>owner</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventOwnerChange #owner
--   </pre>
getEventOwnerChangeOwner :: MonadIO m => EventOwnerChange -> m (Maybe Window)

-- | Set the value of the “<tt>owner</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventOwnerChange [ #owner <a>:=</a> value ]
--   </pre>
setEventOwnerChangeOwner :: MonadIO m => EventOwnerChange -> Ptr Window -> m ()

-- | Get the value of the “<tt>reason</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventOwnerChange #reason
--   </pre>
getEventOwnerChangeReason :: MonadIO m => EventOwnerChange -> m OwnerChange

-- | Set the value of the “<tt>reason</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventOwnerChange [ #reason <a>:=</a> value ]
--   </pre>
setEventOwnerChangeReason :: MonadIO m => EventOwnerChange -> OwnerChange -> m ()

-- | Get the value of the “<tt>selection</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventOwnerChange #selection
--   </pre>
getEventOwnerChangeSelection :: MonadIO m => EventOwnerChange -> m Atom

-- | Get the value of the “<tt>selection_time</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventOwnerChange #selectionTime
--   </pre>
getEventOwnerChangeSelectionTime :: MonadIO m => EventOwnerChange -> m Word32

-- | Set the value of the “<tt>selection_time</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventOwnerChange [ #selectionTime <a>:=</a> value ]
--   </pre>
setEventOwnerChangeSelectionTime :: MonadIO m => EventOwnerChange -> Word32 -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventOwnerChange #sendEvent
--   </pre>
getEventOwnerChangeSendEvent :: MonadIO m => EventOwnerChange -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventOwnerChange [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventOwnerChangeSendEvent :: MonadIO m => EventOwnerChange -> Int8 -> m ()

-- | Get the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventOwnerChange #time
--   </pre>
getEventOwnerChangeTime :: MonadIO m => EventOwnerChange -> m Word32

-- | Set the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventOwnerChange [ #time <a>:=</a> value ]
--   </pre>
setEventOwnerChangeTime :: MonadIO m => EventOwnerChange -> Word32 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventOwnerChange #type
--   </pre>
getEventOwnerChangeType :: MonadIO m => EventOwnerChange -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventOwnerChange [ #type <a>:=</a> value ]
--   </pre>
setEventOwnerChangeType :: MonadIO m => EventOwnerChange -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventOwnerChangeWindow :: MonadIO m => EventOwnerChange -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventOwnerChange #window
--   </pre>
getEventOwnerChangeWindow :: MonadIO m => EventOwnerChange -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventOwnerChange [ #window <a>:=</a> value ]
--   </pre>
setEventOwnerChangeWindow :: MonadIO m => EventOwnerChange -> Ptr Window -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventOwnerChange.EventOwnerChange
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventOwnerChange.EventOwnerChange tag


-- | Generated during <a>InputSourceTabletPad</a> interaction with tactile
--   sensors.
--   
--   <i>Since: 3.22</i>
module GI.Gdk.Structs.EventPadAxis

-- | Memory-managed wrapper type.
newtype EventPadAxis
EventPadAxis :: (ManagedPtr EventPadAxis) -> EventPadAxis

-- | Construct a <a>EventPadAxis</a> struct initialized to zero.
newZeroEventPadAxis :: MonadIO m => m EventPadAxis

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventPadAxis</a>.
noEventPadAxis :: Maybe EventPadAxis

-- | Get the value of the “<tt>group</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadAxis #group
--   </pre>
getEventPadAxisGroup :: MonadIO m => EventPadAxis -> m Word32

-- | Set the value of the “<tt>group</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadAxis [ #group <a>:=</a> value ]
--   </pre>
setEventPadAxisGroup :: MonadIO m => EventPadAxis -> Word32 -> m ()

-- | Get the value of the “<tt>index</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadAxis #index
--   </pre>
getEventPadAxisIndex :: MonadIO m => EventPadAxis -> m Word32

-- | Set the value of the “<tt>index</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadAxis [ #index <a>:=</a> value ]
--   </pre>
setEventPadAxisIndex :: MonadIO m => EventPadAxis -> Word32 -> m ()

-- | Get the value of the “<tt>mode</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadAxis #mode
--   </pre>
getEventPadAxisMode :: MonadIO m => EventPadAxis -> m Word32

-- | Set the value of the “<tt>mode</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadAxis [ #mode <a>:=</a> value ]
--   </pre>
setEventPadAxisMode :: MonadIO m => EventPadAxis -> Word32 -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadAxis #sendEvent
--   </pre>
getEventPadAxisSendEvent :: MonadIO m => EventPadAxis -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadAxis [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventPadAxisSendEvent :: MonadIO m => EventPadAxis -> Int8 -> m ()

-- | Get the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadAxis #time
--   </pre>
getEventPadAxisTime :: MonadIO m => EventPadAxis -> m Word32

-- | Set the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadAxis [ #time <a>:=</a> value ]
--   </pre>
setEventPadAxisTime :: MonadIO m => EventPadAxis -> Word32 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadAxis #type
--   </pre>
getEventPadAxisType :: MonadIO m => EventPadAxis -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadAxis [ #type <a>:=</a> value ]
--   </pre>
setEventPadAxisType :: MonadIO m => EventPadAxis -> EventType -> m ()

-- | Get the value of the “<tt>value</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadAxis #value
--   </pre>
getEventPadAxisValue :: MonadIO m => EventPadAxis -> m Double

-- | Set the value of the “<tt>value</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadAxis [ #value <a>:=</a> value ]
--   </pre>
setEventPadAxisValue :: MonadIO m => EventPadAxis -> Double -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventPadAxisWindow :: MonadIO m => EventPadAxis -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadAxis #window
--   </pre>
getEventPadAxisWindow :: MonadIO m => EventPadAxis -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadAxis [ #window <a>:=</a> value ]
--   </pre>
setEventPadAxisWindow :: MonadIO m => EventPadAxis -> Ptr Window -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventPadAxis.EventPadAxis
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventPadAxis.EventPadAxis tag


-- | Generated during <a>InputSourceTabletPad</a> button presses and
--   releases.
--   
--   <i>Since: 3.22</i>
module GI.Gdk.Structs.EventPadButton

-- | Memory-managed wrapper type.
newtype EventPadButton
EventPadButton :: (ManagedPtr EventPadButton) -> EventPadButton

-- | Construct a <a>EventPadButton</a> struct initialized to zero.
newZeroEventPadButton :: MonadIO m => m EventPadButton

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventPadButton</a>.
noEventPadButton :: Maybe EventPadButton

-- | Get the value of the “<tt>button</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadButton #button
--   </pre>
getEventPadButtonButton :: MonadIO m => EventPadButton -> m Word32

-- | Set the value of the “<tt>button</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadButton [ #button <a>:=</a> value ]
--   </pre>
setEventPadButtonButton :: MonadIO m => EventPadButton -> Word32 -> m ()

-- | Get the value of the “<tt>group</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadButton #group
--   </pre>
getEventPadButtonGroup :: MonadIO m => EventPadButton -> m Word32

-- | Set the value of the “<tt>group</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadButton [ #group <a>:=</a> value ]
--   </pre>
setEventPadButtonGroup :: MonadIO m => EventPadButton -> Word32 -> m ()

-- | Get the value of the “<tt>mode</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadButton #mode
--   </pre>
getEventPadButtonMode :: MonadIO m => EventPadButton -> m Word32

-- | Set the value of the “<tt>mode</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadButton [ #mode <a>:=</a> value ]
--   </pre>
setEventPadButtonMode :: MonadIO m => EventPadButton -> Word32 -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadButton #sendEvent
--   </pre>
getEventPadButtonSendEvent :: MonadIO m => EventPadButton -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadButton [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventPadButtonSendEvent :: MonadIO m => EventPadButton -> Int8 -> m ()

-- | Get the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadButton #time
--   </pre>
getEventPadButtonTime :: MonadIO m => EventPadButton -> m Word32

-- | Set the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadButton [ #time <a>:=</a> value ]
--   </pre>
setEventPadButtonTime :: MonadIO m => EventPadButton -> Word32 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadButton #type
--   </pre>
getEventPadButtonType :: MonadIO m => EventPadButton -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadButton [ #type <a>:=</a> value ]
--   </pre>
setEventPadButtonType :: MonadIO m => EventPadButton -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventPadButtonWindow :: MonadIO m => EventPadButton -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadButton #window
--   </pre>
getEventPadButtonWindow :: MonadIO m => EventPadButton -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadButton [ #window <a>:=</a> value ]
--   </pre>
setEventPadButtonWindow :: MonadIO m => EventPadButton -> Ptr Window -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventPadButton.EventPadButton
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventPadButton.EventPadButton tag


-- | Generated during <a>InputSourceTabletPad</a> mode switches in a group.
--   
--   <i>Since: 3.22</i>
module GI.Gdk.Structs.EventPadGroupMode

-- | Memory-managed wrapper type.
newtype EventPadGroupMode
EventPadGroupMode :: (ManagedPtr EventPadGroupMode) -> EventPadGroupMode

-- | Construct a <a>EventPadGroupMode</a> struct initialized to zero.
newZeroEventPadGroupMode :: MonadIO m => m EventPadGroupMode

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventPadGroupMode</a>.
noEventPadGroupMode :: Maybe EventPadGroupMode

-- | Get the value of the “<tt>group</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadGroupMode #group
--   </pre>
getEventPadGroupModeGroup :: MonadIO m => EventPadGroupMode -> m Word32

-- | Set the value of the “<tt>group</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadGroupMode [ #group <a>:=</a> value ]
--   </pre>
setEventPadGroupModeGroup :: MonadIO m => EventPadGroupMode -> Word32 -> m ()

-- | Get the value of the “<tt>mode</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadGroupMode #mode
--   </pre>
getEventPadGroupModeMode :: MonadIO m => EventPadGroupMode -> m Word32

-- | Set the value of the “<tt>mode</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadGroupMode [ #mode <a>:=</a> value ]
--   </pre>
setEventPadGroupModeMode :: MonadIO m => EventPadGroupMode -> Word32 -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadGroupMode #sendEvent
--   </pre>
getEventPadGroupModeSendEvent :: MonadIO m => EventPadGroupMode -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadGroupMode [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventPadGroupModeSendEvent :: MonadIO m => EventPadGroupMode -> Int8 -> m ()

-- | Get the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadGroupMode #time
--   </pre>
getEventPadGroupModeTime :: MonadIO m => EventPadGroupMode -> m Word32

-- | Set the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadGroupMode [ #time <a>:=</a> value ]
--   </pre>
setEventPadGroupModeTime :: MonadIO m => EventPadGroupMode -> Word32 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadGroupMode #type
--   </pre>
getEventPadGroupModeType :: MonadIO m => EventPadGroupMode -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadGroupMode [ #type <a>:=</a> value ]
--   </pre>
setEventPadGroupModeType :: MonadIO m => EventPadGroupMode -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventPadGroupModeWindow :: MonadIO m => EventPadGroupMode -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventPadGroupMode #window
--   </pre>
getEventPadGroupModeWindow :: MonadIO m => EventPadGroupMode -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventPadGroupMode [ #window <a>:=</a> value ]
--   </pre>
setEventPadGroupModeWindow :: MonadIO m => EventPadGroupMode -> Ptr Window -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventPadGroupMode.EventPadGroupMode
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventPadGroupMode.EventPadGroupMode tag


-- | Describes a property change on a window.
module GI.Gdk.Structs.EventProperty

-- | Memory-managed wrapper type.
newtype EventProperty
EventProperty :: (ManagedPtr EventProperty) -> EventProperty

-- | Construct a <a>EventProperty</a> struct initialized to zero.
newZeroEventProperty :: MonadIO m => m EventProperty

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventProperty</a>.
noEventProperty :: Maybe EventProperty

-- | Get the value of the “<tt>atom</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventProperty #atom
--   </pre>
getEventPropertyAtom :: MonadIO m => EventProperty -> m Atom

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventProperty #sendEvent
--   </pre>
getEventPropertySendEvent :: MonadIO m => EventProperty -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventProperty [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventPropertySendEvent :: MonadIO m => EventProperty -> Int8 -> m ()

-- | Get the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventProperty #state
--   </pre>
getEventPropertyState :: MonadIO m => EventProperty -> m PropertyState

-- | Set the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventProperty [ #state <a>:=</a> value ]
--   </pre>
setEventPropertyState :: MonadIO m => EventProperty -> PropertyState -> m ()

-- | Get the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventProperty #time
--   </pre>
getEventPropertyTime :: MonadIO m => EventProperty -> m Word32

-- | Set the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventProperty [ #time <a>:=</a> value ]
--   </pre>
setEventPropertyTime :: MonadIO m => EventProperty -> Word32 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventProperty #type
--   </pre>
getEventPropertyType :: MonadIO m => EventProperty -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventProperty [ #type <a>:=</a> value ]
--   </pre>
setEventPropertyType :: MonadIO m => EventProperty -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventPropertyWindow :: MonadIO m => EventProperty -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventProperty #window
--   </pre>
getEventPropertyWindow :: MonadIO m => EventProperty -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventProperty [ #window <a>:=</a> value ]
--   </pre>
setEventPropertyWindow :: MonadIO m => EventProperty -> Ptr Window -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventProperty.EventProperty
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventProperty.EventProperty tag


-- | Proximity events are generated when using GDK’s wrapper for the XInput
--   extension. The XInput extension is an add-on for standard X that
--   allows you to use nonstandard devices such as graphics tablets. A
--   proximity event indicates that the stylus has moved in or out of
--   contact with the tablet, or perhaps that the user’s finger has moved
--   in or out of contact with a touch screen.
--   
--   This event type will be used pretty rarely. It only is important for
--   XInput aware programs that are drawing their own cursor.
module GI.Gdk.Structs.EventProximity

-- | Memory-managed wrapper type.
newtype EventProximity
EventProximity :: (ManagedPtr EventProximity) -> EventProximity

-- | Construct a <a>EventProximity</a> struct initialized to zero.
newZeroEventProximity :: MonadIO m => m EventProximity

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventProximity</a>.
noEventProximity :: Maybe EventProximity

-- | Set the value of the “<tt>device</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #device
--   </pre>
clearEventProximityDevice :: MonadIO m => EventProximity -> m ()

-- | Get the value of the “<tt>device</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventProximity #device
--   </pre>
getEventProximityDevice :: MonadIO m => EventProximity -> m (Maybe Device)

-- | Set the value of the “<tt>device</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventProximity [ #device <a>:=</a> value ]
--   </pre>
setEventProximityDevice :: MonadIO m => EventProximity -> Ptr Device -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventProximity #sendEvent
--   </pre>
getEventProximitySendEvent :: MonadIO m => EventProximity -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventProximity [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventProximitySendEvent :: MonadIO m => EventProximity -> Int8 -> m ()

-- | Get the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventProximity #time
--   </pre>
getEventProximityTime :: MonadIO m => EventProximity -> m Word32

-- | Set the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventProximity [ #time <a>:=</a> value ]
--   </pre>
setEventProximityTime :: MonadIO m => EventProximity -> Word32 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventProximity #type
--   </pre>
getEventProximityType :: MonadIO m => EventProximity -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventProximity [ #type <a>:=</a> value ]
--   </pre>
setEventProximityType :: MonadIO m => EventProximity -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventProximityWindow :: MonadIO m => EventProximity -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventProximity #window
--   </pre>
getEventProximityWindow :: MonadIO m => EventProximity -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventProximity [ #window <a>:=</a> value ]
--   </pre>
setEventProximityWindow :: MonadIO m => EventProximity -> Ptr Window -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventProximity.EventProximity
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventProximity.EventProximity tag


-- | Generated from button presses for the buttons 4 to 7. Wheel mice are
--   usually configured to generate button press events for buttons 4 and 5
--   when the wheel is turned.
--   
--   Some GDK backends can also generate “smooth” scroll events, which can
--   be recognized by the <a>ScrollDirectionSmooth</a> scroll direction.
--   For these, the scroll deltas can be obtained with
--   <a>eventGetScrollDeltas</a>.
module GI.Gdk.Structs.EventScroll

-- | Memory-managed wrapper type.
newtype EventScroll
EventScroll :: (ManagedPtr EventScroll) -> EventScroll

-- | Construct a <a>EventScroll</a> struct initialized to zero.
newZeroEventScroll :: MonadIO m => m EventScroll

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventScroll</a>.
noEventScroll :: Maybe EventScroll

-- | Get the value of the “<tt>delta_x</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventScroll #deltaX
--   </pre>
getEventScrollDeltaX :: MonadIO m => EventScroll -> m Double

-- | Set the value of the “<tt>delta_x</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventScroll [ #deltaX <a>:=</a> value ]
--   </pre>
setEventScrollDeltaX :: MonadIO m => EventScroll -> Double -> m ()

-- | Get the value of the “<tt>delta_y</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventScroll #deltaY
--   </pre>
getEventScrollDeltaY :: MonadIO m => EventScroll -> m Double

-- | Set the value of the “<tt>delta_y</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventScroll [ #deltaY <a>:=</a> value ]
--   </pre>
setEventScrollDeltaY :: MonadIO m => EventScroll -> Double -> m ()

-- | Set the value of the “<tt>device</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #device
--   </pre>
clearEventScrollDevice :: MonadIO m => EventScroll -> m ()

-- | Get the value of the “<tt>device</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventScroll #device
--   </pre>
getEventScrollDevice :: MonadIO m => EventScroll -> m (Maybe Device)

-- | Set the value of the “<tt>device</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventScroll [ #device <a>:=</a> value ]
--   </pre>
setEventScrollDevice :: MonadIO m => EventScroll -> Ptr Device -> m ()

-- | Get the value of the “<tt>direction</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventScroll #direction
--   </pre>
getEventScrollDirection :: MonadIO m => EventScroll -> m ScrollDirection

-- | Set the value of the “<tt>direction</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventScroll [ #direction <a>:=</a> value ]
--   </pre>
setEventScrollDirection :: MonadIO m => EventScroll -> ScrollDirection -> m ()

-- | Get the value of the “<tt>is_stop</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventScroll #isStop
--   </pre>
getEventScrollIsStop :: MonadIO m => EventScroll -> m Word32

-- | Set the value of the “<tt>is_stop</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventScroll [ #isStop <a>:=</a> value ]
--   </pre>
setEventScrollIsStop :: MonadIO m => EventScroll -> Word32 -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventScroll #sendEvent
--   </pre>
getEventScrollSendEvent :: MonadIO m => EventScroll -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventScroll [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventScrollSendEvent :: MonadIO m => EventScroll -> Int8 -> m ()

-- | Get the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventScroll #state
--   </pre>
getEventScrollState :: MonadIO m => EventScroll -> m [ModifierType]

-- | Set the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventScroll [ #state <a>:=</a> value ]
--   </pre>
setEventScrollState :: MonadIO m => EventScroll -> [ModifierType] -> m ()

-- | Get the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventScroll #time
--   </pre>
getEventScrollTime :: MonadIO m => EventScroll -> m Word32

-- | Set the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventScroll [ #time <a>:=</a> value ]
--   </pre>
setEventScrollTime :: MonadIO m => EventScroll -> Word32 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventScroll #type
--   </pre>
getEventScrollType :: MonadIO m => EventScroll -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventScroll [ #type <a>:=</a> value ]
--   </pre>
setEventScrollType :: MonadIO m => EventScroll -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventScrollWindow :: MonadIO m => EventScroll -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventScroll #window
--   </pre>
getEventScrollWindow :: MonadIO m => EventScroll -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventScroll [ #window <a>:=</a> value ]
--   </pre>
setEventScrollWindow :: MonadIO m => EventScroll -> Ptr Window -> m ()

-- | Get the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventScroll #x
--   </pre>
getEventScrollX :: MonadIO m => EventScroll -> m Double

-- | Set the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventScroll [ #x <a>:=</a> value ]
--   </pre>
setEventScrollX :: MonadIO m => EventScroll -> Double -> m ()

-- | Get the value of the “<tt>x_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventScroll #xRoot
--   </pre>
getEventScrollXRoot :: MonadIO m => EventScroll -> m Double

-- | Set the value of the “<tt>x_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventScroll [ #xRoot <a>:=</a> value ]
--   </pre>
setEventScrollXRoot :: MonadIO m => EventScroll -> Double -> m ()

-- | Get the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventScroll #y
--   </pre>
getEventScrollY :: MonadIO m => EventScroll -> m Double

-- | Set the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventScroll [ #y <a>:=</a> value ]
--   </pre>
setEventScrollY :: MonadIO m => EventScroll -> Double -> m ()

-- | Get the value of the “<tt>y_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventScroll #yRoot
--   </pre>
getEventScrollYRoot :: MonadIO m => EventScroll -> m Double

-- | Set the value of the “<tt>y_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventScroll [ #yRoot <a>:=</a> value ]
--   </pre>
setEventScrollYRoot :: MonadIO m => EventScroll -> Double -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventScroll.EventScroll
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventScroll.EventScroll tag


-- | Generated when a selection is requested or ownership of a selection is
--   taken over by another client application.
module GI.Gdk.Structs.EventSelection

-- | Memory-managed wrapper type.
newtype EventSelection
EventSelection :: (ManagedPtr EventSelection) -> EventSelection

-- | Construct a <a>EventSelection</a> struct initialized to zero.
newZeroEventSelection :: MonadIO m => m EventSelection

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventSelection</a>.
noEventSelection :: Maybe EventSelection

-- | Get the value of the “<tt>property</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventSelection #property
--   </pre>
getEventSelectionProperty :: MonadIO m => EventSelection -> m Atom

-- | Set the value of the “<tt>requestor</tt>” field to <a>Nothing</a>.
--   When <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #requestor
--   </pre>
clearEventSelectionRequestor :: MonadIO m => EventSelection -> m ()

-- | Get the value of the “<tt>requestor</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventSelection #requestor
--   </pre>
getEventSelectionRequestor :: MonadIO m => EventSelection -> m (Maybe Window)

-- | Set the value of the “<tt>requestor</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventSelection [ #requestor <a>:=</a> value ]
--   </pre>
setEventSelectionRequestor :: MonadIO m => EventSelection -> Ptr Window -> m ()

-- | Get the value of the “<tt>selection</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventSelection #selection
--   </pre>
getEventSelectionSelection :: MonadIO m => EventSelection -> m Atom

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventSelection #sendEvent
--   </pre>
getEventSelectionSendEvent :: MonadIO m => EventSelection -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventSelection [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventSelectionSendEvent :: MonadIO m => EventSelection -> Int8 -> m ()

-- | Get the value of the “<tt>target</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventSelection #target
--   </pre>
getEventSelectionTarget :: MonadIO m => EventSelection -> m Atom

-- | Get the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventSelection #time
--   </pre>
getEventSelectionTime :: MonadIO m => EventSelection -> m Word32

-- | Set the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventSelection [ #time <a>:=</a> value ]
--   </pre>
setEventSelectionTime :: MonadIO m => EventSelection -> Word32 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventSelection #type
--   </pre>
getEventSelectionType :: MonadIO m => EventSelection -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventSelection [ #type <a>:=</a> value ]
--   </pre>
setEventSelectionType :: MonadIO m => EventSelection -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventSelectionWindow :: MonadIO m => EventSelection -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventSelection #window
--   </pre>
getEventSelectionWindow :: MonadIO m => EventSelection -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventSelection [ #window <a>:=</a> value ]
--   </pre>
setEventSelectionWindow :: MonadIO m => EventSelection -> Ptr Window -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventSelection.EventSelection
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventSelection.EventSelection tag


-- | <i>No description available in the introspection data.</i>
module GI.Gdk.Structs.EventSequence

-- | Memory-managed wrapper type.
newtype EventSequence
EventSequence :: (ManagedPtr EventSequence) -> EventSequence

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventSequence</a>.
noEventSequence :: Maybe EventSequence
instance Data.GI.Base.BasicTypes.BoxedObject GI.Gdk.Structs.EventSequence.EventSequence


-- | Generated when a setting is modified.
module GI.Gdk.Structs.EventSetting

-- | Memory-managed wrapper type.
newtype EventSetting
EventSetting :: (ManagedPtr EventSetting) -> EventSetting

-- | Construct a <a>EventSetting</a> struct initialized to zero.
newZeroEventSetting :: MonadIO m => m EventSetting

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventSetting</a>.
noEventSetting :: Maybe EventSetting

-- | Get the value of the “<tt>action</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventSetting #action
--   </pre>
getEventSettingAction :: MonadIO m => EventSetting -> m SettingAction

-- | Set the value of the “<tt>action</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventSetting [ #action <a>:=</a> value ]
--   </pre>
setEventSettingAction :: MonadIO m => EventSetting -> SettingAction -> m ()

-- | Set the value of the “<tt>name</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #name
--   </pre>
clearEventSettingName :: MonadIO m => EventSetting -> m ()

-- | Get the value of the “<tt>name</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventSetting #name
--   </pre>
getEventSettingName :: MonadIO m => EventSetting -> m (Maybe Text)

-- | Set the value of the “<tt>name</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventSetting [ #name <a>:=</a> value ]
--   </pre>
setEventSettingName :: MonadIO m => EventSetting -> CString -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventSetting #sendEvent
--   </pre>
getEventSettingSendEvent :: MonadIO m => EventSetting -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventSetting [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventSettingSendEvent :: MonadIO m => EventSetting -> Int8 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventSetting #type
--   </pre>
getEventSettingType :: MonadIO m => EventSetting -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventSetting [ #type <a>:=</a> value ]
--   </pre>
setEventSettingType :: MonadIO m => EventSetting -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventSettingWindow :: MonadIO m => EventSetting -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventSetting #window
--   </pre>
getEventSettingWindow :: MonadIO m => EventSetting -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventSetting [ #window <a>:=</a> value ]
--   </pre>
setEventSettingWindow :: MonadIO m => EventSetting -> Ptr Window -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventSetting.EventSetting
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventSetting.EventSetting tag


-- | Used for touch events. <i><tt>type</tt></i> field will be one of
--   <a>EventTypeTouchBegin</a>, <a>EventTypeTouchUpdate</a>,
--   <a>EventTypeTouchEnd</a> or <a>EventTypeTouchCancel</a>.
--   
--   Touch events are grouped into sequences by means of the
--   <i><tt>sequence</tt></i> field, which can also be obtained with
--   <a>eventGetEventSequence</a>. Each sequence begins with a
--   <a>EventTypeTouchBegin</a> event, followed by any number of
--   <a>EventTypeTouchUpdate</a> events, and ends with a
--   <a>EventTypeTouchEnd</a> (or <a>EventTypeTouchCancel</a>) event. With
--   multitouch devices, there may be several active sequences at the same
--   time.
module GI.Gdk.Structs.EventTouch

-- | Memory-managed wrapper type.
newtype EventTouch
EventTouch :: (ManagedPtr EventTouch) -> EventTouch

-- | Construct a <a>EventTouch</a> struct initialized to zero.
newZeroEventTouch :: MonadIO m => m EventTouch

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventTouch</a>.
noEventTouch :: Maybe EventTouch

-- | Get the value of the “<tt>axes</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouch #axes
--   </pre>
getEventTouchAxes :: MonadIO m => EventTouch -> m Double

-- | Set the value of the “<tt>axes</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouch [ #axes <a>:=</a> value ]
--   </pre>
setEventTouchAxes :: MonadIO m => EventTouch -> Double -> m ()

-- | Set the value of the “<tt>device</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #device
--   </pre>
clearEventTouchDevice :: MonadIO m => EventTouch -> m ()

-- | Get the value of the “<tt>device</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouch #device
--   </pre>
getEventTouchDevice :: MonadIO m => EventTouch -> m (Maybe Device)

-- | Set the value of the “<tt>device</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouch [ #device <a>:=</a> value ]
--   </pre>
setEventTouchDevice :: MonadIO m => EventTouch -> Ptr Device -> m ()

-- | Get the value of the “<tt>emulating_pointer</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouch #emulatingPointer
--   </pre>
getEventTouchEmulatingPointer :: MonadIO m => EventTouch -> m Bool

-- | Set the value of the “<tt>emulating_pointer</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouch [ #emulatingPointer <a>:=</a> value ]
--   </pre>
setEventTouchEmulatingPointer :: MonadIO m => EventTouch -> Bool -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouch #sendEvent
--   </pre>
getEventTouchSendEvent :: MonadIO m => EventTouch -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouch [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventTouchSendEvent :: MonadIO m => EventTouch -> Int8 -> m ()

-- | Set the value of the “<tt>sequence</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #sequence
--   </pre>
clearEventTouchSequence :: MonadIO m => EventTouch -> m ()

-- | Get the value of the “<tt>sequence</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouch #sequence
--   </pre>
getEventTouchSequence :: MonadIO m => EventTouch -> m (Maybe EventSequence)

-- | Set the value of the “<tt>sequence</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouch [ #sequence <a>:=</a> value ]
--   </pre>
setEventTouchSequence :: MonadIO m => EventTouch -> Ptr EventSequence -> m ()

-- | Get the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouch #state
--   </pre>
getEventTouchState :: MonadIO m => EventTouch -> m [ModifierType]

-- | Set the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouch [ #state <a>:=</a> value ]
--   </pre>
setEventTouchState :: MonadIO m => EventTouch -> [ModifierType] -> m ()

-- | Get the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouch #time
--   </pre>
getEventTouchTime :: MonadIO m => EventTouch -> m Word32

-- | Set the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouch [ #time <a>:=</a> value ]
--   </pre>
setEventTouchTime :: MonadIO m => EventTouch -> Word32 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouch #type
--   </pre>
getEventTouchType :: MonadIO m => EventTouch -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouch [ #type <a>:=</a> value ]
--   </pre>
setEventTouchType :: MonadIO m => EventTouch -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventTouchWindow :: MonadIO m => EventTouch -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouch #window
--   </pre>
getEventTouchWindow :: MonadIO m => EventTouch -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouch [ #window <a>:=</a> value ]
--   </pre>
setEventTouchWindow :: MonadIO m => EventTouch -> Ptr Window -> m ()

-- | Get the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouch #x
--   </pre>
getEventTouchX :: MonadIO m => EventTouch -> m Double

-- | Set the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouch [ #x <a>:=</a> value ]
--   </pre>
setEventTouchX :: MonadIO m => EventTouch -> Double -> m ()

-- | Get the value of the “<tt>x_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouch #xRoot
--   </pre>
getEventTouchXRoot :: MonadIO m => EventTouch -> m Double

-- | Set the value of the “<tt>x_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouch [ #xRoot <a>:=</a> value ]
--   </pre>
setEventTouchXRoot :: MonadIO m => EventTouch -> Double -> m ()

-- | Get the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouch #y
--   </pre>
getEventTouchY :: MonadIO m => EventTouch -> m Double

-- | Set the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouch [ #y <a>:=</a> value ]
--   </pre>
setEventTouchY :: MonadIO m => EventTouch -> Double -> m ()

-- | Get the value of the “<tt>y_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouch #yRoot
--   </pre>
getEventTouchYRoot :: MonadIO m => EventTouch -> m Double

-- | Set the value of the “<tt>y_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouch [ #yRoot <a>:=</a> value ]
--   </pre>
setEventTouchYRoot :: MonadIO m => EventTouch -> Double -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventTouch.EventTouch
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventTouch.EventTouch tag


-- | Generated during touchpad swipe gestures.
module GI.Gdk.Structs.EventTouchpadPinch

-- | Memory-managed wrapper type.
newtype EventTouchpadPinch
EventTouchpadPinch :: (ManagedPtr EventTouchpadPinch) -> EventTouchpadPinch

-- | Construct a <a>EventTouchpadPinch</a> struct initialized to zero.
newZeroEventTouchpadPinch :: MonadIO m => m EventTouchpadPinch

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventTouchpadPinch</a>.
noEventTouchpadPinch :: Maybe EventTouchpadPinch

-- | Get the value of the “<tt>angle_delta</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadPinch #angleDelta
--   </pre>
getEventTouchpadPinchAngleDelta :: MonadIO m => EventTouchpadPinch -> m Double

-- | Set the value of the “<tt>angle_delta</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadPinch [ #angleDelta <a>:=</a> value ]
--   </pre>
setEventTouchpadPinchAngleDelta :: MonadIO m => EventTouchpadPinch -> Double -> m ()

-- | Get the value of the “<tt>dx</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadPinch #dx
--   </pre>
getEventTouchpadPinchDx :: MonadIO m => EventTouchpadPinch -> m Double

-- | Set the value of the “<tt>dx</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadPinch [ #dx <a>:=</a> value ]
--   </pre>
setEventTouchpadPinchDx :: MonadIO m => EventTouchpadPinch -> Double -> m ()

-- | Get the value of the “<tt>dy</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadPinch #dy
--   </pre>
getEventTouchpadPinchDy :: MonadIO m => EventTouchpadPinch -> m Double

-- | Set the value of the “<tt>dy</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadPinch [ #dy <a>:=</a> value ]
--   </pre>
setEventTouchpadPinchDy :: MonadIO m => EventTouchpadPinch -> Double -> m ()

-- | Get the value of the “<tt>n_fingers</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadPinch #nFingers
--   </pre>
getEventTouchpadPinchNFingers :: MonadIO m => EventTouchpadPinch -> m Int8

-- | Set the value of the “<tt>n_fingers</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadPinch [ #nFingers <a>:=</a> value ]
--   </pre>
setEventTouchpadPinchNFingers :: MonadIO m => EventTouchpadPinch -> Int8 -> m ()

-- | Get the value of the “<tt>phase</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadPinch #phase
--   </pre>
getEventTouchpadPinchPhase :: MonadIO m => EventTouchpadPinch -> m Int8

-- | Set the value of the “<tt>phase</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadPinch [ #phase <a>:=</a> value ]
--   </pre>
setEventTouchpadPinchPhase :: MonadIO m => EventTouchpadPinch -> Int8 -> m ()

-- | Get the value of the “<tt>scale</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadPinch #scale
--   </pre>
getEventTouchpadPinchScale :: MonadIO m => EventTouchpadPinch -> m Double

-- | Set the value of the “<tt>scale</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadPinch [ #scale <a>:=</a> value ]
--   </pre>
setEventTouchpadPinchScale :: MonadIO m => EventTouchpadPinch -> Double -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadPinch #sendEvent
--   </pre>
getEventTouchpadPinchSendEvent :: MonadIO m => EventTouchpadPinch -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadPinch [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventTouchpadPinchSendEvent :: MonadIO m => EventTouchpadPinch -> Int8 -> m ()

-- | Get the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadPinch #state
--   </pre>
getEventTouchpadPinchState :: MonadIO m => EventTouchpadPinch -> m [ModifierType]

-- | Set the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadPinch [ #state <a>:=</a> value ]
--   </pre>
setEventTouchpadPinchState :: MonadIO m => EventTouchpadPinch -> [ModifierType] -> m ()

-- | Get the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadPinch #time
--   </pre>
getEventTouchpadPinchTime :: MonadIO m => EventTouchpadPinch -> m Word32

-- | Set the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadPinch [ #time <a>:=</a> value ]
--   </pre>
setEventTouchpadPinchTime :: MonadIO m => EventTouchpadPinch -> Word32 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadPinch #type
--   </pre>
getEventTouchpadPinchType :: MonadIO m => EventTouchpadPinch -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadPinch [ #type <a>:=</a> value ]
--   </pre>
setEventTouchpadPinchType :: MonadIO m => EventTouchpadPinch -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventTouchpadPinchWindow :: MonadIO m => EventTouchpadPinch -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadPinch #window
--   </pre>
getEventTouchpadPinchWindow :: MonadIO m => EventTouchpadPinch -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadPinch [ #window <a>:=</a> value ]
--   </pre>
setEventTouchpadPinchWindow :: MonadIO m => EventTouchpadPinch -> Ptr Window -> m ()

-- | Get the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadPinch #x
--   </pre>
getEventTouchpadPinchX :: MonadIO m => EventTouchpadPinch -> m Double

-- | Set the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadPinch [ #x <a>:=</a> value ]
--   </pre>
setEventTouchpadPinchX :: MonadIO m => EventTouchpadPinch -> Double -> m ()

-- | Get the value of the “<tt>x_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadPinch #xRoot
--   </pre>
getEventTouchpadPinchXRoot :: MonadIO m => EventTouchpadPinch -> m Double

-- | Set the value of the “<tt>x_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadPinch [ #xRoot <a>:=</a> value ]
--   </pre>
setEventTouchpadPinchXRoot :: MonadIO m => EventTouchpadPinch -> Double -> m ()

-- | Get the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadPinch #y
--   </pre>
getEventTouchpadPinchY :: MonadIO m => EventTouchpadPinch -> m Double

-- | Set the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadPinch [ #y <a>:=</a> value ]
--   </pre>
setEventTouchpadPinchY :: MonadIO m => EventTouchpadPinch -> Double -> m ()

-- | Get the value of the “<tt>y_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadPinch #yRoot
--   </pre>
getEventTouchpadPinchYRoot :: MonadIO m => EventTouchpadPinch -> m Double

-- | Set the value of the “<tt>y_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadPinch [ #yRoot <a>:=</a> value ]
--   </pre>
setEventTouchpadPinchYRoot :: MonadIO m => EventTouchpadPinch -> Double -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventTouchpadPinch.EventTouchpadPinch
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventTouchpadPinch.EventTouchpadPinch tag


-- | Generated during touchpad swipe gestures.
module GI.Gdk.Structs.EventTouchpadSwipe

-- | Memory-managed wrapper type.
newtype EventTouchpadSwipe
EventTouchpadSwipe :: (ManagedPtr EventTouchpadSwipe) -> EventTouchpadSwipe

-- | Construct a <a>EventTouchpadSwipe</a> struct initialized to zero.
newZeroEventTouchpadSwipe :: MonadIO m => m EventTouchpadSwipe

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventTouchpadSwipe</a>.
noEventTouchpadSwipe :: Maybe EventTouchpadSwipe

-- | Get the value of the “<tt>dx</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadSwipe #dx
--   </pre>
getEventTouchpadSwipeDx :: MonadIO m => EventTouchpadSwipe -> m Double

-- | Set the value of the “<tt>dx</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadSwipe [ #dx <a>:=</a> value ]
--   </pre>
setEventTouchpadSwipeDx :: MonadIO m => EventTouchpadSwipe -> Double -> m ()

-- | Get the value of the “<tt>dy</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadSwipe #dy
--   </pre>
getEventTouchpadSwipeDy :: MonadIO m => EventTouchpadSwipe -> m Double

-- | Set the value of the “<tt>dy</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadSwipe [ #dy <a>:=</a> value ]
--   </pre>
setEventTouchpadSwipeDy :: MonadIO m => EventTouchpadSwipe -> Double -> m ()

-- | Get the value of the “<tt>n_fingers</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadSwipe #nFingers
--   </pre>
getEventTouchpadSwipeNFingers :: MonadIO m => EventTouchpadSwipe -> m Int8

-- | Set the value of the “<tt>n_fingers</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadSwipe [ #nFingers <a>:=</a> value ]
--   </pre>
setEventTouchpadSwipeNFingers :: MonadIO m => EventTouchpadSwipe -> Int8 -> m ()

-- | Get the value of the “<tt>phase</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadSwipe #phase
--   </pre>
getEventTouchpadSwipePhase :: MonadIO m => EventTouchpadSwipe -> m Int8

-- | Set the value of the “<tt>phase</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadSwipe [ #phase <a>:=</a> value ]
--   </pre>
setEventTouchpadSwipePhase :: MonadIO m => EventTouchpadSwipe -> Int8 -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadSwipe #sendEvent
--   </pre>
getEventTouchpadSwipeSendEvent :: MonadIO m => EventTouchpadSwipe -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadSwipe [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventTouchpadSwipeSendEvent :: MonadIO m => EventTouchpadSwipe -> Int8 -> m ()

-- | Get the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadSwipe #state
--   </pre>
getEventTouchpadSwipeState :: MonadIO m => EventTouchpadSwipe -> m [ModifierType]

-- | Set the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadSwipe [ #state <a>:=</a> value ]
--   </pre>
setEventTouchpadSwipeState :: MonadIO m => EventTouchpadSwipe -> [ModifierType] -> m ()

-- | Get the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadSwipe #time
--   </pre>
getEventTouchpadSwipeTime :: MonadIO m => EventTouchpadSwipe -> m Word32

-- | Set the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadSwipe [ #time <a>:=</a> value ]
--   </pre>
setEventTouchpadSwipeTime :: MonadIO m => EventTouchpadSwipe -> Word32 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadSwipe #type
--   </pre>
getEventTouchpadSwipeType :: MonadIO m => EventTouchpadSwipe -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadSwipe [ #type <a>:=</a> value ]
--   </pre>
setEventTouchpadSwipeType :: MonadIO m => EventTouchpadSwipe -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventTouchpadSwipeWindow :: MonadIO m => EventTouchpadSwipe -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadSwipe #window
--   </pre>
getEventTouchpadSwipeWindow :: MonadIO m => EventTouchpadSwipe -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadSwipe [ #window <a>:=</a> value ]
--   </pre>
setEventTouchpadSwipeWindow :: MonadIO m => EventTouchpadSwipe -> Ptr Window -> m ()

-- | Get the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadSwipe #x
--   </pre>
getEventTouchpadSwipeX :: MonadIO m => EventTouchpadSwipe -> m Double

-- | Set the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadSwipe [ #x <a>:=</a> value ]
--   </pre>
setEventTouchpadSwipeX :: MonadIO m => EventTouchpadSwipe -> Double -> m ()

-- | Get the value of the “<tt>x_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadSwipe #xRoot
--   </pre>
getEventTouchpadSwipeXRoot :: MonadIO m => EventTouchpadSwipe -> m Double

-- | Set the value of the “<tt>x_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadSwipe [ #xRoot <a>:=</a> value ]
--   </pre>
setEventTouchpadSwipeXRoot :: MonadIO m => EventTouchpadSwipe -> Double -> m ()

-- | Get the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadSwipe #y
--   </pre>
getEventTouchpadSwipeY :: MonadIO m => EventTouchpadSwipe -> m Double

-- | Set the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadSwipe [ #y <a>:=</a> value ]
--   </pre>
setEventTouchpadSwipeY :: MonadIO m => EventTouchpadSwipe -> Double -> m ()

-- | Get the value of the “<tt>y_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventTouchpadSwipe #yRoot
--   </pre>
getEventTouchpadSwipeYRoot :: MonadIO m => EventTouchpadSwipe -> m Double

-- | Set the value of the “<tt>y_root</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventTouchpadSwipe [ #yRoot <a>:=</a> value ]
--   </pre>
setEventTouchpadSwipeYRoot :: MonadIO m => EventTouchpadSwipe -> Double -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventTouchpadSwipe.EventTouchpadSwipe
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventTouchpadSwipe.EventTouchpadSwipe tag


-- | Generated when the window visibility status has changed.
module GI.Gdk.Structs.EventVisibility

-- | Memory-managed wrapper type.
newtype EventVisibility
EventVisibility :: (ManagedPtr EventVisibility) -> EventVisibility

-- | Construct a <a>EventVisibility</a> struct initialized to zero.
newZeroEventVisibility :: MonadIO m => m EventVisibility

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventVisibility</a>.
noEventVisibility :: Maybe EventVisibility

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventVisibility #sendEvent
--   </pre>
getEventVisibilitySendEvent :: MonadIO m => EventVisibility -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventVisibility [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventVisibilitySendEvent :: MonadIO m => EventVisibility -> Int8 -> m ()

-- | Get the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventVisibility #state
--   </pre>
getEventVisibilityState :: MonadIO m => EventVisibility -> m VisibilityState

-- | Set the value of the “<tt>state</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventVisibility [ #state <a>:=</a> value ]
--   </pre>
setEventVisibilityState :: MonadIO m => EventVisibility -> VisibilityState -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventVisibility #type
--   </pre>
getEventVisibilityType :: MonadIO m => EventVisibility -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventVisibility [ #type <a>:=</a> value ]
--   </pre>
setEventVisibilityType :: MonadIO m => EventVisibility -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventVisibilityWindow :: MonadIO m => EventVisibility -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventVisibility #window
--   </pre>
getEventVisibilityWindow :: MonadIO m => EventVisibility -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventVisibility [ #window <a>:=</a> value ]
--   </pre>
setEventVisibilityWindow :: MonadIO m => EventVisibility -> Ptr Window -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventVisibility.EventVisibility
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventVisibility.EventVisibility tag


-- | Generated when the state of a toplevel window changes.
module GI.Gdk.Structs.EventWindowState

-- | Memory-managed wrapper type.
newtype EventWindowState
EventWindowState :: (ManagedPtr EventWindowState) -> EventWindowState

-- | Construct a <a>EventWindowState</a> struct initialized to zero.
newZeroEventWindowState :: MonadIO m => m EventWindowState

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventWindowState</a>.
noEventWindowState :: Maybe EventWindowState

-- | Get the value of the “<tt>changed_mask</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventWindowState #changedMask
--   </pre>
getEventWindowStateChangedMask :: MonadIO m => EventWindowState -> m [WindowState]

-- | Set the value of the “<tt>changed_mask</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventWindowState [ #changedMask <a>:=</a> value ]
--   </pre>
setEventWindowStateChangedMask :: MonadIO m => EventWindowState -> [WindowState] -> m ()

-- | Get the value of the “<tt>new_window_state</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventWindowState #newWindowState
--   </pre>
getEventWindowStateNewWindowState :: MonadIO m => EventWindowState -> m [WindowState]

-- | Set the value of the “<tt>new_window_state</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventWindowState [ #newWindowState <a>:=</a> value ]
--   </pre>
setEventWindowStateNewWindowState :: MonadIO m => EventWindowState -> [WindowState] -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventWindowState #sendEvent
--   </pre>
getEventWindowStateSendEvent :: MonadIO m => EventWindowState -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventWindowState [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventWindowStateSendEvent :: MonadIO m => EventWindowState -> Int8 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventWindowState #type
--   </pre>
getEventWindowStateType :: MonadIO m => EventWindowState -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventWindowState [ #type <a>:=</a> value ]
--   </pre>
setEventWindowStateType :: MonadIO m => EventWindowState -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventWindowStateWindow :: MonadIO m => EventWindowState -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventWindowState #window
--   </pre>
getEventWindowStateWindow :: MonadIO m => EventWindowState -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventWindowState [ #window <a>:=</a> value ]
--   </pre>
setEventWindowStateWindow :: MonadIO m => EventWindowState -> Ptr Window -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventWindowState.EventWindowState
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventWindowState.EventWindowState tag


-- | A <a>FrameClock</a> tells the application when to update and repaint a
--   window. This may be synced to the vertical refresh rate of the
--   monitor, for example. Even when the frame clock uses a simple timer
--   rather than a hardware-based vertical sync, the frame clock helps
--   because it ensures everything paints at the same time (reducing the
--   total number of frames). The frame clock can also automatically stop
--   painting when it knows the frames will not be visible, or scale back
--   animation framerates.
--   
--   <a>FrameClock</a> is designed to be compatible with an OpenGL-based
--   implementation or with mozRequestAnimationFrame in Firefox, for
--   example.
--   
--   A frame clock is idle until someone requests a frame with
--   <a>frameClockRequestPhase</a>. At some later point that makes sense
--   for the synchronization being implemented, the clock will process a
--   frame and emit signals for each phase that has been requested. (See
--   the signals of the <a>FrameClock</a> class for documentation of the
--   phases. <a>FrameClockPhaseUpdate</a> and the
--   <a>FrameClock</a>::<tt><i>update</i></tt> signal are most interesting
--   for application writers, and are used to update the animations, using
--   the frame time given by <a>frameClockGetFrameTime</a>.
--   
--   The frame time is reported in microseconds and generally in the same
--   timescale as <a>getMonotonicTime</a>, however, it is not the same as
--   <a>getMonotonicTime</a>. The frame time does not advance during the
--   time a frame is being painted, and outside of a frame, an attempt is
--   made so that all calls to <a>frameClockGetFrameTime</a> that are
--   called at a “similar” time get the same value. This means that if
--   different animations are timed by looking at the difference in time
--   between an initial value from <a>frameClockGetFrameTime</a> and the
--   value inside the <a>FrameClock</a>::<tt><i>update</i></tt> signal of
--   the clock, they will stay exactly synchronized.
module GI.Gdk.Objects.FrameClock

-- | Memory-managed wrapper type.
newtype FrameClock
FrameClock :: (ManagedPtr FrameClock) -> FrameClock

-- | Type class for types which can be safely cast to <a>FrameClock</a>,
--   for instance with <a>toFrameClock</a>.
class GObject o => IsFrameClock o

-- | Cast to <a>FrameClock</a>, for types for which this is known to be
--   safe. For general casts, use <a>castTo</a>.
toFrameClock :: (MonadIO m, IsFrameClock o) => o -> m FrameClock

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>FrameClock</a>.
noFrameClock :: Maybe FrameClock

-- | Starts updates for an animation. Until a matching call to
--   <a>frameClockEndUpdating</a> is made, the frame clock will continually
--   request a new frame with the <a>FrameClockPhaseUpdate</a> phase. This
--   function may be called multiple times and frames will be requested
--   until <a>frameClockEndUpdating</a> is called the same number of times.
--   
--   <i>Since: 3.8</i>
frameClockBeginUpdating :: (HasCallStack, MonadIO m, IsFrameClock a) => a -> m ()

-- | Stops updates for an animation. See the documentation for
--   <a>frameClockBeginUpdating</a>.
--   
--   <i>Since: 3.8</i>
frameClockEndUpdating :: (HasCallStack, MonadIO m, IsFrameClock a) => a -> m ()

-- | Gets the frame timings for the current frame.
--   
--   <i>Since: 3.8</i>
frameClockGetCurrentTimings :: (HasCallStack, MonadIO m, IsFrameClock a) => a -> m (Maybe FrameTimings)

-- | A <a>FrameClock</a> maintains a 64-bit counter that increments for
--   each frame drawn.
--   
--   <i>Since: 3.8</i>
frameClockGetFrameCounter :: (HasCallStack, MonadIO m, IsFrameClock a) => a -> m Int64

-- | Gets the time that should currently be used for animations. Inside the
--   processing of a frame, it’s the time used to compute the animation
--   position of everything in a frame. Outside of a frame, it's the time
--   of the conceptual “previous frame,” which may be either the actual
--   previous frame time, or if that’s too old, an updated time.
--   
--   <i>Since: 3.8</i>
frameClockGetFrameTime :: (HasCallStack, MonadIO m, IsFrameClock a) => a -> m Int64

-- | <a>FrameClock</a> internally keeps a history of <a>FrameTimings</a>
--   objects for recent frames that can be retrieved with
--   <a>frameClockGetTimings</a>. The set of stored frames is the set from
--   the counter values given by <a>frameClockGetHistoryStart</a> and
--   <a>frameClockGetFrameCounter</a>, inclusive.
--   
--   <i>Since: 3.8</i>
frameClockGetHistoryStart :: (HasCallStack, MonadIO m, IsFrameClock a) => a -> m Int64

-- | Using the frame history stored in the frame clock, finds the last
--   known presentation time and refresh interval, and assuming that
--   presentation times are separated by the refresh interval, predicts a
--   presentation time that is a multiple of the refresh interval after the
--   last presentation time, and later than <i><tt>baseTime</tt></i>.
--   
--   <i>Since: 3.8</i>
frameClockGetRefreshInfo :: (HasCallStack, MonadIO m, IsFrameClock a) => a -> Int64 -> m ((Int64, Int64))

-- | Retrieves a <a>FrameTimings</a> object holding timing information for
--   the current frame or a recent frame. The <a>FrameTimings</a> object
--   may not yet be complete: see <a>frameTimingsGetComplete</a>.
--   
--   <i>Since: 3.8</i>
frameClockGetTimings :: (HasCallStack, MonadIO m, IsFrameClock a) => a -> Int64 -> m (Maybe FrameTimings)

-- | Asks the frame clock to run a particular phase. The signal
--   corresponding the requested phase will be emitted the next time the
--   frame clock processes. Multiple calls to <a>frameClockRequestPhase</a>
--   will be combined together and only one frame processed. If you are
--   displaying animated content and want to continually request the
--   <a>FrameClockPhaseUpdate</a> phase for a period of time, you should
--   use <a>frameClockBeginUpdating</a> instead, since this allows GTK+ to
--   adjust system parameters to get maximally smooth animations.
--   
--   <i>Since: 3.8</i>
frameClockRequestPhase :: (HasCallStack, MonadIO m, IsFrameClock a) => a -> [FrameClockPhase] -> m ()

-- | Type for the callback on the (unwrapped) C side.
type C_FrameClockAfterPaintCallback = Ptr () -> Ptr () -> IO ()

-- | This signal ends processing of the frame. Applications should
--   generally not handle this signal.
type FrameClockAfterPaintCallback = IO ()

-- | Connect a signal handler for the “<tt>after-paint</tt>” signal, to be
--   run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> frameClock #afterPaint callback
--   </pre>
afterFrameClockAfterPaint :: (IsFrameClock a, MonadIO m) => a -> FrameClockAfterPaintCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_FrameClockAfterPaint :: FrameClockAfterPaintCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_FrameClockAfterPaintCallback</a>.
mk_FrameClockAfterPaintCallback :: C_FrameClockAfterPaintCallback -> IO (FunPtr C_FrameClockAfterPaintCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>FrameClockAfterPaintCallback</a></tt>.
noFrameClockAfterPaintCallback :: Maybe FrameClockAfterPaintCallback

-- | Connect a signal handler for the “<tt>after-paint</tt>” signal, to be
--   run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> frameClock #afterPaint callback
--   </pre>
onFrameClockAfterPaint :: (IsFrameClock a, MonadIO m) => a -> FrameClockAfterPaintCallback -> m SignalHandlerId

-- | Wrap a <a>FrameClockAfterPaintCallback</a> into a
--   <a>C_FrameClockAfterPaintCallback</a>.
wrap_FrameClockAfterPaintCallback :: FrameClockAfterPaintCallback -> C_FrameClockAfterPaintCallback

-- | Type for the callback on the (unwrapped) C side.
type C_FrameClockBeforePaintCallback = Ptr () -> Ptr () -> IO ()

-- | This signal begins processing of the frame. Applications should
--   generally not handle this signal.
type FrameClockBeforePaintCallback = IO ()

-- | Connect a signal handler for the “<tt>before-paint</tt>” signal, to be
--   run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> frameClock #beforePaint callback
--   </pre>
afterFrameClockBeforePaint :: (IsFrameClock a, MonadIO m) => a -> FrameClockBeforePaintCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_FrameClockBeforePaint :: FrameClockBeforePaintCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_FrameClockBeforePaintCallback</a>.
mk_FrameClockBeforePaintCallback :: C_FrameClockBeforePaintCallback -> IO (FunPtr C_FrameClockBeforePaintCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>FrameClockBeforePaintCallback</a></tt>.
noFrameClockBeforePaintCallback :: Maybe FrameClockBeforePaintCallback

-- | Connect a signal handler for the “<tt>before-paint</tt>” signal, to be
--   run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> frameClock #beforePaint callback
--   </pre>
onFrameClockBeforePaint :: (IsFrameClock a, MonadIO m) => a -> FrameClockBeforePaintCallback -> m SignalHandlerId

-- | Wrap a <a>FrameClockBeforePaintCallback</a> into a
--   <a>C_FrameClockBeforePaintCallback</a>.
wrap_FrameClockBeforePaintCallback :: FrameClockBeforePaintCallback -> C_FrameClockBeforePaintCallback

-- | Type for the callback on the (unwrapped) C side.
type C_FrameClockFlushEventsCallback = Ptr () -> Ptr () -> IO ()

-- | This signal is used to flush pending motion events that are being
--   batched up and compressed together. Applications should not handle
--   this signal.
type FrameClockFlushEventsCallback = IO ()

-- | Connect a signal handler for the “<tt>flush-events</tt>” signal, to be
--   run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> frameClock #flushEvents callback
--   </pre>
afterFrameClockFlushEvents :: (IsFrameClock a, MonadIO m) => a -> FrameClockFlushEventsCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_FrameClockFlushEvents :: FrameClockFlushEventsCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_FrameClockFlushEventsCallback</a>.
mk_FrameClockFlushEventsCallback :: C_FrameClockFlushEventsCallback -> IO (FunPtr C_FrameClockFlushEventsCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>FrameClockFlushEventsCallback</a></tt>.
noFrameClockFlushEventsCallback :: Maybe FrameClockFlushEventsCallback

-- | Connect a signal handler for the “<tt>flush-events</tt>” signal, to be
--   run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> frameClock #flushEvents callback
--   </pre>
onFrameClockFlushEvents :: (IsFrameClock a, MonadIO m) => a -> FrameClockFlushEventsCallback -> m SignalHandlerId

-- | Wrap a <a>FrameClockFlushEventsCallback</a> into a
--   <a>C_FrameClockFlushEventsCallback</a>.
wrap_FrameClockFlushEventsCallback :: FrameClockFlushEventsCallback -> C_FrameClockFlushEventsCallback

-- | Type for the callback on the (unwrapped) C side.
type C_FrameClockLayoutCallback = Ptr () -> Ptr () -> IO ()

-- | This signal is emitted as the second step of toolkit and application
--   processing of the frame. Any work to update sizes and positions of
--   application elements should be performed. GTK+ normally handles this
--   internally.
type FrameClockLayoutCallback = IO ()

-- | Connect a signal handler for the “<tt>layout</tt>” signal, to be run
--   after the default handler. When <a>overloading</a> is enabled, this is
--   equivalent to
--   
--   <pre>
--   <a>after</a> frameClock #layout callback
--   </pre>
afterFrameClockLayout :: (IsFrameClock a, MonadIO m) => a -> FrameClockLayoutCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_FrameClockLayout :: FrameClockLayoutCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_FrameClockLayoutCallback</a>.
mk_FrameClockLayoutCallback :: C_FrameClockLayoutCallback -> IO (FunPtr C_FrameClockLayoutCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>FrameClockLayoutCallback</a></tt>.
noFrameClockLayoutCallback :: Maybe FrameClockLayoutCallback

-- | Connect a signal handler for the “<tt>layout</tt>” signal, to be run
--   before the default handler. When <a>overloading</a> is enabled, this
--   is equivalent to
--   
--   <pre>
--   <a>on</a> frameClock #layout callback
--   </pre>
onFrameClockLayout :: (IsFrameClock a, MonadIO m) => a -> FrameClockLayoutCallback -> m SignalHandlerId

-- | Wrap a <a>FrameClockLayoutCallback</a> into a
--   <a>C_FrameClockLayoutCallback</a>.
wrap_FrameClockLayoutCallback :: FrameClockLayoutCallback -> C_FrameClockLayoutCallback

-- | Type for the callback on the (unwrapped) C side.
type C_FrameClockPaintCallback = Ptr () -> Ptr () -> IO ()

-- | This signal is emitted as the third step of toolkit and application
--   processing of the frame. The frame is repainted. GDK normally handles
--   this internally and produces expose events, which are turned into GTK+
--   <tt><i>GtkWidget::draw</i></tt> signals.
type FrameClockPaintCallback = IO ()

-- | Connect a signal handler for the “<tt>paint</tt>” signal, to be run
--   after the default handler. When <a>overloading</a> is enabled, this is
--   equivalent to
--   
--   <pre>
--   <a>after</a> frameClock #paint callback
--   </pre>
afterFrameClockPaint :: (IsFrameClock a, MonadIO m) => a -> FrameClockPaintCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_FrameClockPaint :: FrameClockPaintCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_FrameClockPaintCallback</a>.
mk_FrameClockPaintCallback :: C_FrameClockPaintCallback -> IO (FunPtr C_FrameClockPaintCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>FrameClockPaintCallback</a></tt>.
noFrameClockPaintCallback :: Maybe FrameClockPaintCallback

-- | Connect a signal handler for the “<tt>paint</tt>” signal, to be run
--   before the default handler. When <a>overloading</a> is enabled, this
--   is equivalent to
--   
--   <pre>
--   <a>on</a> frameClock #paint callback
--   </pre>
onFrameClockPaint :: (IsFrameClock a, MonadIO m) => a -> FrameClockPaintCallback -> m SignalHandlerId

-- | Wrap a <a>FrameClockPaintCallback</a> into a
--   <a>C_FrameClockPaintCallback</a>.
wrap_FrameClockPaintCallback :: FrameClockPaintCallback -> C_FrameClockPaintCallback

-- | Type for the callback on the (unwrapped) C side.
type C_FrameClockResumeEventsCallback = Ptr () -> Ptr () -> IO ()

-- | This signal is emitted after processing of the frame is finished, and
--   is handled internally by GTK+ to resume normal event processing.
--   Applications should not handle this signal.
type FrameClockResumeEventsCallback = IO ()

-- | Connect a signal handler for the “<tt>resume-events</tt>” signal, to
--   be run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> frameClock #resumeEvents callback
--   </pre>
afterFrameClockResumeEvents :: (IsFrameClock a, MonadIO m) => a -> FrameClockResumeEventsCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_FrameClockResumeEvents :: FrameClockResumeEventsCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_FrameClockResumeEventsCallback</a>.
mk_FrameClockResumeEventsCallback :: C_FrameClockResumeEventsCallback -> IO (FunPtr C_FrameClockResumeEventsCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>FrameClockResumeEventsCallback</a></tt>.
noFrameClockResumeEventsCallback :: Maybe FrameClockResumeEventsCallback

-- | Connect a signal handler for the “<tt>resume-events</tt>” signal, to
--   be run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> frameClock #resumeEvents callback
--   </pre>
onFrameClockResumeEvents :: (IsFrameClock a, MonadIO m) => a -> FrameClockResumeEventsCallback -> m SignalHandlerId

-- | Wrap a <a>FrameClockResumeEventsCallback</a> into a
--   <a>C_FrameClockResumeEventsCallback</a>.
wrap_FrameClockResumeEventsCallback :: FrameClockResumeEventsCallback -> C_FrameClockResumeEventsCallback

-- | Type for the callback on the (unwrapped) C side.
type C_FrameClockUpdateCallback = Ptr () -> Ptr () -> IO ()

-- | This signal is emitted as the first step of toolkit and application
--   processing of the frame. Animations should be updated using
--   <a>frameClockGetFrameTime</a>. Applications can connect directly to
--   this signal, or use <tt><i>gtk_widget_add_tick_callback()</i></tt> as
--   a more convenient interface.
type FrameClockUpdateCallback = IO ()

-- | Connect a signal handler for the “<tt>update</tt>” signal, to be run
--   after the default handler. When <a>overloading</a> is enabled, this is
--   equivalent to
--   
--   <pre>
--   <a>after</a> frameClock #update callback
--   </pre>
afterFrameClockUpdate :: (IsFrameClock a, MonadIO m) => a -> FrameClockUpdateCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_FrameClockUpdate :: FrameClockUpdateCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_FrameClockUpdateCallback</a>.
mk_FrameClockUpdateCallback :: C_FrameClockUpdateCallback -> IO (FunPtr C_FrameClockUpdateCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>FrameClockUpdateCallback</a></tt>.
noFrameClockUpdateCallback :: Maybe FrameClockUpdateCallback

-- | Connect a signal handler for the “<tt>update</tt>” signal, to be run
--   before the default handler. When <a>overloading</a> is enabled, this
--   is equivalent to
--   
--   <pre>
--   <a>on</a> frameClock #update callback
--   </pre>
onFrameClockUpdate :: (IsFrameClock a, MonadIO m) => a -> FrameClockUpdateCallback -> m SignalHandlerId

-- | Wrap a <a>FrameClockUpdateCallback</a> into a
--   <a>C_FrameClockUpdateCallback</a>.
wrap_FrameClockUpdateCallback :: FrameClockUpdateCallback -> C_FrameClockUpdateCallback
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Objects.FrameClock.FrameClock a) => GI.Gdk.Objects.FrameClock.IsFrameClock a
instance GI.Gdk.Objects.FrameClock.IsFrameClock GI.Gdk.Objects.FrameClock.FrameClock
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Objects.FrameClock.FrameClock
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Objects.FrameClock.FrameClock


-- | A <a>FrameTimings</a> object holds timing information for a single
--   frame of the application’s displays. To retrieve <a>FrameTimings</a>
--   objects, use <a>frameClockGetTimings</a> or
--   <a>frameClockGetCurrentTimings</a>. The information in
--   <a>FrameTimings</a> is useful for precise synchronization of video
--   with the event or audio streams, and for measuring quality metrics for
--   the application’s display, such as latency and jitter.
module GI.Gdk.Structs.FrameTimings

-- | Memory-managed wrapper type.
newtype FrameTimings
FrameTimings :: (ManagedPtr FrameTimings) -> FrameTimings

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>FrameTimings</a>.
noFrameTimings :: Maybe FrameTimings

-- | The timing information in a <a>FrameTimings</a> is filled in
--   incrementally as the frame as drawn and passed off to the window
--   system for processing and display to the user. The accessor functions
--   for <a>FrameTimings</a> can return 0 to indicate an unavailable value
--   for two reasons: either because the information is not yet available,
--   or because it isn't available at all. Once
--   <a>frameTimingsGetComplete</a> returns <a>True</a> for a frame, you
--   can be certain that no further values will become available and be
--   stored in the <a>FrameTimings</a>.
--   
--   <i>Since: 3.8</i>
frameTimingsGetComplete :: (HasCallStack, MonadIO m) => FrameTimings -> m Bool

-- | Gets the frame counter value of the <a>FrameClock</a> when this this
--   frame was drawn.
--   
--   <i>Since: 3.8</i>
frameTimingsGetFrameCounter :: (HasCallStack, MonadIO m) => FrameTimings -> m Int64

-- | Returns the frame time for the frame. This is the time value that is
--   typically used to time animations for the frame. See
--   <a>frameClockGetFrameTime</a>.
frameTimingsGetFrameTime :: (HasCallStack, MonadIO m) => FrameTimings -> m Int64

-- | Gets the predicted time at which this frame will be displayed.
--   Although no predicted time may be available, if one is available, it
--   will be available while the frame is being generated, in contrast to
--   <a>frameTimingsGetPresentationTime</a>, which is only available after
--   the frame has been presented. In general, if you are simply animating,
--   you should use <a>frameClockGetFrameTime</a> rather than this
--   function, but this function is useful for applications that want exact
--   control over latency. For example, a movie player may want this
--   information for Audio/Video synchronization.
--   
--   <i>Since: 3.8</i>
frameTimingsGetPredictedPresentationTime :: (HasCallStack, MonadIO m) => FrameTimings -> m Int64

-- | Reurns the presentation time. This is the time at which the frame
--   became visible to the user.
--   
--   <i>Since: 3.8</i>
frameTimingsGetPresentationTime :: (HasCallStack, MonadIO m) => FrameTimings -> m Int64

-- | Gets the natural interval between presentation times for the display
--   that this frame was displayed on. Frame presentation usually happens
--   during the “vertical blanking interval”.
--   
--   <i>Since: 3.8</i>
frameTimingsGetRefreshInterval :: (HasCallStack, MonadIO m) => FrameTimings -> m Int64

-- | Increases the reference count of <i><tt>timings</tt></i>.
--   
--   <i>Since: 3.8</i>
frameTimingsRef :: (HasCallStack, MonadIO m) => FrameTimings -> m FrameTimings

-- | Decreases the reference count of <i><tt>timings</tt></i>. If
--   <i><tt>timings</tt></i> is no longer referenced, it will be freed.
--   
--   <i>Since: 3.8</i>
frameTimingsUnref :: (HasCallStack, MonadIO m) => FrameTimings -> m ()
instance Data.GI.Base.BasicTypes.BoxedObject GI.Gdk.Structs.FrameTimings.FrameTimings


-- | The <a>Geometry</a> struct gives the window manager information about
--   a window’s geometry constraints. Normally you would set these on the
--   GTK+ level using <tt><i>gtk_window_set_geometry_hints()</i></tt>.
--   <tt><i>GtkWindow</i></tt> then sets the hints on the <a>Window</a> it
--   creates.
--   
--   <a>windowSetGeometryHints</a> expects the hints to be fully valid
--   already and simply passes them to the window manager; in contrast,
--   <tt><i>gtk_window_set_geometry_hints()</i></tt> performs some
--   interpretation. For example, <tt><i>GtkWindow</i></tt> will apply the
--   hints to the geometry widget instead of the toplevel window, if you
--   set a geometry widget. Also, the
--   <i><tt>minWidth</tt></i>/<i><tt>minHeight</tt></i>/<i><tt>maxWidth</tt></i>/<i><tt>maxHeight</tt></i>
--   fields may be set to -1, and <tt><i>GtkWindow</i></tt> will substitute
--   the size request of the window or geometry widget. If the minimum size
--   hint is not provided, <tt><i>GtkWindow</i></tt> will use its
--   requisition as the minimum size. If the minimum size is provided and a
--   geometry widget is set, <tt><i>GtkWindow</i></tt> will take the
--   minimum size as the minimum size of the geometry widget rather than
--   the entire window. The base size is treated similarly.
--   
--   The canonical use-case for
--   <tt><i>gtk_window_set_geometry_hints()</i></tt> is to get a terminal
--   widget to resize properly. Here, the terminal text area should be the
--   geometry widget; <tt><i>GtkWindow</i></tt> will then automatically set
--   the base size to the size of other widgets in the terminal window,
--   such as the menubar and scrollbar. Then, the <i><tt>widthInc</tt></i>
--   and <i><tt>heightInc</tt></i> fields should be set to the size of one
--   character in the terminal. Finally, the base size should be set to the
--   size of one character. The net effect is that the minimum size of the
--   terminal will have a 1x1 character terminal area, and only terminal
--   sizes on the “character grid” will be allowed.
--   
--   Here’s an example of how the terminal example would be implemented,
--   assuming a terminal area widget called “terminal” and a toplevel
--   window “toplevel”:
--   
--   <h3><i>C code</i></h3>
--   
--   <pre>
--   GdkGeometry hints;
--   
--   hints.base_width = terminal-&gt;char_width;
--          hints.base_height = terminal-&gt;char_height;
--          hints.min_width = terminal-&gt;char_width;
--          hints.min_height = terminal-&gt;char_height;
--          hints.width_inc = terminal-&gt;char_width;
--          hints.height_inc = terminal-&gt;char_height;
--   
--   gtk_window_set_geometry_hints (GTK_WINDOW (toplevel),
--                                  GTK_WIDGET (terminal),
--                                  &amp;hints,
--                                  GDK_HINT_RESIZE_INC |
--                                  GDK_HINT_MIN_SIZE |
--                                  GDK_HINT_BASE_SIZE);
--   </pre>
--   
--   The other useful fields are the <i><tt>minAspect</tt></i> and
--   <i><tt>maxAspect</tt></i> fields; these contain a width/height ratio
--   as a floating point number. If a geometry widget is set, the aspect
--   applies to the geometry widget rather than the entire window. The most
--   common use of these hints is probably to set <i><tt>minAspect</tt></i>
--   and <i><tt>maxAspect</tt></i> to the same value, thus forcing the
--   window to keep a constant aspect ratio.
module GI.Gdk.Structs.Geometry

-- | Memory-managed wrapper type.
newtype Geometry
Geometry :: (ManagedPtr Geometry) -> Geometry

-- | Construct a <a>Geometry</a> struct initialized to zero.
newZeroGeometry :: MonadIO m => m Geometry

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>Geometry</a>.
noGeometry :: Maybe Geometry

-- | Get the value of the “<tt>base_height</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> geometry #baseHeight
--   </pre>
getGeometryBaseHeight :: MonadIO m => Geometry -> m Int32

-- | Set the value of the “<tt>base_height</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> geometry [ #baseHeight <a>:=</a> value ]
--   </pre>
setGeometryBaseHeight :: MonadIO m => Geometry -> Int32 -> m ()

-- | Get the value of the “<tt>base_width</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> geometry #baseWidth
--   </pre>
getGeometryBaseWidth :: MonadIO m => Geometry -> m Int32

-- | Set the value of the “<tt>base_width</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> geometry [ #baseWidth <a>:=</a> value ]
--   </pre>
setGeometryBaseWidth :: MonadIO m => Geometry -> Int32 -> m ()

-- | Get the value of the “<tt>height_inc</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> geometry #heightInc
--   </pre>
getGeometryHeightInc :: MonadIO m => Geometry -> m Int32

-- | Set the value of the “<tt>height_inc</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> geometry [ #heightInc <a>:=</a> value ]
--   </pre>
setGeometryHeightInc :: MonadIO m => Geometry -> Int32 -> m ()

-- | Get the value of the “<tt>max_aspect</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> geometry #maxAspect
--   </pre>
getGeometryMaxAspect :: MonadIO m => Geometry -> m Double

-- | Set the value of the “<tt>max_aspect</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> geometry [ #maxAspect <a>:=</a> value ]
--   </pre>
setGeometryMaxAspect :: MonadIO m => Geometry -> Double -> m ()

-- | Get the value of the “<tt>max_height</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> geometry #maxHeight
--   </pre>
getGeometryMaxHeight :: MonadIO m => Geometry -> m Int32

-- | Set the value of the “<tt>max_height</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> geometry [ #maxHeight <a>:=</a> value ]
--   </pre>
setGeometryMaxHeight :: MonadIO m => Geometry -> Int32 -> m ()

-- | Get the value of the “<tt>max_width</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> geometry #maxWidth
--   </pre>
getGeometryMaxWidth :: MonadIO m => Geometry -> m Int32

-- | Set the value of the “<tt>max_width</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> geometry [ #maxWidth <a>:=</a> value ]
--   </pre>
setGeometryMaxWidth :: MonadIO m => Geometry -> Int32 -> m ()

-- | Get the value of the “<tt>min_aspect</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> geometry #minAspect
--   </pre>
getGeometryMinAspect :: MonadIO m => Geometry -> m Double

-- | Set the value of the “<tt>min_aspect</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> geometry [ #minAspect <a>:=</a> value ]
--   </pre>
setGeometryMinAspect :: MonadIO m => Geometry -> Double -> m ()

-- | Get the value of the “<tt>min_height</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> geometry #minHeight
--   </pre>
getGeometryMinHeight :: MonadIO m => Geometry -> m Int32

-- | Set the value of the “<tt>min_height</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> geometry [ #minHeight <a>:=</a> value ]
--   </pre>
setGeometryMinHeight :: MonadIO m => Geometry -> Int32 -> m ()

-- | Get the value of the “<tt>min_width</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> geometry #minWidth
--   </pre>
getGeometryMinWidth :: MonadIO m => Geometry -> m Int32

-- | Set the value of the “<tt>min_width</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> geometry [ #minWidth <a>:=</a> value ]
--   </pre>
setGeometryMinWidth :: MonadIO m => Geometry -> Int32 -> m ()

-- | Get the value of the “<tt>width_inc</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> geometry #widthInc
--   </pre>
getGeometryWidthInc :: MonadIO m => Geometry -> m Int32

-- | Set the value of the “<tt>width_inc</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> geometry [ #widthInc <a>:=</a> value ]
--   </pre>
setGeometryWidthInc :: MonadIO m => Geometry -> Int32 -> m ()

-- | Get the value of the “<tt>win_gravity</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> geometry #winGravity
--   </pre>
getGeometryWinGravity :: MonadIO m => Geometry -> m Gravity

-- | Set the value of the “<tt>win_gravity</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> geometry [ #winGravity <a>:=</a> value ]
--   </pre>
setGeometryWinGravity :: MonadIO m => Geometry -> Gravity -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.Geometry.Geometry
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.Geometry.Geometry tag


-- | A <a>Keymap</a> defines the translation from keyboard state (including
--   a hardware key, a modifier mask, and active keyboard group) to a
--   keyval. This translation has two phases. The first phase is to
--   determine the effective keyboard group and level for the keyboard
--   state; the second phase is to look up the keycode/group/level triplet
--   in the keymap and see what keyval it corresponds to.
module GI.Gdk.Objects.Keymap

-- | Memory-managed wrapper type.
newtype Keymap
Keymap :: (ManagedPtr Keymap) -> Keymap

-- | Type class for types which can be safely cast to <a>Keymap</a>, for
--   instance with <a>toKeymap</a>.
class GObject o => IsKeymap o

-- | Cast to <a>Keymap</a>, for types for which this is known to be safe.
--   For general casts, use <a>castTo</a>.
toKeymap :: (MonadIO m, IsKeymap o) => o -> m Keymap

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a> <a>Keymap</a>.
noKeymap :: Maybe Keymap

-- | Maps the non-virtual modifiers (i.e Mod2, Mod3, ...) which are set in
--   <i><tt>state</tt></i> to the virtual modifiers (i.e. Super, Hyper and
--   Meta) and set the corresponding bits in <i><tt>state</tt></i>.
--   
--   GDK already does this before delivering key events, but for
--   compatibility reasons, it only sets the first virtual modifier it
--   finds, whereas this function sets all matching virtual modifiers.
--   
--   This function is useful when matching key events against accelerators.
--   
--   <i>Since: 2.20</i>
keymapAddVirtualModifiers :: (HasCallStack, MonadIO m, IsKeymap a) => a -> [ModifierType] -> m ([ModifierType])

-- | Returns whether the Caps Lock modifer is locked.
--   
--   <i>Since: 2.16</i>
keymapGetCapsLockState :: (HasCallStack, MonadIO m, IsKeymap a) => a -> m Bool

-- | Returns the <a>Keymap</a> attached to the default display.

-- | <i>Deprecated: (Since version 3.22)Use <a>keymapGetForDisplay</a>
--   instead</i>
keymapGetDefault :: (HasCallStack, MonadIO m) => m Keymap

-- | Returns the direction of effective layout of the keymap.
keymapGetDirection :: (HasCallStack, MonadIO m, IsKeymap a) => a -> m Direction

-- | Returns the keyvals bound to <i><tt>hardwareKeycode</tt></i>. The Nth
--   <a>KeymapKey</a> in <i><tt>keys</tt></i> is bound to the Nth keyval in
--   <i><tt>keyvals</tt></i>. Free the returned arrays with <a>free</a>.
--   When a keycode is pressed by the user, the keyval from this list of
--   entries is selected by considering the effective keyboard group and
--   level. See <a>keymapTranslateKeyboardState</a>.
keymapGetEntriesForKeycode :: (HasCallStack, MonadIO m, IsKeymap a) => a -> Word32 -> m ((Bool, [KeymapKey], [Word32]))

-- | Obtains a list of keycode/group/level combinations that will generate
--   <i><tt>keyval</tt></i>. Groups and levels are two kinds of keyboard
--   mode; in general, the level determines whether the top or bottom
--   symbol on a key is used, and the group determines whether the left or
--   right symbol is used. On US keyboards, the shift key changes the
--   keyboard level, and there are no groups. A group switch key might
--   convert a keyboard between Hebrew to English modes, for example.
--   <a>EventKey</a> contains a <tt><i>group</i></tt> field that indicates
--   the active keyboard group. The level is computed from the modifier
--   mask. The returned array should be freed with <a>free</a>.
keymapGetEntriesForKeyval :: (HasCallStack, MonadIO m, IsKeymap a) => a -> Word32 -> m ((Bool, [KeymapKey]))

-- | Returns the <a>Keymap</a> attached to <i><tt>display</tt></i>.
--   
--   <i>Since: 2.2</i>
keymapGetForDisplay :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Keymap

-- | Returns the modifier mask the <i><tt>keymap</tt></i>’s windowing
--   system backend uses for a particular purpose.
--   
--   Note that this function always returns real hardware modifiers, not
--   virtual ones (e.g. it will return <tt><i>GDK_MOD1_MASK</i></tt> rather
--   than <tt><i>GDK_META_MASK</i></tt> if the backend maps MOD1 to META),
--   so there are use cases where the return value of this function has to
--   be transformed by <a>keymapAddVirtualModifiers</a> in order to contain
--   the expected result.
--   
--   <i>Since: 3.4</i>
keymapGetModifierMask :: (HasCallStack, MonadIO m, IsKeymap a) => a -> ModifierIntent -> m [ModifierType]

-- | Returns the current modifier state.
--   
--   <i>Since: 3.4</i>
keymapGetModifierState :: (HasCallStack, MonadIO m, IsKeymap a) => a -> m Word32

-- | Returns whether the Num Lock modifer is locked.
--   
--   <i>Since: 3.0</i>
keymapGetNumLockState :: (HasCallStack, MonadIO m, IsKeymap a) => a -> m Bool

-- | Returns whether the Scroll Lock modifer is locked.
--   
--   <i>Since: 3.18</i>
keymapGetScrollLockState :: (HasCallStack, MonadIO m, IsKeymap a) => a -> m Bool

-- | Determines if keyboard layouts for both right-to-left and
--   left-to-right languages are in use.
--   
--   <i>Since: 2.12</i>
keymapHaveBidiLayouts :: (HasCallStack, MonadIO m, IsKeymap a) => a -> m Bool

-- | Looks up the keyval mapped to a keycode/group/level triplet. If no
--   keyval is bound to <i><tt>key</tt></i>, returns 0. For normal user
--   input, you want to use <a>keymapTranslateKeyboardState</a> instead of
--   this function, since the effective group/level may not be the same as
--   the current keyboard state.
keymapLookupKey :: (HasCallStack, MonadIO m, IsKeymap a) => a -> KeymapKey -> m Word32

-- | Maps the virtual modifiers (i.e. Super, Hyper and Meta) which are set
--   in <i><tt>state</tt></i> to their non-virtual counterparts (i.e. Mod2,
--   Mod3,...) and set the corresponding bits in <i><tt>state</tt></i>.
--   
--   This function is useful when matching key events against accelerators.
--   
--   <i>Since: 2.20</i>
keymapMapVirtualModifiers :: (HasCallStack, MonadIO m, IsKeymap a) => a -> [ModifierType] -> m ((Bool, [ModifierType]))

-- | Translates the contents of a <a>EventKey</a> into a keyval, effective
--   group, and level. Modifiers that affected the translation and are thus
--   unavailable for application use are returned in
--   <i><tt>consumedModifiers</tt></i>. See [Groups][key-group-explanation]
--   for an explanation of groups and levels. The
--   <i><tt>effectiveGroup</tt></i> is the group that was actually used for
--   the translation; some keys such as Enter are not affected by the
--   active keyboard group. The <i><tt>level</tt></i> is derived from
--   <i><tt>state</tt></i>. For convenience, <a>EventKey</a> already
--   contains the translated keyval, so this function isn’t as useful as
--   you might think.
--   
--   <i><tt>consumedModifiers</tt></i> gives modifiers that should be
--   masked outfrom <i><tt>state</tt></i> when comparing this key press to
--   a hot key. For instance, on a US keyboard, the <tt>plus</tt> symbol is
--   shifted, so when comparing a key press to a
--   <tt>&lt;Control&gt;plus</tt> accelerator <tt>&lt;Shift&gt;</tt> should
--   be masked out.
--   
--   <h3><i>C code</i></h3>
--   
--   <pre>
--   // We want to ignore irrelevant modifiers like ScrollLock
--   #define ALL_ACCELS_MASK (GDK_CONTROL_MASK | GDK_SHIFT_MASK | GDK_MOD1_MASK)
--   gdk_keymap_translate_keyboard_state (keymap, event-&gt;hardware_keycode,
--                                        event-&gt;state, event-&gt;group,
--                                        &amp;keyval, NULL, NULL, &amp;consumed);
--   if (keyval == GDK_PLUS &amp;&amp;
--       (event-&gt;state &amp; ~consumed &amp; ALL_ACCELS_MASK) == GDK_CONTROL_MASK)
--     // Control was pressed
--   </pre>
--   
--   An older interpretation <i><tt>consumedModifiers</tt></i> was that it
--   contained all modifiers that might affect the translation of the key;
--   this allowed accelerators to be stored with irrelevant consumed
--   modifiers, by doing:
--   
--   <h3><i>C code</i></h3>
--   
--   <pre>
--   // XXX Don’t do this XXX
--   if (keyval == accel_keyval &amp;&amp;
--       (event-&gt;state &amp; ~consumed &amp; ALL_ACCELS_MASK) == (accel_mods &amp; ~consumed))
--     // Accelerator was pressed
--   </pre>
--   
--   However, this did not work if multi-modifier combinations were used in
--   the keymap, since, for instance, <tt>&lt;Control&gt;</tt> would be
--   masked out even if only <tt>&lt;Control&gt;&lt;Alt&gt;</tt> was used
--   in the keymap. To support this usage as well as well as possible, all
--   single modifier combinations that could affect the key for any
--   combination of modifiers will be returned in
--   <i><tt>consumedModifiers</tt></i>; multi-modifier combinations are
--   returned only when actually found in <i><tt>state</tt></i>. When you
--   store accelerators, you should always store them with consumed
--   modifiers removed. Store <tt>&lt;Control&gt;plus</tt>, not
--   <tt>&lt;Control&gt;&lt;Shift&gt;plus</tt>,
keymapTranslateKeyboardState :: (HasCallStack, MonadIO m, IsKeymap a) => a -> Word32 -> [ModifierType] -> Int32 -> m ((Bool, Word32, Int32, Int32, [ModifierType]))

-- | Type for the callback on the (unwrapped) C side.
type C_KeymapDirectionChangedCallback = Ptr () -> Ptr () -> IO ()

-- | The ::direction-changed signal gets emitted when the direction of the
--   keymap changes.
--   
--   <i>Since: 2.0</i>
type KeymapDirectionChangedCallback = IO ()

-- | Connect a signal handler for the “<tt>direction-changed</tt>” signal,
--   to be run after the default handler. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>after</a> keymap #directionChanged callback
--   </pre>
afterKeymapDirectionChanged :: (IsKeymap a, MonadIO m) => a -> KeymapDirectionChangedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_KeymapDirectionChanged :: KeymapDirectionChangedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_KeymapDirectionChangedCallback</a>.
mk_KeymapDirectionChangedCallback :: C_KeymapDirectionChangedCallback -> IO (FunPtr C_KeymapDirectionChangedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>KeymapDirectionChangedCallback</a></tt>.
noKeymapDirectionChangedCallback :: Maybe KeymapDirectionChangedCallback

-- | Connect a signal handler for the “<tt>direction-changed</tt>” signal,
--   to be run before the default handler. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>on</a> keymap #directionChanged callback
--   </pre>
onKeymapDirectionChanged :: (IsKeymap a, MonadIO m) => a -> KeymapDirectionChangedCallback -> m SignalHandlerId

-- | Wrap a <a>KeymapDirectionChangedCallback</a> into a
--   <a>C_KeymapDirectionChangedCallback</a>.
wrap_KeymapDirectionChangedCallback :: KeymapDirectionChangedCallback -> C_KeymapDirectionChangedCallback

-- | Type for the callback on the (unwrapped) C side.
type C_KeymapKeysChangedCallback = Ptr () -> Ptr () -> IO ()

-- | The ::keys-changed signal is emitted when the mapping represented by
--   <i><tt>keymap</tt></i> changes.
--   
--   <i>Since: 2.2</i>
type KeymapKeysChangedCallback = IO ()

-- | Connect a signal handler for the “<tt>keys-changed</tt>” signal, to be
--   run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> keymap #keysChanged callback
--   </pre>
afterKeymapKeysChanged :: (IsKeymap a, MonadIO m) => a -> KeymapKeysChangedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_KeymapKeysChanged :: KeymapKeysChangedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_KeymapKeysChangedCallback</a>.
mk_KeymapKeysChangedCallback :: C_KeymapKeysChangedCallback -> IO (FunPtr C_KeymapKeysChangedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>KeymapKeysChangedCallback</a></tt>.
noKeymapKeysChangedCallback :: Maybe KeymapKeysChangedCallback

-- | Connect a signal handler for the “<tt>keys-changed</tt>” signal, to be
--   run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> keymap #keysChanged callback
--   </pre>
onKeymapKeysChanged :: (IsKeymap a, MonadIO m) => a -> KeymapKeysChangedCallback -> m SignalHandlerId

-- | Wrap a <a>KeymapKeysChangedCallback</a> into a
--   <a>C_KeymapKeysChangedCallback</a>.
wrap_KeymapKeysChangedCallback :: KeymapKeysChangedCallback -> C_KeymapKeysChangedCallback

-- | Type for the callback on the (unwrapped) C side.
type C_KeymapStateChangedCallback = Ptr () -> Ptr () -> IO ()

-- | The ::state-changed signal is emitted when the state of the keyboard
--   changes, e.g when Caps Lock is turned on or off. See
--   <a>keymapGetCapsLockState</a>.
--   
--   <i>Since: 2.16</i>
type KeymapStateChangedCallback = IO ()

-- | Connect a signal handler for the “<tt>state-changed</tt>” signal, to
--   be run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> keymap #stateChanged callback
--   </pre>
afterKeymapStateChanged :: (IsKeymap a, MonadIO m) => a -> KeymapStateChangedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_KeymapStateChanged :: KeymapStateChangedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_KeymapStateChangedCallback</a>.
mk_KeymapStateChangedCallback :: C_KeymapStateChangedCallback -> IO (FunPtr C_KeymapStateChangedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>KeymapStateChangedCallback</a></tt>.
noKeymapStateChangedCallback :: Maybe KeymapStateChangedCallback

-- | Connect a signal handler for the “<tt>state-changed</tt>” signal, to
--   be run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> keymap #stateChanged callback
--   </pre>
onKeymapStateChanged :: (IsKeymap a, MonadIO m) => a -> KeymapStateChangedCallback -> m SignalHandlerId

-- | Wrap a <a>KeymapStateChangedCallback</a> into a
--   <a>C_KeymapStateChangedCallback</a>.
wrap_KeymapStateChangedCallback :: KeymapStateChangedCallback -> C_KeymapStateChangedCallback
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Objects.Keymap.Keymap a) => GI.Gdk.Objects.Keymap.IsKeymap a
instance GI.Gdk.Objects.Keymap.IsKeymap GI.Gdk.Objects.Keymap.Keymap
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Objects.Keymap.Keymap
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Objects.Keymap.Keymap


-- | A <a>KeymapKey</a> is a hardware key that can be mapped to a keyval.
module GI.Gdk.Structs.KeymapKey

-- | Memory-managed wrapper type.
newtype KeymapKey
KeymapKey :: (ManagedPtr KeymapKey) -> KeymapKey

-- | Construct a <a>KeymapKey</a> struct initialized to zero.
newZeroKeymapKey :: MonadIO m => m KeymapKey

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>KeymapKey</a>.
noKeymapKey :: Maybe KeymapKey

-- | Get the value of the “<tt>group</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> keymapKey #group
--   </pre>
getKeymapKeyGroup :: MonadIO m => KeymapKey -> m Int32

-- | Set the value of the “<tt>group</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> keymapKey [ #group <a>:=</a> value ]
--   </pre>
setKeymapKeyGroup :: MonadIO m => KeymapKey -> Int32 -> m ()

-- | Get the value of the “<tt>keycode</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> keymapKey #keycode
--   </pre>
getKeymapKeyKeycode :: MonadIO m => KeymapKey -> m Word32

-- | Set the value of the “<tt>keycode</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> keymapKey [ #keycode <a>:=</a> value ]
--   </pre>
setKeymapKeyKeycode :: MonadIO m => KeymapKey -> Word32 -> m ()

-- | Get the value of the “<tt>level</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> keymapKey #level
--   </pre>
getKeymapKeyLevel :: MonadIO m => KeymapKey -> m Int32

-- | Set the value of the “<tt>level</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> keymapKey [ #level <a>:=</a> value ]
--   </pre>
setKeymapKeyLevel :: MonadIO m => KeymapKey -> Int32 -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.KeymapKey.KeymapKey
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.KeymapKey.KeymapKey tag


-- | Defines the x and y coordinates of a point.
module GI.Gdk.Structs.Point

-- | Memory-managed wrapper type.
newtype Point
Point :: (ManagedPtr Point) -> Point

-- | Construct a <a>Point</a> struct initialized to zero.
newZeroPoint :: MonadIO m => m Point

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a> <a>Point</a>.
noPoint :: Maybe Point

-- | Get the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> point #x
--   </pre>
getPointX :: MonadIO m => Point -> m Int32

-- | Set the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> point [ #x <a>:=</a> value ]
--   </pre>
setPointX :: MonadIO m => Point -> Int32 -> m ()

-- | Get the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> point #y
--   </pre>
getPointY :: MonadIO m => Point -> m Int32

-- | Set the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> point [ #y <a>:=</a> value ]
--   </pre>
setPointY :: MonadIO m => Point -> Int32 -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.Point.Point
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.Point.Point tag


-- | A <a>RGBA</a> is used to represent a (possibly translucent) color, in
--   a way that is compatible with cairo’s notion of color.
module GI.Gdk.Structs.RGBA

-- | Memory-managed wrapper type.
newtype RGBA
RGBA :: (ManagedPtr RGBA) -> RGBA

-- | Construct a <a>RGBA</a> struct initialized to zero.
newZeroRGBA :: MonadIO m => m RGBA

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a> <a>RGBA</a>.
noRGBA :: Maybe RGBA

-- | Makes a copy of a <a>RGBA</a>.
--   
--   The result must be freed through <a>rGBAFree</a>.
--   
--   <i>Since: 3.0</i>
rGBACopy :: (HasCallStack, MonadIO m) => RGBA -> m RGBA

-- | Compares two RGBA colors.
--   
--   <i>Since: 3.0</i>
rGBAEqual :: (HasCallStack, MonadIO m) => RGBA -> RGBA -> m Bool

-- | Frees a <a>RGBA</a> created with <a>rGBACopy</a>
--   
--   <i>Since: 3.0</i>
rGBAFree :: (HasCallStack, MonadIO m) => RGBA -> m ()

-- | A hash function suitable for using for a hash table that stores
--   <tt><i>GdkRGBAs</i></tt>.
--   
--   <i>Since: 3.0</i>
rGBAHash :: (HasCallStack, MonadIO m) => RGBA -> m Word32

-- | Parses a textual representation of a color, filling in the
--   <i><tt>red</tt></i>, <i><tt>green</tt></i>, <i><tt>blue</tt></i> and
--   <i><tt>alpha</tt></i> fields of the <i><tt>rgba</tt></i> <a>RGBA</a>.
--   
--   The string can be either one of:
--   
--   <ul>
--   <li>A standard name (Taken from the X11 rgb.txt file).</li>
--   <li>A hexadecimal value in the form “rrggbb”, “rrrrggggbbbb”</li>
--   <li>A RGB color in the form “rgb(r,g,b)” (In this case the color will
--   have full opacity)</li>
--   <li>A RGBA color in the form “rgba(r,g,b,a)”</li>
--   </ul>
--   
--   Where “r”, “g”, “b” and “a” are respectively the red, green, blue and
--   alpha color values. In the last two cases, r g and b are either
--   integers in the range 0 to 255 or percentage values in the range 0% to
--   100%, and a is a floating point value in the range 0 to 1.
--   
--   <i>Since: 3.0</i>
rGBAParse :: (HasCallStack, MonadIO m) => RGBA -> Text -> m Bool

-- | Returns a textual specification of <i><tt>rgba</tt></i> in the form
--   <tt>rgb (r, g, b)</tt> or <tt>rgba (r, g, b, a)</tt>, where “r”, “g”,
--   “b” and “a” represent the red, green, blue and alpha values
--   respectively. r, g, and b are represented as integers in the range 0
--   to 255, and a is represented as floating point value in the range 0 to
--   1.
--   
--   These string forms are string forms those supported by the CSS3 colors
--   module, and can be parsed by <a>rGBAParse</a>.
--   
--   Note that this string representation may lose some precision, since r,
--   g and b are represented as 8-bit integers. If this is a concern, you
--   should use a different representation.
--   
--   <i>Since: 3.0</i>
rGBAToString :: (HasCallStack, MonadIO m) => RGBA -> m Text

-- | Get the value of the “<tt>alpha</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> rGBA #alpha
--   </pre>
getRGBAAlpha :: MonadIO m => RGBA -> m Double

-- | Set the value of the “<tt>alpha</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> rGBA [ #alpha <a>:=</a> value ]
--   </pre>
setRGBAAlpha :: MonadIO m => RGBA -> Double -> m ()

-- | Get the value of the “<tt>blue</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> rGBA #blue
--   </pre>
getRGBABlue :: MonadIO m => RGBA -> m Double

-- | Set the value of the “<tt>blue</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> rGBA [ #blue <a>:=</a> value ]
--   </pre>
setRGBABlue :: MonadIO m => RGBA -> Double -> m ()

-- | Get the value of the “<tt>green</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> rGBA #green
--   </pre>
getRGBAGreen :: MonadIO m => RGBA -> m Double

-- | Set the value of the “<tt>green</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> rGBA [ #green <a>:=</a> value ]
--   </pre>
setRGBAGreen :: MonadIO m => RGBA -> Double -> m ()

-- | Get the value of the “<tt>red</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> rGBA #red
--   </pre>
getRGBARed :: MonadIO m => RGBA -> m Double

-- | Set the value of the “<tt>red</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> rGBA [ #red <a>:=</a> value ]
--   </pre>
setRGBARed :: MonadIO m => RGBA -> Double -> m ()
instance Data.GI.Base.BasicTypes.BoxedObject GI.Gdk.Structs.RGBA.RGBA
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.RGBA.RGBA tag


-- | Generated when all or part of a window becomes visible and needs to be
--   redrawn.
module GI.Gdk.Structs.EventExpose

-- | Memory-managed wrapper type.
newtype EventExpose
EventExpose :: (ManagedPtr EventExpose) -> EventExpose

-- | Construct a <a>EventExpose</a> struct initialized to zero.
newZeroEventExpose :: MonadIO m => m EventExpose

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>EventExpose</a>.
noEventExpose :: Maybe EventExpose

-- | Get the value of the “<tt>area</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventExpose #area
--   </pre>
getEventExposeArea :: MonadIO m => EventExpose -> m Rectangle

-- | Get the value of the “<tt>count</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventExpose #count
--   </pre>
getEventExposeCount :: MonadIO m => EventExpose -> m Int32

-- | Set the value of the “<tt>count</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventExpose [ #count <a>:=</a> value ]
--   </pre>
setEventExposeCount :: MonadIO m => EventExpose -> Int32 -> m ()

-- | Set the value of the “<tt>region</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #region
--   </pre>
clearEventExposeRegion :: MonadIO m => EventExpose -> m ()

-- | Get the value of the “<tt>region</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventExpose #region
--   </pre>
getEventExposeRegion :: MonadIO m => EventExpose -> m (Maybe Region)

-- | Set the value of the “<tt>region</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventExpose [ #region <a>:=</a> value ]
--   </pre>
setEventExposeRegion :: MonadIO m => EventExpose -> Ptr Region -> m ()

-- | Get the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventExpose #sendEvent
--   </pre>
getEventExposeSendEvent :: MonadIO m => EventExpose -> m Int8

-- | Set the value of the “<tt>send_event</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventExpose [ #sendEvent <a>:=</a> value ]
--   </pre>
setEventExposeSendEvent :: MonadIO m => EventExpose -> Int8 -> m ()

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventExpose #type
--   </pre>
getEventExposeType :: MonadIO m => EventExpose -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventExpose [ #type <a>:=</a> value ]
--   </pre>
setEventExposeType :: MonadIO m => EventExpose -> EventType -> m ()

-- | Set the value of the “<tt>window</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #window
--   </pre>
clearEventExposeWindow :: MonadIO m => EventExpose -> m ()

-- | Get the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> eventExpose #window
--   </pre>
getEventExposeWindow :: MonadIO m => EventExpose -> m (Maybe Window)

-- | Set the value of the “<tt>window</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> eventExpose [ #window <a>:=</a> value ]
--   </pre>
setEventExposeWindow :: MonadIO m => EventExpose -> Ptr Window -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.EventExpose.EventExpose
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.EventExpose.EventExpose tag


-- | <a>Screen</a> objects are the GDK representation of the screen on
--   which windows can be displayed and on which the pointer moves. X
--   originally identified screens with physical screens, but nowadays it
--   is more common to have a single <a>Screen</a> which combines several
--   physical monitors (see <a>screenGetNMonitors</a>).
--   
--   GdkScreen is used throughout GDK and GTK+ to specify which screen the
--   top level windows are to be displayed on. it is also used to query the
--   screen specification and default settings such as the default visual
--   (<a>screenGetSystemVisual</a>), the dimensions of the physical
--   monitors (<a>screenGetMonitorGeometry</a>), etc.
module GI.Gdk.Objects.Screen

-- | Memory-managed wrapper type.
newtype Screen
Screen :: (ManagedPtr Screen) -> Screen

-- | Type class for types which can be safely cast to <a>Screen</a>, for
--   instance with <a>toScreen</a>.
class GObject o => IsScreen o

-- | Cast to <a>Screen</a>, for types for which this is known to be safe.
--   For general casts, use <a>castTo</a>.
toScreen :: (MonadIO m, IsScreen o) => o -> m Screen

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a> <a>Screen</a>.
noScreen :: Maybe Screen

-- | Returns the screen’s currently active window.
--   
--   On X11, this is done by inspecting the _NET_ACTIVE_WINDOW property on
--   the root window, as described in the <a>Extended Window Manager
--   Hints</a>. If there is no currently currently active window, or the
--   window manager does not support the _NET_ACTIVE_WINDOW hint, this
--   function returns <a>Nothing</a>.
--   
--   On other platforms, this function may return <a>Nothing</a>, depending
--   on whether it is implementable on that platform.
--   
--   The returned window should be unrefed using <a>objectUnref</a> when no
--   longer needed.
--   
--   <i>Since: 2.10</i>

-- | <i>Deprecated: (Since version 3.22)</i>
screenGetActiveWindow :: (HasCallStack, MonadIO m, IsScreen a) => a -> m (Maybe Window)

-- | Gets the default screen for the default display. (See
--   gdk_display_get_default ()).
--   
--   <i>Since: 2.2</i>
screenGetDefault :: (HasCallStack, MonadIO m) => m (Maybe Screen)

-- | Gets the display to which the <i><tt>screen</tt></i> belongs.
--   
--   <i>Since: 2.2</i>
screenGetDisplay :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Display

-- | Gets any options previously set with <a>screenSetFontOptions</a>.
--   
--   <i>Since: 2.10</i>
screenGetFontOptions :: (HasCallStack, MonadIO m, IsScreen a) => a -> m (Maybe FontOptions)

-- | Gets the height of <i><tt>screen</tt></i> in pixels. The returned size
--   is in ”application pixels”, not in ”device pixels” (see
--   <a>screenGetMonitorScaleFactor</a>).
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.22)Use per-monitor information
--   instead</i>
screenGetHeight :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Int32

-- | Returns the height of <i><tt>screen</tt></i> in millimeters.
--   
--   Note that this value is somewhat ill-defined when the screen has
--   multiple monitors of different resolution. It is recommended to use
--   the monitor dimensions instead.
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.22)Use per-monitor information
--   instead</i>
screenGetHeightMm :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Int32

-- | Returns the monitor number in which the point
--   (<i><tt>x</tt></i>,<i><tt>y</tt></i>) is located.
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.22)Use <a>displayGetMonitorAtPoint</a>
--   instead</i>
screenGetMonitorAtPoint :: (HasCallStack, MonadIO m, IsScreen a) => a -> Int32 -> Int32 -> m Int32

-- | Returns the number of the monitor in which the largest area of the
--   bounding rectangle of <i><tt>window</tt></i> resides.
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.22)Use
--   <a>displayGetMonitorAtWindow</a> instead</i>
screenGetMonitorAtWindow :: (HasCallStack, MonadIO m, IsScreen a, IsWindow b) => a -> b -> m Int32

-- | Retrieves the <a>Rectangle</a> representing the size and position of
--   the individual monitor within the entire screen area. The returned
--   geometry is in ”application pixels”, not in ”device pixels” (see
--   <a>screenGetMonitorScaleFactor</a>).
--   
--   Monitor numbers start at 0. To obtain the number of monitors of
--   <i><tt>screen</tt></i>, use <a>screenGetNMonitors</a>.
--   
--   Note that the size of the entire screen area can be retrieved via
--   <a>screenGetWidth</a> and <a>screenGetHeight</a>.
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.22)Use <a>monitorGetGeometry</a>
--   instead</i>
screenGetMonitorGeometry :: (HasCallStack, MonadIO m, IsScreen a) => a -> Int32 -> m (Rectangle)

-- | Gets the height in millimeters of the specified monitor.
--   
--   <i>Since: 2.14</i>

-- | <i>Deprecated: (Since version 3.22)Use <a>monitorGetHeightMm</a>
--   instead</i>
screenGetMonitorHeightMm :: (HasCallStack, MonadIO m, IsScreen a) => a -> Int32 -> m Int32

-- | Returns the output name of the specified monitor. Usually something
--   like VGA, DVI, or TV, not the actual product name of the display
--   device.
--   
--   <i>Since: 2.14</i>

-- | <i>Deprecated: (Since version 3.22)Use <a>monitorGetModel</a>
--   instead</i>
screenGetMonitorPlugName :: (HasCallStack, MonadIO m, IsScreen a) => a -> Int32 -> m (Maybe Text)

-- | Returns the internal scale factor that maps from monitor coordinates
--   to the actual device pixels. On traditional systems this is 1, but on
--   very high density outputs this can be a higher value (often 2).
--   
--   This can be used if you want to create pixel based data for a
--   particular monitor, but most of the time you’re drawing to a window
--   where it is better to use <a>windowGetScaleFactor</a> instead.
--   
--   <i>Since: 3.10</i>

-- | <i>Deprecated: (Since version 3.22)Use <a>monitorGetScaleFactor</a>
--   instead</i>
screenGetMonitorScaleFactor :: (HasCallStack, MonadIO m, IsScreen a) => a -> Int32 -> m Int32

-- | Gets the width in millimeters of the specified monitor, if available.
--   
--   <i>Since: 2.14</i>

-- | <i>Deprecated: (Since version 3.22)Use <a>monitorGetWidthMm</a>
--   instead</i>
screenGetMonitorWidthMm :: (HasCallStack, MonadIO m, IsScreen a) => a -> Int32 -> m Int32

-- | Retrieves the <a>Rectangle</a> representing the size and position of
--   the “work area” on a monitor within the entire screen area. The
--   returned geometry is in ”application pixels”, not in ”device pixels”
--   (see <a>screenGetMonitorScaleFactor</a>).
--   
--   The work area should be considered when positioning menus and similar
--   popups, to avoid placing them below panels, docks or other desktop
--   components.
--   
--   Note that not all backends may have a concept of workarea. This
--   function will return the monitor geometry if a workarea is not
--   available, or does not apply.
--   
--   Monitor numbers start at 0. To obtain the number of monitors of
--   <i><tt>screen</tt></i>, use <a>screenGetNMonitors</a>.
--   
--   <i>Since: 3.4</i>

-- | <i>Deprecated: (Since version 3.22)Use <a>monitorGetWorkarea</a>
--   instead</i>
screenGetMonitorWorkarea :: (HasCallStack, MonadIO m, IsScreen a) => a -> Int32 -> m (Rectangle)

-- | Returns the number of monitors which <i><tt>screen</tt></i> consists
--   of.
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.22)Use <a>displayGetNMonitors</a>
--   instead</i>
screenGetNMonitors :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Int32

-- | Gets the index of <i><tt>screen</tt></i> among the screens in the
--   display to which it belongs. (See <a>screenGetDisplay</a>)
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.22)</i>
screenGetNumber :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Int32

-- | Gets the primary monitor for <i><tt>screen</tt></i>. The primary
--   monitor is considered the monitor where the “main desktop” lives.
--   While normal application windows typically allow the window manager to
--   place the windows, specialized desktop applications such as panels
--   should place themselves on the primary monitor.
--   
--   If no primary monitor is configured by the user, the return value will
--   be 0, defaulting to the first monitor.
--   
--   <i>Since: 2.20</i>

-- | <i>Deprecated: (Since version 3.22)Use <a>displayGetPrimaryMonitor</a>
--   instead</i>
screenGetPrimaryMonitor :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Int32

-- | Gets the resolution for font handling on the screen; see
--   <a>screenSetResolution</a> for full details.
--   
--   <i>Since: 2.10</i>
screenGetResolution :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Double

-- | Gets a visual to use for creating windows with an alpha channel. The
--   windowing system on which GTK+ is running may not support this
--   capability, in which case <a>Nothing</a> will be returned. Even if a
--   non-<a>Nothing</a> value is returned, its possible that the window’s
--   alpha channel won’t be honored when displaying the window on the
--   screen: in particular, for X an appropriate windowing manager and
--   compositing manager must be running to provide appropriate display.
--   
--   This functionality is not implemented in the Windows backend.
--   
--   For setting an overall opacity for a top-level window, see
--   <a>windowSetOpacity</a>.
--   
--   <i>Since: 2.8</i>
screenGetRgbaVisual :: (HasCallStack, MonadIO m, IsScreen a) => a -> m (Maybe Visual)

-- | Gets the root window of <i><tt>screen</tt></i>.
--   
--   <i>Since: 2.2</i>
screenGetRootWindow :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Window

-- | Retrieves a desktop-wide setting such as double-click time for the
--   <a>Screen</a> <i><tt>screen</tt></i>.
--   
--   FIXME needs a list of valid settings here, or a link to more
--   information.
--   
--   <i>Since: 2.2</i>
screenGetSetting :: (HasCallStack, MonadIO m, IsScreen a) => a -> Text -> GValue -> m Bool

-- | Get the system’s default visual for <i><tt>screen</tt></i>. This is
--   the visual for the root window of the display. The return value should
--   not be freed.
--   
--   <i>Since: 2.2</i>
screenGetSystemVisual :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Visual

-- | Obtains a list of all toplevel windows known to GDK on the screen
--   <i><tt>screen</tt></i>. A toplevel window is a child of the root
--   window (see <a>getDefaultRootWindow</a>).
--   
--   The returned list should be freed with <tt><i>g_list_free()</i></tt>,
--   but its elements need not be freed.
--   
--   <i>Since: 2.2</i>
screenGetToplevelWindows :: (HasCallStack, MonadIO m, IsScreen a) => a -> m [Window]

-- | Gets the width of <i><tt>screen</tt></i> in pixels. The returned size
--   is in ”application pixels”, not in ”device pixels” (see
--   <a>screenGetMonitorScaleFactor</a>).
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.22)Use per-monitor information
--   instead</i>
screenGetWidth :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Int32

-- | Gets the width of <i><tt>screen</tt></i> in millimeters.
--   
--   Note that this value is somewhat ill-defined when the screen has
--   multiple monitors of different resolution. It is recommended to use
--   the monitor dimensions instead.
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.22)Use per-monitor information
--   instead</i>
screenGetWidthMm :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Int32

-- | Returns a <a>List</a> of <tt><i>GdkWindows</i></tt> representing the
--   current window stack.
--   
--   On X11, this is done by inspecting the _NET_CLIENT_LIST_STACKING
--   property on the root window, as described in the <a>Extended Window
--   Manager Hints</a>. If the window manager does not support the
--   _NET_CLIENT_LIST_STACKING hint, this function returns <a>Nothing</a>.
--   
--   On other platforms, this function may return <a>Nothing</a>, depending
--   on whether it is implementable on that platform.
--   
--   The returned list is newly allocated and owns references to the
--   windows it contains, so it should be freed using
--   <tt><i>g_list_free()</i></tt> and its windows unrefed using
--   <a>objectUnref</a> when no longer needed.
--   
--   <i>Since: 2.10</i>
screenGetWindowStack :: (HasCallStack, MonadIO m, IsScreen a) => a -> m [Window]

-- | Gets the height of the default screen in pixels. The returned size is
--   in ”application pixels”, not in ”device pixels” (see
--   <a>screenGetMonitorScaleFactor</a>).

-- | <i>Deprecated: (Since version 3.22)Use per-monitor information</i>
screenHeight :: (HasCallStack, MonadIO m) => m Int32

-- | Returns the height of the default screen in millimeters. Note that on
--   many X servers this value will not be correct.

-- | <i>Deprecated: (Since version 3.22)Use per-monitor information</i>
screenHeightMm :: (HasCallStack, MonadIO m) => m Int32

-- | Returns whether windows with an RGBA visual can reasonably be expected
--   to have their alpha channel drawn correctly on the screen.
--   
--   On X11 this function returns whether a compositing manager is
--   compositing <i><tt>screen</tt></i>.
--   
--   <i>Since: 2.10</i>
screenIsComposited :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Bool

-- | Lists the available visuals for the specified <i><tt>screen</tt></i>.
--   A visual describes a hardware image data format. For example, a visual
--   might support 24-bit color, or 8-bit color, and might expect pixels to
--   be in a certain format.
--   
--   Call <tt><i>g_list_free()</i></tt> on the return value when you’re
--   finished with it.
--   
--   <i>Since: 2.2</i>
screenListVisuals :: (HasCallStack, MonadIO m, IsScreen a) => a -> m [Visual]

-- | Determines the name to pass to <a>displayOpen</a> to get a
--   <a>Display</a> with this screen as the default screen.
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.22)</i>
screenMakeDisplayName :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Text

-- | Sets the default font options for the screen. These options will be
--   set on any <a>Context</a>’s newly created with
--   <a>pangoContextGetForScreen</a>. Changing the default set of font
--   options does not affect contexts that have already been created.
--   
--   <i>Since: 2.10</i>
screenSetFontOptions :: (HasCallStack, MonadIO m, IsScreen a) => a -> Maybe (FontOptions) -> m ()

-- | Sets the resolution for font handling on the screen. This is a scale
--   factor between points specified in a <a>FontDescription</a> and cairo
--   units. The default value is 96, meaning that a 10 point font will be
--   13 units high. (10 * 96. / 72. = 13.3).
--   
--   <i>Since: 2.10</i>
screenSetResolution :: (HasCallStack, MonadIO m, IsScreen a) => a -> Double -> m ()

-- | Gets the width of the default screen in pixels. The returned size is
--   in ”application pixels”, not in ”device pixels” (see
--   <a>screenGetMonitorScaleFactor</a>).

-- | <i>Deprecated: (Since version 3.22)Use per-monitor information</i>
screenWidth :: (HasCallStack, MonadIO m) => m Int32

-- | Returns the width of the default screen in millimeters. Note that on
--   many X servers this value will not be correct.

-- | <i>Deprecated: (Since version 3.22)Use per-monitor information</i>
screenWidthMm :: (HasCallStack, MonadIO m) => m Int32

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>font-options</tt>” property. This is rarely needed directly, but
--   it is used by <a>new</a>.
constructScreenFontOptions :: (IsScreen o) => Ptr () -> IO (GValueConstruct o)

-- | Get the value of the “<tt>font-options</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> screen #fontOptions
--   </pre>
getScreenFontOptions :: (MonadIO m, IsScreen o) => o -> m (Ptr ())

-- | Set the value of the “<tt>font-options</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> screen [ #fontOptions <a>:=</a> value ]
--   </pre>
setScreenFontOptions :: (MonadIO m, IsScreen o) => o -> Ptr () -> m ()

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>resolution</tt>” property. This is rarely needed directly, but it
--   is used by <a>new</a>.
constructScreenResolution :: (IsScreen o) => Double -> IO (GValueConstruct o)

-- | Get the value of the “<tt>resolution</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> screen #resolution
--   </pre>
getScreenResolution :: (MonadIO m, IsScreen o) => o -> m Double

-- | Set the value of the “<tt>resolution</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> screen [ #resolution <a>:=</a> value ]
--   </pre>
setScreenResolution :: (MonadIO m, IsScreen o) => o -> Double -> m ()

-- | Type for the callback on the (unwrapped) C side.
type C_ScreenCompositedChangedCallback = Ptr () -> Ptr () -> IO ()

-- | The ::composited-changed signal is emitted when the composited status
--   of the screen changes
--   
--   <i>Since: 2.10</i>
type ScreenCompositedChangedCallback = IO ()

-- | Connect a signal handler for the “<tt>composited-changed</tt>” signal,
--   to be run after the default handler. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>after</a> screen #compositedChanged callback
--   </pre>
afterScreenCompositedChanged :: (IsScreen a, MonadIO m) => a -> ScreenCompositedChangedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_ScreenCompositedChanged :: ScreenCompositedChangedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_ScreenCompositedChangedCallback</a>.
mk_ScreenCompositedChangedCallback :: C_ScreenCompositedChangedCallback -> IO (FunPtr C_ScreenCompositedChangedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>ScreenCompositedChangedCallback</a></tt>.
noScreenCompositedChangedCallback :: Maybe ScreenCompositedChangedCallback

-- | Connect a signal handler for the “<tt>composited-changed</tt>” signal,
--   to be run before the default handler. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>on</a> screen #compositedChanged callback
--   </pre>
onScreenCompositedChanged :: (IsScreen a, MonadIO m) => a -> ScreenCompositedChangedCallback -> m SignalHandlerId

-- | Wrap a <a>ScreenCompositedChangedCallback</a> into a
--   <a>C_ScreenCompositedChangedCallback</a>.
wrap_ScreenCompositedChangedCallback :: ScreenCompositedChangedCallback -> C_ScreenCompositedChangedCallback

-- | Type for the callback on the (unwrapped) C side.
type C_ScreenMonitorsChangedCallback = Ptr () -> Ptr () -> IO ()

-- | The ::monitors-changed signal is emitted when the number, size or
--   position of the monitors attached to the screen change.
--   
--   Only for X11 and OS X for now. A future implementation for Win32 may
--   be a possibility.
--   
--   <i>Since: 2.14</i>
type ScreenMonitorsChangedCallback = IO ()

-- | Connect a signal handler for the “<tt>monitors-changed</tt>” signal,
--   to be run after the default handler. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>after</a> screen #monitorsChanged callback
--   </pre>
afterScreenMonitorsChanged :: (IsScreen a, MonadIO m) => a -> ScreenMonitorsChangedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_ScreenMonitorsChanged :: ScreenMonitorsChangedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_ScreenMonitorsChangedCallback</a>.
mk_ScreenMonitorsChangedCallback :: C_ScreenMonitorsChangedCallback -> IO (FunPtr C_ScreenMonitorsChangedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>ScreenMonitorsChangedCallback</a></tt>.
noScreenMonitorsChangedCallback :: Maybe ScreenMonitorsChangedCallback

-- | Connect a signal handler for the “<tt>monitors-changed</tt>” signal,
--   to be run before the default handler. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>on</a> screen #monitorsChanged callback
--   </pre>
onScreenMonitorsChanged :: (IsScreen a, MonadIO m) => a -> ScreenMonitorsChangedCallback -> m SignalHandlerId

-- | Wrap a <a>ScreenMonitorsChangedCallback</a> into a
--   <a>C_ScreenMonitorsChangedCallback</a>.
wrap_ScreenMonitorsChangedCallback :: ScreenMonitorsChangedCallback -> C_ScreenMonitorsChangedCallback

-- | Type for the callback on the (unwrapped) C side.
type C_ScreenSizeChangedCallback = Ptr () -> Ptr () -> IO ()

-- | The ::size-changed signal is emitted when the pixel width or height of
--   a screen changes.
--   
--   <i>Since: 2.2</i>
type ScreenSizeChangedCallback = IO ()

-- | Connect a signal handler for the “<tt>size-changed</tt>” signal, to be
--   run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> screen #sizeChanged callback
--   </pre>
afterScreenSizeChanged :: (IsScreen a, MonadIO m) => a -> ScreenSizeChangedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_ScreenSizeChanged :: ScreenSizeChangedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_ScreenSizeChangedCallback</a>.
mk_ScreenSizeChangedCallback :: C_ScreenSizeChangedCallback -> IO (FunPtr C_ScreenSizeChangedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>ScreenSizeChangedCallback</a></tt>.
noScreenSizeChangedCallback :: Maybe ScreenSizeChangedCallback

-- | Connect a signal handler for the “<tt>size-changed</tt>” signal, to be
--   run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> screen #sizeChanged callback
--   </pre>
onScreenSizeChanged :: (IsScreen a, MonadIO m) => a -> ScreenSizeChangedCallback -> m SignalHandlerId

-- | Wrap a <a>ScreenSizeChangedCallback</a> into a
--   <a>C_ScreenSizeChangedCallback</a>.
wrap_ScreenSizeChangedCallback :: ScreenSizeChangedCallback -> C_ScreenSizeChangedCallback
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Objects.Screen.Screen a) => GI.Gdk.Objects.Screen.IsScreen a
instance GI.Gdk.Objects.Screen.IsScreen GI.Gdk.Objects.Screen.Screen
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Objects.Screen.Screen
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Objects.Screen.Screen


-- | GdkMonitor objects represent the individual outputs that are
--   associated with a <a>Display</a>. GdkDisplay has APIs to enumerate
--   monitors with <a>displayGetNMonitors</a> and <a>displayGetMonitor</a>,
--   and to find particular monitors with <a>displayGetPrimaryMonitor</a>
--   or <a>displayGetMonitorAtWindow</a>.
--   
--   GdkMonitor was introduced in GTK+ 3.22 and supersedes earlier APIs in
--   GdkScreen to obtain monitor-related information.
module GI.Gdk.Objects.Monitor

-- | Memory-managed wrapper type.
newtype Monitor
Monitor :: (ManagedPtr Monitor) -> Monitor

-- | Type class for types which can be safely cast to <a>Monitor</a>, for
--   instance with <a>toMonitor</a>.
class GObject o => IsMonitor o

-- | Cast to <a>Monitor</a>, for types for which this is known to be safe.
--   For general casts, use <a>castTo</a>.
toMonitor :: (MonadIO m, IsMonitor o) => o -> m Monitor

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a> <a>Monitor</a>.
noMonitor :: Maybe Monitor

-- | Gets the display that this monitor belongs to.
--   
--   <i>Since: 3.22</i>
monitorGetDisplay :: (HasCallStack, MonadIO m, IsMonitor a) => a -> m Display

-- | Retrieves the size and position of an individual monitor within the
--   display coordinate space. The returned geometry is in ”application
--   pixels”, not in ”device pixels” (see <a>monitorGetScaleFactor</a>).
--   
--   <i>Since: 3.22</i>
monitorGetGeometry :: (HasCallStack, MonadIO m, IsMonitor a) => a -> m (Rectangle)

-- | Gets the height in millimeters of the monitor.
--   
--   <i>Since: 3.22</i>
monitorGetHeightMm :: (HasCallStack, MonadIO m, IsMonitor a) => a -> m Int32

-- | Gets the name of the monitor's manufacturer, if available.
monitorGetManufacturer :: (HasCallStack, MonadIO m, IsMonitor a) => a -> m (Maybe Text)

-- | Gets the a string identifying the monitor model, if available.
monitorGetModel :: (HasCallStack, MonadIO m, IsMonitor a) => a -> m (Maybe Text)

-- | Gets the refresh rate of the monitor, if available.
--   
--   The value is in milli-Hertz, so a refresh rate of 60Hz is returned as
--   60000.
--   
--   <i>Since: 3.22</i>
monitorGetRefreshRate :: (HasCallStack, MonadIO m, IsMonitor a) => a -> m Int32

-- | Gets the internal scale factor that maps from monitor coordinates to
--   the actual device pixels. On traditional systems this is 1, but on
--   very high density outputs this can be a higher value (often 2).
--   
--   This can be used if you want to create pixel based data for a
--   particular monitor, but most of the time you’re drawing to a window
--   where it is better to use <a>windowGetScaleFactor</a> instead.
--   
--   <i>Since: 3.22</i>
monitorGetScaleFactor :: (HasCallStack, MonadIO m, IsMonitor a) => a -> m Int32

-- | Gets information about the layout of red, green and blue primaries for
--   each pixel in this monitor, if available.
--   
--   <i>Since: 3.22</i>
monitorGetSubpixelLayout :: (HasCallStack, MonadIO m, IsMonitor a) => a -> m SubpixelLayout

-- | Gets the width in millimeters of the monitor.
--   
--   <i>Since: 3.22</i>
monitorGetWidthMm :: (HasCallStack, MonadIO m, IsMonitor a) => a -> m Int32

-- | Retrieves the size and position of the “work area” on a monitor within
--   the display coordinate space. The returned geometry is in ”application
--   pixels”, not in ”device pixels” (see <a>monitorGetScaleFactor</a>).
--   
--   The work area should be considered when positioning menus and similar
--   popups, to avoid placing them below panels, docks or other desktop
--   components.
--   
--   Note that not all backends may have a concept of workarea. This
--   function will return the monitor geometry if a workarea is not
--   available, or does not apply.
--   
--   <i>Since: 3.22</i>
monitorGetWorkarea :: (HasCallStack, MonadIO m, IsMonitor a) => a -> m (Rectangle)

-- | Gets whether this monitor should be considered primary (see
--   <a>displayGetPrimaryMonitor</a>).
--   
--   <i>Since: 3.22</i>
monitorIsPrimary :: (HasCallStack, MonadIO m, IsMonitor a) => a -> m Bool

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>display</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructMonitorDisplay :: (IsMonitor o, IsDisplay a) => a -> IO (GValueConstruct o)

-- | Get the value of the “<tt>display</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> monitor #display
--   </pre>
getMonitorDisplay :: (MonadIO m, IsMonitor o) => o -> m Display

-- | Get the value of the “<tt>geometry</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> monitor #geometry
--   </pre>
getMonitorGeometry :: (MonadIO m, IsMonitor o) => o -> m (Maybe Rectangle)

-- | Get the value of the “<tt>height-mm</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> monitor #heightMm
--   </pre>
getMonitorHeightMm :: (MonadIO m, IsMonitor o) => o -> m Int32

-- | Get the value of the “<tt>manufacturer</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> monitor #manufacturer
--   </pre>
getMonitorManufacturer :: (MonadIO m, IsMonitor o) => o -> m (Maybe Text)

-- | Get the value of the “<tt>model</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> monitor #model
--   </pre>
getMonitorModel :: (MonadIO m, IsMonitor o) => o -> m (Maybe Text)

-- | Get the value of the “<tt>refresh-rate</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> monitor #refreshRate
--   </pre>
getMonitorRefreshRate :: (MonadIO m, IsMonitor o) => o -> m Int32

-- | Get the value of the “<tt>scale-factor</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> monitor #scaleFactor
--   </pre>
getMonitorScaleFactor :: (MonadIO m, IsMonitor o) => o -> m Int32

-- | Get the value of the “<tt>subpixel-layout</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> monitor #subpixelLayout
--   </pre>
getMonitorSubpixelLayout :: (MonadIO m, IsMonitor o) => o -> m SubpixelLayout

-- | Get the value of the “<tt>width-mm</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> monitor #widthMm
--   </pre>
getMonitorWidthMm :: (MonadIO m, IsMonitor o) => o -> m Int32

-- | Get the value of the “<tt>workarea</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> monitor #workarea
--   </pre>
getMonitorWorkarea :: (MonadIO m, IsMonitor o) => o -> m (Maybe Rectangle)

-- | Type for the callback on the (unwrapped) C side.
type C_MonitorInvalidateCallback = Ptr () -> Ptr () -> IO ()

-- | <i>No description available in the introspection data.</i>
type MonitorInvalidateCallback = IO ()

-- | Connect a signal handler for the “<tt>invalidate</tt>” signal, to be
--   run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> monitor #invalidate callback
--   </pre>
afterMonitorInvalidate :: (IsMonitor a, MonadIO m) => a -> MonitorInvalidateCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_MonitorInvalidate :: MonitorInvalidateCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_MonitorInvalidateCallback</a>.
mk_MonitorInvalidateCallback :: C_MonitorInvalidateCallback -> IO (FunPtr C_MonitorInvalidateCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>MonitorInvalidateCallback</a></tt>.
noMonitorInvalidateCallback :: Maybe MonitorInvalidateCallback

-- | Connect a signal handler for the “<tt>invalidate</tt>” signal, to be
--   run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> monitor #invalidate callback
--   </pre>
onMonitorInvalidate :: (IsMonitor a, MonadIO m) => a -> MonitorInvalidateCallback -> m SignalHandlerId

-- | Wrap a <a>MonitorInvalidateCallback</a> into a
--   <a>C_MonitorInvalidateCallback</a>.
wrap_MonitorInvalidateCallback :: MonitorInvalidateCallback -> C_MonitorInvalidateCallback
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Objects.Monitor.Monitor a) => GI.Gdk.Objects.Monitor.IsMonitor a
instance GI.Gdk.Objects.Monitor.IsMonitor GI.Gdk.Objects.Monitor.Monitor
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Objects.Monitor.Monitor
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Objects.Monitor.Monitor


-- | Defines the position and size of a rectangle. It is identical to
--   <a>RectangleInt</a>.
module GI.Gdk.Structs.Rectangle

-- | Memory-managed wrapper type.
newtype Rectangle
Rectangle :: (ManagedPtr Rectangle) -> Rectangle

-- | Construct a <a>Rectangle</a> struct initialized to zero.
newZeroRectangle :: MonadIO m => m Rectangle

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>Rectangle</a>.
noRectangle :: Maybe Rectangle

-- | Checks if the two given rectangles are equal.
--   
--   <i>Since: 3.20</i>
rectangleEqual :: (HasCallStack, MonadIO m) => Rectangle -> Rectangle -> m Bool

-- | Calculates the intersection of two rectangles. It is allowed for
--   <i><tt>dest</tt></i> to be the same as either <i><tt>src1</tt></i> or
--   <i><tt>src2</tt></i>. If the rectangles do not intersect,
--   <i><tt>dest</tt></i>’s width and height is set to 0 and its x and y
--   values are undefined. If you are only interested in whether the
--   rectangles intersect, but not in the intersecting area itself, pass
--   <a>Nothing</a> for <i><tt>dest</tt></i>.
rectangleIntersect :: (HasCallStack, MonadIO m) => Rectangle -> Rectangle -> m ((Bool, Rectangle))

-- | Calculates the union of two rectangles. The union of rectangles
--   <i><tt>src1</tt></i> and <i><tt>src2</tt></i> is the smallest
--   rectangle which includes both <i><tt>src1</tt></i> and
--   <i><tt>src2</tt></i> within it. It is allowed for <i><tt>dest</tt></i>
--   to be the same as either <i><tt>src1</tt></i> or <i><tt>src2</tt></i>.
--   
--   Note that this function does not ignore 'empty' rectangles (ie. with
--   zero width or height).
rectangleUnion :: (HasCallStack, MonadIO m) => Rectangle -> Rectangle -> m (Rectangle)

-- | Get the value of the “<tt>height</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> rectangle #height
--   </pre>
getRectangleHeight :: MonadIO m => Rectangle -> m Int32

-- | Set the value of the “<tt>height</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> rectangle [ #height <a>:=</a> value ]
--   </pre>
setRectangleHeight :: MonadIO m => Rectangle -> Int32 -> m ()

-- | Get the value of the “<tt>width</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> rectangle #width
--   </pre>
getRectangleWidth :: MonadIO m => Rectangle -> m Int32

-- | Set the value of the “<tt>width</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> rectangle [ #width <a>:=</a> value ]
--   </pre>
setRectangleWidth :: MonadIO m => Rectangle -> Int32 -> m ()

-- | Get the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> rectangle #x
--   </pre>
getRectangleX :: MonadIO m => Rectangle -> m Int32

-- | Set the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> rectangle [ #x <a>:=</a> value ]
--   </pre>
setRectangleX :: MonadIO m => Rectangle -> Int32 -> m ()

-- | Get the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> rectangle #y
--   </pre>
getRectangleY :: MonadIO m => Rectangle -> m Int32

-- | Set the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> rectangle [ #y <a>:=</a> value ]
--   </pre>
setRectangleY :: MonadIO m => Rectangle -> Int32 -> m ()
instance Data.GI.Base.BasicTypes.BoxedObject GI.Gdk.Structs.Rectangle.Rectangle
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.Rectangle.Rectangle tag


-- | A <a>TimeCoord</a> stores a single event in a motion history.
module GI.Gdk.Structs.TimeCoord

-- | Memory-managed wrapper type.
newtype TimeCoord
TimeCoord :: (ManagedPtr TimeCoord) -> TimeCoord

-- | Construct a <a>TimeCoord</a> struct initialized to zero.
newZeroTimeCoord :: MonadIO m => m TimeCoord

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>TimeCoord</a>.
noTimeCoord :: Maybe TimeCoord

-- | Get the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> timeCoord #time
--   </pre>
getTimeCoordTime :: MonadIO m => TimeCoord -> m Word32

-- | Set the value of the “<tt>time</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> timeCoord [ #time <a>:=</a> value ]
--   </pre>
setTimeCoordTime :: MonadIO m => TimeCoord -> Word32 -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.TimeCoord.TimeCoord
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.TimeCoord.TimeCoord tag


-- | Attributes to use for a newly-created window.
module GI.Gdk.Structs.WindowAttr

-- | Memory-managed wrapper type.
newtype WindowAttr
WindowAttr :: (ManagedPtr WindowAttr) -> WindowAttr

-- | Construct a <a>WindowAttr</a> struct initialized to zero.
newZeroWindowAttr :: MonadIO m => m WindowAttr

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>WindowAttr</a>.
noWindowAttr :: Maybe WindowAttr

-- | Set the value of the “<tt>cursor</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #cursor
--   </pre>
clearWindowAttrCursor :: MonadIO m => WindowAttr -> m ()

-- | Get the value of the “<tt>cursor</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> windowAttr #cursor
--   </pre>
getWindowAttrCursor :: MonadIO m => WindowAttr -> m (Maybe Cursor)

-- | Set the value of the “<tt>cursor</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> windowAttr [ #cursor <a>:=</a> value ]
--   </pre>
setWindowAttrCursor :: MonadIO m => WindowAttr -> Ptr Cursor -> m ()

-- | Get the value of the “<tt>event_mask</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> windowAttr #eventMask
--   </pre>
getWindowAttrEventMask :: MonadIO m => WindowAttr -> m Int32

-- | Set the value of the “<tt>event_mask</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> windowAttr [ #eventMask <a>:=</a> value ]
--   </pre>
setWindowAttrEventMask :: MonadIO m => WindowAttr -> Int32 -> m ()

-- | Get the value of the “<tt>height</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> windowAttr #height
--   </pre>
getWindowAttrHeight :: MonadIO m => WindowAttr -> m Int32

-- | Set the value of the “<tt>height</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> windowAttr [ #height <a>:=</a> value ]
--   </pre>
setWindowAttrHeight :: MonadIO m => WindowAttr -> Int32 -> m ()

-- | Get the value of the “<tt>override_redirect</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> windowAttr #overrideRedirect
--   </pre>
getWindowAttrOverrideRedirect :: MonadIO m => WindowAttr -> m Bool

-- | Set the value of the “<tt>override_redirect</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> windowAttr [ #overrideRedirect <a>:=</a> value ]
--   </pre>
setWindowAttrOverrideRedirect :: MonadIO m => WindowAttr -> Bool -> m ()

-- | Set the value of the “<tt>title</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #title
--   </pre>
clearWindowAttrTitle :: MonadIO m => WindowAttr -> m ()

-- | Get the value of the “<tt>title</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> windowAttr #title
--   </pre>
getWindowAttrTitle :: MonadIO m => WindowAttr -> m (Maybe Text)

-- | Set the value of the “<tt>title</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> windowAttr [ #title <a>:=</a> value ]
--   </pre>
setWindowAttrTitle :: MonadIO m => WindowAttr -> CString -> m ()

-- | Get the value of the “<tt>type_hint</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> windowAttr #typeHint
--   </pre>
getWindowAttrTypeHint :: MonadIO m => WindowAttr -> m WindowTypeHint

-- | Set the value of the “<tt>type_hint</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> windowAttr [ #typeHint <a>:=</a> value ]
--   </pre>
setWindowAttrTypeHint :: MonadIO m => WindowAttr -> WindowTypeHint -> m ()

-- | Set the value of the “<tt>visual</tt>” field to <a>Nothing</a>. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #visual
--   </pre>
clearWindowAttrVisual :: MonadIO m => WindowAttr -> m ()

-- | Get the value of the “<tt>visual</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> windowAttr #visual
--   </pre>
getWindowAttrVisual :: MonadIO m => WindowAttr -> m (Maybe Visual)

-- | Set the value of the “<tt>visual</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> windowAttr [ #visual <a>:=</a> value ]
--   </pre>
setWindowAttrVisual :: MonadIO m => WindowAttr -> Ptr Visual -> m ()

-- | Get the value of the “<tt>wclass</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> windowAttr #wclass
--   </pre>
getWindowAttrWclass :: MonadIO m => WindowAttr -> m WindowWindowClass

-- | Set the value of the “<tt>wclass</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> windowAttr [ #wclass <a>:=</a> value ]
--   </pre>
setWindowAttrWclass :: MonadIO m => WindowAttr -> WindowWindowClass -> m ()

-- | Get the value of the “<tt>width</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> windowAttr #width
--   </pre>
getWindowAttrWidth :: MonadIO m => WindowAttr -> m Int32

-- | Set the value of the “<tt>width</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> windowAttr [ #width <a>:=</a> value ]
--   </pre>
setWindowAttrWidth :: MonadIO m => WindowAttr -> Int32 -> m ()

-- | Get the value of the “<tt>window_type</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> windowAttr #windowType
--   </pre>
getWindowAttrWindowType :: MonadIO m => WindowAttr -> m WindowType

-- | Set the value of the “<tt>window_type</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> windowAttr [ #windowType <a>:=</a> value ]
--   </pre>
setWindowAttrWindowType :: MonadIO m => WindowAttr -> WindowType -> m ()

-- | Set the value of the “<tt>wmclass_class</tt>” field to <a>Nothing</a>.
--   When <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #wmclassClass
--   </pre>
clearWindowAttrWmclassClass :: MonadIO m => WindowAttr -> m ()

-- | Get the value of the “<tt>wmclass_class</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> windowAttr #wmclassClass
--   </pre>
getWindowAttrWmclassClass :: MonadIO m => WindowAttr -> m (Maybe Text)

-- | Set the value of the “<tt>wmclass_class</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> windowAttr [ #wmclassClass <a>:=</a> value ]
--   </pre>
setWindowAttrWmclassClass :: MonadIO m => WindowAttr -> CString -> m ()

-- | Set the value of the “<tt>wmclass_name</tt>” field to <a>Nothing</a>.
--   When <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #wmclassName
--   </pre>
clearWindowAttrWmclassName :: MonadIO m => WindowAttr -> m ()

-- | Get the value of the “<tt>wmclass_name</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> windowAttr #wmclassName
--   </pre>
getWindowAttrWmclassName :: MonadIO m => WindowAttr -> m (Maybe Text)

-- | Set the value of the “<tt>wmclass_name</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> windowAttr [ #wmclassName <a>:=</a> value ]
--   </pre>
setWindowAttrWmclassName :: MonadIO m => WindowAttr -> CString -> m ()

-- | Get the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> windowAttr #x
--   </pre>
getWindowAttrX :: MonadIO m => WindowAttr -> m Int32

-- | Set the value of the “<tt>x</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> windowAttr [ #x <a>:=</a> value ]
--   </pre>
setWindowAttrX :: MonadIO m => WindowAttr -> Int32 -> m ()

-- | Get the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> windowAttr #y
--   </pre>
getWindowAttrY :: MonadIO m => WindowAttr -> m Int32

-- | Set the value of the “<tt>y</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> windowAttr [ #y <a>:=</a> value ]
--   </pre>
setWindowAttrY :: MonadIO m => WindowAttr -> Int32 -> m ()
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.WindowAttr.WindowAttr
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Structs.WindowAttr.WindowAttr tag


-- | <i>No description available in the introspection data.</i>
module GI.Gdk.Structs.WindowRedirect

-- | Memory-managed wrapper type.
newtype WindowRedirect
WindowRedirect :: (ManagedPtr WindowRedirect) -> WindowRedirect

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a>
--   <a>WindowRedirect</a>.
noWindowRedirect :: Maybe WindowRedirect
instance Data.GI.Base.BasicTypes.WrappedPtr GI.Gdk.Structs.WindowRedirect.WindowRedirect


module GI.Gdk.Structs


-- | <a>Display</a> objects purpose are two fold:
--   
--   <ul>
--   <li>To manage and provide information about input devices (pointers
--   and keyboards)</li>
--   <li>To manage and provide information about the available
--   <tt><i>GdkScreens</i></tt></li>
--   </ul>
--   
--   GdkDisplay objects are the GDK representation of an X Display, which
--   can be described as a workstation consisting of a keyboard, a pointing
--   device (such as a mouse) and one or more screens. It is used to open
--   and keep track of various GdkScreen objects currently instantiated by
--   the application. It is also used to access the keyboard(s) and mouse
--   pointer(s) of the display.
--   
--   Most of the input device handling has been factored out into the
--   separate <a>DeviceManager</a> object. Every display has a device
--   manager, which you can obtain using <a>displayGetDeviceManager</a>.
module GI.Gdk.Objects.Display

-- | Memory-managed wrapper type.
newtype Display
Display :: (ManagedPtr Display) -> Display

-- | Type class for types which can be safely cast to <a>Display</a>, for
--   instance with <a>toDisplay</a>.
class GObject o => IsDisplay o

-- | Cast to <a>Display</a>, for types for which this is known to be safe.
--   For general casts, use <a>castTo</a>.
toDisplay :: (MonadIO m, IsDisplay o) => o -> m Display

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a> <a>Display</a>.
noDisplay :: Maybe Display

-- | Emits a short beep on <i><tt>display</tt></i>
--   
--   <i>Since: 2.2</i>
displayBeep :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m ()

-- | Closes the connection to the windowing system for the given display,
--   and cleans up associated resources.
--   
--   <i>Since: 2.2</i>
displayClose :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m ()

-- | Returns <a>True</a> if there is an ongoing grab on
--   <i><tt>device</tt></i> for <i><tt>display</tt></i>.
displayDeviceIsGrabbed :: (HasCallStack, MonadIO m, IsDisplay a, IsDevice b) => a -> b -> m Bool

-- | Flushes any requests queued for the windowing system; this happens
--   automatically when the main loop blocks waiting for new events, but if
--   your application is drawing without returning control to the main
--   loop, you may need to call this function explicitly. A common case
--   where this function needs to be called is when an application is
--   executing drawing commands from a thread other than the thread where
--   the main loop is running.
--   
--   This is most useful for X11. On windowing systems where requests are
--   handled synchronously, this function will do nothing.
--   
--   <i>Since: 2.4</i>
displayFlush :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m ()

-- | Returns a <a>AppLaunchContext</a> suitable for launching applications
--   on the given display.
--   
--   <i>Since: 3.0</i>
displayGetAppLaunchContext :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m AppLaunchContext

-- | Gets the default <a>Display</a>. This is a convenience function for:
--   <tt>gdk_display_manager_get_default_display (gdk_display_manager_get
--   ())</tt>.
--   
--   <i>Since: 2.2</i>
displayGetDefault :: (HasCallStack, MonadIO m) => m (Maybe Display)

-- | Returns the default size to use for cursors on
--   <i><tt>display</tt></i>.
--   
--   <i>Since: 2.4</i>
displayGetDefaultCursorSize :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Word32

-- | Returns the default group leader window for all toplevel windows on
--   <i><tt>display</tt></i>. This window is implicitly created by GDK. See
--   <a>windowSetGroup</a>.
--   
--   <i>Since: 2.4</i>
displayGetDefaultGroup :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Window

-- | Get the default <a>Screen</a> for <i><tt>display</tt></i>.
--   
--   <i>Since: 2.2</i>
displayGetDefaultScreen :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Screen

-- | Returns the default <a>Seat</a> for this display.
--   
--   <i>Since: 3.20</i>
displayGetDefaultSeat :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Seat

-- | Returns the <a>DeviceManager</a> associated to
--   <i><tt>display</tt></i>.
--   
--   <i>Since: 3.0</i>

-- | <i>Deprecated: (Since version 3.20.)Use <a>displayGetDefaultSeat</a>
--   and <a>Seat</a> operations.</i>
displayGetDeviceManager :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m (Maybe DeviceManager)

-- | Gets the next <a>Event</a> to be processed for
--   <i><tt>display</tt></i>, fetching events from the windowing system if
--   necessary.
--   
--   <i>Since: 2.2</i>
displayGetEvent :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m (Maybe Event)

-- | Gets the maximal size to use for cursors on <i><tt>display</tt></i>.
--   
--   <i>Since: 2.4</i>
displayGetMaximalCursorSize :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m ((Word32, Word32))

-- | Gets a monitor associated with this display.
--   
--   <i>Since: 3.22</i>
displayGetMonitor :: (HasCallStack, MonadIO m, IsDisplay a) => a -> Int32 -> m (Maybe Monitor)

-- | Gets the monitor in which the point (<i><tt>x</tt></i>,
--   <i><tt>y</tt></i>) is located, or a nearby monitor if the point is not
--   in any monitor.
--   
--   <i>Since: 3.22</i>
displayGetMonitorAtPoint :: (HasCallStack, MonadIO m, IsDisplay a) => a -> Int32 -> Int32 -> m Monitor

-- | Gets the monitor in which the largest area of <i><tt>window</tt></i>
--   resides, or a monitor close to <i><tt>window</tt></i> if it is outside
--   of all monitors.
--   
--   <i>Since: 3.22</i>
displayGetMonitorAtWindow :: (HasCallStack, MonadIO m, IsDisplay a, IsWindow b) => a -> b -> m Monitor

-- | Gets the number of monitors that belong to <i><tt>display</tt></i>.
--   
--   The returned number is valid until the next emission of the
--   <a>Display</a>::<tt><i>monitor-added</i></tt> or
--   <a>Display</a>::<tt><i>monitor-removed</i></tt> signal.
--   
--   <i>Since: 3.22</i>
displayGetNMonitors :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Int32

-- | Gets the number of screen managed by the <i><tt>display</tt></i>.
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.10)The number of screens is always
--   1.</i>
displayGetNScreens :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Int32

-- | Gets the name of the display.
--   
--   <i>Since: 2.2</i>
displayGetName :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Text

-- | Gets the current location of the pointer and the current modifier mask
--   for a given display.
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.0)Use <a>deviceGetPosition</a>
--   instead.</i>
displayGetPointer :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m ((Screen, Int32, Int32, [ModifierType]))

-- | Gets the primary monitor for the display.
--   
--   The primary monitor is considered the monitor where the “main desktop”
--   lives. While normal application windows typically allow the window
--   manager to place the windows, specialized desktop applications such as
--   panels should place themselves on the primary monitor.
--   
--   <i>Since: 3.22</i>
displayGetPrimaryMonitor :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m (Maybe Monitor)

-- | Returns a screen object for one of the screens of the display.
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.20)There is only one screen; use
--   <a>displayGetDefaultScreen</a> to get it.</i>
displayGetScreen :: (HasCallStack, MonadIO m, IsDisplay a) => a -> Int32 -> m Screen

-- | Obtains the window underneath the mouse pointer, returning the
--   location of the pointer in that window in <i><tt>winX</tt></i>,
--   <i><tt>winY</tt></i> for <i><tt>screen</tt></i>. Returns
--   <a>Nothing</a> if the window under the mouse pointer is not known to
--   GDK (for example, belongs to another application).
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.0)Use <a>deviceGetWindowAtPosition</a>
--   instead.</i>
displayGetWindowAtPointer :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m ((Maybe Window, Int32, Int32))

-- | Returns whether the display has events that are waiting to be
--   processed.
--   
--   <i>Since: 3.0</i>
displayHasPending :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Bool

-- | Finds out if the display has been closed.
--   
--   <i>Since: 2.22</i>
displayIsClosed :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Bool

-- | Release any keyboard grab
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.0)Use <a>deviceUngrab</a>, together
--   with <a>deviceGrab</a> instead.</i>
displayKeyboardUngrab :: (HasCallStack, MonadIO m, IsDisplay a) => a -> Word32 -> m ()

-- | Returns the list of available input devices attached to
--   <i><tt>display</tt></i>. The list is statically allocated and should
--   not be freed.
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.0)Use <a>deviceManagerListDevices</a>
--   instead.</i>
displayListDevices :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m [Device]

-- | Returns the list of seats known to <i><tt>display</tt></i>.
--   
--   <i>Since: 3.20</i>
displayListSeats :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m [Seat]

-- | Indicates to the GUI environment that the application has finished
--   loading, using a given identifier.
--   
--   GTK+ will call this function automatically for
--   <tt><i>GtkWindow</i></tt> with custom startup-notification identifier
--   unless <tt><i>gtk_window_set_auto_startup_notification()</i></tt> is
--   called to disable that feature.
--   
--   <i>Since: 3.0</i>
displayNotifyStartupComplete :: (HasCallStack, MonadIO m, IsDisplay a) => a -> Text -> m ()

-- | Opens a display.
--   
--   <i>Since: 2.2</i>
displayOpen :: (HasCallStack, MonadIO m) => Text -> m (Maybe Display)

-- | Opens the default display specified by command line arguments or
--   environment variables, sets it as the default display, and returns it.
--   <a>parseArgs</a> must have been called first. If the default display
--   has previously been set, simply returns that. An internal function
--   that should not be used by applications.

-- | <i>Deprecated: (Since version 3.16)This symbol was never meant to be
--   used outside of GTK+</i>
displayOpenDefaultLibgtkOnly :: (HasCallStack, MonadIO m) => m (Maybe Display)

-- | Gets a copy of the first <a>Event</a> in the <i><tt>display</tt></i>’s
--   event queue, without removing the event from the queue. (Note that
--   this function will not get more events from the windowing system. It
--   only checks the events that have already been moved to the GDK event
--   queue.)
--   
--   <i>Since: 2.2</i>
displayPeekEvent :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m (Maybe Event)

-- | Test if the pointer is grabbed.
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.0)Use <a>displayDeviceIsGrabbed</a>
--   instead.</i>
displayPointerIsGrabbed :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Bool

-- | Release any pointer grab.
--   
--   <i>Since: 2.2</i>

-- | <i>Deprecated: (Since version 3.0)Use <a>deviceUngrab</a>, together
--   with <a>deviceGrab</a> instead.</i>
displayPointerUngrab :: (HasCallStack, MonadIO m, IsDisplay a) => a -> Word32 -> m ()

-- | Appends a copy of the given event onto the front of the event queue
--   for <i><tt>display</tt></i>.
--   
--   <i>Since: 2.2</i>
displayPutEvent :: (HasCallStack, MonadIO m, IsDisplay a) => a -> Event -> m ()

-- | Request <a>EventOwnerChange</a> events for ownership changes of the
--   selection named by the given atom.
--   
--   <i>Since: 2.6</i>
displayRequestSelectionNotification :: (HasCallStack, MonadIO m, IsDisplay a) => a -> Atom -> m Bool

-- | Sets the double click distance (two clicks within this distance count
--   as a double click and result in a <tt><i>GDK_2BUTTON_PRESS</i></tt>
--   event). See also <a>displaySetDoubleClickTime</a>. Applications should
--   not set this, it is a global user-configured setting.
--   
--   <i>Since: 2.4</i>
displaySetDoubleClickDistance :: (HasCallStack, MonadIO m, IsDisplay a) => a -> Word32 -> m ()

-- | Sets the double click time (two clicks within this time interval count
--   as a double click and result in a <tt><i>GDK_2BUTTON_PRESS</i></tt>
--   event). Applications should not set this, it is a global
--   user-configured setting.
--   
--   <i>Since: 2.2</i>
displaySetDoubleClickTime :: (HasCallStack, MonadIO m, IsDisplay a) => a -> Word32 -> m ()

-- | Issues a request to the clipboard manager to store the clipboard data.
--   On X11, this is a special program that works according to the
--   <a>FreeDesktop Clipboard Specification</a>.
--   
--   <i>Since: 2.6</i>
displayStoreClipboard :: (HasCallStack, MonadIO m, IsDisplay a, IsWindow b) => a -> b -> Word32 -> Maybe ([Atom]) -> m ()

-- | Returns whether the speicifed display supports clipboard persistance;
--   i.e. if it’s possible to store the clipboard data after an application
--   has quit. On X11 this checks if a clipboard daemon is running.
--   
--   <i>Since: 2.6</i>
displaySupportsClipboardPersistence :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Bool

-- | Returns <a>True</a> if <a>windowSetComposited</a> can be used to
--   redirect drawing on the window using compositing.
--   
--   Currently this only works on X11 with XComposite and XDamage
--   extensions available.
--   
--   <i>Since: 2.12</i>

-- | <i>Deprecated: (Since version 3.16)Compositing is an outdated
--   technology that only ever worked on X11.</i>
displaySupportsComposite :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Bool

-- | Returns <a>True</a> if cursors can use an 8bit alpha channel on
--   <i><tt>display</tt></i>. Otherwise, cursors are restricted to bilevel
--   alpha (i.e. a mask).
--   
--   <i>Since: 2.4</i>
displaySupportsCursorAlpha :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Bool

-- | Returns <a>True</a> if multicolored cursors are supported on
--   <i><tt>display</tt></i>. Otherwise, cursors have only a forground and
--   a background color.
--   
--   <i>Since: 2.4</i>
displaySupportsCursorColor :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Bool

-- | Returns <a>True</a> if
--   <tt><i>gdk_window_input_shape_combine_mask()</i></tt> can be used to
--   modify the input shape of windows on <i><tt>display</tt></i>.
--   
--   <i>Since: 2.10</i>
displaySupportsInputShapes :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Bool

-- | Returns whether <a>EventOwnerChange</a> events will be sent when the
--   owner of a selection changes.
--   
--   <i>Since: 2.6</i>
displaySupportsSelectionNotification :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Bool

-- | Returns <a>True</a> if <tt><i>gdk_window_shape_combine_mask()</i></tt>
--   can be used to create shaped windows on <i><tt>display</tt></i>.
--   
--   <i>Since: 2.10</i>
displaySupportsShapes :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Bool

-- | Flushes any requests queued for the windowing system and waits until
--   all requests have been handled. This is often used for making sure
--   that the display is synchronized with the current state of the
--   program. Calling <a>displaySync</a> before <a>errorTrapPop</a> makes
--   sure that any errors generated from earlier requests are handled
--   before the error trap is removed.
--   
--   This is most useful for X11. On windowing systems where requests are
--   handled synchronously, this function will do nothing.
--   
--   <i>Since: 2.2</i>
displaySync :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m ()

-- | Warps the pointer of <i><tt>display</tt></i> to the point
--   <i><tt>x</tt></i>,<i><tt>y</tt></i> on the screen
--   <i><tt>screen</tt></i>, unless the pointer is confined to a window by
--   a grab, in which case it will be moved as far as allowed by the grab.
--   Warping the pointer creates events as if the user had moved the mouse
--   instantaneously to the destination.
--   
--   Note that the pointer should normally be under the control of the
--   user. This function was added to cover some rare use cases like
--   keyboard navigation support for the color picker in the
--   <tt><i>GtkColorSelectionDialog</i></tt>.
--   
--   <i>Since: 2.8</i>

-- | <i>Deprecated: (Since version 3.0)Use <a>deviceWarp</a> instead.</i>
displayWarpPointer :: (HasCallStack, MonadIO m, IsDisplay a, IsScreen b) => a -> b -> Int32 -> Int32 -> m ()

-- | Type for the callback on the (unwrapped) C side.
type C_DisplayClosedCallback = Ptr () -> CInt -> Ptr () -> IO ()

-- | The ::closed signal is emitted when the connection to the windowing
--   system for <i><tt>display</tt></i> is closed.
--   
--   <i>Since: 2.2</i>
type DisplayClosedCallback = Bool  /@isError@/: 'True' if the display was closed due to an error  -> IO ()

-- | Connect a signal handler for the “<tt>closed</tt>” signal, to be run
--   after the default handler. When <a>overloading</a> is enabled, this is
--   equivalent to
--   
--   <pre>
--   <a>after</a> display #closed callback
--   </pre>
afterDisplayClosed :: (IsDisplay a, MonadIO m) => a -> DisplayClosedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_DisplayClosed :: DisplayClosedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_DisplayClosedCallback</a>.
mk_DisplayClosedCallback :: C_DisplayClosedCallback -> IO (FunPtr C_DisplayClosedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>DisplayClosedCallback</a></tt>.
noDisplayClosedCallback :: Maybe DisplayClosedCallback

-- | Connect a signal handler for the “<tt>closed</tt>” signal, to be run
--   before the default handler. When <a>overloading</a> is enabled, this
--   is equivalent to
--   
--   <pre>
--   <a>on</a> display #closed callback
--   </pre>
onDisplayClosed :: (IsDisplay a, MonadIO m) => a -> DisplayClosedCallback -> m SignalHandlerId

-- | Wrap a <a>DisplayClosedCallback</a> into a
--   <a>C_DisplayClosedCallback</a>.
wrap_DisplayClosedCallback :: DisplayClosedCallback -> C_DisplayClosedCallback

-- | Type for the callback on the (unwrapped) C side.
type C_DisplayMonitorAddedCallback = Ptr () -> Ptr Monitor -> Ptr () -> IO ()

-- | The ::monitor-added signal is emitted whenever a monitor is added.
--   
--   <i>Since: 3.22</i>
type DisplayMonitorAddedCallback = Monitor  /@monitor@/: the monitor that was just added  -> IO ()

-- | Connect a signal handler for the “<tt>monitor-added</tt>” signal, to
--   be run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> display #monitorAdded callback
--   </pre>
afterDisplayMonitorAdded :: (IsDisplay a, MonadIO m) => a -> DisplayMonitorAddedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_DisplayMonitorAdded :: DisplayMonitorAddedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_DisplayMonitorAddedCallback</a>.
mk_DisplayMonitorAddedCallback :: C_DisplayMonitorAddedCallback -> IO (FunPtr C_DisplayMonitorAddedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>DisplayMonitorAddedCallback</a></tt>.
noDisplayMonitorAddedCallback :: Maybe DisplayMonitorAddedCallback

-- | Connect a signal handler for the “<tt>monitor-added</tt>” signal, to
--   be run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> display #monitorAdded callback
--   </pre>
onDisplayMonitorAdded :: (IsDisplay a, MonadIO m) => a -> DisplayMonitorAddedCallback -> m SignalHandlerId

-- | Wrap a <a>DisplayMonitorAddedCallback</a> into a
--   <a>C_DisplayMonitorAddedCallback</a>.
wrap_DisplayMonitorAddedCallback :: DisplayMonitorAddedCallback -> C_DisplayMonitorAddedCallback

-- | Type for the callback on the (unwrapped) C side.
type C_DisplayMonitorRemovedCallback = Ptr () -> Ptr Monitor -> Ptr () -> IO ()

-- | The ::monitor-removed signal is emitted whenever a monitor is removed.
--   
--   <i>Since: 3.22</i>
type DisplayMonitorRemovedCallback = Monitor  /@monitor@/: the monitor that was just removed  -> IO ()

-- | Connect a signal handler for the “<tt>monitor-removed</tt>” signal, to
--   be run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> display #monitorRemoved callback
--   </pre>
afterDisplayMonitorRemoved :: (IsDisplay a, MonadIO m) => a -> DisplayMonitorRemovedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_DisplayMonitorRemoved :: DisplayMonitorRemovedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_DisplayMonitorRemovedCallback</a>.
mk_DisplayMonitorRemovedCallback :: C_DisplayMonitorRemovedCallback -> IO (FunPtr C_DisplayMonitorRemovedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>DisplayMonitorRemovedCallback</a></tt>.
noDisplayMonitorRemovedCallback :: Maybe DisplayMonitorRemovedCallback

-- | Connect a signal handler for the “<tt>monitor-removed</tt>” signal, to
--   be run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> display #monitorRemoved callback
--   </pre>
onDisplayMonitorRemoved :: (IsDisplay a, MonadIO m) => a -> DisplayMonitorRemovedCallback -> m SignalHandlerId

-- | Wrap a <a>DisplayMonitorRemovedCallback</a> into a
--   <a>C_DisplayMonitorRemovedCallback</a>.
wrap_DisplayMonitorRemovedCallback :: DisplayMonitorRemovedCallback -> C_DisplayMonitorRemovedCallback

-- | Type for the callback on the (unwrapped) C side.
type C_DisplayOpenedCallback = Ptr () -> Ptr () -> IO ()

-- | The ::opened signal is emitted when the connection to the windowing
--   system for <i><tt>display</tt></i> is opened.
type DisplayOpenedCallback = IO ()

-- | Connect a signal handler for the “<tt>opened</tt>” signal, to be run
--   after the default handler. When <a>overloading</a> is enabled, this is
--   equivalent to
--   
--   <pre>
--   <a>after</a> display #opened callback
--   </pre>
afterDisplayOpened :: (IsDisplay a, MonadIO m) => a -> DisplayOpenedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_DisplayOpened :: DisplayOpenedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_DisplayOpenedCallback</a>.
mk_DisplayOpenedCallback :: C_DisplayOpenedCallback -> IO (FunPtr C_DisplayOpenedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>DisplayOpenedCallback</a></tt>.
noDisplayOpenedCallback :: Maybe DisplayOpenedCallback

-- | Connect a signal handler for the “<tt>opened</tt>” signal, to be run
--   before the default handler. When <a>overloading</a> is enabled, this
--   is equivalent to
--   
--   <pre>
--   <a>on</a> display #opened callback
--   </pre>
onDisplayOpened :: (IsDisplay a, MonadIO m) => a -> DisplayOpenedCallback -> m SignalHandlerId

-- | Wrap a <a>DisplayOpenedCallback</a> into a
--   <a>C_DisplayOpenedCallback</a>.
wrap_DisplayOpenedCallback :: DisplayOpenedCallback -> C_DisplayOpenedCallback

-- | Type for the callback on the (unwrapped) C side.
type C_DisplaySeatAddedCallback = Ptr () -> Ptr Seat -> Ptr () -> IO ()

-- | The ::seat-added signal is emitted whenever a new seat is made known
--   to the windowing system.
--   
--   <i>Since: 3.20</i>
type DisplaySeatAddedCallback = Seat  /@seat@/: the seat that was just added  -> IO ()

-- | Connect a signal handler for the “<tt>seat-added</tt>” signal, to be
--   run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> display #seatAdded callback
--   </pre>
afterDisplaySeatAdded :: (IsDisplay a, MonadIO m) => a -> DisplaySeatAddedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_DisplaySeatAdded :: DisplaySeatAddedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_DisplaySeatAddedCallback</a>.
mk_DisplaySeatAddedCallback :: C_DisplaySeatAddedCallback -> IO (FunPtr C_DisplaySeatAddedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>DisplaySeatAddedCallback</a></tt>.
noDisplaySeatAddedCallback :: Maybe DisplaySeatAddedCallback

-- | Connect a signal handler for the “<tt>seat-added</tt>” signal, to be
--   run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> display #seatAdded callback
--   </pre>
onDisplaySeatAdded :: (IsDisplay a, MonadIO m) => a -> DisplaySeatAddedCallback -> m SignalHandlerId

-- | Wrap a <a>DisplaySeatAddedCallback</a> into a
--   <a>C_DisplaySeatAddedCallback</a>.
wrap_DisplaySeatAddedCallback :: DisplaySeatAddedCallback -> C_DisplaySeatAddedCallback

-- | Type for the callback on the (unwrapped) C side.
type C_DisplaySeatRemovedCallback = Ptr () -> Ptr Seat -> Ptr () -> IO ()

-- | The ::seat-removed signal is emitted whenever a seat is removed by the
--   windowing system.
--   
--   <i>Since: 3.20</i>
type DisplaySeatRemovedCallback = Seat  /@seat@/: the seat that was just removed  -> IO ()

-- | Connect a signal handler for the “<tt>seat-removed</tt>” signal, to be
--   run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> display #seatRemoved callback
--   </pre>
afterDisplaySeatRemoved :: (IsDisplay a, MonadIO m) => a -> DisplaySeatRemovedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_DisplaySeatRemoved :: DisplaySeatRemovedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_DisplaySeatRemovedCallback</a>.
mk_DisplaySeatRemovedCallback :: C_DisplaySeatRemovedCallback -> IO (FunPtr C_DisplaySeatRemovedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>DisplaySeatRemovedCallback</a></tt>.
noDisplaySeatRemovedCallback :: Maybe DisplaySeatRemovedCallback

-- | Connect a signal handler for the “<tt>seat-removed</tt>” signal, to be
--   run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> display #seatRemoved callback
--   </pre>
onDisplaySeatRemoved :: (IsDisplay a, MonadIO m) => a -> DisplaySeatRemovedCallback -> m SignalHandlerId

-- | Wrap a <a>DisplaySeatRemovedCallback</a> into a
--   <a>C_DisplaySeatRemovedCallback</a>.
wrap_DisplaySeatRemovedCallback :: DisplaySeatRemovedCallback -> C_DisplaySeatRemovedCallback
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Objects.Display.Display a) => GI.Gdk.Objects.Display.IsDisplay a
instance GI.Gdk.Objects.Display.IsDisplay GI.Gdk.Objects.Display.Display
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Objects.Display.Display
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Objects.Display.Display


module GI.Gdk.Functions

-- | Appends gdk option entries to the passed in option group. This is not
--   public API and must not be used by applications.

-- | <i>Deprecated: (Since version 3.16)This symbol was never meant to be
--   used outside of GTK+</i>
addOptionEntriesLibgtkOnly :: (HasCallStack, MonadIO m) => OptionGroup -> m ()

-- | Emits a short beep on the default display.
beep :: (HasCallStack, MonadIO m) => m ()

-- | Creates a Cairo context for drawing to <i><tt>window</tt></i>.
--   
--   Note that calling <tt><i>cairo_reset_clip()</i></tt> on the resulting
--   <a>Context</a> will produce undefined results, so avoid it at all
--   costs.
--   
--   Typically, this function is used to draw on a <a>Window</a> out of the
--   paint cycle of the toolkit; this should be avoided, as it breaks
--   various assumptions and optimizations.
--   
--   If you are drawing on a native <a>Window</a> in response to a
--   <a>EventTypeExpose</a> event you should use
--   <a>windowBeginDrawFrame</a> and <a>drawingContextGetCairoContext</a>
--   instead. GTK will automatically do this for you when drawing a widget.
--   
--   <i>Since: 2.8</i>

-- | <i>Deprecated: (Since version 3.22)Use <a>windowBeginDrawFrame</a> and
--   <a>drawingContextGetCairoContext</a> instead</i>
cairoCreate :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Context

-- | This is the main way to draw GL content in GTK+. It takes a render
--   buffer ID (<i><tt>sourceType</tt></i> ==
--   <tt><i>GL_RENDERBUFFER</i></tt>) or a texture id
--   (<i><tt>sourceType</tt></i> == <tt><i>GL_TEXTURE</i></tt>) and draws
--   it onto <i><tt>cr</tt></i> with an OVER operation, respecting the
--   current clip. The top left corner of the rectangle specified by
--   <i><tt>x</tt></i>, <i><tt>y</tt></i>, <i><tt>width</tt></i> and
--   <i><tt>height</tt></i> will be drawn at the current (0,0) position of
--   the cairo_t.
--   
--   This will work for *all* cairo_t, as long as <i><tt>window</tt></i> is
--   realized, but the fallback implementation that reads back the pixels
--   from the buffer may be used in the general case. In the case of direct
--   drawing to a window with no special effects applied to
--   <i><tt>cr</tt></i> it will however use a more efficient approach.
--   
--   For <tt><i>GL_RENDERBUFFER</i></tt> the code will always fall back to
--   software for buffers with alpha components, so make sure you use
--   <tt><i>GL_TEXTURE</i></tt> if using alpha.
--   
--   Calling this may change the current GL context.
--   
--   <i>Since: 3.16</i>
cairoDrawFromGl :: (HasCallStack, MonadIO m, IsWindow a) => Context -> a -> Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> m ()

-- | This is a convenience function around
--   <tt><i>cairo_clip_extents()</i></tt>. It rounds the clip extents to
--   integer coordinates and returns a boolean indicating if a clip area
--   exists.
cairoGetClipRectangle :: (HasCallStack, MonadIO m) => Context -> m ((Bool, Rectangle))

-- | Retrieves the <a>DrawingContext</a> that created the Cairo context
--   <i><tt>cr</tt></i>.
--   
--   <i>Since: 3.22</i>
cairoGetDrawingContext :: (HasCallStack, MonadIO m) => Context -> m (Maybe DrawingContext)

-- | Adds the given rectangle to the current path of <i><tt>cr</tt></i>.
--   
--   <i>Since: 2.8</i>
cairoRectangle :: (HasCallStack, MonadIO m) => Context -> Rectangle -> m ()

-- | Adds the given region to the current path of <i><tt>cr</tt></i>.
--   
--   <i>Since: 2.8</i>
cairoRegion :: (HasCallStack, MonadIO m) => Context -> Region -> m ()

-- | Creates region that describes covers the area where the given
--   <i><tt>surface</tt></i> is more than 50% opaque.
--   
--   This function takes into account device offsets that might be set with
--   <tt><i>cairo_surface_set_device_offset()</i></tt>.
cairoRegionCreateFromSurface :: (HasCallStack, MonadIO m) => Surface -> m Region

-- | Sets the specified <a>Color</a> as the source color of
--   <i><tt>cr</tt></i>.
--   
--   <i>Since: 2.8</i>

-- | <i>Deprecated: (Since version 3.4)Use <a>cairoSetSourceRgba</a>
--   instead</i>
cairoSetSourceColor :: (HasCallStack, MonadIO m) => Context -> Color -> m ()

-- | Sets the given pixbuf as the source pattern for <i><tt>cr</tt></i>.
--   
--   The pattern has an extend mode of <a>ExtendNone</a> and is aligned so
--   that the origin of <i><tt>pixbuf</tt></i> is <i><tt>pixbufX</tt></i>,
--   <i><tt>pixbufY</tt></i>.
--   
--   <i>Since: 2.8</i>
cairoSetSourcePixbuf :: (HasCallStack, MonadIO m, IsPixbuf a) => Context -> a -> Double -> Double -> m ()

-- | Sets the specified <a>RGBA</a> as the source color of
--   <i><tt>cr</tt></i>.
--   
--   <i>Since: 3.0</i>
cairoSetSourceRgba :: (HasCallStack, MonadIO m) => Context -> RGBA -> m ()

-- | Sets the given window as the source pattern for <i><tt>cr</tt></i>.
--   
--   The pattern has an extend mode of <a>ExtendNone</a> and is aligned so
--   that the origin of <i><tt>window</tt></i> is <i><tt>x</tt></i>,
--   <i><tt>y</tt></i>. The window contains all its subwindows when
--   rendering.
--   
--   Note that the contents of <i><tt>window</tt></i> are undefined outside
--   of the visible part of <i><tt>window</tt></i>, so use this function
--   with care.
--   
--   <i>Since: 2.24</i>
cairoSetSourceWindow :: (HasCallStack, MonadIO m, IsWindow a) => Context -> a -> Double -> Double -> m ()

-- | Creates an image surface with the same contents as the pixbuf.
--   
--   <i>Since: 3.10</i>
cairoSurfaceCreateFromPixbuf :: (HasCallStack, MonadIO m, IsPixbuf a, IsWindow b) => a -> Int32 -> Maybe (b) -> m Surface

-- | Disables multidevice support in GDK. This call must happen prior to
--   <a>displayOpen</a>, <tt><i>gtk_init()</i></tt>,
--   <tt><i>gtk_init_with_args()</i></tt> or
--   <tt><i>gtk_init_check()</i></tt> in order to take effect.
--   
--   Most common GTK+ applications won’t ever need to call this. Only
--   applications that do mixed GDK/Xlib calls could want to disable
--   multidevice support if such Xlib code deals with input devices in any
--   way and doesn’t observe the presence of XInput 2.
--   
--   <i>Since: 3.0</i>
disableMultidevice :: (HasCallStack, MonadIO m) => m ()

-- | Aborts a drag without dropping.
--   
--   This function is called by the drag source.
--   
--   This function does not need to be called in managed drag and drop
--   operations. See <a>dragContextManageDnd</a> for more information.
dragAbort :: (HasCallStack, MonadIO m, IsDragContext a) => a -> Word32 -> m ()

-- | Starts a drag and creates a new drag context for it. This function
--   assumes that the drag is controlled by the client pointer device, use
--   <a>dragBeginForDevice</a> to begin a drag with a different device.
--   
--   This function is called by the drag source.
dragBegin :: (HasCallStack, MonadIO m, IsWindow a) => a -> [Atom] -> m DragContext

-- | Starts a drag and creates a new drag context for it.
--   
--   This function is called by the drag source.
dragBeginForDevice :: (HasCallStack, MonadIO m, IsWindow a, IsDevice b) => a -> b -> [Atom] -> m DragContext

-- | Starts a drag and creates a new drag context for it.
--   
--   This function is called by the drag source.
--   
--   <i>Since: 3.20</i>
dragBeginFromPoint :: (HasCallStack, MonadIO m, IsWindow a, IsDevice b) => a -> b -> [Atom] -> Int32 -> Int32 -> m DragContext

-- | Drops on the current destination.
--   
--   This function is called by the drag source.
--   
--   This function does not need to be called in managed drag and drop
--   operations. See <a>dragContextManageDnd</a> for more information.
dragDrop :: (HasCallStack, MonadIO m, IsDragContext a) => a -> Word32 -> m ()

-- | Inform GDK if the drop ended successfully. Passing <a>False</a> for
--   <i><tt>success</tt></i> may trigger a drag cancellation animation.
--   
--   This function is called by the drag source, and should be the last
--   call before dropping the reference to the <i><tt>context</tt></i>.
--   
--   The <a>DragContext</a> will only take the first <a>dragDropDone</a>
--   call as effective, if this function is called multiple times, all
--   subsequent calls will be ignored.
--   
--   <i>Since: 3.20</i>
dragDropDone :: (HasCallStack, MonadIO m, IsDragContext a) => a -> Bool -> m ()

-- | Returns whether the dropped data has been successfully transferred.
--   This function is intended to be used while handling a
--   <a>EventTypeDropFinished</a> event, its return value is meaningless at
--   other times.
--   
--   <i>Since: 2.6</i>
dragDropSucceeded :: (HasCallStack, MonadIO m, IsDragContext a) => a -> m Bool

-- | Finds the destination window and DND protocol to use at the given
--   pointer position.
--   
--   This function is called by the drag source to obtain the
--   <i><tt>destWindow</tt></i> and <i><tt>protocol</tt></i> parameters for
--   <a>dragMotion</a>.
--   
--   <i>Since: 2.2</i>
dragFindWindowForScreen :: (HasCallStack, MonadIO m, IsDragContext a, IsWindow b, IsScreen c) => a -> b -> c -> Int32 -> Int32 -> m ((Window, DragProtocol))

-- | Returns the selection atom for the current source window.
dragGetSelection :: (HasCallStack, MonadIO m, IsDragContext a) => a -> m Atom

-- | Updates the drag context when the pointer moves or the set of actions
--   changes.
--   
--   This function is called by the drag source.
--   
--   This function does not need to be called in managed drag and drop
--   operations. See <a>dragContextManageDnd</a> for more information.
dragMotion :: (HasCallStack, MonadIO m, IsDragContext a, IsWindow b) => a -> b -> DragProtocol -> Int32 -> Int32 -> [DragAction] -> [DragAction] -> Word32 -> m Bool

-- | Selects one of the actions offered by the drag source.
--   
--   This function is called by the drag destination in response to
--   <a>dragMotion</a> called by the drag source.
dragStatus :: (HasCallStack, MonadIO m, IsDragContext a) => a -> [DragAction] -> Word32 -> m ()

-- | Ends the drag operation after a drop.
--   
--   This function is called by the drag destination.
dropFinish :: (HasCallStack, MonadIO m, IsDragContext a) => a -> Bool -> Word32 -> m ()

-- | Accepts or rejects a drop.
--   
--   This function is called by the drag destination in response to a drop
--   initiated by the drag source.
dropReply :: (HasCallStack, MonadIO m, IsDragContext a) => a -> Bool -> Word32 -> m ()

-- | Removes an error trap pushed with <a>errorTrapPush</a>. May block
--   until an error has been definitively received or not received from the
--   X server. <a>errorTrapPopIgnored</a> is preferred if you don’t need to
--   know whether an error occurred, because it never has to block. If you
--   don't need the return value of <a>errorTrapPop</a>, use
--   <a>errorTrapPopIgnored</a>.
--   
--   Prior to GDK 3.0, this function would not automatically sync for you,
--   so you had to <a>flush</a> if your last call to Xlib was not a
--   blocking round trip.
errorTrapPop :: (HasCallStack, MonadIO m) => m Int32

-- | Removes an error trap pushed with <a>errorTrapPush</a>, but without
--   bothering to wait and see whether an error occurred. If an error
--   arrives later asynchronously that was triggered while the trap was
--   pushed, that error will be ignored.
--   
--   <i>Since: 3.0</i>
errorTrapPopIgnored :: (HasCallStack, MonadIO m) => m ()

-- | This function allows X errors to be trapped instead of the normal
--   behavior of exiting the application. It should only be used if it is
--   not possible to avoid the X error in any other way. Errors are ignored
--   on all <a>Display</a> currently known to the <a>DisplayManager</a>. If
--   you don’t care which error happens and just want to ignore everything,
--   pop with <a>errorTrapPopIgnored</a>. If you need the error code, use
--   <a>errorTrapPop</a> which may have to block and wait for the error to
--   arrive from the X server.
--   
--   This API exists on all platforms but only does anything on X.
--   
--   You can use <tt><i>gdk_x11_display_error_trap_push()</i></tt> to
--   ignore errors on only a single display.
--   
--   <h2>Trapping an X error</h2>
--   
--   <h3><i>C code</i></h3>
--   
--   <pre>
--   gdk_error_trap_push ();
--   
--    // ... Call the X function which may cause an error here ...
--   
--   
--   if (gdk_error_trap_pop ())
--    {
--      // ... Handle the error here ...
--    }
--   </pre>
errorTrapPush :: (HasCallStack, MonadIO m) => m ()

-- | If both events contain X/Y information, this function will return
--   <a>True</a> and return in <i><tt>angle</tt></i> the relative angle
--   from <i><tt>event1</tt></i> to <i><tt>event2</tt></i>. The rotation
--   direction for positive angles is from the positive X axis towards the
--   positive Y axis.
--   
--   <i>Since: 3.0</i>
eventsGetAngle :: (HasCallStack, MonadIO m) => Event -> Event -> m ((Bool, Double))

-- | If both events contain X/Y information, the center of both coordinates
--   will be returned in <i><tt>x</tt></i> and <i><tt>y</tt></i>.
--   
--   <i>Since: 3.0</i>
eventsGetCenter :: (HasCallStack, MonadIO m) => Event -> Event -> m ((Bool, Double, Double))

-- | If both events have X/Y information, the distance between both
--   coordinates (as in a straight line going from <i><tt>event1</tt></i>
--   to <i><tt>event2</tt></i>) will be returned.
--   
--   <i>Since: 3.0</i>
eventsGetDistance :: (HasCallStack, MonadIO m) => Event -> Event -> m ((Bool, Double))

-- | Checks if any events are ready to be processed for any display.
eventsPending :: (HasCallStack, MonadIO m) => m Bool

-- | Flushes the output buffers of all display connections and waits until
--   all requests have been processed. This is rarely needed by
--   applications.
flush :: (HasCallStack, MonadIO m) => m ()

-- | Obtains the root window (parent all other windows are inside) for the
--   default display and screen.
getDefaultRootWindow :: (HasCallStack, MonadIO m) => m Window

-- | Gets the name of the display, which usually comes from the
--   <tt>DISPLAY</tt> environment variable or the <tt>--display</tt>
--   command line option.

-- | <i>Deprecated: (Since version 3.8)Call gdk_display_get_name
--   (gdk_display_get_default ())) instead.</i>
getDisplay :: (HasCallStack, MonadIO m) => m Text

-- | Gets the display name specified in the command line arguments passed
--   to <a>init</a> or <a>parseArgs</a>, if any.
--   
--   <i>Since: 2.2</i>
getDisplayArgName :: (HasCallStack, MonadIO m) => m (Maybe Text)

-- | Gets the program class. Unless the program class has explicitly been
--   set with <a>setProgramClass</a> or with the <tt>--class</tt>
--   commandline option, the default value is the program name (determined
--   with <a>getPrgname</a>) with the first character converted to
--   uppercase.
getProgramClass :: (HasCallStack, MonadIO m) => m Text

-- | Gets whether event debugging output is enabled.
getShowEvents :: (HasCallStack, MonadIO m) => m Bool

-- | Initializes the GDK library and connects to the windowing system. If
--   initialization fails, a warning message is output and the application
--   terminates with a call to <tt>exit(1)</tt>.
--   
--   Any arguments used by GDK are removed from the array and
--   <i><tt>argc</tt></i> and <i><tt>argv</tt></i> are updated accordingly.
--   
--   GTK+ initializes GDK in <tt><i>gtk_init()</i></tt> and so this
--   function is not usually needed by GTK+ applications.
init :: (HasCallStack, MonadIO m) => [Text] -> m ([Text])

-- | Initializes the GDK library and connects to the windowing system,
--   returning <a>True</a> on success.
--   
--   Any arguments used by GDK are removed from the array and
--   <i><tt>argc</tt></i> and <i><tt>argv</tt></i> are updated accordingly.
--   
--   GTK+ initializes GDK in <tt><i>gtk_init()</i></tt> and so this
--   function is not usually needed by GTK+ applications.
initCheck :: (HasCallStack, MonadIO m) => [Text] -> m ((Bool, [Text]))

-- | Grabs the keyboard so that all events are passed to this application
--   until the keyboard is ungrabbed with <a>keyboardUngrab</a>. This
--   overrides any previous keyboard grab by this client.
--   
--   If you set up anything at the time you take the grab that needs to be
--   cleaned up when the grab ends, you should handle the
--   <a>EventGrabBroken</a> events that are emitted when the grab ends
--   unvoluntarily.

-- | <i>Deprecated: (Since version 3.0)Use <a>deviceGrab</a> instead.</i>
keyboardGrab :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> Word32 -> m GrabStatus

-- | Ungrabs the keyboard on the default display, if it is grabbed by this
--   application.

-- | <i>Deprecated: (Since version 3.0)Use <a>deviceUngrab</a>, together
--   with <a>deviceGrab</a> instead.</i>
keyboardUngrab :: (HasCallStack, MonadIO m) => Word32 -> m ()

-- | Obtains the upper- and lower-case versions of the keyval
--   <i><tt>symbol</tt></i>. Examples of keyvals are <a>KEY_a</a>,
--   <tt><i>GDK_KEY_Enter</i></tt>, <a>KEY_F1</a>, etc.
keyvalConvertCase :: (HasCallStack, MonadIO m) => Word32 -> m ((Word32, Word32))

-- | Converts a key name to a key value.
--   
--   The names are the same as those in the <tt>gdk/gdkkeysyms.h</tt>
--   header file but without the leading “GDK_KEY_”.
keyvalFromName :: (HasCallStack, MonadIO m) => Text -> m Word32

-- | Returns <a>True</a> if the given key value is in lower case.
keyvalIsLower :: (HasCallStack, MonadIO m) => Word32 -> m Bool

-- | Returns <a>True</a> if the given key value is in upper case.
keyvalIsUpper :: (HasCallStack, MonadIO m) => Word32 -> m Bool

-- | Converts a key value into a symbolic name.
--   
--   The names are the same as those in the <tt>gdk/gdkkeysyms.h</tt>
--   header file but without the leading “GDK_KEY_”.
keyvalName :: (HasCallStack, MonadIO m) => Word32 -> m (Maybe Text)

-- | Converts a key value to lower case, if applicable.
keyvalToLower :: (HasCallStack, MonadIO m) => Word32 -> m Word32

-- | Convert from a GDK key symbol to the corresponding ISO10646 (Unicode)
--   character.
keyvalToUnicode :: (HasCallStack, MonadIO m) => Word32 -> m Word32

-- | Converts a key value to upper case, if applicable.
keyvalToUpper :: (HasCallStack, MonadIO m) => Word32 -> m Word32

-- | Lists the available visuals for the default screen. (See
--   <a>screenListVisuals</a>) A visual describes a hardware image data
--   format. For example, a visual might support 24-bit color, or 8-bit
--   color, and might expect pixels to be in a certain format.
--   
--   Call <tt><i>g_list_free()</i></tt> on the return value when you’re
--   finished with it.

-- | <i>Deprecated: (Since version 3.22)Use gdk_screen_list_visuals
--   (gdk_screen_get_default ()).</i>
listVisuals :: (HasCallStack, MonadIO m) => m [Visual]

-- | Indicates to the GUI environment that the application has finished
--   loading. If the applications opens windows, this function is normally
--   called after opening the application’s initial set of windows.
--   
--   GTK+ will call this function automatically after opening the first
--   <tt><i>GtkWindow</i></tt> unless
--   <tt><i>gtk_window_set_auto_startup_notification()</i></tt> is called
--   to disable that feature.
--   
--   <i>Since: 2.2</i>
notifyStartupComplete :: (HasCallStack, MonadIO m) => m ()

-- | Indicates to the GUI environment that the application has finished
--   loading, using a given identifier.
--   
--   GTK+ will call this function automatically for
--   <tt><i>GtkWindow</i></tt> with custom startup-notification identifier
--   unless <tt><i>gtk_window_set_auto_startup_notification()</i></tt> is
--   called to disable that feature.
--   
--   <i>Since: 2.12</i>
notifyStartupCompleteWithId :: (HasCallStack, MonadIO m) => Text -> m ()

-- | Gets the window that <i><tt>window</tt></i> is embedded in.
--   
--   <i>Since: 2.18</i>
offscreenWindowGetEmbedder :: (HasCallStack, MonadIO m, IsWindow a) => a -> m (Maybe Window)

-- | Gets the offscreen surface that an offscreen window renders into. If
--   you need to keep this around over window resizes, you need to add a
--   reference to it.
offscreenWindowGetSurface :: (HasCallStack, MonadIO m, IsWindow a) => a -> m (Maybe Surface)

-- | Sets <i><tt>window</tt></i> to be embedded in
--   <i><tt>embedder</tt></i>.
--   
--   To fully embed an offscreen window, in addition to calling this
--   function, it is also necessary to handle the
--   <a>Window</a>::<tt><i>pick-embedded-child</i></tt> signal on the
--   <i><tt>embedder</tt></i> and the
--   <a>Window</a>::<tt><i>to-embedder</i></tt> and
--   <a>Window</a>::<tt><i>from-embedder</i></tt> signals on
--   <i><tt>window</tt></i>.
--   
--   <i>Since: 2.18</i>
offscreenWindowSetEmbedder :: (HasCallStack, MonadIO m, IsWindow a, IsWindow b) => a -> b -> m ()

-- | Creates a <a>Context</a> for the default GDK screen.
--   
--   The context must be freed when you’re finished with it.
--   
--   When using GTK+, normally you should use
--   <tt><i>gtk_widget_get_pango_context()</i></tt> instead of this
--   function, to get the appropriate context for the widget you intend to
--   render text onto.
--   
--   The newly created context will have the default font options (see
--   <a>FontOptions</a>) for the default screen; if these options change it
--   will not be updated. Using
--   <tt><i>gtk_widget_get_pango_context()</i></tt> is more convenient if
--   you want to keep a context around and track changes to the screen’s
--   font rendering settings.
pangoContextGet :: (HasCallStack, MonadIO m) => m Context

-- | Creates a <a>Context</a> for <i><tt>display</tt></i>.
--   
--   The context must be freed when you’re finished with it.
--   
--   When using GTK+, normally you should use
--   <tt><i>gtk_widget_get_pango_context()</i></tt> instead of this
--   function, to get the appropriate context for the widget you intend to
--   render text onto.
--   
--   The newly created context will have the default font options (see
--   <a>FontOptions</a>) for the display; if these options change it will
--   not be updated. Using <tt><i>gtk_widget_get_pango_context()</i></tt>
--   is more convenient if you want to keep a context around and track
--   changes to the font rendering settings.
--   
--   <i>Since: 3.22</i>
pangoContextGetForDisplay :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Context

-- | Creates a <a>Context</a> for <i><tt>screen</tt></i>.
--   
--   The context must be freed when you’re finished with it.
--   
--   When using GTK+, normally you should use
--   <tt><i>gtk_widget_get_pango_context()</i></tt> instead of this
--   function, to get the appropriate context for the widget you intend to
--   render text onto.
--   
--   The newly created context will have the default font options (see
--   <a>FontOptions</a>) for the screen; if these options change it will
--   not be updated. Using <tt><i>gtk_widget_get_pango_context()</i></tt>
--   is more convenient if you want to keep a context around and track
--   changes to the screen’s font rendering settings.
--   
--   <i>Since: 2.2</i>
pangoContextGetForScreen :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Context

-- | Parse command line arguments, and store for future use by calls to
--   <a>displayOpen</a>.
--   
--   Any arguments used by GDK are removed from the array and
--   <i><tt>argc</tt></i> and <i><tt>argv</tt></i> are updated accordingly.
--   
--   You shouldn’t call this function explicitly if you are using
--   <tt><i>gtk_init()</i></tt>, <tt><i>gtk_init_check()</i></tt>,
--   <a>init</a>, or <a>initCheck</a>.
--   
--   <i>Since: 2.2</i>
parseArgs :: (HasCallStack, MonadIO m) => [Text] -> m ([Text])

-- | Transfers image data from a <a>Surface</a> and converts it to an
--   RGB(A) representation inside a <a>Pixbuf</a>. This allows you to
--   efficiently read individual pixels from cairo surfaces. For
--   <tt><i>GdkWindows</i></tt>, use <a>pixbufGetFromWindow</a> instead.
--   
--   This function will create an RGB pixbuf with 8 bits per channel. The
--   pixbuf will contain an alpha channel if the <i><tt>surface</tt></i>
--   contains one.
pixbufGetFromSurface :: (HasCallStack, MonadIO m) => Surface -> Int32 -> Int32 -> Int32 -> Int32 -> m (Maybe Pixbuf)

-- | Transfers image data from a <a>Window</a> and converts it to an RGB(A)
--   representation inside a <a>Pixbuf</a>. In other words, copies image
--   data from a server-side drawable to a client-side RGB(A) buffer. This
--   allows you to efficiently read individual pixels on the client side.
--   
--   This function will create an RGB pixbuf with 8 bits per channel with
--   the size specified by the <i><tt>width</tt></i> and
--   <i><tt>height</tt></i> arguments scaled by the scale factor of
--   <i><tt>window</tt></i>. The pixbuf will contain an alpha channel if
--   the <i><tt>window</tt></i> contains one.
--   
--   If the window is off the screen, then there is no image data in the
--   obscured/offscreen regions to be placed in the pixbuf. The contents of
--   portions of the pixbuf corresponding to the offscreen region are
--   undefined.
--   
--   If the window you’re obtaining data from is partially obscured by
--   other windows, then the contents of the pixbuf areas corresponding to
--   the obscured regions are undefined.
--   
--   If the window is not mapped (typically because it’s
--   iconified/minimized or not on the current workspace), then
--   <a>Nothing</a> will be returned.
--   
--   If memory can’t be allocated for the return value, <a>Nothing</a> will
--   be returned instead.
--   
--   (In short, there are several ways this function can fail, and if it
--   fails it returns <a>Nothing</a>; so check the return value.)
pixbufGetFromWindow :: (HasCallStack, MonadIO m, IsWindow a) => a -> Int32 -> Int32 -> Int32 -> Int32 -> m (Maybe Pixbuf)

-- | Grabs the pointer (usually a mouse) so that all events are passed to
--   this application until the pointer is ungrabbed with
--   <a>pointerUngrab</a>, or the grab window becomes unviewable. This
--   overrides any previous pointer grab by this client.
--   
--   Pointer grabs are used for operations which need complete control over
--   mouse events, even if the mouse leaves the application. For example in
--   GTK+ it is used for Drag and Drop, for dragging the handle in the
--   <tt><i>GtkHPaned</i></tt> and <tt><i>GtkVPaned</i></tt> widgets.
--   
--   Note that if the event mask of an X window has selected both button
--   press and button release events, then a button press event will cause
--   an automatic pointer grab until the button is released. X does this
--   automatically since most applications expect to receive button press
--   and release events in pairs. It is equivalent to a pointer grab on the
--   window with <i><tt>ownerEvents</tt></i> set to <a>True</a>.
--   
--   If you set up anything at the time you take the grab that needs to be
--   cleaned up when the grab ends, you should handle the
--   <a>EventGrabBroken</a> events that are emitted when the grab ends
--   unvoluntarily.

-- | <i>Deprecated: (Since version 3.0)Use <a>deviceGrab</a> instead.</i>
pointerGrab :: (HasCallStack, MonadIO m, IsWindow a, IsWindow b, IsCursor c) => a -> Bool -> [EventMask] -> Maybe (b) -> Maybe (c) -> Word32 -> m GrabStatus

-- | Returns <a>True</a> if the pointer on the default display is currently
--   grabbed by this application.
--   
--   Note that this does not take the inmplicit pointer grab on button
--   presses into account.

-- | <i>Deprecated: (Since version 3.0)Use <a>displayDeviceIsGrabbed</a>
--   instead.</i>
pointerIsGrabbed :: (HasCallStack, MonadIO m) => m Bool

-- | Ungrabs the pointer on the default display, if it is grabbed by this
--   application.

-- | <i>Deprecated: (Since version 3.0)Use <a>deviceUngrab</a>, together
--   with <a>deviceGrab</a> instead.</i>
pointerUngrab :: (HasCallStack, MonadIO m) => Word32 -> m ()

-- | Prepare for parsing command line arguments for GDK. This is not public
--   API and should not be used in application code.

-- | <i>Deprecated: (Since version 3.16)This symbol was never meant to be
--   used outside of GTK+</i>
preParseLibgtkOnly :: (HasCallStack, MonadIO m) => m ()

-- | Deletes a property from a window.
propertyDelete :: (HasCallStack, MonadIO m, IsWindow a) => a -> Atom -> m ()

-- | This function returns the available bit depths for the default screen.
--   It’s equivalent to listing the visuals (<a>listVisuals</a>) and then
--   looking at the depth field in each visual, removing duplicates.
--   
--   The array returned by this function should not be freed.

-- | <i>Deprecated: (Since version 3.22)Visual selection should be done
--   using <a>screenGetSystemVisual</a> and <a>screenGetRgbaVisual</a></i>
queryDepths :: (HasCallStack, MonadIO m) => m ([Int32])

-- | This function returns the available visual types for the default
--   screen. It’s equivalent to listing the visuals (<a>listVisuals</a>)
--   and then looking at the type field in each visual, removing
--   duplicates.
--   
--   The array returned by this function should not be freed.

-- | <i>Deprecated: (Since version 3.22)Visual selection should be done
--   using <a>screenGetSystemVisual</a> and <a>screenGetRgbaVisual</a></i>
queryVisualTypes :: (HasCallStack, MonadIO m) => m ([VisualType])

-- | Retrieves the contents of a selection in a given form.
selectionConvert :: (HasCallStack, MonadIO m, IsWindow a) => a -> Atom -> Atom -> Word32 -> m ()

-- | Determines the owner of the given selection.
selectionOwnerGet :: (HasCallStack, MonadIO m) => Atom -> m (Maybe Window)

-- | Determine the owner of the given selection.
--   
--   Note that the return value may be owned by a different process if a
--   foreign window was previously created for that window, but a new
--   foreign window will never be created by this call.
--   
--   <i>Since: 2.2</i>
selectionOwnerGetForDisplay :: (HasCallStack, MonadIO m, IsDisplay a) => a -> Atom -> m (Maybe Window)

-- | Sets the owner of the given selection.
selectionOwnerSet :: (HasCallStack, MonadIO m, IsWindow a) => Maybe (a) -> Atom -> Word32 -> Bool -> m Bool

-- | Sets the <a>Window</a> <i><tt>owner</tt></i> as the current owner of
--   the selection <i><tt>selection</tt></i>.
--   
--   <i>Since: 2.2</i>
selectionOwnerSetForDisplay :: (HasCallStack, MonadIO m, IsDisplay a, IsWindow b) => a -> Maybe (b) -> Atom -> Word32 -> Bool -> m Bool

-- | Sends a response to SelectionRequest event.
selectionSendNotify :: (HasCallStack, MonadIO m, IsWindow a) => a -> Atom -> Atom -> Atom -> Word32 -> m ()

-- | Send a response to SelectionRequest event.
--   
--   <i>Since: 2.2</i>
selectionSendNotifyForDisplay :: (HasCallStack, MonadIO m, IsDisplay a, IsWindow b) => a -> b -> Atom -> Atom -> Atom -> Word32 -> m ()

-- | Sets a list of backends that GDK should try to use.
--   
--   This can be be useful if your application does not work with certain
--   GDK backends.
--   
--   By default, GDK tries all included backends.
--   
--   For example,
--   
--   <h3><i>C code</i></h3>
--   
--   <pre>
--   gdk_set_allowed_backends ("wayland,quartz,*");
--   </pre>
--   
--   instructs GDK to try the Wayland backend first, followed by the Quartz
--   backend, and then all others.
--   
--   If the <tt>GDK_BACKEND</tt> environment variable is set, it determines
--   what backends are tried in what order, while still respecting the set
--   of allowed backends that are specified by this function.
--   
--   The possible backend names are x11, win32, quartz, broadway, wayland.
--   You can also include a * in the list to try all remaining backends.
--   
--   This call must happen prior to <a>displayOpen</a>,
--   <tt><i>gtk_init()</i></tt>, <tt><i>gtk_init_with_args()</i></tt> or
--   <tt><i>gtk_init_check()</i></tt> in order to take effect.
--   
--   <i>Since: 3.10</i>
setAllowedBackends :: (HasCallStack, MonadIO m) => Text -> m ()

-- | Set the double click time for the default display. See
--   <a>displaySetDoubleClickTime</a>. See also
--   <a>displaySetDoubleClickDistance</a>. Applications should not set
--   this, it is a global user-configured setting.
setDoubleClickTime :: (HasCallStack, MonadIO m) => Word32 -> m ()

-- | Sets the program class. The X11 backend uses the program class to set
--   the class name part of the <tt>WM_CLASS</tt> property on toplevel
--   windows; see the ICCCM.
--   
--   The program class can still be overridden with the --class command
--   line option.
setProgramClass :: (HasCallStack, MonadIO m) => Text -> m ()

-- | Sets whether a trace of received events is output. Note that GTK+ must
--   be compiled with debugging (that is, configured using the
--   <tt>--enable-debug</tt> option) to use this option.
setShowEvents :: (HasCallStack, MonadIO m) => Bool -> m ()

-- | Obtains a desktop-wide setting, such as the double-click time, for the
--   default screen. See <a>screenGetSetting</a>.
settingGet :: (HasCallStack, MonadIO m) => Text -> GValue -> m Bool

-- | <i>No description available in the introspection data.</i>
synthesizeWindowState :: (HasCallStack, MonadIO m, IsWindow a) => a -> [WindowState] -> [WindowState] -> m ()

-- | Retrieves a pixel from <i><tt>window</tt></i> to force the windowing
--   system to carry out any pending rendering commands.
--   
--   This function is intended to be used to synchronize with rendering
--   pipelines, to benchmark windowing system rendering operations.
--   
--   <i>Since: 2.14</i>
testRenderSync :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | This function is intended to be used in GTK+ test programs. It will
--   warp the mouse pointer to the given
--   (<i><tt>x</tt></i>,<i><tt>y</tt></i>) coordinates within
--   <i><tt>window</tt></i> and simulate a button press or release event.
--   Because the mouse pointer needs to be warped to the target location,
--   use of this function outside of test programs that run in their own
--   virtual windowing system (e.g. Xvfb) is not recommended.
--   
--   Also, <a>testSimulateButton</a> is a fairly low level function, for
--   most testing purposes, <tt><i>gtk_test_widget_click()</i></tt> is the
--   right function to call which will generate a button press event
--   followed by its accompanying button release event.
--   
--   <i>Since: 2.14</i>
testSimulateButton :: (HasCallStack, MonadIO m, IsWindow a) => a -> Int32 -> Int32 -> Word32 -> [ModifierType] -> EventType -> m Bool

-- | This function is intended to be used in GTK+ test programs. If
--   (<i><tt>x</tt></i>,<i><tt>y</tt></i>) are &gt; (-1,-1), it will warp
--   the mouse pointer to the given (<i><tt>x</tt></i>,<i><tt>y</tt></i>)
--   coordinates within <i><tt>window</tt></i> and simulate a key press or
--   release event.
--   
--   When the mouse pointer is warped to the target location, use of this
--   function outside of test programs that run in their own virtual
--   windowing system (e.g. Xvfb) is not recommended. If
--   (<i><tt>x</tt></i>,<i><tt>y</tt></i>) are passed as (-1,-1), the mouse
--   pointer will not be warped and <i><tt>window</tt></i> origin will be
--   used as mouse pointer location for the event.
--   
--   Also, <a>testSimulateKey</a> is a fairly low level function, for most
--   testing purposes, <tt><i>gtk_test_widget_send_key()</i></tt> is the
--   right function to call which will generate a key press event followed
--   by its accompanying key release event.
--   
--   <i>Since: 2.14</i>
testSimulateKey :: (HasCallStack, MonadIO m, IsWindow a) => a -> Int32 -> Int32 -> Word32 -> [ModifierType] -> EventType -> m Bool

-- | Converts a text property in the given encoding to a list of UTF-8
--   strings.
--   
--   <i>Since: 2.2</i>
textPropertyToUtf8ListForDisplay :: (HasCallStack, MonadIO m, IsDisplay a) => a -> Atom -> Int32 -> ByteString -> m ((Int32, [Text]))

-- | Adds a function to be called whenever there are no higher priority
--   events pending. If the function returns <a>False</a> it is
--   automatically removed from the list of event sources and will not be
--   called again.
--   
--   This variant of <a>idleAdd</a> calls <i><tt>function</tt></i> with the
--   GDK lock held. It can be thought of a MT-safe version for GTK+ widgets
--   for the following use case, where you have to worry about
--   <tt><i>idle_callback()</i></tt> running in thread A and accessing
--   <i><tt>self</tt></i> after it has been finalized in thread B:
--   
--   <h3><i>C code</i></h3>
--   
--   <pre>
--   static gboolean
--   idle_callback (gpointer data)
--   {
--      // gdk_threads_enter(); would be needed for g_idle_add()
--   
--      SomeWidget *self = data;
--      // do stuff with self
--   
--      self-&gt;idle_id = 0;
--   
--      // gdk_threads_leave(); would be needed for g_idle_add()
--      return FALSE;
--   }
--   
--   static void
--   some_widget_do_stuff_later (SomeWidget *self)
--   {
--      self-&gt;idle_id = gdk_threads_add_idle (idle_callback, self)
--      // using g_idle_add() here would require thread protection in the callback
--   }
--   
--   static void
--   some_widget_finalize (GObject *object)
--   {
--      SomeWidget *self = SOME_WIDGET (object);
--      if (self-&gt;idle_id)
--        g_source_remove (self-&gt;idle_id);
--      G_OBJECT_CLASS (parent_class)-&gt;finalize (object);
--   }
--   </pre>
--   
--   <i>Since: 2.12</i>
threadsAddIdle :: (HasCallStack, MonadIO m) => Int32 -> SourceFunc -> m Word32

-- | Sets a function to be called at regular intervals holding the GDK
--   lock, with the given priority. The function is called repeatedly until
--   it returns <a>False</a>, at which point the timeout is automatically
--   destroyed and the function will not be called again. The
--   <i><tt>notify</tt></i> function is called when the timeout is
--   destroyed. The first call to the function will be at the end of the
--   first <i><tt>interval</tt></i>.
--   
--   Note that timeout functions may be delayed, due to the processing of
--   other event sources. Thus they should not be relied on for precise
--   timing. After each call to the timeout function, the time of the next
--   timeout is recalculated based on the current time and the given
--   interval (it does not try to “catch up” time lost in delays).
--   
--   This variant of <a>timeoutAdd</a> can be thought of a MT-safe version
--   for GTK+ widgets for the following use case:
--   
--   <h3><i>C code</i></h3>
--   
--   <pre>
--   static gboolean timeout_callback (gpointer data)
--   {
--      SomeWidget *self = data;
--      
--      // do stuff with self
--      
--      self-&gt;timeout_id = 0;
--      
--      return G_SOURCE_REMOVE;
--   }
--    
--   static void some_widget_do_stuff_later (SomeWidget *self)
--   {
--      self-&gt;timeout_id = g_timeout_add (timeout_callback, self)
--   }
--    
--   static void some_widget_finalize (GObject *object)
--   {
--      SomeWidget *self = SOME_WIDGET (object);
--      
--      if (self-&gt;timeout_id)
--        g_source_remove (self-&gt;timeout_id);
--      
--      G_OBJECT_CLASS (parent_class)-&gt;finalize (object);
--   }
--   </pre>
--   
--   <i>Since: 2.12</i>
threadsAddTimeout :: (HasCallStack, MonadIO m) => Int32 -> Word32 -> SourceFunc -> m Word32

-- | A variant of <a>threadsAddTimeout</a> with second-granularity. See
--   <a>timeoutAddSeconds</a> for a discussion of why it is a good idea to
--   use this function if you don’t need finer granularity.
--   
--   <i>Since: 2.14</i>
threadsAddTimeoutSeconds :: (HasCallStack, MonadIO m) => Int32 -> Word32 -> SourceFunc -> m Word32

-- | This function marks the beginning of a critical section in which GDK
--   and GTK+ functions can be called safely and without causing race
--   conditions. Only one thread at a time can be in such a critial
--   section.

-- | <i>Deprecated: (Since version 3.6)All GDK and GTK+ calls should be
--   made from the main thread</i>
threadsEnter :: (HasCallStack, MonadIO m) => m ()

-- | Initializes GDK so that it can be used from multiple threads in
--   conjunction with <a>threadsEnter</a> and <a>threadsLeave</a>.
--   
--   This call must be made before any use of the main loop from GTK+; to
--   be safe, call it before <tt><i>gtk_init()</i></tt>.

-- | <i>Deprecated: (Since version 3.6)All GDK and GTK+ calls should be
--   made from the main thread</i>
threadsInit :: (HasCallStack, MonadIO m) => m ()

-- | Leaves a critical region begun with <a>threadsEnter</a>.

-- | <i>Deprecated: (Since version 3.6)All GDK and GTK+ calls should be
--   made from the main thread</i>
threadsLeave :: (HasCallStack, MonadIO m) => m ()

-- | Convert from a ISO10646 character to a key symbol.
unicodeToKeyval :: (HasCallStack, MonadIO m) => Word32 -> m Word32

-- | Converts an UTF-8 string into the best possible representation as a
--   STRING. The representation of characters not in STRING is not
--   specified; it may be as pseudo-escape sequences \x{ABCD}, or it may be
--   in some other form of approximation.
utf8ToStringTarget :: (HasCallStack, MonadIO m) => Text -> m (Maybe Text)


module GI.Gdk.Callbacks

-- | Type for the callback on the (unwrapped) C side.
type C_EventFunc = Ptr Event -> Ptr () -> IO ()

-- | Specifies the type of function passed to <a>eventHandlerSet</a> to
--   handle all GDK events.
type EventFunc = Event  /@event@/: the 'GI.Gdk.Unions.Event.Event' to process.  -> IO ()

-- | Specifies the type of function passed to <a>eventHandlerSet</a> to
--   handle all GDK events.
type EventFunc_WithClosures = Event  /@event@/: the 'GI.Gdk.Unions.Event.Event' to process.  -> Ptr ()  /@data@/: user data set when the event handler was installed with 'GI.Gdk.Functions.eventHandlerSet'.  -> IO ()

-- | A simple wrapper that ignores the closure arguments.
drop_closures_EventFunc :: EventFunc -> EventFunc_WithClosures

-- | Given a pointer to a foreign C function, wrap it into a function
--   callable from Haskell.
dynamic_EventFunc :: (HasCallStack, MonadIO m) => FunPtr C_EventFunc -> Event -> Ptr () -> m ()

-- | Wrap the callback into a <a>Closure</a>.
genClosure_EventFunc :: EventFunc -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_EventFunc</a>.
mk_EventFunc :: C_EventFunc -> IO (FunPtr C_EventFunc)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>EventFunc</a></tt>.
noEventFunc :: Maybe EventFunc

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>EventFunc_WithClosures</a></tt>.
noEventFunc_WithClosures :: Maybe EventFunc_WithClosures

-- | Wrap a <a>EventFunc</a> into a <a>C_EventFunc</a>.
wrap_EventFunc :: Maybe (Ptr (FunPtr C_EventFunc)) -> EventFunc_WithClosures -> C_EventFunc

-- | Type for the callback on the (unwrapped) C side.
type C_FilterFunc = Ptr () -> Ptr Event -> Ptr () -> IO CUInt

-- | Specifies the type of function used to filter native events before
--   they are converted to GDK events.
--   
--   When a filter is called, <i><tt>event</tt></i> is unpopulated, except
--   for <tt>event-&gt;window</tt>. The filter may translate the native
--   event to a GDK event and store the result in <i><tt>event</tt></i>, or
--   handle it without translation. If the filter translates the event and
--   processing should continue, it should return
--   <a>FilterReturnTranslate</a>.
type FilterFunc = Ptr ()  /@xevent@/: the native event to filter.  -> Event  /@event@/: the GDK event to which the X event will be translated.  -> IO FilterReturn  __Returns:__ a 'GI.Gdk.Enums.FilterReturn' value. 

-- | Specifies the type of function used to filter native events before
--   they are converted to GDK events.
--   
--   When a filter is called, <i><tt>event</tt></i> is unpopulated, except
--   for <tt>event-&gt;window</tt>. The filter may translate the native
--   event to a GDK event and store the result in <i><tt>event</tt></i>, or
--   handle it without translation. If the filter translates the event and
--   processing should continue, it should return
--   <a>FilterReturnTranslate</a>.
type FilterFunc_WithClosures = Ptr ()  /@xevent@/: the native event to filter.  -> Event  /@event@/: the GDK event to which the X event will be translated.  -> Ptr ()  /@data@/: user data set when the filter was installed.  -> IO FilterReturn  __Returns:__ a 'GI.Gdk.Enums.FilterReturn' value. 

-- | A simple wrapper that ignores the closure arguments.
drop_closures_FilterFunc :: FilterFunc -> FilterFunc_WithClosures

-- | Given a pointer to a foreign C function, wrap it into a function
--   callable from Haskell.
dynamic_FilterFunc :: (HasCallStack, MonadIO m) => FunPtr C_FilterFunc -> Ptr () -> Event -> Ptr () -> m FilterReturn

-- | Wrap the callback into a <a>Closure</a>.
genClosure_FilterFunc :: FilterFunc -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_FilterFunc</a>.
mk_FilterFunc :: C_FilterFunc -> IO (FunPtr C_FilterFunc)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>FilterFunc</a></tt>.
noFilterFunc :: Maybe FilterFunc

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>FilterFunc_WithClosures</a></tt>.
noFilterFunc_WithClosures :: Maybe FilterFunc_WithClosures

-- | Wrap a <a>FilterFunc</a> into a <a>C_FilterFunc</a>.
wrap_FilterFunc :: Maybe (Ptr (FunPtr C_FilterFunc)) -> FilterFunc_WithClosures -> C_FilterFunc

-- | Type for the callback on the (unwrapped) C side.
type C_SeatGrabPrepareFunc = Ptr Seat -> Ptr Window -> Ptr () -> IO ()

-- | Type of the callback used to set up <i><tt>window</tt></i> so it can
--   be grabbed. A typical action would be ensuring the window is visible,
--   although there's room for other initialization actions.
--   
--   <i>Since: 3.20</i>
type SeatGrabPrepareFunc = Seat  /@seat@/: the 'GI.Gdk.Objects.Seat.Seat' being grabbed  -> Window  /@window@/: the 'GI.Gdk.Objects.Window.Window' being grabbed  -> IO ()

-- | Type of the callback used to set up <i><tt>window</tt></i> so it can
--   be grabbed. A typical action would be ensuring the window is visible,
--   although there's room for other initialization actions.
--   
--   <i>Since: 3.20</i>
type SeatGrabPrepareFunc_WithClosures = Seat  /@seat@/: the 'GI.Gdk.Objects.Seat.Seat' being grabbed  -> Window  /@window@/: the 'GI.Gdk.Objects.Window.Window' being grabbed  -> Ptr ()  /@userData@/: user data passed in 'GI.Gdk.Objects.Seat.seatGrab'  -> IO ()

-- | A simple wrapper that ignores the closure arguments.
drop_closures_SeatGrabPrepareFunc :: SeatGrabPrepareFunc -> SeatGrabPrepareFunc_WithClosures

-- | Given a pointer to a foreign C function, wrap it into a function
--   callable from Haskell.
dynamic_SeatGrabPrepareFunc :: (HasCallStack, MonadIO m, IsSeat a, IsWindow b) => FunPtr C_SeatGrabPrepareFunc -> a -> b -> Ptr () -> m ()

-- | Wrap the callback into a <a>Closure</a>.
genClosure_SeatGrabPrepareFunc :: SeatGrabPrepareFunc -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_SeatGrabPrepareFunc</a>.
mk_SeatGrabPrepareFunc :: C_SeatGrabPrepareFunc -> IO (FunPtr C_SeatGrabPrepareFunc)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>SeatGrabPrepareFunc</a></tt>.
noSeatGrabPrepareFunc :: Maybe SeatGrabPrepareFunc

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>SeatGrabPrepareFunc_WithClosures</a></tt>.
noSeatGrabPrepareFunc_WithClosures :: Maybe SeatGrabPrepareFunc_WithClosures

-- | Wrap a <a>SeatGrabPrepareFunc</a> into a <a>C_SeatGrabPrepareFunc</a>.
wrap_SeatGrabPrepareFunc :: Maybe (Ptr (FunPtr C_SeatGrabPrepareFunc)) -> SeatGrabPrepareFunc_WithClosures -> C_SeatGrabPrepareFunc

-- | Type for the callback on the (unwrapped) C side.
type C_WindowChildFunc = Ptr Window -> Ptr () -> IO CInt

-- | A function of this type is passed to
--   <a>windowInvalidateMaybeRecurse</a>. It gets called for each child of
--   the window to determine whether to recursively invalidate it or now.
type WindowChildFunc = Window  /@window@/: a 'GI.Gdk.Objects.Window.Window'  -> IO Bool  __Returns:__ 'True' to invalidate /@window@/ recursively 

-- | A function of this type is passed to
--   <a>windowInvalidateMaybeRecurse</a>. It gets called for each child of
--   the window to determine whether to recursively invalidate it or now.
type WindowChildFunc_WithClosures = Window  /@window@/: a 'GI.Gdk.Objects.Window.Window'  -> Ptr ()  /@userData@/: user data  -> IO Bool  __Returns:__ 'True' to invalidate /@window@/ recursively 

-- | A simple wrapper that ignores the closure arguments.
drop_closures_WindowChildFunc :: WindowChildFunc -> WindowChildFunc_WithClosures

-- | Given a pointer to a foreign C function, wrap it into a function
--   callable from Haskell.
dynamic_WindowChildFunc :: (HasCallStack, MonadIO m, IsWindow a) => FunPtr C_WindowChildFunc -> a -> Ptr () -> m Bool

-- | Wrap the callback into a <a>Closure</a>.
genClosure_WindowChildFunc :: WindowChildFunc -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_WindowChildFunc</a>.
mk_WindowChildFunc :: C_WindowChildFunc -> IO (FunPtr C_WindowChildFunc)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>WindowChildFunc</a></tt>.
noWindowChildFunc :: Maybe WindowChildFunc

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>WindowChildFunc_WithClosures</a></tt>.
noWindowChildFunc_WithClosures :: Maybe WindowChildFunc_WithClosures

-- | Wrap a <a>WindowChildFunc</a> into a <a>C_WindowChildFunc</a>.
wrap_WindowChildFunc :: Maybe (Ptr (FunPtr C_WindowChildFunc)) -> WindowChildFunc_WithClosures -> C_WindowChildFunc

-- | Type for the callback on the (unwrapped) C side.
type C_WindowInvalidateHandlerFunc = Ptr Window -> Ptr Region -> IO ()

-- | Whenever some area of the window is invalidated (directly in the
--   window or in a child window) this gets called with
--   <i><tt>region</tt></i> in the coordinate space of
--   <i><tt>window</tt></i>. You can use <i><tt>region</tt></i> to just
--   keep track of the dirty region, or you can actually change
--   <i><tt>region</tt></i> in case you are doing display tricks like
--   showing a child in multiple places.
--   
--   <i>Since: 3.10</i>
type WindowInvalidateHandlerFunc = Window  /@window@/: a 'GI.Gdk.Objects.Window.Window'  -> Region  /@region@/: a 'GI.Cairo.Structs.Region.Region'  -> IO ()

-- | Given a pointer to a foreign C function, wrap it into a function
--   callable from Haskell.
dynamic_WindowInvalidateHandlerFunc :: (HasCallStack, MonadIO m, IsWindow a) => FunPtr C_WindowInvalidateHandlerFunc -> a -> Region -> m ()

-- | Wrap the callback into a <a>Closure</a>.
genClosure_WindowInvalidateHandlerFunc :: WindowInvalidateHandlerFunc -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_WindowInvalidateHandlerFunc</a>.
mk_WindowInvalidateHandlerFunc :: C_WindowInvalidateHandlerFunc -> IO (FunPtr C_WindowInvalidateHandlerFunc)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>WindowInvalidateHandlerFunc</a></tt>.
noWindowInvalidateHandlerFunc :: Maybe WindowInvalidateHandlerFunc

-- | Wrap a <a>WindowInvalidateHandlerFunc</a> into a
--   <a>C_WindowInvalidateHandlerFunc</a>.
wrap_WindowInvalidateHandlerFunc :: Maybe (Ptr (FunPtr C_WindowInvalidateHandlerFunc)) -> WindowInvalidateHandlerFunc -> C_WindowInvalidateHandlerFunc


-- | <i>No description available in the introspection data.</i>
module GI.Gdk.Objects.Window

-- | Memory-managed wrapper type.
newtype Window
Window :: (ManagedPtr Window) -> Window

-- | Type class for types which can be safely cast to <a>Window</a>, for
--   instance with <a>toWindow</a>.
class GObject o => IsWindow o

-- | Cast to <a>Window</a>, for types for which this is known to be safe.
--   For general casts, use <a>castTo</a>.
toWindow :: (MonadIO m, IsWindow o) => o -> m Window

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a> <a>Window</a>.
noWindow :: Maybe Window

-- | Obtains the window underneath the mouse pointer, returning the
--   location of that window in <i><tt>winX</tt></i>, <i><tt>winY</tt></i>.
--   Returns <a>Nothing</a> if the window under the mouse pointer is not
--   known to GDK (if the window belongs to another application and a
--   <a>Window</a> hasn’t been created for it with
--   <tt><i>gdk_window_foreign_new()</i></tt>)
--   
--   NOTE: For multihead-aware widgets or applications use
--   <a>displayGetWindowAtPointer</a> instead.

-- | <i>Deprecated: (Since version 3.0)Use <a>deviceGetWindowAtPosition</a>
--   instead.</i>
windowAtPointer :: (HasCallStack, MonadIO m) => m ((Window, Int32, Int32))

-- | Emits a short beep associated to <i><tt>window</tt></i> in the
--   appropriate display, if supported. Otherwise, emits a short beep on
--   the display just as <a>displayBeep</a>.
--   
--   <i>Since: 2.12</i>
windowBeep :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Indicates that you are beginning the process of redrawing
--   <i><tt>region</tt></i> on <i><tt>window</tt></i>, and provides you
--   with a <a>DrawingContext</a>.
--   
--   If <i><tt>window</tt></i> is a top level <a>Window</a>, backed by a
--   native window implementation, a backing store (offscreen buffer) large
--   enough to contain <i><tt>region</tt></i> will be created. The backing
--   store will be initialized with the background color or background
--   surface for <i><tt>window</tt></i>. Then, all drawing operations
--   performed on <i><tt>window</tt></i> will be diverted to the backing
--   store. When you call <tt><i>gdk_window_end_frame()</i></tt>, the
--   contents of the backing store will be copied to
--   <i><tt>window</tt></i>, making it visible on screen. Only the part of
--   <i><tt>window</tt></i> contained in <i><tt>region</tt></i> will be
--   modified; that is, drawing operations are clipped to
--   <i><tt>region</tt></i>.
--   
--   The net result of all this is to remove flicker, because the user sees
--   the finished product appear all at once when you call
--   <a>windowEndDrawFrame</a>. If you draw to <i><tt>window</tt></i>
--   directly without calling <a>windowBeginDrawFrame</a>, the user may see
--   flicker as individual drawing operations are performed in sequence.
--   
--   When using GTK+, the widget system automatically places calls to
--   <a>windowBeginDrawFrame</a> and <a>windowEndDrawFrame</a> around
--   emissions of the <tt>GtkWidget::draw</tt> signal. That is, if you’re
--   drawing the contents of the widget yourself, you can assume that the
--   widget has a cleared background, is already set as the clip region,
--   and already has a backing store. Therefore in most cases, application
--   code in GTK does not need to call <a>windowBeginDrawFrame</a>
--   explicitly.
--   
--   <i>Since: 3.22</i>
windowBeginDrawFrame :: (HasCallStack, MonadIO m, IsWindow a) => a -> Region -> m DrawingContext

-- | Begins a window move operation (for a toplevel window).
--   
--   This function assumes that the drag is controlled by the client
--   pointer device, use <a>windowBeginMoveDragForDevice</a> to begin a
--   drag with a different device.
windowBeginMoveDrag :: (HasCallStack, MonadIO m, IsWindow a) => a -> Int32 -> Int32 -> Int32 -> Word32 -> m ()

-- | Begins a window move operation (for a toplevel window). You might use
--   this function to implement a “window move grip,” for example. The
--   function works best with window managers that support the <a>Extended
--   Window Manager Hints</a> but has a fallback implementation for other
--   window managers.
--   
--   <i>Since: 3.4</i>
windowBeginMoveDragForDevice :: (HasCallStack, MonadIO m, IsWindow a, IsDevice b) => a -> b -> Int32 -> Int32 -> Int32 -> Word32 -> m ()

-- | A convenience wrapper around <a>windowBeginPaintRegion</a> which
--   creates a rectangular region for you. See
--   <a>windowBeginPaintRegion</a> for details.

-- | <i>Deprecated: (Since version 3.22)Use <a>windowBeginDrawFrame</a>
--   instead</i>
windowBeginPaintRect :: (HasCallStack, MonadIO m, IsWindow a) => a -> Rectangle -> m ()

-- | Indicates that you are beginning the process of redrawing
--   <i><tt>region</tt></i>. A backing store (offscreen buffer) large
--   enough to contain <i><tt>region</tt></i> will be created. The backing
--   store will be initialized with the background color or background
--   surface for <i><tt>window</tt></i>. Then, all drawing operations
--   performed on <i><tt>window</tt></i> will be diverted to the backing
--   store. When you call <a>windowEndPaint</a>, the backing store will be
--   copied to <i><tt>window</tt></i>, making it visible onscreen. Only the
--   part of <i><tt>window</tt></i> contained in <i><tt>region</tt></i>
--   will be modified; that is, drawing operations are clipped to
--   <i><tt>region</tt></i>.
--   
--   The net result of all this is to remove flicker, because the user sees
--   the finished product appear all at once when you call
--   <a>windowEndPaint</a>. If you draw to <i><tt>window</tt></i> directly
--   without calling <a>windowBeginPaintRegion</a>, the user may see
--   flicker as individual drawing operations are performed in sequence.
--   The clipping and background-initializing features of
--   <a>windowBeginPaintRegion</a> are conveniences for the programmer, so
--   you can avoid doing that work yourself.
--   
--   When using GTK+, the widget system automatically places calls to
--   <a>windowBeginPaintRegion</a> and <a>windowEndPaint</a> around
--   emissions of the expose_event signal. That is, if you’re writing an
--   expose event handler, you can assume that the exposed area in
--   <a>EventExpose</a> has already been cleared to the window background,
--   is already set as the clip region, and already has a backing store.
--   Therefore in most cases, application code need not call
--   <a>windowBeginPaintRegion</a>. (You can disable the automatic calls
--   around expose events on a widget-by-widget basis by calling
--   <tt><i>gtk_widget_set_double_buffered()</i></tt>.)
--   
--   If you call this function multiple times before calling the matching
--   <a>windowEndPaint</a>, the backing stores are pushed onto a stack.
--   <a>windowEndPaint</a> copies the topmost backing store onscreen,
--   subtracts the topmost region from all other regions in the stack, and
--   pops the stack. All drawing operations affect only the topmost backing
--   store in the stack. One matching call to <a>windowEndPaint</a> is
--   required for each call to <a>windowBeginPaintRegion</a>.

-- | <i>Deprecated: (Since version 3.22)Use <a>windowBeginDrawFrame</a>
--   instead</i>
windowBeginPaintRegion :: (HasCallStack, MonadIO m, IsWindow a) => a -> Region -> m ()

-- | Begins a window resize operation (for a toplevel window).
--   
--   This function assumes that the drag is controlled by the client
--   pointer device, use <a>windowBeginResizeDragForDevice</a> to begin a
--   drag with a different device.
windowBeginResizeDrag :: (HasCallStack, MonadIO m, IsWindow a) => a -> WindowEdge -> Int32 -> Int32 -> Int32 -> Word32 -> m ()

-- | Begins a window resize operation (for a toplevel window). You might
--   use this function to implement a “window resize grip,” for example; in
--   fact <tt><i>GtkStatusbar</i></tt> uses it. The function works best
--   with window managers that support the <a>Extended Window Manager
--   Hints</a> but has a fallback implementation for other window managers.
--   
--   <i>Since: 3.4</i>
windowBeginResizeDragForDevice :: (HasCallStack, MonadIO m, IsWindow a, IsDevice b) => a -> WindowEdge -> b -> Int32 -> Int32 -> Int32 -> Word32 -> m ()

-- | Does nothing, present only for compatiblity.
--   
--   <i>Since: 2.6</i>

-- | <i>Deprecated: (Since version 3.8)this function is no longer
--   needed</i>
windowConfigureFinished :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Constrains a desired width and height according to a set of geometry
--   hints (such as minimum and maximum size).
windowConstrainSize :: (HasCallStack, MonadIO m) => Geometry -> [WindowHints] -> Int32 -> Int32 -> m ((Int32, Int32))

-- | Transforms window coordinates from a parent window to a child window,
--   where the parent window is the normal parent as returned by
--   <a>windowGetParent</a> for normal windows, and the window's embedder
--   as returned by <a>offscreenWindowGetEmbedder</a> for offscreen
--   windows.
--   
--   For normal windows, calling this function is equivalent to subtracting
--   the return values of <a>windowGetPosition</a> from the parent
--   coordinates. For offscreen windows however (which can be arbitrarily
--   transformed), this function calls the GdkWindow::from-embedder: signal
--   to translate the coordinates.
--   
--   You should always use this function when writing generic code that
--   walks down a window hierarchy.
--   
--   See also: <a>windowCoordsToParent</a>
--   
--   <i>Since: 2.22</i>
windowCoordsFromParent :: (HasCallStack, MonadIO m, IsWindow a) => a -> Double -> Double -> m ((Double, Double))

-- | Transforms window coordinates from a child window to its parent
--   window, where the parent window is the normal parent as returned by
--   <a>windowGetParent</a> for normal windows, and the window's embedder
--   as returned by <a>offscreenWindowGetEmbedder</a> for offscreen
--   windows.
--   
--   For normal windows, calling this function is equivalent to adding the
--   return values of <a>windowGetPosition</a> to the child coordinates.
--   For offscreen windows however (which can be arbitrarily transformed),
--   this function calls the GdkWindow::to-embedder: signal to translate
--   the coordinates.
--   
--   You should always use this function when writing generic code that
--   walks up a window hierarchy.
--   
--   See also: <a>windowCoordsFromParent</a>
--   
--   <i>Since: 2.22</i>
windowCoordsToParent :: (HasCallStack, MonadIO m, IsWindow a) => a -> Double -> Double -> m ((Double, Double))

-- | Creates a new <a>GLContext</a> matching the framebuffer format to the
--   visual of the <a>Window</a>. The context is disconnected from any
--   particular window or surface.
--   
--   If the creation of the <a>GLContext</a> failed, <i><tt>error</tt></i>
--   will be set.
--   
--   Before using the returned <a>GLContext</a>, you will need to call
--   <a>gLContextMakeCurrent</a> or <a>gLContextRealize</a>.
--   
--   <i>Since: 3.16</i>
windowCreateGlContext :: (HasCallStack, MonadIO m, IsWindow a) => a -> m GLContext

-- | Create a new image surface that is efficient to draw on the given
--   <i><tt>window</tt></i>.
--   
--   Initially the surface contents are all 0 (transparent if contents have
--   transparency, black otherwise.)
--   
--   The <i><tt>width</tt></i> and <i><tt>height</tt></i> of the new
--   surface are not affected by the scaling factor of the
--   <i><tt>window</tt></i>, or by the <i><tt>scale</tt></i> argument; they
--   are the size of the surface in device pixels. If you wish to create an
--   image surface capable of holding the contents of
--   <i><tt>window</tt></i> you can use:
--   
--   <h3><i>C code</i></h3>
--   
--   <pre>
--   int scale = gdk_window_get_scale_factor (window);
--   int width = gdk_window_get_width (window) * scale;
--   int height = gdk_window_get_height (window) * scale;
--   
--   // format is set elsewhere
--   cairo_surface_t *surface =
--     gdk_window_create_similar_image_surface (window,
--                                              format,
--                                              width, height,
--                                              scale);
--   </pre>
--   
--   Note that unlike <tt><i>cairo_surface_create_similar_image()</i></tt>,
--   the new surface's device scale is set to <i><tt>scale</tt></i>, or to
--   the scale factor of <i><tt>window</tt></i> if <i><tt>scale</tt></i> is
--   0.
--   
--   <i>Since: 3.10</i>
windowCreateSimilarImageSurface :: (HasCallStack, MonadIO m, IsWindow a) => a -> Int32 -> Int32 -> Int32 -> Int32 -> m Surface

-- | Create a new surface that is as compatible as possible with the given
--   <i><tt>window</tt></i>. For example the new surface will have the same
--   fallback resolution and font options as <i><tt>window</tt></i>.
--   Generally, the new surface will also use the same backend as
--   <i><tt>window</tt></i>, unless that is not possible for some reason.
--   The type of the returned surface may be examined with
--   <tt><i>cairo_surface_get_type()</i></tt>.
--   
--   Initially the surface contents are all 0 (transparent if contents have
--   transparency, black otherwise.)
--   
--   <i>Since: 2.22</i>
windowCreateSimilarSurface :: (HasCallStack, MonadIO m, IsWindow a) => a -> Content -> Int32 -> Int32 -> m Surface

-- | Attempt to deiconify (unminimize) <i><tt>window</tt></i>. On X11 the
--   window manager may choose to ignore the request to deiconify. When
--   using GTK+, use <tt><i>gtk_window_deiconify()</i></tt> instead of the
--   <a>Window</a> variant. Or better yet, you probably want to use
--   <tt><i>gtk_window_present()</i></tt>, which raises the window, focuses
--   it, unminimizes it, and puts it on the current desktop.
windowDeiconify :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Destroys the window system resources associated with
--   <i><tt>window</tt></i> and decrements <i><tt>window</tt></i>'s
--   reference count. The window system resources for all children of
--   <i><tt>window</tt></i> are also destroyed, but the children’s
--   reference counts are not decremented.
--   
--   Note that a window will not be destroyed automatically when its
--   reference count reaches zero. You must call this function yourself
--   before that happens.
windowDestroy :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | <i>No description available in the introspection data.</i>
windowDestroyNotify :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Does nothing, present only for compatiblity.
--   
--   <i>Since: 2.6</i>

-- | <i>Deprecated: (Since version 3.8)this function is no longer
--   needed</i>
windowEnableSynchronizedConfigure :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Indicates that the drawing of the contents of <i><tt>window</tt></i>
--   started with <tt><i>gdk_window_begin_frame()</i></tt> has been
--   completed.
--   
--   This function will take care of destroying the <a>DrawingContext</a>.
--   
--   It is an error to call this function without a matching
--   <tt><i>gdk_window_begin_frame()</i></tt> first.
--   
--   <i>Since: 3.22</i>
windowEndDrawFrame :: (HasCallStack, MonadIO m, IsWindow a, IsDrawingContext b) => a -> b -> m ()

-- | Indicates that the backing store created by the most recent call to
--   <a>windowBeginPaintRegion</a> should be copied onscreen and deleted,
--   leaving the next-most-recent backing store or no backing store at all
--   as the active paint region. See <a>windowBeginPaintRegion</a> for full
--   details.
--   
--   It is an error to call this function without a matching
--   <a>windowBeginPaintRegion</a> first.
windowEndPaint :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Tries to ensure that there is a window-system native window for this
--   GdkWindow. This may fail in some situations, returning <a>False</a>.
--   
--   Offscreen window and children of them can never have native windows.
--   
--   Some backends may not support native child windows.
--   
--   <i>Since: 2.18</i>
windowEnsureNative :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Bool

-- | This function does nothing.
--   
--   <i>Since: 2.18</i>

-- | <i>Deprecated: (Since version 3.14)</i>
windowFlush :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Sets keyboard focus to <i><tt>window</tt></i>. In most cases,
--   <tt><i>gtk_window_present()</i></tt> should be used on a
--   <tt><i>GtkWindow</i></tt>, rather than calling this function.
windowFocus :: (HasCallStack, MonadIO m, IsWindow a) => a -> Word32 -> m ()

-- | Temporarily freezes a window and all its descendants such that it
--   won't receive expose events. The window will begin receiving expose
--   events again when <a>windowThawToplevelUpdatesLibgtkOnly</a> is
--   called. If <a>windowFreezeToplevelUpdatesLibgtkOnly</a> has been
--   called more than once, <a>windowThawToplevelUpdatesLibgtkOnly</a> must
--   be called an equal number of times to begin processing exposes.
--   
--   This function is not part of the GDK public API and is only for use by
--   GTK+.

-- | <i>Deprecated: (Since version 3.16)This symbol was never meant to be
--   used outside of GTK+</i>
windowFreezeToplevelUpdatesLibgtkOnly :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Temporarily freezes a window such that it won’t receive expose events.
--   The window will begin receiving expose events again when
--   <a>windowThawUpdates</a> is called. If <a>windowFreezeUpdates</a> has
--   been called more than once, <a>windowThawUpdates</a> must be called an
--   equal number of times to begin processing exposes.
windowFreezeUpdates :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Moves the window into fullscreen mode. This means the window covers
--   the entire screen and is above any panels or task bars.
--   
--   If the window was already fullscreen, then this function does nothing.
--   
--   On X11, asks the window manager to put <i><tt>window</tt></i> in a
--   fullscreen state, if the window manager supports this operation. Not
--   all window managers support this, and some deliberately ignore it or
--   don’t have a concept of “fullscreen”; so you can’t rely on the
--   fullscreenification actually happening. But it will happen with most
--   standard window managers, and GDK makes a best effort to get it to
--   happen.
--   
--   <i>Since: 2.2</i>
windowFullscreen :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Moves the window into fullscreen mode on the given monitor. This means
--   the window covers the entire screen and is above any panels or task
--   bars.
--   
--   If the window was already fullscreen, then this function does nothing.
windowFullscreenOnMonitor :: (HasCallStack, MonadIO m, IsWindow a) => a -> Int32 -> m ()

-- | This function informs GDK that the geometry of an embedded offscreen
--   window has changed. This is necessary for GDK to keep track of which
--   offscreen window the pointer is in.
--   
--   <i>Since: 2.18</i>
windowGeometryChanged :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Determines whether or not the desktop environment shuld be hinted that
--   the window does not want to receive input focus.
--   
--   <i>Since: 2.22</i>
windowGetAcceptFocus :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Bool

-- | Gets the pattern used to clear the background on
--   <i><tt>window</tt></i>.
--   
--   <i>Since: 2.22</i>

-- | <i>Deprecated: (Since version 3.22)Don't use this function</i>
windowGetBackgroundPattern :: (HasCallStack, MonadIO m, IsWindow a) => a -> m (Maybe Pattern)

-- | Gets the list of children of <i><tt>window</tt></i> known to GDK. This
--   function only returns children created via GDK, so for example it’s
--   useless when used with the root window; it only returns windows an
--   application created itself.
--   
--   The returned list must be freed, but the elements in the list need not
--   be.
windowGetChildren :: (HasCallStack, MonadIO m, IsWindow a) => a -> m [Window]

-- | Gets the list of children of <i><tt>window</tt></i> known to GDK with
--   a particular <i><tt>userData</tt></i> set on it.
--   
--   The returned list must be freed, but the elements in the list need not
--   be.
--   
--   The list is returned in (relative) stacking order, i.e. the lowest
--   window is first.
--   
--   <i>Since: 3.10</i>
windowGetChildrenWithUserData :: (HasCallStack, MonadIO m, IsWindow a) => a -> Ptr () -> m [Window]

-- | Computes the region of a window that potentially can be written to by
--   drawing primitives. This region may not take into account other
--   factors such as if the window is obscured by other windows, but no
--   area outside of this region will be affected by drawing primitives.
windowGetClipRegion :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Region

-- | Determines whether <i><tt>window</tt></i> is composited.
--   
--   See <a>windowSetComposited</a>.
--   
--   <i>Since: 2.22</i>

-- | <i>Deprecated: (Since version 3.16)Compositing is an outdated
--   technology that only ever worked on X11.</i>
windowGetComposited :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Bool

-- | Retrieves a <a>Cursor</a> pointer for the cursor currently set on the
--   specified <a>Window</a>, or <a>Nothing</a>. If the return value is
--   <a>Nothing</a> then there is no custom cursor set on the specified
--   window, and it is using the cursor for its parent window.
--   
--   <i>Since: 2.18</i>
windowGetCursor :: (HasCallStack, MonadIO m, IsWindow a) => a -> m (Maybe Cursor)

-- | Returns the decorations set on the GdkWindow with
--   <a>windowSetDecorations</a>.
windowGetDecorations :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ((Bool, [WMDecoration]))

-- | Retrieves a <a>Cursor</a> pointer for the <i><tt>device</tt></i>
--   currently set on the specified <a>Window</a>, or <a>Nothing</a>. If
--   the return value is <a>Nothing</a> then there is no custom cursor set
--   on the specified window, and it is using the cursor for its parent
--   window.
--   
--   <i>Since: 3.0</i>
windowGetDeviceCursor :: (HasCallStack, MonadIO m, IsWindow a, IsDevice b) => a -> b -> m (Maybe Cursor)

-- | Returns the event mask for <i><tt>window</tt></i> corresponding to an
--   specific device.
--   
--   <i>Since: 3.0</i>
windowGetDeviceEvents :: (HasCallStack, MonadIO m, IsWindow a, IsDevice b) => a -> b -> m [EventMask]

-- | Obtains the current device position and modifier state. The position
--   is given in coordinates relative to the upper left corner of
--   <i><tt>window</tt></i>.
--   
--   Use <a>windowGetDevicePositionDouble</a> if you need subpixel
--   precision.
--   
--   <i>Since: 3.0</i>
windowGetDevicePosition :: (HasCallStack, MonadIO m, IsWindow a, IsDevice b) => a -> b -> m ((Maybe Window, Int32, Int32, [ModifierType]))

-- | Obtains the current device position in doubles and modifier state. The
--   position is given in coordinates relative to the upper left corner of
--   <i><tt>window</tt></i>.
--   
--   <i>Since: 3.10</i>
windowGetDevicePositionDouble :: (HasCallStack, MonadIO m, IsWindow a, IsDevice b) => a -> b -> m ((Maybe Window, Double, Double, [ModifierType]))

-- | Gets the <a>Display</a> associated with a <a>Window</a>.
--   
--   <i>Since: 2.24</i>
windowGetDisplay :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Display

-- | Finds out the DND protocol supported by a window.
--   
--   <i>Since: 3.0</i>
windowGetDragProtocol :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ((DragProtocol, Window))

-- | Obtains the parent of <i><tt>window</tt></i>, as known to GDK. Works
--   like <a>windowGetParent</a> for normal windows, but returns the
--   window’s embedder for offscreen windows.
--   
--   See also: <a>offscreenWindowGetEmbedder</a>
--   
--   <i>Since: 2.22</i>
windowGetEffectiveParent :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Window

-- | Gets the toplevel window that’s an ancestor of <i><tt>window</tt></i>.
--   
--   Works like <a>windowGetToplevel</a>, but treats an offscreen window's
--   embedder as its parent, using <a>windowGetEffectiveParent</a>.
--   
--   See also: <a>offscreenWindowGetEmbedder</a>
--   
--   <i>Since: 2.22</i>
windowGetEffectiveToplevel :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Window

-- | Get the current event compression setting for this window.
--   
--   <i>Since: 3.12</i>
windowGetEventCompression :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Bool

-- | Gets the event mask for <i><tt>window</tt></i> for all master input
--   devices. See <a>windowSetEvents</a>.
windowGetEvents :: (HasCallStack, MonadIO m, IsWindow a) => a -> m [EventMask]

-- | Determines whether or not the desktop environment should be hinted
--   that the window does not want to receive input focus when it is
--   mapped.
--   
--   <i>Since: 2.22</i>
windowGetFocusOnMap :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Bool

-- | Gets the frame clock for the window. The frame clock for a window
--   never changes unless the window is reparented to a new toplevel
--   window.
--   
--   <i>Since: 3.8</i>
windowGetFrameClock :: (HasCallStack, MonadIO m, IsWindow a) => a -> m FrameClock

-- | Obtains the bounding box of the window, including window manager
--   titlebar/borders if any. The frame position is given in root window
--   coordinates. To get the position of the window itself (rather than the
--   frame) in root window coordinates, use <a>windowGetOrigin</a>.
windowGetFrameExtents :: (HasCallStack, MonadIO m, IsWindow a) => a -> m (Rectangle)

-- | Obtains the <a>FullscreenMode</a> of the <i><tt>window</tt></i>.
--   
--   <i>Since: 3.8</i>
windowGetFullscreenMode :: (HasCallStack, MonadIO m, IsWindow a) => a -> m FullscreenMode

-- | Any of the return location arguments to this function may be
--   <a>Nothing</a>, if you aren’t interested in getting the value of that
--   field.
--   
--   The X and Y coordinates returned are relative to the parent window of
--   <i><tt>window</tt></i>, which for toplevels usually means relative to
--   the window decorations (titlebar, etc.) rather than relative to the
--   root window (screen-size background window).
--   
--   On the X11 platform, the geometry is obtained from the X server, so
--   reflects the latest position of <i><tt>window</tt></i>; this may be
--   out-of-sync with the position of <i><tt>window</tt></i> delivered in
--   the most-recently-processed <a>EventConfigure</a>.
--   <a>windowGetPosition</a> in contrast gets the position from the most
--   recent configure event.
--   
--   Note: If <i><tt>window</tt></i> is not a toplevel, it is much better
--   to call <a>windowGetPosition</a>, <a>windowGetWidth</a> and
--   <a>windowGetHeight</a> instead, because it avoids the roundtrip to the
--   X server and because these functions support the full 32-bit
--   coordinate space, whereas <a>windowGetGeometry</a> is restricted to
--   the 16-bit coordinates of X11.
windowGetGeometry :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ((Int32, Int32, Int32, Int32))

-- | Returns the group leader window for <i><tt>window</tt></i>. See
--   <a>windowSetGroup</a>.
--   
--   <i>Since: 2.4</i>
windowGetGroup :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Window

-- | Returns the height of the given <i><tt>window</tt></i>.
--   
--   On the X11 platform the returned size is the size reported in the
--   most-recently-processed configure event, rather than the current size
--   on the X server.
--   
--   <i>Since: 2.24</i>
windowGetHeight :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Int32

-- | Determines whether or not the window manager is hinted that
--   <i><tt>window</tt></i> has modal behaviour.
--   
--   <i>Since: 2.22</i>
windowGetModalHint :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Bool

-- | Obtains the position of a window in root window coordinates. (Compare
--   with <a>windowGetPosition</a> and <a>windowGetGeometry</a> which
--   return the position of a window relative to its parent window.)
windowGetOrigin :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ((Int32, Int32, Int32))

-- | Obtains the parent of <i><tt>window</tt></i>, as known to GDK. Does
--   not query the X server; thus this returns the parent as passed to
--   <a>windowNew</a>, not the actual parent. This should never matter
--   unless you’re using Xlib calls mixed with GDK calls on the X11
--   platform. It may also matter for toplevel windows, because the window
--   manager may choose to reparent them.
--   
--   Note that you should use <a>windowGetEffectiveParent</a> when writing
--   generic code that walks up a window hierarchy, because
--   <a>windowGetParent</a> will most likely not do what you expect if
--   there are offscreen windows in the hierarchy.
windowGetParent :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Window

-- | Returns whether input to the window is passed through to the window
--   below.
--   
--   See <a>windowSetPassThrough</a> for details
--   
--   <i>Since: 3.18</i>
windowGetPassThrough :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Bool

-- | Obtains the current pointer position and modifier state. The position
--   is given in coordinates relative to the upper left corner of
--   <i><tt>window</tt></i>.

-- | <i>Deprecated: (Since version 3.0)Use <a>windowGetDevicePosition</a>
--   instead.</i>
windowGetPointer :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ((Maybe Window, Int32, Int32, [ModifierType]))

-- | Obtains the position of the window as reported in the
--   most-recently-processed <a>EventConfigure</a>. Contrast with
--   <a>windowGetGeometry</a> which queries the X server for the current
--   window position, regardless of which events have been received or
--   processed.
--   
--   The position coordinates are relative to the window’s parent window.
windowGetPosition :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ((Int32, Int32))

-- | Obtains the position of a window position in root window coordinates.
--   This is similar to <a>windowGetOrigin</a> but allows you to pass in
--   any position in the window, not just the origin.
--   
--   <i>Since: 2.18</i>
windowGetRootCoords :: (HasCallStack, MonadIO m, IsWindow a) => a -> Int32 -> Int32 -> m ((Int32, Int32))

-- | Obtains the top-left corner of the window manager frame in root window
--   coordinates.
windowGetRootOrigin :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ((Int32, Int32))

-- | Returns the internal scale factor that maps from window coordiantes to
--   the actual device pixels. On traditional systems this is 1, but on
--   very high density outputs this can be a higher value (often 2).
--   
--   A higher value means that drawing is automatically scaled up to a
--   higher resolution, so any code doing drawing will automatically look
--   nicer. However, if you are supplying pixel-based data the scale value
--   can be used to determine whether to use a pixel resource with higher
--   resolution data.
--   
--   The scale of a window may change during runtime, if this happens a
--   configure event will be sent to the toplevel window.
--   
--   <i>Since: 3.10</i>
windowGetScaleFactor :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Int32

-- | Gets the <a>Screen</a> associated with a <a>Window</a>.
--   
--   <i>Since: 2.24</i>
windowGetScreen :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Screen

-- | Returns the event mask for <i><tt>window</tt></i> corresponding to the
--   device class specified by <i><tt>source</tt></i>.
windowGetSourceEvents :: (HasCallStack, MonadIO m, IsWindow a) => a -> InputSource -> m [EventMask]

-- | Gets the bitwise OR of the currently active window state flags, from
--   the <a>WindowState</a> enumeration.
windowGetState :: (HasCallStack, MonadIO m, IsWindow a) => a -> m [WindowState]

-- | Returns <a>True</a> if the window is aware of the existence of
--   multiple devices.
--   
--   <i>Since: 3.0</i>
windowGetSupportMultidevice :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Bool

-- | Gets the toplevel window that’s an ancestor of <i><tt>window</tt></i>.
--   
--   Any window type but <a>WindowTypeChild</a> is considered a toplevel
--   window, as is a <a>WindowTypeChild</a> window that has a root window
--   as parent.
--   
--   Note that you should use <a>windowGetEffectiveToplevel</a> when you
--   want to get to a window’s toplevel as seen on screen, because
--   <a>windowGetToplevel</a> will most likely not do what you expect if
--   there are offscreen windows in the hierarchy.
windowGetToplevel :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Window

-- | This function returns the type hint set for a window.
--   
--   <i>Since: 2.10</i>
windowGetTypeHint :: (HasCallStack, MonadIO m, IsWindow a) => a -> m WindowTypeHint

-- | Transfers ownership of the update area from <i><tt>window</tt></i> to
--   the caller of the function. That is, after calling this function,
--   <i><tt>window</tt></i> will no longer have an invalid/dirty region;
--   the update area is removed from <i><tt>window</tt></i> and handed to
--   you. If a window has no update area, <a>windowGetUpdateArea</a>
--   returns <a>Nothing</a>. You are responsible for calling
--   <tt><i>cairo_region_destroy()</i></tt> on the returned region if it’s
--   non-<a>Nothing</a>.
windowGetUpdateArea :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Region

-- | Retrieves the user data for <i><tt>window</tt></i>, which is normally
--   the widget that <i><tt>window</tt></i> belongs to. See
--   <a>windowSetUserData</a>.
windowGetUserData :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ((Ptr ()))

-- | Computes the region of the <i><tt>window</tt></i> that is potentially
--   visible. This does not necessarily take into account if the window is
--   obscured by other windows, but no area outside of this region is
--   visible.
windowGetVisibleRegion :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Region

-- | Gets the <a>Visual</a> describing the pixel format of
--   <i><tt>window</tt></i>.
--   
--   <i>Since: 2.24</i>
windowGetVisual :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Visual

-- | Returns the width of the given <i><tt>window</tt></i>.
--   
--   On the X11 platform the returned size is the size reported in the
--   most-recently-processed configure event, rather than the current size
--   on the X server.
--   
--   <i>Since: 2.24</i>
windowGetWidth :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Int32

-- | Gets the type of the window. See <a>WindowType</a>.
windowGetWindowType :: (HasCallStack, MonadIO m, IsWindow a) => a -> m WindowType

-- | Checks whether the window has a native window or not. Note that you
--   can use <a>windowEnsureNative</a> if a native window is needed.
--   
--   <i>Since: 2.22</i>
windowHasNative :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Bool

-- | For toplevel windows, withdraws them, so they will no longer be known
--   to the window manager; for all windows, unmaps them, so they won’t be
--   displayed. Normally done automatically as part of
--   <tt><i>gtk_widget_hide()</i></tt>.
windowHide :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Asks to iconify (minimize) <i><tt>window</tt></i>. The window manager
--   may choose to ignore the request, but normally will honor it. Using
--   <tt><i>gtk_window_iconify()</i></tt> is preferred, if you have a
--   <tt><i>GtkWindow</i></tt> widget.
--   
--   This function only makes sense when <i><tt>window</tt></i> is a
--   toplevel window.
windowIconify :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Like <a>windowShapeCombineRegion</a>, but the shape applies only to
--   event handling. Mouse events which happen while the pointer position
--   corresponds to an unset bit in the mask will be passed on the window
--   below <i><tt>window</tt></i>.
--   
--   An input shape is typically used with RGBA windows. The alpha channel
--   of the window defines which pixels are invisible and allows for nicely
--   antialiased borders, and the input shape controls where the window is
--   “clickable”.
--   
--   On the X11 platform, this requires version 1.1 of the shape extension.
--   
--   On the Win32 platform, this functionality is not present and the
--   function does nothing.
--   
--   <i>Since: 2.10</i>
windowInputShapeCombineRegion :: (HasCallStack, MonadIO m, IsWindow a) => a -> Region -> Int32 -> Int32 -> m ()

-- | Adds <i><tt>region</tt></i> to the update area for
--   <i><tt>window</tt></i>. The update area is the region that needs to be
--   redrawn, or “dirty region.” The call <a>windowProcessUpdates</a> sends
--   one or more expose events to the window, which together cover the
--   entire update area. An application would normally redraw the contents
--   of <i><tt>window</tt></i> in response to those expose events.
--   
--   GDK will call <a>windowProcessAllUpdates</a> on your behalf whenever
--   your program returns to the main loop and becomes idle, so normally
--   there’s no need to do that manually, you just need to invalidate
--   regions that you know should be redrawn.
--   
--   The <i><tt>childFunc</tt></i> parameter controls whether the region of
--   each child window that intersects <i><tt>region</tt></i> will also be
--   invalidated. Only children for which <i><tt>childFunc</tt></i> returns
--   <tt><i>TRUE</i></tt> will have the area invalidated.
windowInvalidateMaybeRecurse :: (HasCallStack, MonadIO m, IsWindow a) => a -> Region -> Maybe (WindowChildFunc) -> m ()

-- | A convenience wrapper around <a>windowInvalidateRegion</a> which
--   invalidates a rectangular region. See <a>windowInvalidateRegion</a>
--   for details.
windowInvalidateRect :: (HasCallStack, MonadIO m, IsWindow a) => a -> Maybe (Rectangle) -> Bool -> m ()

-- | Adds <i><tt>region</tt></i> to the update area for
--   <i><tt>window</tt></i>. The update area is the region that needs to be
--   redrawn, or “dirty region.” The call <a>windowProcessUpdates</a> sends
--   one or more expose events to the window, which together cover the
--   entire update area. An application would normally redraw the contents
--   of <i><tt>window</tt></i> in response to those expose events.
--   
--   GDK will call <a>windowProcessAllUpdates</a> on your behalf whenever
--   your program returns to the main loop and becomes idle, so normally
--   there’s no need to do that manually, you just need to invalidate
--   regions that you know should be redrawn.
--   
--   The <i><tt>invalidateChildren</tt></i> parameter controls whether the
--   region of each child window that intersects <i><tt>region</tt></i>
--   will also be invalidated. If <a>False</a>, then the update area for
--   child windows will remain unaffected. See
--   gdk_window_invalidate_maybe_recurse if you need fine grained control
--   over which children are invalidated.
windowInvalidateRegion :: (HasCallStack, MonadIO m, IsWindow a) => a -> Region -> Bool -> m ()

-- | Check to see if a window is destroyed..
--   
--   <i>Since: 2.18</i>
windowIsDestroyed :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Bool

-- | Determines whether or not the window is an input only window.
--   
--   <i>Since: 2.22</i>
windowIsInputOnly :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Bool

-- | Determines whether or not the window is shaped.
--   
--   <i>Since: 2.22</i>
windowIsShaped :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Bool

-- | Check if the window and all ancestors of the window are mapped. (This
--   is not necessarily "viewable" in the X sense, since we only check as
--   far as we have GDK window parents, not to the root window.)
windowIsViewable :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Bool

-- | Checks whether the window has been mapped (with <a>windowShow</a> or
--   <a>windowShowUnraised</a>).
windowIsVisible :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Bool

-- | Lowers <i><tt>window</tt></i> to the bottom of the Z-order (stacking
--   order), so that other windows with the same parent window appear above
--   <i><tt>window</tt></i>. This is true whether or not the other windows
--   are visible.
--   
--   If <i><tt>window</tt></i> is a toplevel, the window manager may choose
--   to deny the request to move the window in the Z-order,
--   <a>windowLower</a> only requests the restack, does not guarantee it.
--   
--   Note that <a>windowShow</a> raises the window again, so don’t call
--   this function before <a>windowShow</a>. (Try
--   <a>windowShowUnraised</a>.)
windowLower :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | If you call this during a paint (e.g. between
--   <a>windowBeginPaintRegion</a> and <a>windowEndPaint</a> then GDK will
--   mark the current clip region of the window as being drawn. This is
--   required when mixing GL rendering via <a>cairoDrawFromGl</a> and cairo
--   rendering, as otherwise GDK has no way of knowing when something
--   paints over the GL-drawn regions.
--   
--   This is typically called automatically by GTK+ and you don't need to
--   care about this.
--   
--   <i>Since: 3.16</i>
windowMarkPaintFromClip :: (HasCallStack, MonadIO m, IsWindow a) => a -> Context -> m ()

-- | Maximizes the window. If the window was already maximized, then this
--   function does nothing.
--   
--   On X11, asks the window manager to maximize <i><tt>window</tt></i>, if
--   the window manager supports this operation. Not all window managers
--   support this, and some deliberately ignore it or don’t have a concept
--   of “maximized”; so you can’t rely on the maximization actually
--   happening. But it will happen with most standard window managers, and
--   GDK makes a best effort to get it to happen.
--   
--   On Windows, reliably maximizes the window.
windowMaximize :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Merges the input shape masks for any child windows into the input
--   shape mask for <i><tt>window</tt></i>. i.e. the union of all input
--   masks for <i><tt>window</tt></i> and its children will become the new
--   input mask for <i><tt>window</tt></i>. See
--   <a>windowInputShapeCombineRegion</a>.
--   
--   This function is distinct from <a>windowSetChildInputShapes</a>
--   because it includes <i><tt>window</tt></i>’s input shape mask in the
--   set of shapes to be merged.
--   
--   <i>Since: 2.10</i>
windowMergeChildInputShapes :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Merges the shape masks for any child windows into the shape mask for
--   <i><tt>window</tt></i>. i.e. the union of all masks for
--   <i><tt>window</tt></i> and its children will become the new mask for
--   <i><tt>window</tt></i>. See <a>windowShapeCombineRegion</a>.
--   
--   This function is distinct from <a>windowSetChildShapes</a> because it
--   includes <i><tt>window</tt></i>’s shape mask in the set of shapes to
--   be merged.
windowMergeChildShapes :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Repositions a window relative to its parent window. For toplevel
--   windows, window managers may ignore or modify the move; you should
--   probably use <tt><i>gtk_window_move()</i></tt> on a
--   <tt><i>GtkWindow</i></tt> widget anyway, instead of using GDK
--   functions. For child windows, the move will reliably succeed.
--   
--   If you’re also planning to resize the window, use
--   <a>windowMoveResize</a> to both move and resize simultaneously, for a
--   nicer visual effect.
windowMove :: (HasCallStack, MonadIO m, IsWindow a) => a -> Int32 -> Int32 -> m ()

-- | Move the part of <i><tt>window</tt></i> indicated by
--   <i><tt>region</tt></i> by <i><tt>dy</tt></i> pixels in the Y direction
--   and <i><tt>dx</tt></i> pixels in the X direction. The portions of
--   <i><tt>region</tt></i> that not covered by the new position of
--   <i><tt>region</tt></i> are invalidated.
--   
--   Child windows are not moved.
--   
--   <i>Since: 2.8</i>
windowMoveRegion :: (HasCallStack, MonadIO m, IsWindow a) => a -> Region -> Int32 -> Int32 -> m ()

-- | Equivalent to calling <a>windowMove</a> and <a>windowResize</a>,
--   except that both operations are performed at once, avoiding strange
--   visual effects. (i.e. the user may be able to see the window first
--   move, then resize, if you don’t use <a>windowMoveResize</a>.)
windowMoveResize :: (HasCallStack, MonadIO m, IsWindow a) => a -> Int32 -> Int32 -> Int32 -> Int32 -> m ()

-- | Moves <i><tt>window</tt></i> to <i><tt>rect</tt></i>, aligning their
--   anchor points.
--   
--   <i><tt>rect</tt></i> is relative to the top-left corner of the window
--   that <i><tt>window</tt></i> is transient for.
--   <i><tt>rectAnchor</tt></i> and <i><tt>windowAnchor</tt></i> determine
--   anchor points on <i><tt>rect</tt></i> and <i><tt>window</tt></i> to
--   pin together. <i><tt>rect</tt></i>'s anchor point can optionally be
--   offset by <i><tt>rectAnchorDx</tt></i> and
--   <i><tt>rectAnchorDy</tt></i>, which is equivalent to offsetting the
--   position of <i><tt>window</tt></i>.
--   
--   <i><tt>anchorHints</tt></i> determines how <i><tt>window</tt></i> will
--   be moved if the anchor points cause it to move off-screen. For
--   example, <a>AnchorHintsFlipX</a> will replace <a>GravityNorthWest</a>
--   with <a>GravityNorthEast</a> and vice versa if <i><tt>window</tt></i>
--   extends beyond the left or right edges of the monitor.
--   
--   Connect to the <a>Window</a>::<tt><i>moved-to-rect</i></tt> signal to
--   find out how it was actually positioned.
--   
--   <i>Since: 3.24</i>
windowMoveToRect :: (HasCallStack, MonadIO m, IsWindow a) => a -> Rectangle -> Gravity -> Gravity -> [AnchorHints] -> Int32 -> Int32 -> m ()

-- | Creates a new <a>Window</a> using the attributes from
--   <i><tt>attributes</tt></i>. See <a>WindowAttr</a> and
--   <a>WindowAttributesType</a> for more details. Note: to use this on
--   displays other than the default display, <i><tt>parent</tt></i> must
--   be specified.
windowNew :: (HasCallStack, MonadIO m, IsWindow a) => Maybe (a) -> WindowAttr -> [WindowAttributesType] -> m Window

-- | Like <a>windowGetChildren</a>, but does not copy the list of children,
--   so the list does not need to be freed.
windowPeekChildren :: (HasCallStack, MonadIO m, IsWindow a) => a -> m [Window]

-- | Calls <a>windowProcessUpdates</a> for all windows (see <a>Window</a>)
--   in the application.

-- | <i>Deprecated: (Since version 3.22)</i>
windowProcessAllUpdates :: (HasCallStack, MonadIO m) => m ()

-- | Sends one or more expose events to <i><tt>window</tt></i>. The areas
--   in each expose event will cover the entire update area for the window
--   (see <a>windowInvalidateRegion</a> for details). Normally GDK calls
--   <a>windowProcessAllUpdates</a> on your behalf, so there’s no need to
--   call this function unless you want to force expose events to be
--   delivered immediately and synchronously (vs. the usual case, where GDK
--   delivers them in an idle handler). Occasionally this is useful to
--   produce nicer scrolling behavior, for example.

-- | <i>Deprecated: (Since version 3.22)</i>
windowProcessUpdates :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()

-- | Raises <i><tt>window</tt></i> to the top of the Z-order (stacking
--   order), so that other windows with the same parent window appear below
--   <i><tt>window</tt></i>. This is true whether or not the windows are
--   visible.
--   
--   If <i><tt>window</tt></i> is a toplevel, the window manager may choose
--   to deny the request to move the window in the Z-order,
--   <a>windowRaise</a> only requests the restack, does not guarantee it.
windowRaise :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Registers a window as a potential drop destination.
windowRegisterDnd :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Reparents <i><tt>window</tt></i> into the given
--   <i><tt>newParent</tt></i>. The window being reparented will be
--   unmapped as a side effect.
windowReparent :: (HasCallStack, MonadIO m, IsWindow a, IsWindow b) => a -> b -> Int32 -> Int32 -> m ()

-- | Resizes <i><tt>window</tt></i>; for toplevel windows, asks the window
--   manager to resize the window. The window manager may not allow the
--   resize. When using GTK+, use <tt><i>gtk_window_resize()</i></tt>
--   instead of this low-level GDK function.
--   
--   Windows may not be resized below 1x1.
--   
--   If you’re also planning to move the window, use
--   <a>windowMoveResize</a> to both move and resize simultaneously, for a
--   nicer visual effect.
windowResize :: (HasCallStack, MonadIO m, IsWindow a) => a -> Int32 -> Int32 -> m ()

-- | Changes the position of <i><tt>window</tt></i> in the Z-order
--   (stacking order), so that it is above <i><tt>sibling</tt></i> (if
--   <i><tt>above</tt></i> is <a>True</a>) or below <i><tt>sibling</tt></i>
--   (if <i><tt>above</tt></i> is <a>False</a>).
--   
--   If <i><tt>sibling</tt></i> is <a>Nothing</a>, then this either raises
--   (if <i><tt>above</tt></i> is <a>True</a>) or lowers the window.
--   
--   If <i><tt>window</tt></i> is a toplevel, the window manager may choose
--   to deny the request to move the window in the Z-order,
--   <a>windowRestack</a> only requests the restack, does not guarantee it.
--   
--   <i>Since: 2.18</i>
windowRestack :: (HasCallStack, MonadIO m, IsWindow a, IsWindow b) => a -> Maybe (b) -> Bool -> m ()

-- | Scroll the contents of <i><tt>window</tt></i>, both pixels and
--   children, by the given amount. <i><tt>window</tt></i> itself does not
--   move. Portions of the window that the scroll operation brings in from
--   offscreen areas are invalidated. The invalidated region may be bigger
--   than what would strictly be necessary.
--   
--   For X11, a minimum area will be invalidated if the window has no
--   subwindows, or if the edges of the window’s parent do not extend
--   beyond the edges of the window. In other cases, a multi-step process
--   is used to scroll the window which may produce temporary visual
--   artifacts and unnecessary invalidations.
windowScroll :: (HasCallStack, MonadIO m, IsWindow a) => a -> Int32 -> Int32 -> m ()

-- | Setting <i><tt>acceptFocus</tt></i> to <a>False</a> hints the desktop
--   environment that the window doesn’t want to receive input focus.
--   
--   On X, it is the responsibility of the window manager to interpret this
--   hint. ICCCM-compliant window manager usually respect it.
--   
--   <i>Since: 2.4</i>
windowSetAcceptFocus :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()

-- | Sets the background color of <i><tt>window</tt></i>.
--   
--   However, when using GTK+, influence the background of a widget using a
--   style class or CSS — if you’re an application — or with
--   <tt><i>gtk_style_context_set_background()</i></tt> — if you're
--   implementing a custom widget.

-- | <i>Deprecated: (Since version 3.4)Don't use this function</i>
windowSetBackground :: (HasCallStack, MonadIO m, IsWindow a) => a -> Color -> m ()

-- | Sets the background of <i><tt>window</tt></i>.
--   
--   A background of <a>Nothing</a> means that the window won't have any
--   background. On the X11 backend it's also possible to inherit the
--   background from the parent window using
--   <tt><i>gdk_x11_get_parent_relative_pattern()</i></tt>.
--   
--   The windowing system will normally fill a window with its background
--   when the window is obscured then exposed.

-- | <i>Deprecated: (Since version 3.22)Don't use this function</i>
windowSetBackgroundPattern :: (HasCallStack, MonadIO m, IsWindow a) => a -> Maybe (Pattern) -> m ()

-- | Sets the background color of <i><tt>window</tt></i>.
--   
--   See also <a>windowSetBackgroundPattern</a>.

-- | <i>Deprecated: (Since version 3.22)Don't use this function</i>
windowSetBackgroundRgba :: (HasCallStack, MonadIO m, IsWindow a) => a -> RGBA -> m ()

-- | Sets the input shape mask of <i><tt>window</tt></i> to the union of
--   input shape masks for all children of <i><tt>window</tt></i>, ignoring
--   the input shape mask of <i><tt>window</tt></i> itself. Contrast with
--   <a>windowMergeChildInputShapes</a> which includes the input shape mask
--   of <i><tt>window</tt></i> in the masks to be merged.
--   
--   <i>Since: 2.10</i>
windowSetChildInputShapes :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Sets the shape mask of <i><tt>window</tt></i> to the union of shape
--   masks for all children of <i><tt>window</tt></i>, ignoring the shape
--   mask of <i><tt>window</tt></i> itself. Contrast with
--   <a>windowMergeChildShapes</a> which includes the shape mask of
--   <i><tt>window</tt></i> in the masks to be merged.
windowSetChildShapes :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Sets a <a>Window</a> as composited, or unsets it. Composited windows
--   do not automatically have their contents drawn to the screen. Drawing
--   is redirected to an offscreen buffer and an expose event is emitted on
--   the parent of the composited window. It is the responsibility of the
--   parent’s expose handler to manually merge the off-screen content onto
--   the screen in whatever way it sees fit.
--   
--   It only makes sense for child windows to be composited; see
--   <a>windowSetOpacity</a> if you need translucent toplevel windows.
--   
--   An additional effect of this call is that the area of this window is
--   no longer clipped from regions marked for invalidation on its parent.
--   Draws done on the parent window are also no longer clipped by the
--   child.
--   
--   This call is only supported on some systems (currently, only X11 with
--   new enough Xcomposite and Xdamage extensions). You must call
--   <a>displaySupportsComposite</a> to check if setting a window as
--   composited is supported before attempting to do so.
--   
--   <i>Since: 2.12</i>

-- | <i>Deprecated: (Since version 3.16)Compositing is an outdated
--   technology that only ever worked on X11.</i>
windowSetComposited :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()

-- | Sets the default mouse pointer for a <a>Window</a>.
--   
--   Note that <i><tt>cursor</tt></i> must be for the same display as
--   <i><tt>window</tt></i>.
--   
--   Use <a>cursorNewForDisplay</a> or <a>cursorNewFromPixbuf</a> to create
--   the cursor. To make the cursor invisible, use
--   <a>CursorTypeBlankCursor</a>. Passing <a>Nothing</a> for the
--   <i><tt>cursor</tt></i> argument to <a>windowSetCursor</a> means that
--   <i><tt>window</tt></i> will use the cursor of its parent window. Most
--   windows should use this default.
windowSetCursor :: (HasCallStack, MonadIO m, IsWindow a, IsCursor b) => a -> Maybe (b) -> m ()

-- | With update debugging enabled, calls to <a>windowInvalidateRegion</a>
--   clear the invalidated region of the screen to a noticeable color, and
--   GDK pauses for a short time before sending exposes to windows during
--   <a>windowProcessUpdates</a>. The net effect is that you can see the
--   invalid region for each window and watch redraws as they occur. This
--   allows you to diagnose inefficiencies in your application.
--   
--   In essence, because the GDK rendering model prevents all flicker, if
--   you are redrawing the same region 400 times you may never notice,
--   aside from noticing a speed problem. Enabling update debugging causes
--   GTK to flicker slowly and noticeably, so you can see exactly what’s
--   being redrawn when, in what order.
--   
--   The --gtk-debug=updates command line option passed to GTK+ programs
--   enables this debug option at application startup time. That's usually
--   more useful than calling <a>windowSetDebugUpdates</a> yourself, though
--   you might want to use this function to enable updates sometime after
--   application startup time.

-- | <i>Deprecated: (Since version 3.22)</i>
windowSetDebugUpdates :: (HasCallStack, MonadIO m) => Bool -> m ()

-- | “Decorations” are the features the window manager adds to a toplevel
--   <a>Window</a>. This function sets the traditional Motif window manager
--   hints that tell the window manager which decorations you would like
--   your window to have. Usually you should use
--   <tt><i>gtk_window_set_decorated()</i></tt> on a
--   <tt><i>GtkWindow</i></tt> instead of using the GDK function directly.
--   
--   The <i><tt>decorations</tt></i> argument is the logical OR of the
--   fields in the <a>WMDecoration</a> enumeration. If
--   <tt><i>GDK_DECOR_ALL</i></tt> is included in the mask, the other bits
--   indicate which decorations should be turned off. If
--   <tt><i>GDK_DECOR_ALL</i></tt> is not included, then the other bits
--   indicate which decorations should be turned on.
--   
--   Most window managers honor a decorations hint of 0 to disable all
--   decorations, but very few honor all possible combinations of bits.
windowSetDecorations :: (HasCallStack, MonadIO m, IsWindow a) => a -> [WMDecoration] -> m ()

-- | Sets a specific <a>Cursor</a> for a given device when it gets inside
--   <i><tt>window</tt></i>. Use <a>cursorNewForDisplay</a> or
--   <a>cursorNewFromPixbuf</a> to create the cursor. To make the cursor
--   invisible, use <a>CursorTypeBlankCursor</a>. Passing <a>Nothing</a>
--   for the <i><tt>cursor</tt></i> argument to <a>windowSetCursor</a>
--   means that <i><tt>window</tt></i> will use the cursor of its parent
--   window. Most windows should use this default.
--   
--   <i>Since: 3.0</i>
windowSetDeviceCursor :: (HasCallStack, MonadIO m, IsWindow a, IsDevice b, IsCursor c) => a -> b -> c -> m ()

-- | Sets the event mask for a given device (Normally a floating device,
--   not attached to any visible pointer) to <i><tt>window</tt></i>. For
--   example, an event mask including <tt><i>GDK_BUTTON_PRESS_MASK</i></tt>
--   means the window should report button press events. The event mask is
--   the bitwise OR of values from the <a>EventMask</a> enumeration.
--   
--   See the [input handling overview][event-masks] for details.
--   
--   <i>Since: 3.0</i>
windowSetDeviceEvents :: (HasCallStack, MonadIO m, IsWindow a, IsDevice b) => a -> b -> [EventMask] -> m ()

-- | Determines whether or not extra unprocessed motion events in the event
--   queue can be discarded. If <a>True</a> only the most recent event will
--   be delivered.
--   
--   Some types of applications, e.g. paint programs, need to see all
--   motion events and will benefit from turning off event compression.
--   
--   By default, event compression is enabled.
--   
--   <i>Since: 3.12</i>
windowSetEventCompression :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()

-- | The event mask for a window determines which events will be reported
--   for that window from all master input devices. For example, an event
--   mask including <tt><i>GDK_BUTTON_PRESS_MASK</i></tt> means the window
--   should report button press events. The event mask is the bitwise OR of
--   values from the <a>EventMask</a> enumeration.
--   
--   See the [input handling overview][event-masks] for details.
windowSetEvents :: (HasCallStack, MonadIO m, IsWindow a) => a -> [EventMask] -> m ()

-- | Setting <i><tt>focusOnMap</tt></i> to <a>False</a> hints the desktop
--   environment that the window doesn’t want to receive input focus when
--   it is mapped. focus_on_map should be turned off for windows that
--   aren’t triggered interactively (such as popups from network activity).
--   
--   On X, it is the responsibility of the window manager to interpret this
--   hint. Window managers following the freedesktop.org window manager
--   extension specification should respect it.
--   
--   <i>Since: 2.6</i>
windowSetFocusOnMap :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()

-- | Specifies whether the <i><tt>window</tt></i> should span over all
--   monitors (in a multi-head setup) or only the current monitor when in
--   fullscreen mode.
--   
--   The <i><tt>mode</tt></i> argument is from the <a>FullscreenMode</a>
--   enumeration. If <tt><i>GDK_FULLSCREEN_ON_ALL_MONITORS</i></tt> is
--   specified, the fullscreen <i><tt>window</tt></i> will span over all
--   monitors from the <a>Screen</a>.
--   
--   On X11, searches through the list of monitors from the <a>Screen</a>
--   the ones which delimit the 4 edges of the entire <a>Screen</a> and
--   will ask the window manager to span the <i><tt>window</tt></i> over
--   these monitors.
--   
--   If the XINERAMA extension is not available or not usable, this
--   function has no effect.
--   
--   Not all window managers support this, so you can’t rely on the
--   fullscreen window to span over the multiple monitors when
--   <tt><i>GDK_FULLSCREEN_ON_ALL_MONITORS</i></tt> is specified.
--   
--   <i>Since: 3.8</i>
windowSetFullscreenMode :: (HasCallStack, MonadIO m, IsWindow a) => a -> FullscreenMode -> m ()

-- | Sets hints about the window management functions to make available via
--   buttons on the window frame.
--   
--   On the X backend, this function sets the traditional Motif window
--   manager hint for this purpose. However, few window managers do
--   anything reliable or interesting with this hint. Many ignore it
--   entirely.
--   
--   The <i><tt>functions</tt></i> argument is the logical OR of values
--   from the <a>WMFunction</a> enumeration. If the bitmask includes
--   <tt><i>GDK_FUNC_ALL</i></tt>, then the other bits indicate which
--   functions to disable; if it doesn’t include
--   <tt><i>GDK_FUNC_ALL</i></tt>, it indicates which functions to enable.
windowSetFunctions :: (HasCallStack, MonadIO m, IsWindow a) => a -> [WMFunction] -> m ()

-- | Sets the geometry hints for <i><tt>window</tt></i>. Hints flagged in
--   <i><tt>geomMask</tt></i> are set, hints not flagged in
--   <i><tt>geomMask</tt></i> are unset. To unset all hints, use a
--   <i><tt>geomMask</tt></i> of 0 and a <i><tt>geometry</tt></i> of
--   <a>Nothing</a>.
--   
--   This function provides hints to the windowing system about acceptable
--   sizes for a toplevel window. The purpose of this is to constrain user
--   resizing, but the windowing system will typically (but is not required
--   to) also constrain the current size of the window to the provided
--   values and constrain programatic resizing via <a>windowResize</a> or
--   <a>windowMoveResize</a>.
--   
--   Note that on X11, this effect has no effect on windows of type
--   <a>WindowTypeTemp</a> or windows where override redirect has been
--   turned on via <a>windowSetOverrideRedirect</a> since these windows are
--   not resizable by the user.
--   
--   Since you can’t count on the windowing system doing the constraints
--   for programmatic resizes, you should generally call
--   <a>windowConstrainSize</a> yourself to determine appropriate sizes.
windowSetGeometryHints :: (HasCallStack, MonadIO m, IsWindow a) => a -> Geometry -> [WindowHints] -> m ()

-- | Sets the group leader window for <i><tt>window</tt></i>. By default,
--   GDK sets the group leader for all toplevel windows to a global window
--   implicitly created by GDK. With this function you can override this
--   default.
--   
--   The group leader window allows the window manager to distinguish all
--   windows that belong to a single application. It may for example allow
--   users to minimize/unminimize all windows belonging to an application
--   at once. You should only set a non-default group window if your
--   application pretends to be multiple applications.
windowSetGroup :: (HasCallStack, MonadIO m, IsWindow a, IsWindow b) => a -> Maybe (b) -> m ()

-- | Sets a list of icons for the window. One of these will be used to
--   represent the window when it has been iconified. The icon is usually
--   shown in an icon box or some sort of task bar. Which icon size is
--   shown depends on the window manager. The window manager can scale the
--   icon but setting several size icons can give better image quality
--   since the window manager may only need to scale the icon by a small
--   amount or not at all.
--   
--   Note that some platforms don't support window icons.
windowSetIconList :: (HasCallStack, MonadIO m, IsWindow a, IsPixbuf b) => a -> [b] -> m ()

-- | Windows may have a name used while minimized, distinct from the name
--   they display in their titlebar. Most of the time this is a bad idea
--   from a user interface standpoint. But you can set such a name with
--   this function, if you like.
--   
--   After calling this with a non-<a>Nothing</a> <i><tt>name</tt></i>,
--   calls to <a>windowSetTitle</a> will not update the icon title.
--   
--   Using <a>Nothing</a> for <i><tt>name</tt></i> unsets the icon title;
--   further calls to <a>windowSetTitle</a> will again update the icon
--   title as well.
--   
--   Note that some platforms don't support window icons.
windowSetIconName :: (HasCallStack, MonadIO m, IsWindow a) => a -> Maybe (Text) -> m ()

-- | Set if <i><tt>window</tt></i> must be kept above other windows. If the
--   window was already above, then this function does nothing.
--   
--   On X11, asks the window manager to keep <i><tt>window</tt></i> above,
--   if the window manager supports this operation. Not all window managers
--   support this, and some deliberately ignore it or don’t have a concept
--   of “keep above”; so you can’t rely on the window being kept above. But
--   it will happen with most standard window managers, and GDK makes a
--   best effort to get it to happen.
--   
--   <i>Since: 2.4</i>
windowSetKeepAbove :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()

-- | Set if <i><tt>window</tt></i> must be kept below other windows. If the
--   window was already below, then this function does nothing.
--   
--   On X11, asks the window manager to keep <i><tt>window</tt></i> below,
--   if the window manager supports this operation. Not all window managers
--   support this, and some deliberately ignore it or don’t have a concept
--   of “keep below”; so you can’t rely on the window being kept below. But
--   it will happen with most standard window managers, and GDK makes a
--   best effort to get it to happen.
--   
--   <i>Since: 2.4</i>
windowSetKeepBelow :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()

-- | The application can use this hint to tell the window manager that a
--   certain window has modal behaviour. The window manager can use this
--   information to handle modal windows in a special way.
--   
--   You should only use this on windows for which you have previously
--   called <a>windowSetTransientFor</a>
windowSetModalHint :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()

-- | Set <i><tt>window</tt></i> to render as partially transparent, with
--   opacity 0 being fully transparent and 1 fully opaque. (Values of the
--   opacity parameter are clamped to the [0,1] range.)
--   
--   For toplevel windows this depends on support from the windowing system
--   that may not always be there. For instance, On X11, this works only on
--   X screens with a compositing manager running. On Wayland, there is no
--   per-window opacity value that the compositor would apply. Instead, use
--   <tt>gdk_window_set_opaque_region (window, NULL)</tt> to tell the
--   compositor that the entire window is (potentially) non-opaque, and
--   draw your content with alpha, or use
--   <tt><i>gtk_widget_set_opacity()</i></tt> to set an overall opacity for
--   your widgets.
--   
--   For child windows this function only works for non-native windows.
--   
--   For setting up per-pixel alpha topelevels, see
--   <a>screenGetRgbaVisual</a>, and for non-toplevels, see
--   <a>windowSetComposited</a>.
--   
--   Support for non-toplevel windows was added in 3.8.
--   
--   <i>Since: 2.12</i>
windowSetOpacity :: (HasCallStack, MonadIO m, IsWindow a) => a -> Double -> m ()

-- | For optimisation purposes, compositing window managers may like to not
--   draw obscured regions of windows, or turn off blending during for
--   these regions. With RGB windows with no transparency, this is just the
--   shape of the window, but with ARGB32 windows, the compositor does not
--   know what regions of the window are transparent or not.
--   
--   This function only works for toplevel windows.
--   
--   GTK+ will update this property automatically if the
--   <i><tt>window</tt></i> background is opaque, as we know where the
--   opaque regions are. If your window background is not opaque, please
--   update this property in your <tt><i>GtkWidget::style-updated</i></tt>
--   handler.
--   
--   <i>Since: 3.10</i>
windowSetOpaqueRegion :: (HasCallStack, MonadIO m, IsWindow a) => a -> Maybe (Region) -> m ()

-- | An override redirect window is not under the control of the window
--   manager. This means it won’t have a titlebar, won’t be minimizable,
--   etc. - it will be entirely under the control of the application. The
--   window manager can’t see the override redirect window at all.
--   
--   Override redirect should only be used for short-lived temporary
--   windows, such as popup menus. <tt><i>GtkMenu</i></tt> uses an override
--   redirect window in its implementation, for example.
windowSetOverrideRedirect :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()

-- | Sets whether input to the window is passed through to the window
--   below.
--   
--   The default value of this is <a>False</a>, which means that pointer
--   events that happen inside the window are send first to the window, but
--   if the event is not selected by the event mask then the event is sent
--   to the parent window, and so on up the hierarchy.
--   
--   If <i><tt>passThrough</tt></i> is <a>True</a> then such pointer events
--   happen as if the window wasn't there at all, and thus will be sent
--   first to any windows below <i><tt>window</tt></i>. This is useful if
--   the window is used in a transparent fashion. In the terminology of the
--   web this would be called "pointer-events: none".
--   
--   Note that a window with <i><tt>passThrough</tt></i> <a>True</a> can
--   still have a subwindow without pass through, so you can get events on
--   a subset of a window. And in that cases you would get the in-between
--   related events such as the pointer enter/leave events on its way to
--   the destination window.
--   
--   <i>Since: 3.18</i>
windowSetPassThrough :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()

-- | When using GTK+, typically you should use
--   <tt><i>gtk_window_set_role()</i></tt> instead of this low-level
--   function.
--   
--   The window manager and session manager use a window’s role to
--   distinguish it from other kinds of window in the same application.
--   When an application is restarted after being saved in a previous
--   session, all windows with the same title and role are treated as
--   interchangeable. So if you have two windows with the same title that
--   should be distinguished for session management purposes, you should
--   set the role on those windows. It doesn’t matter what string you use
--   for the role, as long as you have a different role for each
--   non-interchangeable kind of window.
windowSetRole :: (HasCallStack, MonadIO m, IsWindow a) => a -> Text -> m ()

-- | Newer GTK+ windows using client-side decorations use extra geometry
--   around their frames for effects like shadows and invisible borders.
--   Window managers that want to maximize windows or snap to edges need to
--   know where the extents of the actual frame lie, so that users don’t
--   feel like windows are snapping against random invisible edges.
--   
--   Note that this property is automatically updated by GTK+, so this
--   function should only be used by applications which do not use GTK+ to
--   create toplevel windows.
--   
--   <i>Since: 3.12</i>
windowSetShadowWidth :: (HasCallStack, MonadIO m, IsWindow a) => a -> Int32 -> Int32 -> Int32 -> Int32 -> m ()

-- | Toggles whether a window should appear in a pager (workspace switcher,
--   or other desktop utility program that displays a small thumbnail
--   representation of the windows on the desktop). If a window’s semantic
--   type as specified with <a>windowSetTypeHint</a> already fully
--   describes the window, this function should not be called in addition,
--   instead you should allow the window to be treated according to
--   standard policy for its semantic type.
--   
--   <i>Since: 2.2</i>
windowSetSkipPagerHint :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()

-- | Toggles whether a window should appear in a task list or window list.
--   If a window’s semantic type as specified with <a>windowSetTypeHint</a>
--   already fully describes the window, this function should not be called
--   in addition, instead you should allow the window to be treated
--   according to standard policy for its semantic type.
--   
--   <i>Since: 2.2</i>
windowSetSkipTaskbarHint :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()

-- | Sets the event mask for any floating device (i.e. not attached to any
--   visible pointer) that has the source defined as
--   <i><tt>source</tt></i>. This event mask will be applied both to
--   currently existing, newly added devices after this call, and devices
--   being attached/detached.
--   
--   <i>Since: 3.0</i>
windowSetSourceEvents :: (HasCallStack, MonadIO m, IsWindow a) => a -> InputSource -> [EventMask] -> m ()

-- | When using GTK+, typically you should use
--   <tt><i>gtk_window_set_startup_id()</i></tt> instead of this low-level
--   function.
--   
--   <i>Since: 2.12</i>
windowSetStartupId :: (HasCallStack, MonadIO m, IsWindow a) => a -> Text -> m ()

-- | Used to set the bit gravity of the given window to static, and flag it
--   so all children get static subwindow gravity. This is used if you are
--   implementing scary features that involve deep knowledge of the
--   windowing system. Don’t worry about it.

-- | <i>Deprecated: (Since version 3.16)static gravities haven't worked on
--   anything but X11 for a long time.</i>
windowSetStaticGravities :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m Bool

-- | This function will enable multidevice features in
--   <i><tt>window</tt></i>.
--   
--   Multidevice aware windows will need to handle properly multiple, per
--   device enter/leave events, device grabs and grab ownerships.
--   
--   <i>Since: 3.0</i>
windowSetSupportMultidevice :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()

-- | Sets the title of a toplevel window, to be displayed in the titlebar.
--   If you haven’t explicitly set the icon name for the window (using
--   <a>windowSetIconName</a>), the icon name will be set to
--   <i><tt>title</tt></i> as well. <i><tt>title</tt></i> must be in UTF-8
--   encoding (as with all user-readable strings in GDK/GTK+).
--   <i><tt>title</tt></i> may not be <a>Nothing</a>.
windowSetTitle :: (HasCallStack, MonadIO m, IsWindow a) => a -> Text -> m ()

-- | Indicates to the window manager that <i><tt>window</tt></i> is a
--   transient dialog associated with the application window
--   <i><tt>parent</tt></i>. This allows the window manager to do things
--   like center <i><tt>window</tt></i> on <i><tt>parent</tt></i> and keep
--   <i><tt>window</tt></i> above <i><tt>parent</tt></i>.
--   
--   See <tt><i>gtk_window_set_transient_for()</i></tt> if you’re using
--   <tt><i>GtkWindow</i></tt> or <tt><i>GtkDialog</i></tt>.
windowSetTransientFor :: (HasCallStack, MonadIO m, IsWindow a, IsWindow b) => a -> b -> m ()

-- | The application can use this call to provide a hint to the window
--   manager about the functionality of a window. The window manager can
--   use this information when determining the decoration and behaviour of
--   the window.
--   
--   The hint must be set before the window is mapped.
windowSetTypeHint :: (HasCallStack, MonadIO m, IsWindow a) => a -> WindowTypeHint -> m ()

-- | Toggles whether a window needs the user's urgent attention.
--   
--   <i>Since: 2.8</i>
windowSetUrgencyHint :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()

-- | For most purposes this function is deprecated in favor of
--   <a>objectSetData</a>. However, for historical reasons GTK+ stores the
--   <tt><i>GtkWidget</i></tt> that owns a <a>Window</a> as user data on
--   the <a>Window</a>. So, custom widget implementations should use this
--   function for that. If GTK+ receives an event for a <a>Window</a>, and
--   the user data for the window is non-<a>Nothing</a>, GTK+ will assume
--   the user data is a <tt><i>GtkWidget</i></tt>, and forward the event to
--   that widget.
windowSetUserData :: (HasCallStack, MonadIO m, IsWindow a, IsObject b) => a -> Maybe (b) -> m ()

-- | Makes pixels in <i><tt>window</tt></i> outside
--   <i><tt>shapeRegion</tt></i> be transparent, so that the window may be
--   nonrectangular.
--   
--   If <i><tt>shapeRegion</tt></i> is <a>Nothing</a>, the shape will be
--   unset, so the whole window will be opaque again.
--   <i><tt>offsetX</tt></i> and <i><tt>offsetY</tt></i> are ignored if
--   <i><tt>shapeRegion</tt></i> is <a>Nothing</a>.
--   
--   On the X11 platform, this uses an X server extension which is widely
--   available on most common platforms, but not available on very old X
--   servers, and occasionally the implementation will be buggy. On servers
--   without the shape extension, this function will do nothing.
--   
--   This function works on both toplevel and child windows.
windowShapeCombineRegion :: (HasCallStack, MonadIO m, IsWindow a) => a -> Maybe (Region) -> Int32 -> Int32 -> m ()

-- | Like <a>windowShowUnraised</a>, but also raises the window to the top
--   of the window stack (moves the window to the front of the Z-order).
--   
--   This function maps a window so it’s visible onscreen. Its opposite is
--   <a>windowHide</a>.
--   
--   When implementing a <tt><i>GtkWidget</i></tt>, you should call this
--   function on the widget's <a>Window</a> as part of the “map” method.
windowShow :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Shows a <a>Window</a> onscreen, but does not modify its stacking
--   order. In contrast, <a>windowShow</a> will raise the window to the top
--   of the window stack.
--   
--   On the X11 platform, in Xlib terms, this function calls
--   <tt><i>XMapWindow()</i></tt> (it also updates some internal GDK state,
--   which means that you can’t really use <tt><i>XMapWindow()</i></tt>
--   directly on a GDK window).
windowShowUnraised :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Asks the windowing system to show the window menu. The window menu is
--   the menu shown when right-clicking the titlebar on traditional windows
--   managed by the window manager. This is useful for windows using
--   client-side decorations, activating it with a right-click on the
--   window decorations.
--   
--   <i>Since: 3.14</i>
windowShowWindowMenu :: (HasCallStack, MonadIO m, IsWindow a) => a -> Event -> m Bool

-- | “Pins” a window such that it’s on all workspaces and does not scroll
--   with viewports, for window managers that have scrollable viewports.
--   (When using <tt><i>GtkWindow</i></tt>,
--   <tt><i>gtk_window_stick()</i></tt> may be more useful.)
--   
--   On the X11 platform, this function depends on window manager support,
--   so may have no effect with many window managers. However, GDK will do
--   the best it can to convince the window manager to stick the window.
--   For window managers that don’t support this operation, there’s nothing
--   you can do to force it to happen.
windowStick :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Thaws a window frozen with
--   <a>windowFreezeToplevelUpdatesLibgtkOnly</a>.
--   
--   This function is not part of the GDK public API and is only for use by
--   GTK+.

-- | <i>Deprecated: (Since version 3.16)This symbol was never meant to be
--   used outside of GTK+</i>
windowThawToplevelUpdatesLibgtkOnly :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Thaws a window frozen with <a>windowFreezeUpdates</a>.
windowThawUpdates :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Moves the window out of fullscreen mode. If the window was not
--   fullscreen, does nothing.
--   
--   On X11, asks the window manager to move <i><tt>window</tt></i> out of
--   the fullscreen state, if the window manager supports this operation.
--   Not all window managers support this, and some deliberately ignore it
--   or don’t have a concept of “fullscreen”; so you can’t rely on the
--   unfullscreenification actually happening. But it will happen with most
--   standard window managers, and GDK makes a best effort to get it to
--   happen.
--   
--   <i>Since: 2.2</i>
windowUnfullscreen :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Unmaximizes the window. If the window wasn’t maximized, then this
--   function does nothing.
--   
--   On X11, asks the window manager to unmaximize <i><tt>window</tt></i>,
--   if the window manager supports this operation. Not all window managers
--   support this, and some deliberately ignore it or don’t have a concept
--   of “maximized”; so you can’t rely on the unmaximization actually
--   happening. But it will happen with most standard window managers, and
--   GDK makes a best effort to get it to happen.
--   
--   On Windows, reliably unmaximizes the window.
windowUnmaximize :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Reverse operation for <a>windowStick</a>; see <a>windowStick</a>, and
--   <tt><i>gtk_window_unstick()</i></tt>.
windowUnstick :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Withdraws a window (unmaps it and asks the window manager to forget
--   about it). This function is not really useful as <a>windowHide</a>
--   automatically withdraws toplevel windows before hiding them.
windowWithdraw :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()

-- | Set the value of the “<tt>cursor</tt>” property to <a>Nothing</a>.
--   When <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>clear</a> #cursor
--   </pre>
clearWindowCursor :: (MonadIO m, IsWindow o) => o -> m ()

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>cursor</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructWindowCursor :: (IsWindow o, IsCursor a) => a -> IO (GValueConstruct o)

-- | Get the value of the “<tt>cursor</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> window #cursor
--   </pre>
getWindowCursor :: (MonadIO m, IsWindow o) => o -> m (Maybe Cursor)

-- | Set the value of the “<tt>cursor</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> window [ #cursor <a>:=</a> value ]
--   </pre>
setWindowCursor :: (MonadIO m, IsWindow o, IsCursor a) => o -> a -> m ()

-- | Type for the callback on the (unwrapped) C side.
type C_WindowCreateSurfaceCallback = Ptr () -> Int32 -> Int32 -> Ptr () -> IO (Ptr Surface)

-- | The ::create-surface signal is emitted when an offscreen window needs
--   its surface (re)created, which happens either when the window is first
--   drawn to, or when the window is being resized. The first signal
--   handler that returns a non-<a>Nothing</a> surface will stop any
--   further signal emission, and its surface will be used.
--   
--   Note that it is not possible to access the window's previous surface
--   from within any callback of this signal. Calling
--   <a>offscreenWindowGetSurface</a> will lead to a crash.
--   
--   <i>Since: 3.0</i>
type WindowCreateSurfaceCallback = Int32  /@width@/: the width of the offscreen surface to create  -> Int32  /@height@/: the height of the offscreen surface to create  -> IO Surface  __Returns:__ the newly created 'GI.Cairo.Structs.Surface.Surface' for the offscreen window 

-- | Connect a signal handler for the “<tt>create-surface</tt>” signal, to
--   be run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> window #createSurface callback
--   </pre>
afterWindowCreateSurface :: (IsWindow a, MonadIO m) => a -> WindowCreateSurfaceCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_WindowCreateSurface :: WindowCreateSurfaceCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_WindowCreateSurfaceCallback</a>.
mk_WindowCreateSurfaceCallback :: C_WindowCreateSurfaceCallback -> IO (FunPtr C_WindowCreateSurfaceCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>WindowCreateSurfaceCallback</a></tt>.
noWindowCreateSurfaceCallback :: Maybe WindowCreateSurfaceCallback

-- | Connect a signal handler for the “<tt>create-surface</tt>” signal, to
--   be run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> window #createSurface callback
--   </pre>
onWindowCreateSurface :: (IsWindow a, MonadIO m) => a -> WindowCreateSurfaceCallback -> m SignalHandlerId

-- | Wrap a <a>WindowCreateSurfaceCallback</a> into a
--   <a>C_WindowCreateSurfaceCallback</a>.
wrap_WindowCreateSurfaceCallback :: WindowCreateSurfaceCallback -> C_WindowCreateSurfaceCallback

-- | Type for the callback on the (unwrapped) C side.
type C_WindowFromEmbedderCallback = Ptr () -> CDouble -> CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr () -> IO ()

-- | The ::from-embedder signal is emitted to translate coordinates in the
--   embedder of an offscreen window to the offscreen window.
--   
--   See also <a>Window</a>::<tt><i>to-embedder</i></tt>.
--   
--   <i>Since: 2.18</i>
type WindowFromEmbedderCallback = Double  /@embedderX@/: x coordinate in the embedder window  -> Double  /@embedderY@/: y coordinate in the embedder window  -> IO ((Double, Double))

-- | Connect a signal handler for the “<tt>from-embedder</tt>” signal, to
--   be run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> window #fromEmbedder callback
--   </pre>
afterWindowFromEmbedder :: (IsWindow a, MonadIO m) => a -> WindowFromEmbedderCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_WindowFromEmbedder :: WindowFromEmbedderCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_WindowFromEmbedderCallback</a>.
mk_WindowFromEmbedderCallback :: C_WindowFromEmbedderCallback -> IO (FunPtr C_WindowFromEmbedderCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>WindowFromEmbedderCallback</a></tt>.
noWindowFromEmbedderCallback :: Maybe WindowFromEmbedderCallback

-- | Connect a signal handler for the “<tt>from-embedder</tt>” signal, to
--   be run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> window #fromEmbedder callback
--   </pre>
onWindowFromEmbedder :: (IsWindow a, MonadIO m) => a -> WindowFromEmbedderCallback -> m SignalHandlerId

-- | Wrap a <a>WindowFromEmbedderCallback</a> into a
--   <a>C_WindowFromEmbedderCallback</a>.
wrap_WindowFromEmbedderCallback :: WindowFromEmbedderCallback -> C_WindowFromEmbedderCallback

-- | Type for the callback on the (unwrapped) C side.
type C_WindowMovedToRectCallback = Ptr () -> Ptr () -> Ptr () -> CInt -> CInt -> Ptr () -> IO ()

-- | Emitted when the position of <i><tt>window</tt></i> is finalized after
--   being moved to a destination rectangle.
--   
--   <i><tt>window</tt></i> might be flipped over the destination rectangle
--   in order to keep it on-screen, in which case <i><tt>flippedX</tt></i>
--   and <i><tt>flippedY</tt></i> will be set to <a>True</a> accordingly.
--   
--   <i><tt>flippedRect</tt></i> is the ideal position of
--   <i><tt>window</tt></i> after any possible flipping, but before any
--   possible sliding. <i><tt>finalRect</tt></i> is
--   <i><tt>flippedRect</tt></i>, but possibly translated in the case that
--   flipping is still ineffective in keeping <i><tt>window</tt></i>
--   on-screen.
--   
--   <i>Since: 3.22</i>
type WindowMovedToRectCallback = Ptr ()  /@flippedRect@/: the position of /@window@/ after any possible flipping or 'Nothing' if the backend can\'t obtain it  -> Ptr ()  /@finalRect@/: the final position of /@window@/ or 'Nothing' if the backend can\'t obtain it  -> Bool  /@flippedX@/: 'True' if the anchors were flipped horizontally  -> Bool  /@flippedY@/: 'True' if the anchors were flipped vertically  -> IO ()

-- | Connect a signal handler for the “<tt>moved-to-rect</tt>” signal, to
--   be run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> window #movedToRect callback
--   </pre>
afterWindowMovedToRect :: (IsWindow a, MonadIO m) => a -> WindowMovedToRectCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_WindowMovedToRect :: WindowMovedToRectCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_WindowMovedToRectCallback</a>.
mk_WindowMovedToRectCallback :: C_WindowMovedToRectCallback -> IO (FunPtr C_WindowMovedToRectCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>WindowMovedToRectCallback</a></tt>.
noWindowMovedToRectCallback :: Maybe WindowMovedToRectCallback

-- | Connect a signal handler for the “<tt>moved-to-rect</tt>” signal, to
--   be run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> window #movedToRect callback
--   </pre>
onWindowMovedToRect :: (IsWindow a, MonadIO m) => a -> WindowMovedToRectCallback -> m SignalHandlerId

-- | Wrap a <a>WindowMovedToRectCallback</a> into a
--   <a>C_WindowMovedToRectCallback</a>.
wrap_WindowMovedToRectCallback :: WindowMovedToRectCallback -> C_WindowMovedToRectCallback

-- | Type for the callback on the (unwrapped) C side.
type C_WindowPickEmbeddedChildCallback = Ptr () -> CDouble -> CDouble -> Ptr () -> IO (Ptr Window)

-- | The ::pick-embedded-child signal is emitted to find an embedded child
--   at the given position.
--   
--   <i>Since: 2.18</i>
type WindowPickEmbeddedChildCallback = Double  /@x@/: x coordinate in the window  -> Double  /@y@/: y coordinate in the window  -> IO (Maybe Window)  __Returns:__ the 'GI.Gdk.Objects.Window.Window' of the embedded child at /@x@/, /@y@/, or 'Nothing' 

-- | Connect a signal handler for the “<tt>pick-embedded-child</tt>”
--   signal, to be run after the default handler. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>after</a> window #pickEmbeddedChild callback
--   </pre>
afterWindowPickEmbeddedChild :: (IsWindow a, MonadIO m) => a -> WindowPickEmbeddedChildCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_WindowPickEmbeddedChild :: WindowPickEmbeddedChildCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_WindowPickEmbeddedChildCallback</a>.
mk_WindowPickEmbeddedChildCallback :: C_WindowPickEmbeddedChildCallback -> IO (FunPtr C_WindowPickEmbeddedChildCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>WindowPickEmbeddedChildCallback</a></tt>.
noWindowPickEmbeddedChildCallback :: Maybe WindowPickEmbeddedChildCallback

-- | Connect a signal handler for the “<tt>pick-embedded-child</tt>”
--   signal, to be run before the default handler. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>on</a> window #pickEmbeddedChild callback
--   </pre>
onWindowPickEmbeddedChild :: (IsWindow a, MonadIO m) => a -> WindowPickEmbeddedChildCallback -> m SignalHandlerId

-- | Wrap a <a>WindowPickEmbeddedChildCallback</a> into a
--   <a>C_WindowPickEmbeddedChildCallback</a>.
wrap_WindowPickEmbeddedChildCallback :: WindowPickEmbeddedChildCallback -> C_WindowPickEmbeddedChildCallback

-- | Type for the callback on the (unwrapped) C side.
type C_WindowToEmbedderCallback = Ptr () -> CDouble -> CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr () -> IO ()

-- | The ::to-embedder signal is emitted to translate coordinates in an
--   offscreen window to its embedder.
--   
--   See also <a>Window</a>::<tt><i>from-embedder</i></tt>.
--   
--   <i>Since: 2.18</i>
type WindowToEmbedderCallback = Double  /@offscreenX@/: x coordinate in the offscreen window  -> Double  /@offscreenY@/: y coordinate in the offscreen window  -> IO ((Double, Double))

-- | Connect a signal handler for the “<tt>to-embedder</tt>” signal, to be
--   run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> window #toEmbedder callback
--   </pre>
afterWindowToEmbedder :: (IsWindow a, MonadIO m) => a -> WindowToEmbedderCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_WindowToEmbedder :: WindowToEmbedderCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_WindowToEmbedderCallback</a>.
mk_WindowToEmbedderCallback :: C_WindowToEmbedderCallback -> IO (FunPtr C_WindowToEmbedderCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>WindowToEmbedderCallback</a></tt>.
noWindowToEmbedderCallback :: Maybe WindowToEmbedderCallback

-- | Connect a signal handler for the “<tt>to-embedder</tt>” signal, to be
--   run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> window #toEmbedder callback
--   </pre>
onWindowToEmbedder :: (IsWindow a, MonadIO m) => a -> WindowToEmbedderCallback -> m SignalHandlerId

-- | Wrap a <a>WindowToEmbedderCallback</a> into a
--   <a>C_WindowToEmbedderCallback</a>.
wrap_WindowToEmbedderCallback :: WindowToEmbedderCallback -> C_WindowToEmbedderCallback
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Objects.Window.Window a) => GI.Gdk.Objects.Window.IsWindow a
instance GI.Gdk.Objects.Window.IsWindow GI.Gdk.Objects.Window.Window
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Objects.Window.Window
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Objects.Window.Window


-- | The <a>Seat</a> object represents a collection of input devices that
--   belong to a user.
module GI.Gdk.Objects.Seat

-- | Memory-managed wrapper type.
newtype Seat
Seat :: (ManagedPtr Seat) -> Seat

-- | Type class for types which can be safely cast to <a>Seat</a>, for
--   instance with <a>toSeat</a>.
class GObject o => IsSeat o

-- | Cast to <a>Seat</a>, for types for which this is known to be safe. For
--   general casts, use <a>castTo</a>.
toSeat :: (MonadIO m, IsSeat o) => o -> m Seat

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a> <a>Seat</a>.
noSeat :: Maybe Seat

-- | Returns the capabilities this <a>Seat</a> currently has.
--   
--   <i>Since: 3.20</i>
seatGetCapabilities :: (HasCallStack, MonadIO m, IsSeat a) => a -> m [SeatCapabilities]

-- | Returns the <a>Display</a> this seat belongs to.
seatGetDisplay :: (HasCallStack, MonadIO m, IsSeat a) => a -> m Display

-- | Returns the master device that routes keyboard events.
--   
--   <i>Since: 3.20</i>
seatGetKeyboard :: (HasCallStack, MonadIO m, IsSeat a) => a -> m (Maybe Device)

-- | Returns the master device that routes pointer events.
--   
--   <i>Since: 3.20</i>
seatGetPointer :: (HasCallStack, MonadIO m, IsSeat a) => a -> m (Maybe Device)

-- | Returns the slave devices that match the given capabilities.
--   
--   <i>Since: 3.20</i>
seatGetSlaves :: (HasCallStack, MonadIO m, IsSeat a) => a -> [SeatCapabilities] -> m [Device]

-- | Grabs the seat so that all events corresponding to the given
--   <i><tt>capabilities</tt></i> are passed to this application until the
--   seat is ungrabbed with <a>seatUngrab</a>, or the window becomes
--   hidden. This overrides any previous grab on the seat by this client.
--   
--   As a rule of thumb, if a grab is desired over
--   <a>SeatCapabilitiesPointer</a>, all other "pointing" capabilities (eg.
--   <a>SeatCapabilitiesTouch</a>) should be grabbed too, so the user is
--   able to interact with all of those while the grab holds, you should
--   thus use <a>SeatCapabilitiesAllPointing</a> most commonly.
--   
--   Grabs are used for operations which need complete control over the
--   events corresponding to the given capabilities. For example in GTK+
--   this is used for Drag and Drop operations, popup menus and such.
--   
--   Note that if the event mask of a <a>Window</a> has selected both
--   button press and button release events, or touch begin and touch end,
--   then a press event will cause an automatic grab until the button is
--   released, equivalent to a grab on the window with
--   <i><tt>ownerEvents</tt></i> set to <a>True</a>. This is done because
--   most applications expect to receive paired press and release events.
--   
--   If you set up anything at the time you take the grab that needs to be
--   cleaned up when the grab ends, you should handle the
--   <a>EventGrabBroken</a> events that are emitted when the grab ends
--   unvoluntarily.
--   
--   <i>Since: 3.20</i>
seatGrab :: (HasCallStack, MonadIO m, IsSeat a, IsWindow b, IsCursor c) => a -> b -> [SeatCapabilities] -> Bool -> Maybe (c) -> Maybe (Event) -> Maybe (SeatGrabPrepareFunc) -> m GrabStatus

-- | Releases a grab added through <a>seatGrab</a>.
--   
--   <i>Since: 3.20</i>
seatUngrab :: (HasCallStack, MonadIO m, IsSeat a) => a -> m ()

-- | Construct a <a>GValueConstruct</a> with valid value for the
--   “<tt>display</tt>” property. This is rarely needed directly, but it is
--   used by <a>new</a>.
constructSeatDisplay :: (IsSeat o, IsDisplay a) => a -> IO (GValueConstruct o)

-- | Get the value of the “<tt>display</tt>” property. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> seat #display
--   </pre>
getSeatDisplay :: (MonadIO m, IsSeat o) => o -> m Display

-- | Type for the callback on the (unwrapped) C side.
type C_SeatDeviceAddedCallback = Ptr () -> Ptr Device -> Ptr () -> IO ()

-- | The ::device-added signal is emitted when a new input device is
--   related to this seat.
--   
--   <i>Since: 3.20</i>
type SeatDeviceAddedCallback = Device  /@device@/: the newly added 'GI.Gdk.Objects.Device.Device'.  -> IO ()

-- | Connect a signal handler for the “<tt>device-added</tt>” signal, to be
--   run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> seat #deviceAdded callback
--   </pre>
afterSeatDeviceAdded :: (IsSeat a, MonadIO m) => a -> SeatDeviceAddedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_SeatDeviceAdded :: SeatDeviceAddedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_SeatDeviceAddedCallback</a>.
mk_SeatDeviceAddedCallback :: C_SeatDeviceAddedCallback -> IO (FunPtr C_SeatDeviceAddedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>SeatDeviceAddedCallback</a></tt>.
noSeatDeviceAddedCallback :: Maybe SeatDeviceAddedCallback

-- | Connect a signal handler for the “<tt>device-added</tt>” signal, to be
--   run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> seat #deviceAdded callback
--   </pre>
onSeatDeviceAdded :: (IsSeat a, MonadIO m) => a -> SeatDeviceAddedCallback -> m SignalHandlerId

-- | Wrap a <a>SeatDeviceAddedCallback</a> into a
--   <a>C_SeatDeviceAddedCallback</a>.
wrap_SeatDeviceAddedCallback :: SeatDeviceAddedCallback -> C_SeatDeviceAddedCallback

-- | Type for the callback on the (unwrapped) C side.
type C_SeatDeviceRemovedCallback = Ptr () -> Ptr Device -> Ptr () -> IO ()

-- | The ::device-removed signal is emitted when an input device is removed
--   (e.g. unplugged).
--   
--   <i>Since: 3.20</i>
type SeatDeviceRemovedCallback = Device  /@device@/: the just removed 'GI.Gdk.Objects.Device.Device'.  -> IO ()

-- | Connect a signal handler for the “<tt>device-removed</tt>” signal, to
--   be run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> seat #deviceRemoved callback
--   </pre>
afterSeatDeviceRemoved :: (IsSeat a, MonadIO m) => a -> SeatDeviceRemovedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_SeatDeviceRemoved :: SeatDeviceRemovedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_SeatDeviceRemovedCallback</a>.
mk_SeatDeviceRemovedCallback :: C_SeatDeviceRemovedCallback -> IO (FunPtr C_SeatDeviceRemovedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>SeatDeviceRemovedCallback</a></tt>.
noSeatDeviceRemovedCallback :: Maybe SeatDeviceRemovedCallback

-- | Connect a signal handler for the “<tt>device-removed</tt>” signal, to
--   be run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> seat #deviceRemoved callback
--   </pre>
onSeatDeviceRemoved :: (IsSeat a, MonadIO m) => a -> SeatDeviceRemovedCallback -> m SignalHandlerId

-- | Wrap a <a>SeatDeviceRemovedCallback</a> into a
--   <a>C_SeatDeviceRemovedCallback</a>.
wrap_SeatDeviceRemovedCallback :: SeatDeviceRemovedCallback -> C_SeatDeviceRemovedCallback

-- | Type for the callback on the (unwrapped) C side.
type C_SeatToolAddedCallback = Ptr () -> Ptr DeviceTool -> Ptr () -> IO ()

-- | The ::tool-added signal is emitted whenever a new tool is made known
--   to the seat. The tool may later be assigned to a device (i.e. on
--   proximity with a tablet). The device will emit the
--   <a>Device</a>::<tt><i>tool-changed</i></tt> signal accordingly.
--   
--   A same tool may be used by several devices.
--   
--   <i>Since: 3.22</i>
type SeatToolAddedCallback = DeviceTool  /@tool@/: the new 'GI.Gdk.Objects.DeviceTool.DeviceTool' known to the seat  -> IO ()

-- | Connect a signal handler for the “<tt>tool-added</tt>” signal, to be
--   run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> seat #toolAdded callback
--   </pre>
afterSeatToolAdded :: (IsSeat a, MonadIO m) => a -> SeatToolAddedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_SeatToolAdded :: SeatToolAddedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_SeatToolAddedCallback</a>.
mk_SeatToolAddedCallback :: C_SeatToolAddedCallback -> IO (FunPtr C_SeatToolAddedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>SeatToolAddedCallback</a></tt>.
noSeatToolAddedCallback :: Maybe SeatToolAddedCallback

-- | Connect a signal handler for the “<tt>tool-added</tt>” signal, to be
--   run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> seat #toolAdded callback
--   </pre>
onSeatToolAdded :: (IsSeat a, MonadIO m) => a -> SeatToolAddedCallback -> m SignalHandlerId

-- | Wrap a <a>SeatToolAddedCallback</a> into a
--   <a>C_SeatToolAddedCallback</a>.
wrap_SeatToolAddedCallback :: SeatToolAddedCallback -> C_SeatToolAddedCallback

-- | Type for the callback on the (unwrapped) C side.
type C_SeatToolRemovedCallback = Ptr () -> Ptr DeviceTool -> Ptr () -> IO ()

-- | This signal is emitted whenever a tool is no longer known to this
--   <i><tt>seat</tt></i>.
--   
--   <i>Since: 3.22</i>
type SeatToolRemovedCallback = DeviceTool  /@tool@/: the just removed 'GI.Gdk.Objects.DeviceTool.DeviceTool'  -> IO ()

-- | Connect a signal handler for the “<tt>tool-removed</tt>” signal, to be
--   run after the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>after</a> seat #toolRemoved callback
--   </pre>
afterSeatToolRemoved :: (IsSeat a, MonadIO m) => a -> SeatToolRemovedCallback -> m SignalHandlerId

-- | Wrap the callback into a <a>Closure</a>.
genClosure_SeatToolRemoved :: SeatToolRemovedCallback -> IO Closure

-- | Generate a function pointer callable from C code, from a
--   <a>C_SeatToolRemovedCallback</a>.
mk_SeatToolRemovedCallback :: C_SeatToolRemovedCallback -> IO (FunPtr C_SeatToolRemovedCallback)

-- | A convenience synonym for <tt><a>Nothing</a> :: <a>Maybe</a>
--   <a>SeatToolRemovedCallback</a></tt>.
noSeatToolRemovedCallback :: Maybe SeatToolRemovedCallback

-- | Connect a signal handler for the “<tt>tool-removed</tt>” signal, to be
--   run before the default handler. When <a>overloading</a> is enabled,
--   this is equivalent to
--   
--   <pre>
--   <a>on</a> seat #toolRemoved callback
--   </pre>
onSeatToolRemoved :: (IsSeat a, MonadIO m) => a -> SeatToolRemovedCallback -> m SignalHandlerId

-- | Wrap a <a>SeatToolRemovedCallback</a> into a
--   <a>C_SeatToolRemovedCallback</a>.
wrap_SeatToolRemovedCallback :: SeatToolRemovedCallback -> C_SeatToolRemovedCallback
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Gdk.Objects.Seat.Seat a) => GI.Gdk.Objects.Seat.IsSeat a
instance GI.Gdk.Objects.Seat.IsSeat GI.Gdk.Objects.Seat.Seat
instance Data.GI.Base.BasicTypes.GObject GI.Gdk.Objects.Seat.Seat
instance GI.GObject.Objects.Object.IsObject GI.Gdk.Objects.Seat.Seat


module GI.Gdk.Objects


-- | A <a>Event</a> contains a union of all of the event types, and allows
--   access to the data fields in a number of ways.
--   
--   The event type is always the first field in all of the event types,
--   and can always be accessed with the following code, no matter what
--   type of event it is:
--   
--   <h3><i>C code</i></h3>
--   
--   <pre>
--   GdkEvent *event;
--   GdkEventType type;
--   
--   type = event-&gt;type;
--   </pre>
--   
--   To access other fields of the event, the pointer to the event can be
--   cast to the appropriate event type, or the union member name can be
--   used. For example if the event type is <a>EventTypeButtonPress</a>
--   then the x coordinate of the button press can be accessed with:
--   
--   <h3><i>C code</i></h3>
--   
--   <pre>
--   GdkEvent *event;
--   gdouble x;
--   
--   x = ((GdkEventButton*)event)-&gt;x;
--   </pre>
--   
--   or:
--   
--   <h3><i>C code</i></h3>
--   
--   <pre>
--   GdkEvent *event;
--   gdouble x;
--   
--   x = event-&gt;button.x;
--   </pre>
module GI.Gdk.Unions.Event

-- | Memory-managed wrapper type.
newtype Event
Event :: (ManagedPtr Event) -> Event

-- | Construct a <a>Event</a> struct initialized to zero.
newZeroEvent :: MonadIO m => m Event

-- | A convenience alias for <a>Nothing</a> :: <a>Maybe</a> <a>Event</a>.
noEvent :: Maybe Event

-- | Copies a <a>Event</a>, copying or incrementing the reference count of
--   the resources associated with it (e.g. <a>Window</a>’s and strings).
eventCopy :: (HasCallStack, MonadIO m) => Event -> m Event

-- | Frees a <a>Event</a>, freeing or decrementing any resources associated
--   with it. Note that this function should only be called with events
--   returned from functions such as <a>eventPeek</a>, <a>eventGet</a>,
--   <a>eventCopy</a> and <a>eventNew</a>.
eventFree :: (HasCallStack, MonadIO m) => Event -> m ()

-- | Checks all open displays for a <a>Event</a> to process,to be processed
--   on, fetching events from the windowing system if necessary. See
--   <a>displayGetEvent</a>.
eventGet :: (HasCallStack, MonadIO m) => m (Maybe Event)

-- | Extract the axis value for a particular axis use from an event
--   structure.
eventGetAxis :: (HasCallStack, MonadIO m) => Event -> AxisUse -> m ((Bool, Double))

-- | Extract the button number from an event.
--   
--   <i>Since: 3.2</i>
eventGetButton :: (HasCallStack, MonadIO m) => Event -> m ((Bool, Word32))

-- | Extracts the click count from an event.
--   
--   <i>Since: 3.2</i>
eventGetClickCount :: (HasCallStack, MonadIO m) => Event -> m ((Bool, Word32))

-- | Extract the event window relative x/y coordinates from an event.
eventGetCoords :: (HasCallStack, MonadIO m) => Event -> m ((Bool, Double, Double))

-- | If the event contains a “device” field, this function will return it,
--   else it will return <a>Nothing</a>.
--   
--   <i>Since: 3.0</i>
eventGetDevice :: (HasCallStack, MonadIO m) => Event -> m (Maybe Device)

-- | If the event was generated by a device that supports different tools
--   (eg. a tablet), this function will return a <a>DeviceTool</a>
--   representing the tool that caused the event. Otherwise, <a>Nothing</a>
--   will be returned.
--   
--   Note: the <a>DeviceTool</a>&lt;!-- --&gt;s will be constant during the
--   application lifetime, if settings must be stored persistently across
--   runs, see <a>deviceToolGetSerial</a>
--   
--   <i>Since: 3.22</i>
eventGetDeviceTool :: (HasCallStack, MonadIO m) => Event -> m DeviceTool

-- | If <i><tt>event</tt></i> if of type <a>EventTypeTouchBegin</a>,
--   <a>EventTypeTouchUpdate</a>, <a>EventTypeTouchEnd</a> or
--   <a>EventTypeTouchCancel</a>, returns the <a>EventSequence</a> to which
--   the event belongs. Otherwise, return <a>Nothing</a>.
--   
--   <i>Since: 3.4</i>
eventGetEventSequence :: (HasCallStack, MonadIO m) => Event -> m EventSequence

-- | Retrieves the type of the event.
--   
--   <i>Since: 3.10</i>
eventGetEventType :: (HasCallStack, MonadIO m) => Event -> m EventType

-- | Extracts the hardware keycode from an event.
--   
--   Also see <a>eventGetScancode</a>.
--   
--   <i>Since: 3.2</i>
eventGetKeycode :: (HasCallStack, MonadIO m) => Event -> m ((Bool, Word16))

-- | Extracts the keyval from an event.
--   
--   <i>Since: 3.2</i>
eventGetKeyval :: (HasCallStack, MonadIO m) => Event -> m ((Bool, Word32))

-- | <tt><i>event</i></tt>: a <a>Event</a> Returns whether this event is an
--   'emulated' pointer event (typically from a touch event), as opposed to
--   a real one.
--   
--   <i>Since: 3.22</i>
eventGetPointerEmulated :: (HasCallStack, MonadIO m) => Event -> m Bool

-- | Extract the root window relative x/y coordinates from an event.
eventGetRootCoords :: (HasCallStack, MonadIO m) => Event -> m ((Bool, Double, Double))

-- | Gets the keyboard low-level scancode of a key event.
--   
--   This is usually hardware_keycode. On Windows this is the high word of
--   WM_KEY{DOWN,UP} lParam which contains the scancode and some extended
--   flags.
--   
--   <i>Since: 3.22</i>
eventGetScancode :: (HasCallStack, MonadIO m) => Event -> m Int32

-- | Returns the screen for the event. The screen is typically the screen
--   for <tt>event-&gt;any.window</tt>, but for events such as mouse
--   events, it is the screen where the pointer was when the event occurs -
--   that is, the screen which has the root window to which
--   <tt>event-&gt;motion.x_root</tt> and <tt>event-&gt;motion.y_root</tt>
--   are relative.
--   
--   <i>Since: 2.2</i>
eventGetScreen :: (HasCallStack, MonadIO m) => Event -> m Screen

-- | Retrieves the scroll deltas from a <a>Event</a>
--   
--   <i>Since: 3.4</i>
eventGetScrollDeltas :: (HasCallStack, MonadIO m) => Event -> m ((Bool, Double, Double))

-- | Extracts the scroll direction from an event.
--   
--   <i>Since: 3.2</i>
eventGetScrollDirection :: (HasCallStack, MonadIO m) => Event -> m ((Bool, ScrollDirection))

-- | Returns the <a>Seat</a> this event was generated for.
--   
--   <i>Since: 3.20</i>
eventGetSeat :: (HasCallStack, MonadIO m) => Event -> m Seat

-- | This function returns the hardware (slave) <a>Device</a> that has
--   triggered the event, falling back to the virtual (master) device (as
--   in <a>eventGetDevice</a>) if the event wasn’t caused by interaction
--   with a hardware device. This may happen for example in synthesized
--   crossing events after a <a>Window</a> updates its geometry or a grab
--   is acquired/released.
--   
--   If the event does not contain a device field, this function will
--   return <a>Nothing</a>.
--   
--   <i>Since: 3.0</i>
eventGetSourceDevice :: (HasCallStack, MonadIO m) => Event -> m (Maybe Device)

-- | If the event contains a “state” field, puts that field in
--   <i><tt>state</tt></i>. Otherwise stores an empty state (0). Returns
--   <a>True</a> if there was a state field in the event.
--   <i><tt>event</tt></i> may be <a>Nothing</a>, in which case it’s
--   treated as if the event had no state field.
eventGetState :: (HasCallStack, MonadIO m) => Event -> m ((Bool, [ModifierType]))

-- | Returns the time stamp from <i><tt>event</tt></i>, if there is one;
--   otherwise returns <a>CURRENT_TIME</a>. If <i><tt>event</tt></i> is
--   <a>Nothing</a>, returns <a>CURRENT_TIME</a>.
eventGetTime :: (HasCallStack, MonadIO m) => Event -> m Word32

-- | Extracts the <a>Window</a> associated with an event.
--   
--   <i>Since: 3.10</i>
eventGetWindow :: (HasCallStack, MonadIO m) => Event -> m Window

-- | Sets the function to call to handle all events from GDK.
--   
--   Note that GTK+ uses this to install its own event handler, so it is
--   usually not useful for GTK+ applications. (Although an application can
--   call this function then call <tt><i>gtk_main_do_event()</i></tt> to
--   pass events to GTK+.)
eventHandlerSet :: (HasCallStack, MonadIO m) => EventFunc -> m ()

-- | Check whether a scroll event is a stop scroll event. Scroll sequences
--   with smooth scroll information may provide a stop scroll event once
--   the interaction with the device finishes, e.g. by lifting a finger.
--   This stop scroll event is the signal that a widget may trigger kinetic
--   scrolling based on the current velocity.
--   
--   Stop scroll events always have a a delta of 0/0.
--   
--   <i>Since: 3.20</i>
eventIsScrollStopEvent :: (HasCallStack, MonadIO m) => Event -> m Bool

-- | Creates a new event of the given type. All fields are set to 0.
--   
--   <i>Since: 2.2</i>
eventNew :: (HasCallStack, MonadIO m) => EventType -> m Event

-- | If there is an event waiting in the event queue of some open display,
--   returns a copy of it. See <a>displayPeekEvent</a>.
eventPeek :: (HasCallStack, MonadIO m) => m (Maybe Event)

-- | Appends a copy of the given event onto the front of the event queue
--   for event-&gt;any.window’s display, or the default event queue if
--   event-&gt;any.window is <a>Nothing</a>. See <a>displayPutEvent</a>.
eventPut :: (HasCallStack, MonadIO m) => Event -> m ()

-- | Request more motion notifies if <i><tt>event</tt></i> is a motion
--   notify hint event.
--   
--   This function should be used instead of <a>windowGetPointer</a> to
--   request further motion notifies, because it also works for extension
--   events where motion notifies are provided for devices other than the
--   core pointer. Coordinate extraction, processing and requesting more
--   motion events from a <a>EventTypeMotionNotify</a> event usually works
--   like this:
--   
--   <h3><i>C code</i></h3>
--   
--   <pre>
--   {
--     // motion_event handler
--     x = motion_event-&gt;x;
--     y = motion_event-&gt;y;
--     // handle (x,y) motion
--     gdk_event_request_motions (motion_event); // handles is_hint events
--   }
--   </pre>
--   
--   <i>Since: 2.12</i>
eventRequestMotions :: (HasCallStack, MonadIO m) => EventMotion -> m ()

-- | Sets the device for <i><tt>event</tt></i> to <i><tt>device</tt></i>.
--   The event must have been allocated by GTK+, for instance, by
--   <a>eventCopy</a>.
--   
--   <i>Since: 3.0</i>
eventSetDevice :: (HasCallStack, MonadIO m, IsDevice a) => Event -> a -> m ()

-- | Sets the device tool for this event, should be rarely used.
--   
--   <i>Since: 3.22</i>
eventSetDeviceTool :: (HasCallStack, MonadIO m, IsDeviceTool a) => Event -> Maybe (a) -> m ()

-- | Sets the screen for <i><tt>event</tt></i> to <i><tt>screen</tt></i>.
--   The event must have been allocated by GTK+, for instance, by
--   <a>eventCopy</a>.
--   
--   <i>Since: 2.2</i>
eventSetScreen :: (HasCallStack, MonadIO m, IsScreen a) => Event -> a -> m ()

-- | Sets the slave device for <i><tt>event</tt></i> to
--   <i><tt>device</tt></i>.
--   
--   The event must have been allocated by GTK+, for instance by
--   <a>eventCopy</a>.
--   
--   <i>Since: 3.0</i>
eventSetSourceDevice :: (HasCallStack, MonadIO m, IsDevice a) => Event -> a -> m ()

-- | This function returns whether a <a>EventButton</a> should trigger a
--   context menu, according to platform conventions. The right mouse
--   button always triggers context menus. Additionally, if
--   <a>keymapGetModifierMask</a> returns a non-0 mask for
--   <a>ModifierIntentContextMenu</a>, then the left mouse button will also
--   trigger a context menu if this modifier is pressed.
--   
--   This function should always be used instead of simply checking for
--   event-&gt;button == <a>BUTTON_SECONDARY</a>.
--   
--   <i>Since: 3.4</i>
eventTriggersContextMenu :: (HasCallStack, MonadIO m) => Event -> m Bool

-- | Get the value of the “<tt>any</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #any
--   </pre>
getEventAny :: MonadIO m => Event -> m EventAny

-- | Get the value of the “<tt>button</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #button
--   </pre>
getEventButton :: MonadIO m => Event -> m EventButton

-- | Get the value of the “<tt>configure</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #configure
--   </pre>
getEventConfigure :: MonadIO m => Event -> m EventConfigure

-- | Get the value of the “<tt>crossing</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #crossing
--   </pre>
getEventCrossing :: MonadIO m => Event -> m EventCrossing

-- | Get the value of the “<tt>dnd</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #dnd
--   </pre>
getEventDnd :: MonadIO m => Event -> m EventDND

-- | Get the value of the “<tt>expose</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #expose
--   </pre>
getEventExpose :: MonadIO m => Event -> m EventExpose

-- | Get the value of the “<tt>focus_change</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #focusChange
--   </pre>
getEventFocusChange :: MonadIO m => Event -> m EventFocus

-- | Get the value of the “<tt>grab_broken</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #grabBroken
--   </pre>
getEventGrabBroken :: MonadIO m => Event -> m EventGrabBroken

-- | Get the value of the “<tt>key</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #key
--   </pre>
getEventKey :: MonadIO m => Event -> m EventKey

-- | Get the value of the “<tt>motion</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #motion
--   </pre>
getEventMotion :: MonadIO m => Event -> m EventMotion

-- | Get the value of the “<tt>owner_change</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #ownerChange
--   </pre>
getEventOwnerChange :: MonadIO m => Event -> m EventOwnerChange

-- | Get the value of the “<tt>pad_axis</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #padAxis
--   </pre>
getEventPadAxis :: MonadIO m => Event -> m EventPadAxis

-- | Get the value of the “<tt>pad_button</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #padButton
--   </pre>
getEventPadButton :: MonadIO m => Event -> m EventPadButton

-- | Get the value of the “<tt>pad_group_mode</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #padGroupMode
--   </pre>
getEventPadGroupMode :: MonadIO m => Event -> m EventPadGroupMode

-- | Get the value of the “<tt>property</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #property
--   </pre>
getEventProperty :: MonadIO m => Event -> m EventProperty

-- | Get the value of the “<tt>proximity</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #proximity
--   </pre>
getEventProximity :: MonadIO m => Event -> m EventProximity

-- | Get the value of the “<tt>scroll</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #scroll
--   </pre>
getEventScroll :: MonadIO m => Event -> m EventScroll

-- | Get the value of the “<tt>selection</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #selection
--   </pre>
getEventSelection :: MonadIO m => Event -> m EventSelection

-- | Get the value of the “<tt>setting</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #setting
--   </pre>
getEventSetting :: MonadIO m => Event -> m EventSetting

-- | Get the value of the “<tt>touch</tt>” field. When <a>overloading</a>
--   is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #touch
--   </pre>
getEventTouch :: MonadIO m => Event -> m EventTouch

-- | Get the value of the “<tt>touchpad_pinch</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #touchpadPinch
--   </pre>
getEventTouchpadPinch :: MonadIO m => Event -> m EventTouchpadPinch

-- | Get the value of the “<tt>touchpad_swipe</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #touchpadSwipe
--   </pre>
getEventTouchpadSwipe :: MonadIO m => Event -> m EventTouchpadSwipe

-- | Get the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #type
--   </pre>
getEventType :: MonadIO m => Event -> m EventType

-- | Set the value of the “<tt>type</tt>” field. When <a>overloading</a> is
--   enabled, this is equivalent to
--   
--   <pre>
--   <a>set</a> event [ #type <a>:=</a> value ]
--   </pre>
setEventType :: MonadIO m => Event -> EventType -> m ()

-- | Get the value of the “<tt>visibility</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #visibility
--   </pre>
getEventVisibility :: MonadIO m => Event -> m EventVisibility

-- | Get the value of the “<tt>window_state</tt>” field. When
--   <a>overloading</a> is enabled, this is equivalent to
--   
--   <pre>
--   <a>get</a> event #windowState
--   </pre>
getEventWindowState :: MonadIO m => Event -> m EventWindowState
instance Data.GI.Base.BasicTypes.BoxedObject GI.Gdk.Unions.Event.Event
instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.Gdk.Unions.Event.Event tag


module GI.Gdk.Unions


module GI.Gdk
