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

-- | GdkX11 bindings
--   
--   Bindings for GdkX11, autogenerated by haskell-gi.
@package gi-gdkx11
@version 3.0.15

-- | Build time configuration used during code generation.
module GI.GdkX11.Config

-- | Overrides used when generating these bindings.
overrides :: Text

-- | No description available in the introspection data.
module GI.GdkX11.Objects.X11AppLaunchContext

-- | Memory-managed wrapper type.
newtype X11AppLaunchContext
X11AppLaunchContext :: ManagedPtr X11AppLaunchContext -> X11AppLaunchContext

-- | Type class for types which can be safely cast to
--   X11AppLaunchContext, for instance with
--   toX11AppLaunchContext.
class (GObject o, IsDescendantOf X11AppLaunchContext o) => IsX11AppLaunchContext o

-- | Cast to X11AppLaunchContext, for types for which this is known
--   to be safe. For general casts, use castTo.
toX11AppLaunchContext :: (MonadIO m, IsX11AppLaunchContext o) => o -> m X11AppLaunchContext
instance GHC.Classes.Eq GI.GdkX11.Objects.X11AppLaunchContext.X11AppLaunchContext
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11AppLaunchContext.X11AppLaunchContext o) => GI.GdkX11.Objects.X11AppLaunchContext.IsX11AppLaunchContext o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11AppLaunchContext.X11AppLaunchContext
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11AppLaunchContext.X11AppLaunchContext
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11AppLaunchContext.X11AppLaunchContext
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11AppLaunchContext.X11AppLaunchContext
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11AppLaunchContext.X11AppLaunchContext)

-- | No description available in the introspection data.
module GI.GdkX11.Objects.X11Cursor

-- | Memory-managed wrapper type.
newtype X11Cursor
X11Cursor :: ManagedPtr X11Cursor -> X11Cursor

-- | Type class for types which can be safely cast to X11Cursor, for
--   instance with toX11Cursor.
class (GObject o, IsDescendantOf X11Cursor o) => IsX11Cursor o

-- | Cast to X11Cursor, for types for which this is known to be
--   safe. For general casts, use castTo.
toX11Cursor :: (MonadIO m, IsX11Cursor o) => o -> m X11Cursor

-- | Returns the X cursor belonging to a Cursor.
x11CursorGetXcursor :: (HasCallStack, MonadIO m, IsX11Cursor a) => a -> m CULong

-- | Returns the display of a Cursor.
x11CursorGetXdisplay :: (HasCallStack, MonadIO m, IsX11Cursor a) => a -> m Display
instance GHC.Classes.Eq GI.GdkX11.Objects.X11Cursor.X11Cursor
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11Cursor.X11Cursor o) => GI.GdkX11.Objects.X11Cursor.IsX11Cursor o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11Cursor.X11Cursor
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11Cursor.X11Cursor
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11Cursor.X11Cursor
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11Cursor.X11Cursor
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11Cursor.X11Cursor)

-- | No description available in the introspection data.
module GI.GdkX11.Objects.X11DeviceCore

-- | Memory-managed wrapper type.
newtype X11DeviceCore
X11DeviceCore :: ManagedPtr X11DeviceCore -> X11DeviceCore

-- | Type class for types which can be safely cast to X11DeviceCore,
--   for instance with toX11DeviceCore.
class (GObject o, IsDescendantOf X11DeviceCore o) => IsX11DeviceCore o

-- | Cast to X11DeviceCore, for types for which this is known to be
--   safe. For general casts, use castTo.
toX11DeviceCore :: (MonadIO m, IsX11DeviceCore o) => o -> m X11DeviceCore
instance GHC.Classes.Eq GI.GdkX11.Objects.X11DeviceCore.X11DeviceCore
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11DeviceCore.X11DeviceCore o) => GI.GdkX11.Objects.X11DeviceCore.IsX11DeviceCore o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11DeviceCore.X11DeviceCore
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11DeviceCore.X11DeviceCore
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11DeviceCore.X11DeviceCore
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11DeviceCore.X11DeviceCore
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11DeviceCore.X11DeviceCore)

-- | No description available in the introspection data.
module GI.GdkX11.Objects.X11DeviceManagerCore

-- | Memory-managed wrapper type.
newtype X11DeviceManagerCore
X11DeviceManagerCore :: ManagedPtr X11DeviceManagerCore -> X11DeviceManagerCore

-- | Type class for types which can be safely cast to
--   X11DeviceManagerCore, for instance with
--   toX11DeviceManagerCore.
class (GObject o, IsDescendantOf X11DeviceManagerCore o) => IsX11DeviceManagerCore o

