Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

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

  1. dBusMessageSetSerial :: (HasCallStack, MonadIO m, IsDBusMessage a) => a -> Word32 -> m ()

    gi-gio GI.Gio.Objects.DBusMessage

    Sets the serial for message. Since: 2.26

  2. dBusMessageSetSignature :: (HasCallStack, MonadIO m, IsDBusMessage a) => a -> Maybe Text -> m ()

    gi-gio GI.Gio.Objects.DBusMessage

    Convenience setter for the DBusMessageHeaderFieldSignature header field. Since: 2.26

  3. dBusMessageSetUnixFdList :: (HasCallStack, MonadIO m, IsDBusMessage a, IsUnixFDList b) => a -> Maybe b -> m ()

    gi-gio GI.Gio.Objects.DBusMessage

    Sets the UNIX file descriptors associated with message. As a side-effect the DBusMessageHeaderFieldNumUnixFds header field is set to the number of fds in fdList (or cleared if fdList is Nothing). This method is only available on UNIX. When designing D-Bus APIs that are intended to be interoperable, please note that non-GDBus implementations of D-Bus can usually only access file descriptors if they are referenced by a value of type G_VARIANT_TYPE_HANDLE in the body of the message. Since: 2.26

  4. dBusObjectManagerServerSetConnection :: (HasCallStack, MonadIO m, IsDBusObjectManagerServer a, IsDBusConnection b) => a -> Maybe b -> m ()

    gi-gio GI.Gio.Objects.DBusObjectManagerServer

    Exports all objects managed by manager on connection. If connection is Nothing, stops exporting objects.

  5. dBusObjectSkeletonSetObjectPath :: (HasCallStack, MonadIO m, IsDBusObjectSkeleton a) => a -> Text -> m ()

    gi-gio GI.Gio.Objects.DBusObjectSkeleton

    Sets the object path for object. Since: 2.30

  6. dBusProxySetCachedProperty :: (HasCallStack, MonadIO m, IsDBusProxy a) => a -> Text -> Maybe GVariant -> m ()

    gi-gio GI.Gio.Objects.DBusProxy

    If value is not Nothing, sets the cached value for the property with name propertyName to the value in value. If value is Nothing, then the cached value is removed from the property cache. If proxy has an expected interface (see DBusProxy:gInterfaceInfo) and propertyName is referenced by it, then value is checked against the type of the property. If the value GVariant is floating, it is consumed. This allows convenient 'inline' use of g_variant_new(), e.g.

    C code

    g_dbus_proxy_set_cached_property (proxy,
    "SomeProperty",
    g_variant_new ("(si)",
    "A String",
    42));
    
    Normally you will not need to use this method since proxy is tracking changes using the org.freedesktop.DBus.Properties.PropertiesChanged D-Bus signal. However, for performance reasons an object may decide to not use this signal for some properties and instead use a proprietary out-of-band mechanism to transmit changes. As a concrete example, consider an object with a property ChatroomParticipants which is an array of strings. Instead of transmitting the same (long) array every time the property changes, it is more efficient to only transmit the delta using e.g. signals ChatroomParticipantJoined(String name) and ChatroomParticipantParted(String name). Since: 2.26

  7. dBusProxySetDefaultTimeout :: (HasCallStack, MonadIO m, IsDBusProxy a) => a -> Int32 -> m ()

    gi-gio GI.Gio.Objects.DBusProxy

    Sets the timeout to use if -1 (specifying default timeout) is passed as timeoutMsec in the dBusProxyCall and dBusProxyCallSync functions. See the DBusProxy:gDefaultTimeout property for more details. Since: 2.26

  8. dBusProxySetInterfaceInfo :: (HasCallStack, MonadIO m, IsDBusProxy a) => a -> Maybe DBusInterfaceInfo -> m ()

    gi-gio GI.Gio.Objects.DBusProxy

    Ensure that interactions with proxy conform to the given interface. See the DBusProxy:gInterfaceInfo property for more details. Since: 2.26

  9. dataInputStreamSetByteOrder :: (HasCallStack, MonadIO m, IsDataInputStream a) => a -> DataStreamByteOrder -> m ()

    gi-gio GI.Gio.Objects.DataInputStream

    This function sets the byte order for the given stream. All subsequent reads from the stream will be read in the given order.

  10. dataInputStreamSetNewlineType :: (HasCallStack, MonadIO m, IsDataInputStream a) => a -> DataStreamNewlineType -> m ()

    gi-gio GI.Gio.Objects.DataInputStream

    Sets the newline type for the stream. Note that using G_DATA_STREAM_NEWLINE_TYPE_ANY is slightly unsafe. If a read chunk ends in "CR" we must read an additional byte to know if this is "CR" or "CR LF", and this might block if there is no more data available.

Page 1237 of many | Previous | Next