Hoogle Search
Within LTS Haskell 24.62 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
resourcesLookupData :: (HasCallStack, MonadIO m) => Text -> [ResourceLookupFlags] -> m Bytesgi-gio GI.Gio.Functions Looks for a file at the specified path in the set of globally registered resources and returns a Bytes that lets you directly access the data in memory. The data is always followed by a zero byte, so you can safely use the data as a C string. However, that byte is not included in the size of the GBytes. For uncompressed resource files this is a pointer directly into the resource bundle, which is typically in some readonly data section in the program binary. For compressed files we allocate memory on the heap and automatically uncompress the data. lookupFlags controls the behaviour of the lookup. Since: 2.32
actionMapLookupAction :: (HasCallStack, MonadIO m, IsActionMap a) => a -> Text -> m (Maybe Action)gi-gio GI.Gio.Interfaces.ActionMap Looks up the action with the name actionName in actionMap. If no such action exists, returns Nothing. Since: 2.32
module GI.Gio.Interfaces.
DesktopAppInfoLookup DesktopAppInfoLookup is an opaque data structure and can only be accessed using the following functions.
-
gi-gio GI.Gio.Interfaces.DesktopAppInfoLookup Deprecated: (Since version 2.28)The DesktopAppInfoLookup interface is deprecated andunused by GIO.
DesktopAppInfoLookup :: ManagedPtr DesktopAppInfoLookup -> DesktopAppInfoLookupgi-gio GI.Gio.Interfaces.DesktopAppInfoLookup Deprecated: (Since version 2.28)The DesktopAppInfoLookup interface is deprecated andunused by GIO.
class (GObject o, IsDescendantOf DesktopAppInfoLookup o) =>
IsDesktopAppInfoLookup ogi-gio GI.Gio.Interfaces.DesktopAppInfoLookup Type class for types which can be safely cast to DesktopAppInfoLookup, for instance with toDesktopAppInfoLookup.
-
gi-gio GI.Gio.Interfaces.DesktopAppInfoLookup Deprecated: (Since version 2.28)The DesktopAppInfoLookup interface is deprecated andunused by GIO.
toDesktopAppInfoLookup :: (MonadIO m, IsDesktopAppInfoLookup o) => o -> m DesktopAppInfoLookupgi-gio GI.Gio.Interfaces.DesktopAppInfoLookup Cast to DesktopAppInfoLookup, for types for which this is known to be safe. For general casts, use castTo.
-
gi-gio GI.Gio.Interfaces.ProxyResolver Looks into the system proxy configuration to determine what proxy, if any, to use to connect to uri. The returned proxy URIs are of the form <protocol>://[user[:password]@]host[:port] or direct://, where <protocol> could be http, rtsp, socks or other proxying protocol. If you don't know what network protocol is being used on the socket, you should use none as the URI protocol. In this case, the resolver might still return a generic proxy type (such as SOCKS), but would not return protocol-specific proxy types (such as http). direct:// is used when no proxy is needed. Direct connection should not be attempted unless it is part of the returned array of proxies. Since: 2.26
-
gi-gio GI.Gio.Interfaces.ProxyResolver Asynchronous lookup of proxy. See proxyResolverLookup for more details. Since: 2.26