Hoogle Search
Within LTS Haskell 24.35 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
extendOrigNameCache :: OrigNameCache -> Module -> OccName -> Name -> OrigNameCacheghc-lib-parser GHC.Types.Name.Cache No documentation available.
extendOrigNameCache' :: OrigNameCache -> Name -> OrigNameCacheghc-lib-parser GHC.Types.Name.Cache No documentation available.
extendOccEnv :: OccEnv a -> OccName -> a -> OccEnv aghc-lib-parser GHC.Types.Name.Occurrence Add a single element to an OccEnv.
extendOccEnvList :: OccEnv a -> [(OccName, a)] -> OccEnv aghc-lib-parser GHC.Types.Name.Occurrence Extend an OccEnv by a list. OccNames later on in the list override earlier OccNames.
extendOccEnv_Acc :: (a -> b -> b) -> (a -> b) -> OccEnv b -> OccName -> a -> OccEnv bghc-lib-parser GHC.Types.Name.Occurrence Add a single element to an OccEnv, using a different function whether the OccName already exists or not.
extendOccSet :: OccSet -> OccName -> OccSetghc-lib-parser GHC.Types.Name.Occurrence No documentation available.
extendOccSetList :: OccSet -> [OccName] -> OccSetghc-lib-parser GHC.Types.Name.Occurrence No documentation available.
pattern
KEY_VendorHome :: Word32gi-gdk4 GI.Gdk.Constants No description available in the introspection data.
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.
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; }