Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
module GI.Gio.Interfaces.
PowerProfileMonitor GPowerProfileMonitor makes it possible for applications as well as OS components to monitor system power profiles and act upon them. It currently only exports whether the system is in “Power Saver” mode (known as “Low Power” mode on some systems). When in “Low Power” mode, it is recommended that applications: * disable automatic downloads; * reduce the rate of refresh from online sources such as calendar or email synchronisation; * reduce the use of expensive visual effects. It is also likely that OS components providing services to applications will lower their own background activity, for the sake of the system. There are a variety of tools that exist for power consumption analysis, but those usually depend on the OS and hardware used. On Linux, one could use upower to monitor the battery discharge rate, powertop to check on the background activity or activity at all), sysprof to inspect CPU usage, and intel_gpu_time to profile GPU usage. Don’t forget to disconnect the Object::notify signal for PowerProfileMonitor:powerSaverEnabled, and unref the GPowerProfileMonitor itself when exiting. Since: 2.70
-
gi-gio GI.Gio.Interfaces.PowerProfileMonitor Memory-managed wrapper type.
PowerProfileMonitor :: ManagedPtr PowerProfileMonitor -> PowerProfileMonitorgi-gio GI.Gio.Interfaces.PowerProfileMonitor No documentation available.
module GI.Gio.Interfaces.
Proxy A GProxy handles connecting to a remote host via a given type of proxy server. It is implemented by the gio-proxy extension point. The extensions are named after their proxy protocol name. As an example, a SOCKS5 proxy implementation can be retrieved with the name socks5 using the function iOExtensionPointGetExtensionByName. Since: 2.26
-
gi-gio GI.Gio.Interfaces.Proxy Memory-managed wrapper type.
Proxy :: ManagedPtr Proxy -> Proxygi-gio GI.Gio.Interfaces.Proxy No documentation available.
module GI.Gio.Interfaces.
ProxyResolver GProxyResolver provides synchronous and asynchronous network proxy resolution. GProxyResolver is used within SocketClient through the method socketConnectableProxyEnumerate. Implementations of GProxyResolver based on libproxy and GNOME settings can be found in glib-networking. GIO comes with an implementation for use inside Flatpak portals. Since: 2.26
-
gi-gio GI.Gio.Interfaces.ProxyResolver Memory-managed wrapper type.
ProxyResolver :: ManagedPtr ProxyResolver -> ProxyResolvergi-gio GI.Gio.Interfaces.ProxyResolver No documentation available.
module GI.Gio.Objects.
Permission A GPermission represents the status of the caller’s permission to perform a certain action. You can query if the action is currently allowed and if it is possible to acquire the permission so that the action will be allowed in the future. There is also an API to actually acquire the permission and one to release it. As an example, a GPermission might represent the ability for the user to write to a Settings object. This GPermission object could then be used to decide if it is appropriate to show a “Click here to unlock” button in a dialog and to provide the mechanism to invoke when that button is clicked.