gi-gdk 3.0.25 → 3.0.26
raw patch · 4 files changed
+9/−5 lines, 4 filesdep ~textsetup-changedPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: text
API changes (from Hackage documentation)
- GI.Gdk.Callbacks: type EventFunc = Event " /@event@/: the t'GI.Gdk.Unions.Event.Event' to process." -> IO ()
+ GI.Gdk.Callbacks: type EventFunc = -- | /@event@/: the t'GI.Gdk.Unions.Event.Event' to process. Event -> IO ()
- GI.Gdk.Callbacks: type EventFunc_WithClosures = Event " /@event@/: the t'GI.Gdk.Unions.Event.Event' to process." -> Ptr () " /@data@/: user data set when the event handler was installed with 'GI.Gdk.Functions.eventHandlerSet'." -> IO ()
+ GI.Gdk.Callbacks: type EventFunc_WithClosures = -- | /@event@/: the t'GI.Gdk.Unions.Event.Event' to process. Event -> -- | /@data@/: user data set when the event handler was installed with -- 'GI.Gdk.Functions.eventHandlerSet'. Ptr () -> IO ()
- GI.Gdk.Callbacks: 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 t'GI.Gdk.Enums.FilterReturn' value."
+ GI.Gdk.Callbacks: type FilterFunc = -- | /@xevent@/: the native event to filter. Ptr () -> -- | /@event@/: the GDK event to which the X event will be translated. Event -> -- | __Returns:__ a t'GI.Gdk.Enums.FilterReturn' value. IO FilterReturn
- GI.Gdk.Callbacks: 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 t'GI.Gdk.Enums.FilterReturn' value."
+ GI.Gdk.Callbacks: type FilterFunc_WithClosures = -- | /@xevent@/: the native event to filter. Ptr () -> -- | /@event@/: the GDK event to which the X event will be translated. Event -> -- | /@data@/: user data set when the filter was installed. Ptr () -> -- | __Returns:__ a t'GI.Gdk.Enums.FilterReturn' value. IO FilterReturn
- GI.Gdk.Callbacks: type SeatGrabPrepareFunc = Seat " /@seat@/: the t'GI.Gdk.Objects.Seat.Seat' being grabbed" -> Window " /@window@/: the t'GI.Gdk.Objects.Window.Window' being grabbed" -> IO ()
+ GI.Gdk.Callbacks: type SeatGrabPrepareFunc = -- | /@seat@/: the t'GI.Gdk.Objects.Seat.Seat' being grabbed Seat -> -- | /@window@/: the t'GI.Gdk.Objects.Window.Window' being grabbed Window -> IO ()
- GI.Gdk.Callbacks: type SeatGrabPrepareFunc_WithClosures = Seat " /@seat@/: the t'GI.Gdk.Objects.Seat.Seat' being grabbed" -> Window " /@window@/: the t'GI.Gdk.Objects.Window.Window' being grabbed" -> Ptr () " /@userData@/: user data passed in 'GI.Gdk.Objects.Seat.seatGrab'" -> IO ()
+ GI.Gdk.Callbacks: type SeatGrabPrepareFunc_WithClosures = -- | /@seat@/: the t'GI.Gdk.Objects.Seat.Seat' being grabbed Seat -> -- | /@window@/: the t'GI.Gdk.Objects.Window.Window' being grabbed Window -> -- | /@userData@/: user data passed in 'GI.Gdk.Objects.Seat.seatGrab' Ptr () -> IO ()
- GI.Gdk.Callbacks: type WindowChildFunc = Window " /@window@/: a t'GI.Gdk.Objects.Window.Window'" -> IO Bool " __Returns:__ 'P.True' to invalidate /@window@/ recursively"
+ GI.Gdk.Callbacks: type WindowChildFunc = -- | /@window@/: a t'GI.Gdk.Objects.Window.Window' Window -> -- | __Returns:__ 'P.True' to invalidate /@window@/ recursively IO Bool
- GI.Gdk.Callbacks: type WindowChildFunc_WithClosures = Window " /@window@/: a t'GI.Gdk.Objects.Window.Window'" -> Ptr () " /@userData@/: user data" -> IO Bool " __Returns:__ 'P.True' to invalidate /@window@/ recursively"
+ GI.Gdk.Callbacks: type WindowChildFunc_WithClosures = -- | /@window@/: a t'GI.Gdk.Objects.Window.Window' Window -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ 'P.True' to invalidate /@window@/ recursively IO Bool
- GI.Gdk.Callbacks: type WindowInvalidateHandlerFunc = Window " /@window@/: a t'GI.Gdk.Objects.Window.Window'" -> Region " /@region@/: a t'GI.Cairo.Structs.Region.Region'" -> IO ()
+ GI.Gdk.Callbacks: type WindowInvalidateHandlerFunc = -- | /@window@/: a t'GI.Gdk.Objects.Window.Window' Window -> -- | /@region@/: a t'GI.Cairo.Structs.Region.Region' Region -> IO ()
- GI.Gdk.Objects.Device: type DeviceToolChangedCallback = DeviceTool " /@tool@/: The new current tool" -> IO ()
+ GI.Gdk.Objects.Device: type DeviceToolChangedCallback = -- | /@tool@/: The new current tool DeviceTool -> IO ()
- GI.Gdk.Objects.DeviceManager: type DeviceManagerDeviceAddedCallback = Device " /@device@/: the newly added t'GI.Gdk.Objects.Device.Device'." -> IO ()
+ GI.Gdk.Objects.DeviceManager: type DeviceManagerDeviceAddedCallback = -- | /@device@/: the newly added t'GI.Gdk.Objects.Device.Device'. Device -> IO ()
- GI.Gdk.Objects.DeviceManager: type DeviceManagerDeviceChangedCallback = Device " /@device@/: the t'GI.Gdk.Objects.Device.Device' that changed." -> IO ()
+ GI.Gdk.Objects.DeviceManager: type DeviceManagerDeviceChangedCallback = -- | /@device@/: the t'GI.Gdk.Objects.Device.Device' that changed. Device -> IO ()
- GI.Gdk.Objects.DeviceManager: type DeviceManagerDeviceRemovedCallback = Device " /@device@/: the just removed t'GI.Gdk.Objects.Device.Device'." -> IO ()
+ GI.Gdk.Objects.DeviceManager: type DeviceManagerDeviceRemovedCallback = -- | /@device@/: the just removed t'GI.Gdk.Objects.Device.Device'. Device -> IO ()
- GI.Gdk.Objects.Display: type DisplayClosedCallback = Bool " /@isError@/: 'P.True' if the display was closed due to an error" -> IO ()
+ GI.Gdk.Objects.Display: type DisplayClosedCallback = -- | /@isError@/: 'P.True' if the display was closed due to an error Bool -> IO ()
- GI.Gdk.Objects.Display: type DisplayMonitorAddedCallback = Monitor " /@monitor@/: the monitor that was just added" -> IO ()
+ GI.Gdk.Objects.Display: type DisplayMonitorAddedCallback = -- | /@monitor@/: the monitor that was just added Monitor -> IO ()
- GI.Gdk.Objects.Display: type DisplayMonitorRemovedCallback = Monitor " /@monitor@/: the monitor that was just removed" -> IO ()
+ GI.Gdk.Objects.Display: type DisplayMonitorRemovedCallback = -- | /@monitor@/: the monitor that was just removed Monitor -> IO ()
- GI.Gdk.Objects.Display: type DisplaySeatAddedCallback = Seat " /@seat@/: the seat that was just added" -> IO ()
+ GI.Gdk.Objects.Display: type DisplaySeatAddedCallback = -- | /@seat@/: the seat that was just added Seat -> IO ()
- GI.Gdk.Objects.Display: type DisplaySeatRemovedCallback = Seat " /@seat@/: the seat that was just removed" -> IO ()
+ GI.Gdk.Objects.Display: type DisplaySeatRemovedCallback = -- | /@seat@/: the seat that was just removed Seat -> IO ()
- GI.Gdk.Objects.DisplayManager: type DisplayManagerDisplayOpenedCallback = Display " /@display@/: the opened display" -> IO ()
+ GI.Gdk.Objects.DisplayManager: type DisplayManagerDisplayOpenedCallback = -- | /@display@/: the opened display Display -> IO ()
- GI.Gdk.Objects.DragContext: type DragContextActionChangedCallback = [DragAction] " /@action@/: The action currently chosen" -> IO ()
+ GI.Gdk.Objects.DragContext: type DragContextActionChangedCallback = -- | /@action@/: The action currently chosen [DragAction] -> IO ()
- GI.Gdk.Objects.DragContext: type DragContextCancelCallback = DragCancelReason " /@reason@/: The reason the context was cancelled" -> IO ()
+ GI.Gdk.Objects.DragContext: type DragContextCancelCallback = -- | /@reason@/: The reason the context was cancelled DragCancelReason -> IO ()
- GI.Gdk.Objects.DragContext: type DragContextDropPerformedCallback = Int32 " /@time@/: the time at which the drop happened." -> IO ()
+ GI.Gdk.Objects.DragContext: type DragContextDropPerformedCallback = -- | /@time@/: the time at which the drop happened. Int32 -> IO ()
- GI.Gdk.Objects.Seat: type SeatDeviceAddedCallback = Device " /@device@/: the newly added t'GI.Gdk.Objects.Device.Device'." -> IO ()
+ GI.Gdk.Objects.Seat: type SeatDeviceAddedCallback = -- | /@device@/: the newly added t'GI.Gdk.Objects.Device.Device'. Device -> IO ()
- GI.Gdk.Objects.Seat: type SeatDeviceRemovedCallback = Device " /@device@/: the just removed t'GI.Gdk.Objects.Device.Device'." -> IO ()
+ GI.Gdk.Objects.Seat: type SeatDeviceRemovedCallback = -- | /@device@/: the just removed t'GI.Gdk.Objects.Device.Device'. Device -> IO ()
- GI.Gdk.Objects.Seat: type SeatToolAddedCallback = DeviceTool " /@tool@/: the new t'GI.Gdk.Objects.DeviceTool.DeviceTool' known to the seat" -> IO ()
+ GI.Gdk.Objects.Seat: type SeatToolAddedCallback = -- | /@tool@/: the new t'GI.Gdk.Objects.DeviceTool.DeviceTool' known to the seat DeviceTool -> IO ()
- GI.Gdk.Objects.Seat: type SeatToolRemovedCallback = DeviceTool " /@tool@/: the just removed t'GI.Gdk.Objects.DeviceTool.DeviceTool'" -> IO ()
+ GI.Gdk.Objects.Seat: type SeatToolRemovedCallback = -- | /@tool@/: the just removed t'GI.Gdk.Objects.DeviceTool.DeviceTool' DeviceTool -> IO ()
- GI.Gdk.Objects.Window: 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 t'GI.Cairo.Structs.Surface.Surface' for the offscreen window"
+ GI.Gdk.Objects.Window: type WindowCreateSurfaceCallback = -- | /@width@/: the width of the offscreen surface to create Int32 -> -- | /@height@/: the height of the offscreen surface to create Int32 -> -- | __Returns:__ the newly created t'GI.Cairo.Structs.Surface.Surface' for the offscreen window IO Surface
- GI.Gdk.Objects.Window: type WindowFromEmbedderCallback = Double " /@embedderX@/: x coordinate in the embedder window" -> Double " /@embedderY@/: y coordinate in the embedder window" -> IO ((Double, Double))
+ GI.Gdk.Objects.Window: type WindowFromEmbedderCallback = -- | /@embedderX@/: x coordinate in the embedder window Double -> -- | /@embedderY@/: y coordinate in the embedder window Double -> IO ((Double, Double))
- GI.Gdk.Objects.Window: type WindowMovedToRectCallback = Ptr () " /@flippedRect@/: the position of /@window@/ after any possible flipping or 'P.Nothing' if the backend can\'t obtain it" -> Ptr () " /@finalRect@/: the final position of /@window@/ or 'P.Nothing' if the backend can\'t obtain it" -> Bool " /@flippedX@/: 'P.True' if the anchors were flipped horizontally" -> Bool " /@flippedY@/: 'P.True' if the anchors were flipped vertically" -> IO ()
+ GI.Gdk.Objects.Window: type WindowMovedToRectCallback = -- | /@flippedRect@/: the position of /@window@/ after any possible -- flipping or 'P.Nothing' if the backend can\'t obtain it Ptr () -> -- | /@finalRect@/: the final position of /@window@/ or 'P.Nothing' if the -- backend can\'t obtain it Ptr () -> -- | /@flippedX@/: 'P.True' if the anchors were flipped horizontally Bool -> -- | /@flippedY@/: 'P.True' if the anchors were flipped vertically Bool -> IO ()
- GI.Gdk.Objects.Window: type WindowPickEmbeddedChildCallback = Double " /@x@/: x coordinate in the window" -> Double " /@y@/: y coordinate in the window" -> IO (Maybe Window) " __Returns:__ the t'GI.Gdk.Objects.Window.Window' of the embedded child at /@x@/, /@y@/, or 'P.Nothing'"
+ GI.Gdk.Objects.Window: type WindowPickEmbeddedChildCallback = -- | /@x@/: x coordinate in the window Double -> -- | /@y@/: y coordinate in the window Double -> -- | __Returns:__ the t'GI.Gdk.Objects.Window.Window' of the -- embedded child at /@x@/, /@y@/, or 'P.Nothing' IO (Maybe Window)
- GI.Gdk.Objects.Window: type WindowToEmbedderCallback = Double " /@offscreenX@/: x coordinate in the offscreen window" -> Double " /@offscreenY@/: y coordinate in the offscreen window" -> IO ((Double, Double))
+ GI.Gdk.Objects.Window: type WindowToEmbedderCallback = -- | /@offscreenX@/: x coordinate in the offscreen window Double -> -- | /@offscreenY@/: y coordinate in the offscreen window Double -> IO ((Double, Double))
Files
- ChangeLog.md +4/−0
- README.md +1/−1
- Setup.hs +1/−1
- gi-gdk.cabal +3/−3
ChangeLog.md view
@@ -1,3 +1,7 @@+### 3.0.26+++ Relax constraint on text+ ### 3.0.25 + Update to haskell-gi(-base)-0.26
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-gdk-3.0.25/docs/GI-Gdk.html](https://hackage.haskell.org/package/gi-gdk-3.0.25/docs/GI-Gdk.html)+[https://hackage.haskell.org/package/gi-gdk-3.0.26/docs/GI-Gdk.html](https://hackage.haskell.org/package/gi-gdk-3.0.26/docs/GI-Gdk.html) For general documentation on using [haskell-gi](https://github.com/haskell-gi/haskell-gi) based bindings, see [the project page](https://github.com/haskell-gi/haskell-gi) or [the Wiki](https://github.com/haskell-gi/haskell-gi/wiki).
Setup.hs view
@@ -15,7 +15,7 @@ where name = "Gdk" version = "3.0" pkgName = "gi-gdk"- pkgVersion = "3.0.25"+ pkgVersion = "3.0.26" overridesFile = Just "Gdk.overrides" verbose = False outputDir = Nothing
gi-gdk.cabal view
@@ -1,5 +1,5 @@ name: gi-gdk-version: 3.0.25+version: 3.0.26 synopsis: Gdk bindings description: Bindings for Gdk, autogenerated by haskell-gi. homepage: https://github.com/haskell-gi/haskell-gi@@ -26,7 +26,7 @@ library default-language: Haskell2010- default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts, UndecidableSuperClasses+ default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts, UndecidableSuperClasses, TypeOperators other-extensions: PatternSynonyms, ViewPatterns, TypeApplications ghc-options: -fno-warn-unused-imports -fno-warn-warnings-deprecations @@ -43,7 +43,7 @@ gi-glib == 2.0.*, bytestring >= 0.10 && < 1, containers >= 0.5 && < 1,- text >= 1.0 && < 2,+ text >= 1.0 && < 3, transformers >= 0.4 && < 1 -- Disable overloading when compiling under GHC 8.2.x