Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

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

  1. applicationGetApplicationId :: (HasCallStack, MonadIO m, IsApplication a) => a -> m (Maybe Text)

    gi-gio GI.Gio.Objects.Application

    Gets the unique identifier for application. Since: 2.28

  2. applicationIdIsValid :: (HasCallStack, MonadIO m) => Text -> m Bool

    gi-gio GI.Gio.Objects.Application

    Checks if applicationId is a valid application identifier. A valid ID is required for calls to applicationNew and applicationSetApplicationId. Application identifiers follow the same format as D-Bus well-known bus names. For convenience, the restrictions on application identifiers are reproduced here:

    • Application identifiers are composed of 1 or more elements separated by a period (.) character. All elements must contain at least one character.
    • Each element must only contain the ASCII characters [A-Z][a-z][0-9]_-, with - discouraged in new application identifiers. Each element must not begin with a digit.
    • Application identifiers must contain at least one . (period) character (and thus at least two elements).
    • Application identifiers must not begin with a . (period) character.
    • Application identifiers must not exceed 255 characters.
    Note that the hyphen (-) character is allowed in application identifiers, but is problematic or not allowed in various specifications and APIs that refer to D-Bus, such as Flatpak application IDs, the `DBusActivatable` interface in the Desktop Entry Specification, and the convention that an application's "main" interface and object path resemble its application identifier and bus name. To avoid situations that require special-case handling, it is recommended that new application identifiers consistently replace hyphens with underscores. Like D-Bus interface names, application identifiers should start with the reversed DNS domain name of the author of the interface (in lower-case), and it is conventional for the rest of the application identifier to consist of words run together, with initial capital letters. As with D-Bus interface names, if the author's DNS domain name contains hyphen/minus characters they should be replaced by underscores, and if it contains leading digits they should be escaped by prepending an underscore. For example, if the owner of 7-zip.org used an application identifier for an archiving application, it might be named org._7_zip.Archiver.

  3. applicationSetApplicationId :: (HasCallStack, MonadIO m, IsApplication a) => a -> Maybe Text -> m ()

    gi-gio GI.Gio.Objects.Application

    Sets the unique identifier for application. The application id can only be modified if application has not yet been registered. If non-Nothing, the application id must be valid. See applicationIdIsValid. Since: 2.28

  4. clearApplicationApplicationId :: (MonadIO m, IsApplication o) => o -> m ()

    gi-gio GI.Gio.Objects.Application

    Set the value of the “application-id” property to Nothing. When overloading is enabled, this is equivalent to

    clear #applicationId
    

  5. constructApplicationApplicationId :: (IsApplication o, MonadIO m) => Text -> m (GValueConstruct o)

    gi-gio GI.Gio.Objects.Application

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

  6. getApplicationApplicationId :: (MonadIO m, IsApplication o) => o -> m (Maybe Text)

    gi-gio GI.Gio.Objects.Application

    Get the value of the “application-id” property. When overloading is enabled, this is equivalent to

    get application #applicationId
    

  7. setApplicationApplicationId :: (MonadIO m, IsApplication o) => o -> Text -> m ()

    gi-gio GI.Gio.Objects.Application

    Set the value of the “application-id” property. When overloading is enabled, this is equivalent to

    set application [ #applicationId := value ]
    

  8. credentialsGetUnixPid :: (HasCallStack, MonadIO m, IsCredentials a) => a -> m Int32

    gi-gio GI.Gio.Objects.Credentials

    Tries to get the UNIX process identifier from credentials. This method is only available on UNIX platforms. This operation can fail if Credentials is not supported on the OS or if the native credentials type does not contain information about the UNIX process ID. Since: 2.36

  9. constructDBusConnectionGuid :: (IsDBusConnection o, MonadIO m) => Text -> m (GValueConstruct o)

    gi-gio GI.Gio.Objects.DBusConnection

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

  10. dBusConnectionGetGuid :: (HasCallStack, MonadIO m, IsDBusConnection a) => a -> m Text

    gi-gio GI.Gio.Objects.DBusConnection

    The GUID of the peer performing the role of server when authenticating. See DBusConnection:guid for more details. Since: 2.26

Page 508 of many | Previous | Next