-- | Cast to X11DeviceManagerCore, for types for which this is known
--   to be safe. For general casts, use castTo.
toX11DeviceManagerCore :: (MonadIO m, IsX11DeviceManagerCore o) => o -> m X11DeviceManagerCore
instance GHC.Classes.Eq GI.GdkX11.Objects.X11DeviceManagerCore.X11DeviceManagerCore
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11DeviceManagerCore.X11DeviceManagerCore o) => GI.GdkX11.Objects.X11DeviceManagerCore.IsX11DeviceManagerCore o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11DeviceManagerCore.X11DeviceManagerCore
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11DeviceManagerCore.X11DeviceManagerCore
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11DeviceManagerCore.X11DeviceManagerCore
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11DeviceManagerCore.X11DeviceManagerCore
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11DeviceManagerCore.X11DeviceManagerCore)

-- | No description available in the introspection data.
module GI.GdkX11.Objects.X11DeviceManagerXI2

-- | Memory-managed wrapper type.
newtype X11DeviceManagerXI2
X11DeviceManagerXI2 :: ManagedPtr X11DeviceManagerXI2 -> X11DeviceManagerXI2

-- | Type class for types which can be safely cast to
--   X11DeviceManagerXI2, for instance with
--   toX11DeviceManagerXI2.
class (GObject o, IsDescendantOf X11DeviceManagerXI2 o) => IsX11DeviceManagerXI2 o

-- | Cast to X11DeviceManagerXI2, for types for which this is known
--   to be safe. For general casts, use castTo.
toX11DeviceManagerXI2 :: (MonadIO m, IsX11DeviceManagerXI2 o) => o -> m X11DeviceManagerXI2

-- | Construct a GValueConstruct with valid value for the
--   “major” property. This is rarely needed directly, but it is
--   used by new.
constructX11DeviceManagerXI2Major :: (IsX11DeviceManagerXI2 o, MonadIO m) => Int32 -> m (GValueConstruct o)

-- | Get the value of the “major” property. When
--   overloading is enabled, this is equivalent to
--   
--   
--   get x11DeviceManagerXI2 #major
--   
getX11DeviceManagerXI2Major :: (MonadIO m, IsX11DeviceManagerXI2 o) => o -> m Int32

-- | Construct a GValueConstruct with valid value for the
--   “minor” property. This is rarely needed directly, but it is
--   used by new.
constructX11DeviceManagerXI2Minor :: (IsX11DeviceManagerXI2 o, MonadIO m) => Int32 -> m (GValueConstruct o)

-- | Get the value of the “minor” property. When
--   overloading is enabled, this is equivalent to
--   
--   
--   get x11DeviceManagerXI2 #minor
--   
getX11DeviceManagerXI2Minor :: (MonadIO m, IsX11DeviceManagerXI2 o) => o -> m Int32

-- | Construct a GValueConstruct with valid value for the
--   “opcode” property. This is rarely needed directly, but it is
--   used by new.
constructX11DeviceManagerXI2Opcode :: (IsX11DeviceManagerXI2 o, MonadIO m) => Int32 -> m (GValueConstruct o)

-- | Get the value of the “opcode” property. When
--   overloading is enabled, this is equivalent to
--   
--   
--   get x11DeviceManagerXI2 #opcode
--   
getX11DeviceManagerXI2Opcode :: (MonadIO m, IsX11DeviceManagerXI2 o) => o -> m Int32
instance GHC.Classes.Eq GI.GdkX11.Objects.X11DeviceManagerXI2.X11DeviceManagerXI2
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11DeviceManagerXI2.X11DeviceManagerXI2 o) => GI.GdkX11.Objects.X11DeviceManagerXI2.IsX11DeviceManagerXI2 o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11DeviceManagerXI2.X11DeviceManagerXI2
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11DeviceManagerXI2.X11DeviceManagerXI2
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11DeviceManagerXI2.X11DeviceManagerXI2
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11DeviceManagerXI2.X11DeviceManagerXI2
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11DeviceManagerXI2.X11DeviceManagerXI2)

-- | No description available in the introspection data.
module GI.GdkX11.Objects.X11DeviceXI2

-- | Memory-managed wrapper type.
newtype X11DeviceXI2
X11DeviceXI2 :: ManagedPtr X11DeviceXI2 -> X11DeviceXI2

-- | Type class for types which can be safely cast to X11DeviceXI2,
--   for instance with toX11DeviceXI2.
class (GObject o, IsDescendantOf X11DeviceXI2 o) => IsX11DeviceXI2 o

-- | Cast to X11DeviceXI2, for types for which this is known to be
--   safe. For general casts, use castTo.
toX11DeviceXI2 :: (MonadIO m, IsX11DeviceXI2 o) => o -> m X11DeviceXI2

-- | Construct a GValueConstruct with valid value for the
--   “device-id” property. This is rarely needed directly, but it
--   is used by new.
constructX11DeviceXI2DeviceId :: (IsX11DeviceXI2 o, MonadIO m) => Int32 -> m (GValueConstruct o)

