Hoogle Search

Within LTS Haskell 24.45 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. fileNewForPath :: (HasCallStack, MonadIO m) => [Char] -> m File

    gi-gio GI.Gio.Interfaces.File

    Constructs a File for a given path. This operation never fails, but the returned object might not support any I/O operation if path is malformed.

  2. fileNewForUri :: (HasCallStack, MonadIO m) => Text -> m File

    gi-gio GI.Gio.Interfaces.File

    Constructs a File for a given URI. This operation never fails, but the returned object might not support any I/O operation if uri is malformed or if the uri type is not supported.

  3. iconNewForString :: (HasCallStack, MonadIO m) => Text -> m Icon

    gi-gio GI.Gio.Interfaces.Icon

    Generate a Icon instance from str. This function can fail if str is not valid - see iconToString for discussion. If your application or library provides one or more Icon implementations you need to ensure that each GType is registered with the type system prior to calling iconNewForString. Since: 2.20

  4. proxyGetDefaultForProtocol :: (HasCallStack, MonadIO m) => Text -> m (Maybe Proxy)

    gi-gio GI.Gio.Interfaces.Proxy

    Find the gio-proxy extension point for a proxy implementation that supports the specified protocol. Since: 2.26

  5. applicationCommandLineCreateFileForArg :: (HasCallStack, MonadIO m, IsApplicationCommandLine a) => a -> [Char] -> m File

    gi-gio GI.Gio.Objects.ApplicationCommandLine

    Creates a File corresponding to a filename that was given as part of the invocation of cmdline. This differs from fileNewForCommandlineArg in that it resolves relative pathnames using the current working directory of the invoking process rather than the local process. Since: 2.36

  6. applicationCommandLineGetPlatformData :: (HasCallStack, MonadIO m, IsApplicationCommandLine a) => a -> m (Maybe GVariant)

    gi-gio GI.Gio.Objects.ApplicationCommandLine

    Gets the platform data associated with the invocation of cmdline. This is a GVariant dictionary containing information about the context in which the invocation occurred. It typically contains information like the current working directory and the startup notification ID. It comes from an untrusted external process and hence the types of all values must be validated before being used. For local invocation, it will be Nothing. Since: 2.28

  7. constructApplicationCommandLinePlatformData :: (IsApplicationCommandLine o, MonadIO m) => GVariant -> m (GValueConstruct o)

    gi-gio GI.Gio.Objects.ApplicationCommandLine

    Construct a GValueConstruct with valid value for the “platform-data” property. This is rarely needed directly, but it is used by new.

  8. dBusConnectionNewForAddress :: (HasCallStack, MonadIO m, IsDBusAuthObserver a, IsCancellable b) => Text -> [DBusConnectionFlags] -> Maybe a -> Maybe b -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.DBusConnection

    Asynchronously connects and sets up a D-Bus client connection for exchanging D-Bus messages with an endpoint specified by address which must be in the D-Bus address format. This constructor can only be used to initiate client-side connections - use dBusConnectionNew if you need to act as the server. In particular, flags cannot contain the DBusConnectionFlagsAuthenticationServer, DBusConnectionFlagsAuthenticationAllowAnonymous or DBusConnectionFlagsAuthenticationRequireSameUser flags. When the operation is finished, callback will be invoked. You can then call dBusConnectionNewForAddressFinish to get the result of the operation. If observer is not Nothing it may be used to control the authentication process. This is an asynchronous failable constructor. See dBusConnectionNewForAddressSync for the synchronous version. Since: 2.26

  9. dBusConnectionNewForAddressFinish :: (HasCallStack, MonadIO m, IsAsyncResult a) => a -> m DBusConnection

    gi-gio GI.Gio.Objects.DBusConnection

    Finishes an operation started with dBusConnectionNewForAddress. Since: 2.26

  10. dBusConnectionNewForAddressSync :: (HasCallStack, MonadIO m, IsDBusAuthObserver a, IsCancellable b) => Text -> [DBusConnectionFlags] -> Maybe a -> Maybe b -> m DBusConnection

    gi-gio GI.Gio.Objects.DBusConnection

    Synchronously connects and sets up a D-Bus client connection for exchanging D-Bus messages with an endpoint specified by address which must be in the D-Bus address format. This constructor can only be used to initiate client-side connections - use dBusConnectionNewSync if you need to act as the server. In particular, flags cannot contain the DBusConnectionFlagsAuthenticationServer, DBusConnectionFlagsAuthenticationAllowAnonymous or DBusConnectionFlagsAuthenticationRequireSameUser flags. This is a synchronous failable constructor. See dBusConnectionNewForAddress for the asynchronous version. If observer is not Nothing it may be used to control the authentication process. Since: 2.26

Page 567 of many | Previous | Next