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.

  1. type PaintableInvalidateContentsCallback = IO ()

    gi-gdk4 GI.Gdk.Interfaces.Paintable

    Emitted when the contents of the paintable change. Examples for such an event would be videos changing to the next frame or the icon theme for an icon changing.

  2. type PaintableInvalidateSizeCallback = IO ()

    gi-gdk4 GI.Gdk.Interfaces.Paintable

    Emitted when the intrinsic size of the paintable changes. This means the values reported by at least one of paintableGetIntrinsicWidth, paintableGetIntrinsicHeight or paintableGetIntrinsicAspectRatio has changed. Examples for such an event would be a paintable displaying the contents of a toplevel surface being resized.

  3. afterPaintableInvalidateContents :: (IsPaintable a, MonadIO m) => a -> ((?self :: a) => PaintableInvalidateContentsCallback) -> m SignalHandlerId

    gi-gdk4 GI.Gdk.Interfaces.Paintable

    Connect a signal handler for the invalidateContents signal, to be run after the default handler. When overloading is enabled, this is equivalent to

    after paintable #invalidateContents callback
    
    By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

  4. afterPaintableInvalidateSize :: (IsPaintable a, MonadIO m) => a -> ((?self :: a) => PaintableInvalidateSizeCallback) -> m SignalHandlerId

    gi-gdk4 GI.Gdk.Interfaces.Paintable

    Connect a signal handler for the invalidateSize signal, to be run after the default handler. When overloading is enabled, this is equivalent to

    after paintable #invalidateSize callback
    
    By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

  5. onPaintableInvalidateContents :: (IsPaintable a, MonadIO m) => a -> ((?self :: a) => PaintableInvalidateContentsCallback) -> m SignalHandlerId

    gi-gdk4 GI.Gdk.Interfaces.Paintable

    Connect a signal handler for the invalidateContents signal, to be run before the default handler. When overloading is enabled, this is equivalent to

    on paintable #invalidateContents callback
    

  6. onPaintableInvalidateSize :: (IsPaintable a, MonadIO m) => a -> ((?self :: a) => PaintableInvalidateSizeCallback) -> m SignalHandlerId

    gi-gdk4 GI.Gdk.Interfaces.Paintable

    Connect a signal handler for the invalidateSize signal, to be run before the default handler. When overloading is enabled, this is equivalent to

    on paintable #invalidateSize callback
    

  7. paintableGetIntrinsicWidth :: (HasCallStack, MonadIO m, IsPaintable a) => a -> m Int32

    gi-gdk4 GI.Gdk.Interfaces.Paintable

    Gets the preferred width the paintable would like to be displayed at. Consumers of this interface can use this to reserve enough space to draw the paintable. This is a purely informational value and does not in any way limit the values that may be passed to paintableSnapshot. If the paintable does not have a preferred width, it returns 0. Negative values are never returned.

  8. paintableInvalidateContents :: (HasCallStack, MonadIO m, IsPaintable a) => a -> m ()

    gi-gdk4 GI.Gdk.Interfaces.Paintable

    Called by implementations of GdkPaintable to invalidate their contents. Unless the contents are invalidated, implementations must guarantee that multiple calls of paintableSnapshot produce the same output. This function will emit the Paintable::invalidateContents signal. If a paintable reports the PaintableFlagsContents flag, it must not call this function.

  9. paintableInvalidateSize :: (HasCallStack, MonadIO m, IsPaintable a) => a -> m ()

    gi-gdk4 GI.Gdk.Interfaces.Paintable

    Called by implementations of GdkPaintable to invalidate their size. As long as the size is not invalidated, paintable must return the same values for its intrinsic width, height and aspect ratio. This function will emit the Paintable::invalidateSize signal. If a paintable reports the PaintableFlagsSize flag, it must not call this function.

  10. constructPopupAutohide :: (IsPopup o, MonadIO m) => Bool -> m (GValueConstruct o)

    gi-gdk4 GI.Gdk.Interfaces.Popup

    Construct a GValueConstruct with valid value for the “autohide” property. This is rarely needed directly, but it is used by new.

Page 1069 of many | Previous | Next