-- | Get the value of the “device-id” property. When
--   overloading is enabled, this is equivalent to
--   
--   
--   get x11DeviceXI2 #deviceId
--   
getX11DeviceXI2DeviceId :: (MonadIO m, IsX11DeviceXI2 o) => o -> m Int32
instance GHC.Classes.Eq GI.GdkX11.Objects.X11DeviceXI2.X11DeviceXI2
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11DeviceXI2.X11DeviceXI2 o) => GI.GdkX11.Objects.X11DeviceXI2.IsX11DeviceXI2 o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11DeviceXI2.X11DeviceXI2
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11DeviceXI2.X11DeviceXI2
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11DeviceXI2.X11DeviceXI2
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11DeviceXI2.X11DeviceXI2
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11DeviceXI2.X11DeviceXI2)

-- | No description available in the introspection data.
module GI.GdkX11.Objects.X11Display

-- | Memory-managed wrapper type.
newtype X11Display
X11Display :: ManagedPtr X11Display -> X11Display

-- | Type class for types which can be safely cast to X11Display,
--   for instance with toX11Display.
class (GObject o, IsDescendantOf X11Display o) => IsX11Display o

-- | Cast to X11Display, for types for which this is known to be
--   safe. For general casts, use castTo.
toX11Display :: (MonadIO m, IsX11Display o) => o -> m X11Display

-- | Pops the error trap pushed by x11DisplayErrorTrapPush. Will
--   XSync() if necessary and will always block until the
--   error is known to have occurred or not occurred, so the error code can
--   be returned.
--   
--   If you don’t need to use the return value,
--   x11DisplayErrorTrapPopIgnored would be more efficient.
--   
--   See errorTrapPop for the all-displays-at-once equivalent.
--   
--   Since: 3.0
x11DisplayErrorTrapPop :: (HasCallStack, MonadIO m, IsX11Display a) => a -> m Int32

-- | Pops the error trap pushed by x11DisplayErrorTrapPush. Does not
--   block to see if an error occurred; merely records the range of
--   requests to ignore errors for, and ignores those errors if they arrive
--   asynchronously.
--   
--   See errorTrapPopIgnored for the all-displays-at-once
--   equivalent.
--   
--   Since: 3.0
x11DisplayErrorTrapPopIgnored :: (HasCallStack, MonadIO m, IsX11Display a) => a -> m ()

-- | Begins a range of X requests on display for which X
--   error events will be ignored. Unignored errors (when no trap is
--   pushed) will abort the application. Use x11DisplayErrorTrapPop
--   or x11DisplayErrorTrapPopIgnoredto lift a trap pushed with this
--   function.
--   
--   See also errorTrapPush to push a trap on all displays.
--   
--   Since: 3.0
x11DisplayErrorTrapPush :: (HasCallStack, MonadIO m, IsX11Display a) => a -> m ()

-- | Retrieves the version of the GLX implementation.
--   
--   Since: 3.16
x11DisplayGetGlxVersion :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m (Bool, Int32, Int32)

-- | Gets the startup notification ID for a display.
--   
--   Since: 2.12
x11DisplayGetStartupNotificationId :: (HasCallStack, MonadIO m, IsX11Display a) => a -> m Text

-- | Returns the timestamp of the last user interaction on
--   display. The timestamp is taken from events caused by
--   user interaction such as key presses or pointer movements. See
--   x11WindowSetUserTime.
--   
--   Since: 2.8
x11DisplayGetUserTime :: (HasCallStack, MonadIO m, IsX11Display a) => a -> m Word32

-- | Returns the X display of a Display.
--   
--   Since: 2.2
x11DisplayGetXdisplay :: (HasCallStack, MonadIO m, IsX11Display a) => a -> m Display

-- | Call XGrabServer() on display. To
--   ungrab the display again, use x11DisplayUngrab.
--   
--   x11DisplayGrab/x11DisplayUngrab calls can be nested.
--   
--   Since: 2.2
x11DisplayGrab :: (HasCallStack, MonadIO m, IsX11Display a) => a -> m ()

-- | Sets the cursor theme from which the images for cursor should be
--   taken.
--   
--   If the windowing system supports it, existing cursors created with
--   cursorNew, cursorNewForDisplay and
--   cursorNewFromName are updated to reflect the theme change.
--   Custom cursors constructed with cursorNewFromPixbuf will have
--   to be handled by the application (GTK+ applications can learn about
--   cursor theme changes by listening for change notification for the
--   corresponding GtkSetting).
--   
--   Since: 2.8
x11DisplaySetCursorTheme :: (HasCallStack, MonadIO m, IsX11Display a) => a -> Maybe Text -> Int32 -> m ()

-- | Sets the startup notification ID for a display.
--   
--   This is usually taken from the value of the DESKTOP_STARTUP_ID
--   environment variable, but in some cases (such as the application not
--   being launched using exec()) it can come from other
--   sources.
--   
--   If the ID contains the string "_TIME" then the portion following that
--   string is taken to be the X11 timestamp of the event that triggered
--   the application to be launched and the GDK current event time is set
--   accordingly.
--   
--   The startup ID is also what is used to signal that the startup is
--   complete (for example, when opening a window or when calling
--   notifyStartupComplete).
--   
--   Since: 3.0
x11DisplaySetStartupNotificationId :: (HasCallStack, MonadIO m, IsX11Display a) => a -> Text -> m ()

