Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
dropGetFormats :: (HasCallStack, MonadIO m, IsDrop a) => a -> m ContentFormatsgi-gdk4 GI.Gdk.Objects.Drop Returns the GdkContentFormats that the drop offers the data to be read in.
getDropFormats :: (MonadIO m, IsDrop o) => o -> m ContentFormatsgi-gdk4 GI.Gdk.Objects.Drop Get the value of the “formats” property. When overloading is enabled, this is equivalent to
get drop #formats
type
FrameClockBeforePaintCallback = IO ()gi-gdk4 GI.Gdk.Objects.FrameClock Begins processing of the frame. Applications should generally not handle this signal.
-
gi-gdk4 GI.Gdk.Objects.FrameClock Connect a signal handler for the beforePaint signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after frameClock #beforePaint 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. -
gi-gdk4 GI.Gdk.Objects.FrameClock Connect a signal handler for the beforePaint signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on frameClock #beforePaint callback
gLContextGetForwardCompatible :: (HasCallStack, MonadIO m, IsGLContext a) => a -> m Boolgi-gdk4 GI.Gdk.Objects.GLContext Retrieves whether the context is forward-compatible. See gLContextSetForwardCompatible.
gLContextSetForwardCompatible :: (HasCallStack, MonadIO m, IsGLContext a) => a -> Bool -> m ()gi-gdk4 GI.Gdk.Objects.GLContext Sets whether the GdkGLContext should be forward-compatible. Forward-compatible 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 GdkGLContext must not be realized or made current prior to calling this function.
-
gi-gdk4 GI.Gdk.Objects.GLTextureBuilder Construct a GValueConstruct with valid value for the “format” property. This is rarely needed directly, but it is used by new.
gLTextureBuilderGetFormat :: (HasCallStack, MonadIO m, IsGLTextureBuilder a) => a -> m MemoryFormatgi-gdk4 GI.Gdk.Objects.GLTextureBuilder Gets the format previously set via gLTextureBuilderSetFormat. Since: 4.12
-
gi-gdk4 GI.Gdk.Objects.GLTextureBuilder Sets the format of the texture. The default is GDK_MEMORY_R8G8B8A8_PREMULTIPLIED. The format is the preferred format the texture data should be downloaded to. The format must be supported by the GL version of GLTextureBuilder:context. GDK's texture download code assumes that the format corresponds to the storage parameters of the GL texture in an obvious way. For example, a format of GDK_MEMORY_R16G16B16A16_PREMULTIPLIED is expected to be stored as GL_RGBA16 texture, and GDK_MEMORY_G8A8 is expected to be stored as GL_RG8 texture. Setting the right format is particularly useful when using high bit depth textures to preserve the bit depth, to set the correct value for unpremultiplied textures and to make sure opaque textures are treated as such. Non-RGBA textures need to have swizzling parameters set up properly to be usable in GSK's shaders. Since: 4.12