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.

  1. contentProviderWriteMimeTypeFinish :: (HasCallStack, MonadIO m, IsContentProvider a, IsAsyncResult b) => a -> b -> m ()

    gi-gdk4 GI.Gdk.Objects.ContentProvider

    Finishes an asynchronous write operation. See contentProviderWriteMimeTypeAsync.

  2. 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
    

  3. getContentProviderStorableFormats :: (MonadIO m, IsContentProvider o) => o -> m (Maybe ContentFormats)

    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
    

  4. onContentProviderContentChanged :: (IsContentProvider a, MonadIO m) => a -> ((?self :: a) => ContentProviderContentChangedCallback) -> m SignalHandlerId

    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
    

  5. toContentProvider :: (MonadIO m, IsContentProvider o) => o -> m ContentProvider

    gi-gdk4 GI.Gdk.Objects.ContentProvider

    Cast to ContentProvider, for types for which this is known to be safe. For general casts, use castTo.

  6. 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.

  7. 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.

  8. 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.

  9. 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;
    }
    

  10. deviceHasBidiLayouts :: (HasCallStack, MonadIO m, IsDevice a) => a -> m Bool

    gi-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.

Page 1072 of many | Previous | Next