-- | Forces a specific window scale for all windows on this display,
--   instead of using the default or user configured scale. This is can be
--   used to disable scaling support by setting scale to 1,
--   or to programmatically set the window scale.
--   
--   Once the scale is set by this call it will not change in response to
--   later user configuration changes.
--   
--   Since: 3.10
x11DisplaySetWindowScale :: (HasCallStack, MonadIO m, IsX11Display a) => a -> Int32 -> m ()

-- | Convert a text string from the encoding as it is stored in a property
--   into an array of strings in the encoding of the current locale. (The
--   elements of the array represent the nul-separated elements of the
--   original text string.)
--   
--   Since: 2.24
x11DisplayTextPropertyToTextList :: (HasCallStack, MonadIO m, IsX11Display a) => a -> Atom -> Int32 -> Word8 -> Int32 -> Text -> m Int32

-- | Ungrab display after it has been grabbed with
--   x11DisplayGrab.
--   
--   Since: 2.2
x11DisplayUngrab :: (HasCallStack, MonadIO m, IsX11Display a) => a -> m ()
instance GHC.Classes.Eq GI.GdkX11.Objects.X11Display.X11Display
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11Display.X11Display o) => GI.GdkX11.Objects.X11Display.IsX11Display o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11Display.X11Display
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11Display.X11Display
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11Display.X11Display
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11Display.X11Display
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11Display.X11Display)

-- | No description available in the introspection data.
module GI.GdkX11.Objects.X11DisplayManager

-- | Memory-managed wrapper type.
newtype X11DisplayManager
X11DisplayManager :: ManagedPtr X11DisplayManager -> X11DisplayManager

-- | Type class for types which can be safely cast to
--   X11DisplayManager, for instance with
--   toX11DisplayManager.
class (GObject o, IsDescendantOf X11DisplayManager o) => IsX11DisplayManager o

-- | Cast to X11DisplayManager, for types for which this is known to
--   be safe. For general casts, use castTo.
toX11DisplayManager :: (MonadIO m, IsX11DisplayManager o) => o -> m X11DisplayManager
instance GHC.Classes.Eq GI.GdkX11.Objects.X11DisplayManager.X11DisplayManager
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11DisplayManager.X11DisplayManager o) => GI.GdkX11.Objects.X11DisplayManager.IsX11DisplayManager o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11DisplayManager.X11DisplayManager
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11DisplayManager.X11DisplayManager
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11DisplayManager.X11DisplayManager
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11DisplayManager.X11DisplayManager
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11DisplayManager.X11DisplayManager)

-- | No description available in the introspection data.
module GI.GdkX11.Objects.X11DragContext

-- | Memory-managed wrapper type.
newtype X11DragContext
X11DragContext :: ManagedPtr X11DragContext -> X11DragContext

-- | Type class for types which can be safely cast to
--   X11DragContext, for instance with toX11DragContext.
class (GObject o, IsDescendantOf X11DragContext o) => IsX11DragContext o

-- | Cast to X11DragContext, for types for which this is known to be
--   safe. For general casts, use castTo.
toX11DragContext :: (MonadIO m, IsX11DragContext o) => o -> m X11DragContext
instance GHC.Classes.Eq GI.GdkX11.Objects.X11DragContext.X11DragContext
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11DragContext.X11DragContext o) => GI.GdkX11.Objects.X11DragContext.IsX11DragContext o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11DragContext.X11DragContext
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11DragContext.X11DragContext
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11DragContext.X11DragContext
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11DragContext.X11DragContext
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11DragContext.X11DragContext)

-- | No description available in the introspection data.
module GI.GdkX11.Objects.X11GLContext

-- | Memory-managed wrapper type.
newtype X11GLContext
X11GLContext :: ManagedPtr X11GLContext -> X11GLContext

-- | Type class for types which can be safely cast to X11GLContext,
--   for instance with toX11GLContext.
class (GObject o, IsDescendantOf X11GLContext o) => IsX11GLContext o

-- | Cast to X11GLContext, for types for which this is known to be
--   safe. For general casts, use castTo.
toX11GLContext :: (MonadIO m, IsX11GLContext o) => o -> m X11GLContext
instance GHC.Classes.Eq GI.GdkX11.Objects.X11GLContext.X11GLContext
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11GLContext.X11GLContext o) => GI.GdkX11.Objects.X11GLContext.IsX11GLContext o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11GLContext.X11GLContext
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11GLContext.X11GLContext
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11GLContext.X11GLContext
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11GLContext.X11GLContext
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11GLContext.X11GLContext)

-- | No description available in the introspection data.
module GI.GdkX11.Objects.X11Keymap

-- | Memory-managed wrapper type.
newtype X11Keymap
X11Keymap :: ManagedPtr X11Keymap -> X11Keymap

-- | Type class for types which can be safely cast to X11Keymap, for
--   instance with toX11Keymap.
class (GObject o, IsDescendantOf X11Keymap o) => IsX11Keymap o

