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.
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
applicationIdIsValid :: (HasCallStack, MonadIO m) => Text -> m Boolgi-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.
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
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
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.
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
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 ]
credentialsGetUnixPid :: (HasCallStack, MonadIO m, IsCredentials a) => a -> m Int32gi-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
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.
dBusConnectionGetGuid :: (HasCallStack, MonadIO m, IsDBusConnection a) => a -> m Textgi-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