Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

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

  1. dBusMessageNewMethodCall :: (HasCallStack, MonadIO m) => Maybe Text -> Text -> Maybe Text -> Text -> m DBusMessage

    gi-gio GI.Gio.Objects.DBusMessage

    Creates a new DBusMessage for a method call. Since: 2.26

  2. type DBusObjectManagerClientInterfaceProxyPropertiesChangedCallback = DBusObjectProxy -> DBusProxy -> GVariant -> [Text] -> IO ()

    gi-gio GI.Gio.Objects.DBusObjectManagerClient

    Emitted when one or more D-Bus properties on proxy changes. The local cache has already been updated when this signal fires. Note that both changedProperties and invalidatedProperties are guaranteed to never be Nothing (either may be empty though). This signal exists purely as a convenience to avoid having to connect signals to all interface proxies managed by manager. This signal is emitted in the [thread-default main context][g-main-context-push-thread-default] that manager was constructed in. Since: 2.30

  3. type DBusObjectManagerClientInterfaceProxySignalCallback = DBusObjectProxy -> DBusProxy -> Text -> Text -> GVariant -> IO ()

    gi-gio GI.Gio.Objects.DBusObjectManagerClient

    Emitted when a D-Bus signal is received on interfaceProxy. This signal exists purely as a convenience to avoid having to connect signals to all interface proxies managed by manager. This signal is emitted in the [thread-default main context][g-main-context-push-thread-default] that manager was constructed in. Since: 2.30

  4. type DBusObjectSkeletonAuthorizeMethodCallback = DBusInterfaceSkeleton -> DBusMethodInvocation -> IO Bool

    gi-gio GI.Gio.Objects.DBusObjectSkeleton

    Emitted when a method is invoked by a remote caller and used to determine if the method call is authorized. This signal is like DBusInterfaceSkeleton's DBusInterfaceSkeleton::gAuthorizeMethod signal, except that it is for the enclosing object. The default class handler just returns True. Since: 2.30

  5. type DBusProxyGPropertiesChangedCallback = GVariant -> [Text] -> IO ()

    gi-gio GI.Gio.Objects.DBusProxy

    Emitted when one or more D-Bus properties on proxy changes. The local cache has already been updated when this signal fires. Note that both changedProperties and invalidatedProperties are guaranteed to never be Nothing (either may be empty though). If the proxy has the flag DBusProxyFlagsGetInvalidatedProperties set, then invalidatedProperties will always be empty. This signal corresponds to the PropertiesChanged D-Bus signal on the org.freedesktop.DBus.Properties interface. Since: 2.26

  6. type DBusProxyGSignalCallback = Maybe Text -> Text -> GVariant -> IO ()

    gi-gio GI.Gio.Objects.DBusProxy

    Emitted when a signal from the remote object and interface that proxy is for, has been received. Since 2.72 this signal supports detailed connections. You can connect to the detailed signal g-signal::x in order to receive callbacks only when signal x is received from the remote object. Since: 2.26

  7. dBusProxyCall :: (HasCallStack, MonadIO m, IsDBusProxy a, IsCancellable b) => a -> Text -> Maybe GVariant -> [DBusCallFlags] -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.DBusProxy

    Asynchronously invokes the methodName method on proxy. If methodName contains any dots, then name is split into interface and method name parts. This allows using proxy for invoking methods on other interfaces. If the DBusConnection associated with proxy is closed then the operation will fail with IOErrorEnumClosed. If cancellable is canceled, the operation will fail with IOErrorEnumCancelled. If parameters contains a value not compatible with the D-Bus protocol, the operation fails with IOErrorEnumInvalidArgument. If the parameters GVariant is floating, it is consumed. This allows convenient 'inline' use of g_variant_new(), e.g.:

    C code

    g_dbus_proxy_call (proxy,
    "TwoStrings",
    g_variant_new ("(ss)",
    "Thing One",
    "Thing Two"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    NULL,
    (GAsyncReadyCallback) two_strings_done,
    &data);
    
    If proxy has an expected interface (see DBusProxy:gInterfaceInfo) and methodName is referenced by it, then the return value is checked against the return type. This is an asynchronous method. When the operation is finished, callback will be invoked in the [thread-default main context][g-main-context-push-thread-default] of the thread you are calling this method from. You can then call dBusProxyCallFinish to get the result of the operation. See dBusProxyCallSync for the synchronous version of this method. If callback is Nothing then the D-Bus method call message will be sent with the DBusMessageFlagsNoReplyExpected flag set. Since: 2.26

  8. dBusProxyCallFinish :: (HasCallStack, MonadIO m, IsDBusProxy a, IsAsyncResult b) => a -> b -> m GVariant

    gi-gio GI.Gio.Objects.DBusProxy

    Finishes an operation started with dBusProxyCall. Since: 2.26

  9. dBusProxyCallSync :: (HasCallStack, MonadIO m, IsDBusProxy a, IsCancellable b) => a -> Text -> Maybe GVariant -> [DBusCallFlags] -> Int32 -> Maybe b -> m GVariant

    gi-gio GI.Gio.Objects.DBusProxy

    Synchronously invokes the methodName method on proxy. If methodName contains any dots, then name is split into interface and method name parts. This allows using proxy for invoking methods on other interfaces. If the DBusConnection associated with proxy is disconnected then the operation will fail with IOErrorEnumClosed. If cancellable is canceled, the operation will fail with IOErrorEnumCancelled. If parameters contains a value not compatible with the D-Bus protocol, the operation fails with IOErrorEnumInvalidArgument. If the parameters GVariant is floating, it is consumed. This allows convenient 'inline' use of g_variant_new(), e.g.:

    C code

    g_dbus_proxy_call_sync (proxy,
    "TwoStrings",
    g_variant_new ("(ss)",
    "Thing One",
    "Thing Two"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    NULL,
    &error);
    
    The calling thread is blocked until a reply is received. See dBusProxyCall for the asynchronous version of this method. If proxy has an expected interface (see DBusProxy:gInterfaceInfo) and methodName is referenced by it, then the return value is checked against the return type. Since: 2.26

  10. dBusProxyCallWithUnixFdList :: (HasCallStack, MonadIO m, IsDBusProxy a, IsUnixFDList b, IsCancellable c) => a -> Text -> Maybe GVariant -> [DBusCallFlags] -> Int32 -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.DBusProxy

    Like dBusProxyCall but also takes a UnixFDList object. This method is only available on UNIX. Since: 2.30

Page 457 of many | Previous | Next