-- | Cast to X11Keymap, for types for which this is known to be
--   safe. For general casts, use castTo.
toX11Keymap :: (MonadIO m, IsX11Keymap o) => o -> m X11Keymap

-- | Extracts the group from the state field sent in an X Key event. This
--   is only needed for code processing raw X events, since EventKey
--   directly includes an is_modifier field.
--   
--   Since: 3.6
x11KeymapGetGroupForState :: (HasCallStack, MonadIO m, IsX11Keymap a) => a -> Word32 -> m Int32

-- | Determines whether a particular key code represents a key that is a
--   modifier. That is, it’s a key that normally just affects the keyboard
--   state and the behavior of other keys rather than producing a direct
--   effect itself. This is only needed for code processing raw X events,
--   since EventKey directly includes an is_modifier field.
--   
--   Since: 3.6
x11KeymapKeyIsModifier :: (HasCallStack, MonadIO m, IsX11Keymap a) => a -> Word32 -> m Bool
instance GHC.Classes.Eq GI.GdkX11.Objects.X11Keymap.X11Keymap
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11Keymap.X11Keymap o) => GI.GdkX11.Objects.X11Keymap.IsX11Keymap o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11Keymap.X11Keymap
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11Keymap.X11Keymap
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11Keymap.X11Keymap
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11Keymap.X11Keymap
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11Keymap.X11Keymap)

-- | No description available in the introspection data.
module GI.GdkX11.Objects.X11Monitor

-- | Memory-managed wrapper type.
newtype X11Monitor
X11Monitor :: ManagedPtr X11Monitor -> X11Monitor

-- | Type class for types which can be safely cast to X11Monitor,
--   for instance with toX11Monitor.
class (GObject o, IsDescendantOf X11Monitor o) => IsX11Monitor o

-- | Cast to X11Monitor, for types for which this is known to be
--   safe. For general casts, use castTo.
toX11Monitor :: (MonadIO m, IsX11Monitor o) => o -> m X11Monitor

-- | No description available in the introspection data.
x11MonitorGetOutput :: (HasCallStack, MonadIO m, IsMonitor a) => a -> m CULong
instance GHC.Classes.Eq GI.GdkX11.Objects.X11Monitor.X11Monitor
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11Monitor.X11Monitor o) => GI.GdkX11.Objects.X11Monitor.IsX11Monitor o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11Monitor.X11Monitor
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11Monitor.X11Monitor
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11Monitor.X11Monitor
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11Monitor.X11Monitor
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11Monitor.X11Monitor)

-- | No description available in the introspection data.
module GI.GdkX11.Objects.X11Visual

-- | Memory-managed wrapper type.
newtype X11Visual
X11Visual :: ManagedPtr X11Visual -> X11Visual

-- | Type class for types which can be safely cast to X11Visual, for
--   instance with toX11Visual.
class (GObject o, IsDescendantOf X11Visual o) => IsX11Visual o

-- | Cast to X11Visual, for types for which this is known to be
--   safe. For general casts, use castTo.
toX11Visual :: (MonadIO m, IsX11Visual o) => o -> m X11Visual

-- | Returns the X visual belonging to a Visual.
x11VisualGetXvisual :: (HasCallStack, MonadIO m, IsX11Visual a) => a -> m Visual
instance GHC.Classes.Eq GI.GdkX11.Objects.X11Visual.X11Visual
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11Visual.X11Visual o) => GI.GdkX11.Objects.X11Visual.IsX11Visual o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11Visual.X11Visual
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11Visual.X11Visual
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11Visual.X11Visual
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11Visual.X11Visual
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11Visual.X11Visual)

-- | No description available in the introspection data.
module GI.GdkX11.Objects.X11Screen

-- | Memory-managed wrapper type.
newtype X11Screen
X11Screen :: ManagedPtr X11Screen -> X11Screen

-- | Type class for types which can be safely cast to X11Screen, for
--   instance with toX11Screen.
class (GObject o, IsDescendantOf X11Screen o) => IsX11Screen o

-- | Cast to X11Screen, for types for which this is known to be
--   safe. For general casts, use castTo.
toX11Screen :: (MonadIO m, IsX11Screen o) => o -> m X11Screen

-- | Returns the current workspace for screen when running
--   under a window manager that supports multiple workspaces, as described
--   in the Extended Window Manager Hints specification.
--   
--   Since: 3.10
x11ScreenGetCurrentDesktop :: (HasCallStack, MonadIO m, IsX11Screen a) => a -> m Word32

-- | Gets the XID of the specified output/monitor. If the X server does not
--   support version 1.2 of the RANDR extension, 0 is returned.
--   
--   Since: 2.14
x11ScreenGetMonitorOutput :: (HasCallStack, MonadIO m, IsX11Screen a) => a -> Int32 -> m CULong

