Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
gi-gdk4 GI.Gdk.Objects.ContentProvider Finishes an asynchronous write operation. See contentProviderWriteMimeTypeAsync.
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
-
gi-gdk4 GI.Gdk.Objects.ContentProvider Connect a signal handler for the contentChanged signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on contentProvider #contentChanged callback
toContentProvider :: (MonadIO m, IsContentProvider o) => o -> m ContentProvidergi-gdk4 GI.Gdk.Objects.ContentProvider Cast to ContentProvider, for types for which this is known to be safe. For general casts, use castTo.
constructDeviceProductId :: (IsDevice o, MonadIO m) => Text -> m (GValueConstruct o)gi-gdk4 GI.Gdk.Objects.Device Construct a GValueConstruct with valid value for the “product-id” property. This is rarely needed directly, but it is used by new.
constructDeviceVendorId :: (IsDevice o, MonadIO m) => Text -> m (GValueConstruct o)gi-gdk4 GI.Gdk.Objects.Device Construct a GValueConstruct with valid value for the “vendor-id” property. This is rarely needed directly, but it is used by new.
deviceGetProductId :: (HasCallStack, MonadIO m, IsDevice a) => a -> m (Maybe Text)gi-gdk4 GI.Gdk.Objects.Device Returns the product ID of this device. This ID is retrieved from the device, and does not change. See deviceGetVendorId for more information.
deviceGetVendorId :: (HasCallStack, MonadIO m, IsDevice a) => a -> m (Maybe Text)gi-gdk4 GI.Gdk.Objects.Device Returns the vendor ID of this device. This ID is retrieved from the device, and does not change. This function, together with deviceGetProductId, can be used to eg. compose GSettings paths to store settings for this device.
c code
static GSettings * get_device_settings (GdkDevice *device) { const char *vendor, *product; GSettings *settings; GdkDevice *device; char *path; vendor = gdk_device_get_vendor_id (device); product = gdk_device_get_product_id (device); path = g_strdup_printf ("/org/example/app/devices/%s:%s/", vendor, product); settings = g_settings_new_with_path (DEVICE_SCHEMA, path); g_free (path); return settings; }deviceHasBidiLayouts :: (HasCallStack, MonadIO m, IsDevice a) => a -> m Boolgi-gdk4 GI.Gdk.Objects.Device Determines if layouts for both right-to-left and left-to-right languages are in use on the keyboard. This is only relevant for keyboard devices.