Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
contentProviderNewForValue :: (HasCallStack, MonadIO m) => GValue -> m ContentProvidergi-gdk4 GI.Gdk.Objects.ContentProvider Create a content provider that provides the given value.
contentProviderRefFormats :: (HasCallStack, MonadIO m, IsContentProvider a) => a -> m ContentFormatsgi-gdk4 GI.Gdk.Objects.ContentProvider Gets the formats that the provider can provide its current contents in.
-
gi-gdk4 GI.Gdk.Objects.ContentProvider Gets the formats that the provider suggests other applications to store the data in. An example of such an application would be a clipboard manager. This can be assumed to be a subset of contentProviderRefFormats.
getContentProviderFormats :: (MonadIO m, IsContentProvider o) => o -> m (Maybe ContentFormats)gi-gdk4 GI.Gdk.Objects.ContentProvider Get the value of the “formats” property. When overloading is enabled, this is equivalent to
get contentProvider #formats
-
gi-gdk4 GI.Gdk.Objects.ContentProvider Get the value of the “storable-formats” property. When overloading is enabled, this is equivalent to
get contentProvider #storableFormats
displayGetDmabufFormats :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m DmabufFormatsgi-gdk4 GI.Gdk.Objects.Display Returns the dma-buf formats that are supported on this display. GTK may use OpenGL or Vulkan to support some formats. Calling this function will then initialize them if they aren't yet. The formats returned by this function can be used for negotiating buffer formats with producers such as v4l, pipewire or GStreamer. To learn more about dma-bufs, see DmabufTextureBuilder. Since: 4.14
getDisplayDmabufFormats :: (MonadIO m, IsDisplay o) => o -> m DmabufFormatsgi-gdk4 GI.Gdk.Objects.Display Get the value of the “dmabuf-formats” property. When overloading is enabled, this is equivalent to
get display #dmabufFormats
type
DragDropPerformedCallback = IO ()gi-gdk4 GI.Gdk.Objects.Drag Emitted when the drop operation is performed on an accepting client.
-
gi-gdk4 GI.Gdk.Objects.Drag Connect a signal handler for the dropPerformed signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after drag #dropPerformed 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. constructDragFormats :: (IsDrag o, MonadIO m) => ContentFormats -> m (GValueConstruct o)gi-gdk4 GI.Gdk.Objects.Drag Construct a GValueConstruct with valid value for the “formats” property. This is rarely needed directly, but it is used by new.