-- | Returns the number of workspaces for screen when
--   running under a window manager that supports multiple workspaces, as
--   described in the Extended Window Manager Hints specification.
--   
--   Since: 3.10
x11ScreenGetNumberOfDesktops :: (HasCallStack, MonadIO m, IsX11Screen a) => a -> m Word32

-- | Returns the index of a Screen.
--   
--   Since: 2.2
x11ScreenGetScreenNumber :: (HasCallStack, MonadIO m, IsX11Screen a) => a -> m Int32

-- | Returns the name of the window manager for screen.
--   
--   Since: 2.2
x11ScreenGetWindowManagerName :: (HasCallStack, MonadIO m, IsX11Screen a) => a -> m Text

-- | Returns the screen of a Screen.
--   
--   Since: 2.2
x11ScreenGetXscreen :: (HasCallStack, MonadIO m, IsX11Screen a) => a -> m Screen

-- | Looks up the Visual for a particular screen and X Visual ID.
--   
--   Since: 2.2
x11ScreenLookupVisual :: (HasCallStack, MonadIO m, IsX11Screen a) => a -> CULong -> m X11Visual

-- | This function is specific to the X11 backend of GDK, and indicates
--   whether the window manager supports a certain hint from the
--   Extended Window Manager Hints specification.
--   
--   When using this function, keep in mind that the window manager can
--   change over time; so you shouldn’t use this function in a way that
--   impacts persistent application state. A common bug is that your
--   application can start up before the window manager does when the user
--   logs in, and before the window manager starts
--   x11ScreenSupportsNetWmHint will return False for every
--   property. You can monitor the window_manager_changed signal on
--   Screen to detect a window manager change.
--   
--   Since: 2.2
x11ScreenSupportsNetWmHint :: (HasCallStack, MonadIO m, IsX11Screen a) => a -> Atom -> m Bool

-- | No description available in the introspection data.
type X11ScreenWindowManagerChangedCallback = IO ()

-- | Connect a signal handler for the windowManagerChanged signal,
--   to be run after the default handler. When overloading is
--   enabled, this is equivalent to
--   
--   
--   after x11Screen #windowManagerChanged callback
--   
--   
--   By default the object invoking the signal is not passed to the
--   callback. If you need to access it, you can use the implit
--   ?self parameter. Note that this requires activating the
--   ImplicitParams GHC extension.
afterX11ScreenWindowManagerChanged :: (IsX11Screen a, MonadIO m) => a -> ((?self :: a) => X11ScreenWindowManagerChangedCallback) -> m SignalHandlerId

-- | Connect a signal handler for the windowManagerChanged signal,
--   to be run before the default handler. When overloading is
--   enabled, this is equivalent to
--   
--   
--   on x11Screen #windowManagerChanged callback
--   
onX11ScreenWindowManagerChanged :: (IsX11Screen a, MonadIO m) => a -> ((?self :: a) => X11ScreenWindowManagerChangedCallback) -> m SignalHandlerId
instance GHC.Classes.Eq GI.GdkX11.Objects.X11Screen.X11Screen
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11Screen.X11Screen o) => GI.GdkX11.Objects.X11Screen.IsX11Screen o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11Screen.X11Screen
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11Screen.X11Screen
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11Screen.X11Screen
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11Screen.X11Screen
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11Screen.X11Screen)

-- | No description available in the introspection data.
module GI.GdkX11.Objects.X11Window

-- | Memory-managed wrapper type.
newtype X11Window
X11Window :: ManagedPtr X11Window -> X11Window

-- | Type class for types which can be safely cast to X11Window, for
--   instance with toX11Window.
class (GObject o, IsDescendantOf X11Window o) => IsX11Window o

-- | Cast to X11Window, for types for which this is known to be
--   safe. For general casts, use castTo.
toX11Window :: (MonadIO m, IsX11Window o) => o -> m X11Window

-- | Wraps a native window in a Window. The function will try to
--   look up the window using x11WindowLookupForDisplay first. If it
--   does not find it there, it will create a new window.
--   
--   This may fail if the window has been destroyed. If the window was
--   already known to GDK, a new reference to the existing Window is
--   returned.
--   
--   Since: 2.24
x11WindowForeignNewForDisplay :: (HasCallStack, MonadIO m, IsX11Display a) => a -> CULong -> m X11Window

-- | Gets the number of the workspace window is on.
--   
--   Since: 3.10
x11WindowGetDesktop :: (HasCallStack, MonadIO m, IsX11Window a) => a -> m Word32

-- | Returns the X resource (window) belonging to a Window.
x11WindowGetXid :: (HasCallStack, MonadIO m, IsX11Window a) => a -> m CULong

-- | Looks up the Window that wraps the given native window handle.
--   
--   Since: 2.24
x11WindowLookupForDisplay :: (HasCallStack, MonadIO m, IsX11Display a) => a -> CULong -> m X11Window

-- | Moves the window to the correct workspace when running under a window
--   manager that supports multiple workspaces, as described in the
--   Extended Window Manager Hints specification. Will not do
--   anything if the window is already on all workspaces.
--   
--   Since: 2.8
x11WindowMoveToCurrentDesktop :: (HasCallStack, MonadIO m, IsX11Window a) => a -> m ()

