Hoogle Search
Within LTS Haskell 24.65 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
pattern
KEY_BrightnessAdjust :: Word32gi-gdk4 GI.Gdk.Constants No description available in the introspection data.
pattern
KEY_ContrastAdjust :: Word32gi-gdk4 GI.Gdk.Constants No description available in the introspection data.
catchGErrorJust :: GErrorClass err => err -> IO a -> (GErrorMessage -> IO a) -> IO aglib System.Glib.GError This will catch just a specific GError exception. If you need to catch a range of related errors, catchGErrorJustDomain is probably more appropriate. Example:
do image <- catchGErrorJust PixbufErrorCorruptImage loadImage (\errorMessage -> do log errorMessage return missingImagePlaceholder)
catchGErrorJustDomain :: GErrorClass err => IO a -> (err -> GErrorMessage -> IO a) -> IO aglib System.Glib.GError Catch all GErrors from a particular error domain. The handler function should just deal with one error enumeration type. If you need to catch errors from more than one error domain, use this function twice with an appropriate handler functions for each.
catchGErrorJustDomain loadImage (\err message -> case err of PixbufErrorCorruptImage -> ... PixbufErrorInsufficientMemory -> ... PixbufErrorUnknownType -> ... _ -> ...)
handleGErrorJust :: GErrorClass err => err -> (GErrorMessage -> IO a) -> IO a -> IO aglib System.Glib.GError A version of handleGErrorJust with the arguments swapped around.
handleGErrorJustDomain :: GErrorClass err => (err -> GErrorMessage -> IO a) -> IO a -> IO aglib System.Glib.GError A version of catchGErrorJustDomain with the arguments swapped around.
pattern
MaybeFin32Just# :: Fin32# n -> MaybeFin32# nnatural-arithmetic Arithmetic.Types No documentation available.
pattern
MaybeFinJust# :: Fin# n -> MaybeFin# nnatural-arithmetic Arithmetic.Types No documentation available.
layoutGetJustify :: PangoLayout -> IO Boolpango Graphics.Rendering.Pango Retrieve the justification flag.
- See layoutSetJustify.
layoutSetJustify :: PangoLayout -> Bool -> IO ()pango Graphics.Rendering.Pango Set if text should be stretched to fit width.
- Sets whether or not each complete line should be stretched to fill the entire width of the layout. This stretching is typically done by adding whitespace, but for some scripts (such as Arabic), the justification is done by extending the characters.
- Note that as of Pango 1.4, this functionality is not yet implemented.