Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
monitorGetWidthMm :: (HasCallStack, MonadIO m, IsMonitor a) => a -> m Int32gi-gdk4 GI.Gdk.Objects.Monitor Gets the width in millimeters of the monitor.
monitorIsValid :: (HasCallStack, MonadIO m, IsMonitor a) => a -> m Boolgi-gdk4 GI.Gdk.Objects.Monitor Returns True if the monitor object corresponds to a physical monitor. The monitor becomes invalid when the physical monitor is unplugged or removed.
-
gi-gdk4 GI.Gdk.Objects.Monitor Connect a signal handler for the invalidate signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on monitor #invalidate callback
getSurfaceWidth :: (MonadIO m, IsSurface o) => o -> m Int32gi-gdk4 GI.Gdk.Objects.Surface Get the value of the “width” property. When overloading is enabled, this is equivalent to
get surface #width
surfaceGetWidth :: (HasCallStack, MonadIO m, IsSurface a) => a -> m Int32gi-gdk4 GI.Gdk.Objects.Surface Returns the width of the given surface. Surface size is reported in ”application pixels”, not ”device pixels” (see surfaceGetScaleFactor).
surfaceHide :: (HasCallStack, MonadIO m, IsSurface a) => a -> m ()gi-gdk4 GI.Gdk.Objects.Surface Hide the surface. For toplevel surfaces, withdraws them, so they will no longer be known to the window manager; for all surfaces, unmaps them, so they won’t be displayed. Normally done automatically as part of gtk_widget_hide().
constructTextureWidth :: (IsTexture o, MonadIO m) => Int32 -> m (GValueConstruct o)gi-gdk4 GI.Gdk.Objects.Texture Construct a GValueConstruct with valid value for the “width” property. This is rarely needed directly, but it is used by new.
getTextureWidth :: (MonadIO m, IsTexture o) => o -> m Int32gi-gdk4 GI.Gdk.Objects.Texture Get the value of the “width” property. When overloading is enabled, this is equivalent to
get texture #width
textureGetWidth :: (HasCallStack, MonadIO m, IsTexture a) => a -> m Int32gi-gdk4 GI.Gdk.Objects.Texture Returns the width of texture, in pixels.
-
gi-gdk4 GI.Gdk.Structs.PopupLayout Obtains the shadow widths of this layout. Since: 4.2