-- | Moves the window to the given workspace when running unde a window
--   manager that supports multiple workspaces, as described in the
--   Extended Window Manager Hints specification.
--   
--   Since: 3.10
x11WindowMoveToDesktop :: (HasCallStack, MonadIO m, IsX11Window a) => a -> Word32 -> m ()

-- | This is the same as windowSetShadowWidth but it only works on
--   GdkX11Window.
--   
--   Since: 3.10

-- | Deprecated: (Since version 3.12)Use windowSetShadowWidth
--   instead.
x11WindowSetFrameExtents :: (HasCallStack, MonadIO m, IsX11Window a) => a -> Int32 -> Int32 -> Int32 -> Int32 -> m ()

-- | This function can be used to disable frame synchronization for a
--   window. Normally frame synchronziation will be enabled or disabled
--   based on whether the system has a compositor that supports frame
--   synchronization, but if the window is not directly managed by the
--   window manager, then frame synchronziation may need to be disabled.
--   This is the case for a window embedded via the XEMBED protocol.
--   
--   Since: 3.8
x11WindowSetFrameSyncEnabled :: (HasCallStack, MonadIO m, IsX11Window a) => a -> Bool -> m ()

-- | Set a hint for the window manager, requesting that the titlebar should
--   be hidden when the window is maximized.
--   
--   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.
--   
--   Since: 3.4
x11WindowSetHideTitlebarWhenMaximized :: (HasCallStack, MonadIO m, IsX11Window a) => a -> Bool -> m ()

-- | GTK+ applications can request a dark theme variant. In order to make
--   other applications - namely window managers using GTK+ for themeing -
--   aware of this choice, GTK+ uses this function to export the requested
--   theme variant as _GTK_THEME_VARIANT property on toplevel windows.
--   
--   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.
--   
--   Since: 3.2
x11WindowSetThemeVariant :: (HasCallStack, MonadIO m, IsX11Window a) => a -> Text -> m ()

-- | The application can use this call to update the _NET_WM_USER_TIME
--   property on a toplevel window. This property stores an Xserver time
--   which represents the time of the last user input event received for
--   this window. This property may be used by the window manager to alter
--   the focus, stacking, and/or placement behavior of windows when they
--   are mapped depending on whether the new window was created by a user
--   action or is a "pop-up" window activated by a timer or some other
--   event.
--   
--   Note that this property is automatically updated by GDK, so this
--   function should only be used by applications which handle input events
--   bypassing GDK.
--   
--   Since: 2.6
x11WindowSetUserTime :: (HasCallStack, MonadIO m, IsX11Window a) => a -> Word32 -> m ()

-- | This function modifies or removes an arbitrary X11 window property of
--   type UTF8_STRING. If the given window is not a
--   toplevel window, it is ignored.
--   
--   Since: 3.4
x11WindowSetUtf8Property :: (HasCallStack, MonadIO m, IsX11Window a) => a -> Text -> Maybe Text -> m ()
instance GHC.Classes.Eq GI.GdkX11.Objects.X11Window.X11Window
instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.GdkX11.Objects.X11Window.X11Window o) => GI.GdkX11.Objects.X11Window.IsX11Window o
instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GdkX11.Objects.X11Window.X11Window
instance Data.GI.Base.BasicTypes.TypedObject GI.GdkX11.Objects.X11Window.X11Window
instance Data.GI.Base.BasicTypes.GObject GI.GdkX11.Objects.X11Window.X11Window
instance Data.GI.Base.Overloading.HasParentTypes GI.GdkX11.Objects.X11Window.X11Window
instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GdkX11.Objects.X11Window.X11Window)

module GI.GdkX11.Objects

module GI.GdkX11.Functions

-- | Converts from a Atom to the X atom for the default GDK display
--   with the same string value.
x11AtomToXatom :: (HasCallStack, MonadIO m) => Atom -> m CULong

-- | Converts from a Atom to the X atom for a Display with
--   the same string value. The special value GDK_NONE is
--   converted to None.
--   
--   Since: 2.2
x11AtomToXatomForDisplay :: (HasCallStack, MonadIO m, IsX11Display a) => a -> Atom -> m CULong

-- | Returns the device ID as seen by XInput2.
--   
--   
--   If 'GI.Gdk.Functions.disableMultidevice' has been called, this function
--   will respectively return 2\/3 for the core pointer and keyboard,
--   (matching the IDs for the Virtual Core Pointer and Keyboard in
--   XInput 2), but calling this function on any slave devices (i.e.
--   those managed via XInput 1.x), will return 0.
--   
--   
--   Since: 3.2
x11DeviceGetId :: (HasCallStack, MonadIO m, IsX11DeviceCore a) => a -> m Int32

-- | Returns the Device that wraps the given device ID.
--   
--   Since: 3.2
x11DeviceManagerLookup :: (HasCallStack, MonadIO m, IsX11DeviceManagerCore a) => a -> Int32 -> m (Maybe X11DeviceCore)

