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.

  1. resourcesLookupData :: (HasCallStack, MonadIO m) => Text -> [ResourceLookupFlags] -> m Bytes

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

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

  3. module GI.Gio.Interfaces.DesktopAppInfoLookup

    DesktopAppInfoLookup is an opaque data structure and can only be accessed using the following functions.

  4. newtype DesktopAppInfoLookup

    gi-gio GI.Gio.Interfaces.DesktopAppInfoLookup

    Deprecated: (Since version 2.28)The DesktopAppInfoLookup interface is deprecated andunused by GIO.

  5. DesktopAppInfoLookup :: ManagedPtr DesktopAppInfoLookup -> DesktopAppInfoLookup

    gi-gio GI.Gio.Interfaces.DesktopAppInfoLookup

    Deprecated: (Since version 2.28)The DesktopAppInfoLookup interface is deprecated andunused by GIO.

  6. class (GObject o, IsDescendantOf DesktopAppInfoLookup o) => IsDesktopAppInfoLookup o

    gi-gio GI.Gio.Interfaces.DesktopAppInfoLookup

    Type class for types which can be safely cast to DesktopAppInfoLookup, for instance with toDesktopAppInfoLookup.

  7. desktopAppInfoLookupGetDefaultForUriScheme :: (HasCallStack, MonadIO m, IsDesktopAppInfoLookup a) => a -> Text -> m (Maybe AppInfo)

    gi-gio GI.Gio.Interfaces.DesktopAppInfoLookup

    Deprecated: (Since version 2.28)The DesktopAppInfoLookup interface is deprecated andunused by GIO.

  8. toDesktopAppInfoLookup :: (MonadIO m, IsDesktopAppInfoLookup o) => o -> m DesktopAppInfoLookup

    gi-gio GI.Gio.Interfaces.DesktopAppInfoLookup

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

  9. proxyResolverLookup :: (HasCallStack, MonadIO m, IsProxyResolver a, IsCancellable b) => a -> Text -> Maybe b -> m [Text]

    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

  10. proxyResolverLookupAsync :: (HasCallStack, MonadIO m, IsProxyResolver a, IsCancellable b) => a -> Text -> Maybe b -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Interfaces.ProxyResolver

    Asynchronous lookup of proxy. See proxyResolverLookup for more details. Since: 2.26

Page 194 of many | Previous | Next