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. surfaceSetCursor :: (HasCallStack, MonadIO m, IsSurface a, IsCursor b) => a -> Maybe b -> m ()

    gi-gdk4 GI.Gdk.Objects.Surface

    Sets the default mouse pointer for a GdkSurface. Passing Nothing for the cursor argument means that surface will use the cursor of its parent surface. Most surfaces should use this default. Note that cursor must be for the same display as surface. Use cursorNewFromName or cursorNewFromTexture to create the cursor. To make the cursor invisible, use GDK_BLANK_CURSOR.

  2. surfaceSetDeviceCursor :: (HasCallStack, MonadIO m, IsSurface a, IsDevice b, IsCursor c) => a -> b -> c -> m ()

    gi-gdk4 GI.Gdk.Objects.Surface

    Sets a specific GdkCursor for a given device when it gets inside surface. Passing Nothing for the cursor argument means that surface will use the cursor of its parent surface. Most surfaces should use this default. Use cursorNewFromName or cursorNewFromTexture to create the cursor. To make the cursor invisible, use GDK_BLANK_CURSOR.

  3. surfaceSetInputRegion :: (HasCallStack, MonadIO m, IsSurface a) => a -> Region -> m ()

    gi-gdk4 GI.Gdk.Objects.Surface

    Apply the region to the surface for the purpose of event handling. Mouse events which happen while the pointer position corresponds to an unset bit in the mask will be passed on the surface below surface. An input region is typically used with RGBA surfaces. The alpha channel of the surface defines which pixels are invisible and allows for nicely antialiased borders, and the input region controls where the surface is “clickable”. Use displaySupportsInputShapes to find out if a particular backend supports input regions.

  4. surfaceSetOpaqueRegion :: (HasCallStack, MonadIO m, IsSurface a) => a -> Maybe Region -> m ()

    gi-gdk4 GI.Gdk.Objects.Surface

    Marks a region of the GdkSurface as opaque. For optimisation purposes, compositing window managers may like to not draw obscured regions of surfaces, or turn off blending during for these regions. With RGB windows with no transparency, this is just the shape of the window, but with ARGB32 windows, the compositor does not know what regions of the window are transparent or not. This function only works for toplevel surfaces. GTK will update this property automatically if the surface background is opaque, as we know where the opaque regions are. If your surface background is not opaque, please update this property in your GtkWidgetClass.css_changed handler.

  5. dragSurfaceSizeSetSize :: (HasCallStack, MonadIO m) => DragSurfaceSize -> Int32 -> Int32 -> m ()

    gi-gdk4 GI.Gdk.Structs.DragSurfaceSize

    Sets the size the drag surface prefers to be resized to. Since: 4.12

  6. popupLayoutGetOffset :: (HasCallStack, MonadIO m) => PopupLayout -> m (Int32, Int32)

    gi-gdk4 GI.Gdk.Structs.PopupLayout

    Retrieves the offset for the anchor rectangle.

  7. popupLayoutSetAnchorHints :: (HasCallStack, MonadIO m) => PopupLayout -> [AnchorHints] -> m ()

    gi-gdk4 GI.Gdk.Structs.PopupLayout

    Set new anchor hints. The set anchorHints determines how surface will be moved if the anchor points cause it to move off-screen. For example, AnchorHintsFlipX will replace GravityNorthWest with GravityNorthEast and vice versa if surface extends beyond the left or right edges of the monitor.

  8. popupLayoutSetAnchorRect :: (HasCallStack, MonadIO m) => PopupLayout -> Rectangle -> m ()

    gi-gdk4 GI.Gdk.Structs.PopupLayout

    Set the anchor rectangle.

  9. popupLayoutSetOffset :: (HasCallStack, MonadIO m) => PopupLayout -> Int32 -> Int32 -> m ()

    gi-gdk4 GI.Gdk.Structs.PopupLayout

    Offset the position of the anchor rectangle with the given delta.

  10. popupLayoutSetRectAnchor :: (HasCallStack, MonadIO m) => PopupLayout -> Gravity -> m ()

    gi-gdk4 GI.Gdk.Structs.PopupLayout

    Set the anchor on the anchor rectangle.

Page 1409 of many | Previous | Next