-- | Frees the data returned from x11DisplayStringToCompoundText.
--   
--   Since: 2.24
x11FreeCompoundText :: (HasCallStack, MonadIO m) => Word8 -> m ()

-- | Frees the array of strings created by
--   x11DisplayTextPropertyToTextList.
--   
--   Since: 2.24
x11FreeTextList :: (HasCallStack, MonadIO m) => Text -> m ()

-- | Gets the root window of the default screen (see
--   x11GetDefaultScreen).
x11GetDefaultRootXwindow :: (HasCallStack, MonadIO m) => m CULong

-- | Gets the default GTK+ screen number.
x11GetDefaultScreen :: (HasCallStack, MonadIO m) => m Int32

-- | Gets the default GTK+ display.
x11GetDefaultXdisplay :: (HasCallStack, MonadIO m) => m Display

-- | Used with windowSetBackgroundPattern to inherit background from
--   parent window. Useful for imitating transparency when compositing is
--   not available. Otherwise behaves like a transparent pattern.
--   
--   Since: 3.24.2

-- | Deprecated: (Since version 3.24)Don't use this function
x11GetParentRelativePattern :: (HasCallStack, MonadIO m) => m Pattern

-- | Routine to get the current X server time stamp.
x11GetServerTime :: (HasCallStack, MonadIO m, IsX11Window a) => a -> m Word32

-- | Returns the X atom for GDK’s default display corresponding to
--   atomName. This function caches the result, so if
--   called repeatedly it is much faster than
--   XInternAtom(), which is a round trip to the server
--   each time.
x11GetXatomByName :: (HasCallStack, MonadIO m) => Text -> m CULong

-- | Returns the X atom for a Display corresponding to
--   atomName. This function caches the result, so if
--   called repeatedly it is much faster than
--   XInternAtom(), which is a round trip to the server
--   each time.
--   
--   Since: 2.2
x11GetXatomByNameForDisplay :: (HasCallStack, MonadIO m, IsX11Display a) => a -> Text -> m CULong

-- | Returns the name of an X atom for GDK’s default display. This function
--   is meant mainly for debugging, so for convenience, unlike
--   XAtomName() and atomName, the result doesn’t
--   need to be freed. Also, this function will never return
--   Nothing, even if xatom is invalid.
x11GetXatomName :: (HasCallStack, MonadIO m) => CULong -> m Text

-- | Returns the name of an X atom for its display. This function is meant
--   mainly for debugging, so for convenience, unlike
--   XAtomName() and atomName, the result doesn’t
--   need to be freed.
--   
--   Since: 2.2
x11GetXatomNameForDisplay :: (HasCallStack, MonadIO m, IsX11Display a) => a -> CULong -> m Text

-- | Call x11DisplayGrab on the default display. To ungrab the
--   server again, use x11UngrabServer.
--   
--   x11GrabServer/x11UngrabServer calls can be nested.
x11GrabServer :: (HasCallStack, MonadIO m) => m ()

-- | Find the Display corresponding to xdisplay, if
--   any exists.
--   
--   Since: 2.2
x11LookupXdisplay :: (HasCallStack, MonadIO m) => Display -> m X11Display

-- | Registers interest in receiving extension events with type codes
--   between eventBase and event_base + n_events -
--   1. The registered events must have the window field in the same
--   place as core X events (this is not the case for e.g. XKB extension
--   events).
--   
--   If an event type is registered, events of this type will go through
--   global and window-specific filters (see
--   gdk_window_add_filter()). Unregistered events will
--   only go through global filters. GDK may register the events of some X
--   extensions on its own.
--   
--   This function should only be needed in unusual circumstances, e.g.
--   when filtering XInput extension events on the root window.
--   
--   Since: 2.4
x11RegisterStandardEventType :: (HasCallStack, MonadIO m, IsX11Display a) => a -> Int32 -> Int32 -> m ()

-- | Sets the SM_CLIENT_ID property on the application’s leader
--   window so that the window manager can save the application’s state
--   using the X11R6 ICCCM session management protocol.
--   
--   See the X Session Management Library documentation for more
--   information on session management and the Inter-Client Communication
--   Conventions Manual
--   
--   Since: 2.24
x11SetSmClientId :: (HasCallStack, MonadIO m) => Maybe Text -> m ()

-- | Ungrab the default display after it has been grabbed with
--   x11GrabServer.
x11UngrabServer :: (HasCallStack, MonadIO m) => m ()

-- | Convert from an X atom for the default display to the corresponding
--   Atom.
x11XatomToAtom :: (HasCallStack, MonadIO m) => CULong -> m Atom

-- | Convert from an X atom for a Display to the corresponding
--   Atom.
--   
--   Since: 2.2
x11XatomToAtomForDisplay :: (HasCallStack, MonadIO m, IsX11Display a) => a -> CULong -> m Atom

module GI.GdkX11
