Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. type DBusObjectManagerInterfaceAddedCallback = DBusObject -> DBusInterface -> IO ()

    gi-gio GI.Gio.Interfaces.DBusObjectManager

    Emitted when interface is added to object. This signal exists purely as a convenience to avoid having to connect signals to all objects managed by manager. Since: 2.30

  2. type DBusObjectManagerInterfaceRemovedCallback = DBusObject -> DBusInterface -> IO ()

    gi-gio GI.Gio.Interfaces.DBusObjectManager

    Emitted when interface has been removed from object. This signal exists purely as a convenience to avoid having to connect signals to all objects managed by manager. Since: 2.30

  3. type DBusObjectManagerObjectAddedCallback = DBusObject -> IO ()

    gi-gio GI.Gio.Interfaces.DBusObjectManager

    Emitted when object is added to manager. Since: 2.30

  4. type DBusObjectManagerObjectRemovedCallback = DBusObject -> IO ()

    gi-gio GI.Gio.Interfaces.DBusObjectManager

    Emitted when object is removed from manager. Since: 2.30

  5. type DriveChangedCallback = IO ()

    gi-gio GI.Gio.Interfaces.Drive

    Emitted when the drive's state has changed.

  6. type DriveDisconnectedCallback = IO ()

    gi-gio GI.Gio.Interfaces.Drive

    This signal is emitted when the Drive have been disconnected. If the recipient is holding references to the object they should release them so the object can be finalized.

  7. type DriveEjectButtonCallback = IO ()

    gi-gio GI.Gio.Interfaces.Drive

    Emitted when the physical eject button (if any) of a drive has been pressed.

  8. type DriveStopButtonCallback = IO ()

    gi-gio GI.Gio.Interfaces.Drive

    Emitted when the physical stop button (if any) of a drive has been pressed. Since: 2.22

  9. type DtlsConnectionAcceptCertificateCallback = TlsCertificate -> [TlsCertificateFlags] -> IO Bool

    gi-gio GI.Gio.Interfaces.DtlsConnection

    Emitted during the TLS handshake after the peer certificate has been received. You can examine peerCert's certification path by calling tlsCertificateGetIssuer on it. For a client-side connection, peerCert is the server's certificate, and the signal will only be emitted if the certificate was not acceptable according to conn's DtlsClientConnection:validation_flags. If you would like the certificate to be accepted despite errors, return True from the signal handler. Otherwise, if no handler accepts the certificate, the handshake will fail with TlsErrorBadCertificate. GLib guarantees that if certificate verification fails, this signal will be emitted with at least one error will be set in errors, but it does not guarantee that all possible errors will be set. Accordingly, you may not safely decide to ignore any particular type of error. For example, it would be incorrect to ignore TlsCertificateFlagsExpired if you want to allow expired certificates, because this could potentially be the only error flag set even if other problems exist with the certificate. For a server-side connection, peerCert is the certificate presented by the client, if this was requested via the server's DtlsServerConnection:authentication_mode. On the server side, the signal is always emitted when the client presents a certificate, and the certificate will only be accepted if a handler returns True. Note that if this signal is emitted as part of asynchronous I/O in the main thread, then you should not attempt to interact with the user before returning from the signal handler. If you want to let the user decide whether or not to accept the certificate, you would have to return False from the signal handler on the first attempt, and then after the connection attempt returns a TlsErrorBadCertificate, you can interact with the user, and if the user decides to accept the certificate, remember that fact, create a new connection, and return True from the signal handler the next time. If you are doing I/O in another thread, you do not need to worry about this, and can simply block in the signal handler until the UI thread returns an answer. Since: 2.48

  10. type ListModelItemsChangedCallback = Word32 -> Word32 -> Word32 -> IO ()

    gi-gio GI.Gio.Interfaces.ListModel

    This signal is emitted whenever items were added to or removed from list. At position, removed items were removed and added items were added in their place. Note: If removed != added, the positions of all later items in the model change. Since: 2.44

Page 452 of many | Previous | Next