Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
type
C_DrawingAreaDrawFunc = Ptr DrawingArea -> Ptr Context -> Int32 -> Int32 -> Ptr () -> IO ()gi-gtk4 GI.Gtk.Callbacks Type for the callback on the (unwrapped) C side.
type
DrawingAreaDrawFunc = DrawingArea -> Context -> Int32 -> Int32 -> IO ()gi-gtk4 GI.Gtk.Callbacks Whenever drawingArea needs to redraw, this function will be called. This function should exclusively redraw the contents of the drawing area and must not call any widget functions that cause changes.
type
DrawingAreaDrawFunc_WithClosures = DrawingArea -> Context -> Int32 -> Int32 -> Ptr () -> IO ()gi-gtk4 GI.Gtk.Callbacks Whenever drawingArea needs to redraw, this function will be called. This function should exclusively redraw the contents of the drawing area and must not call any widget functions that cause changes.
drop_closures_DrawingAreaDrawFunc :: DrawingAreaDrawFunc -> DrawingAreaDrawFunc_WithClosuresgi-gtk4 GI.Gtk.Callbacks A simple wrapper that ignores the closure arguments.
-
gi-gtk4 GI.Gtk.Callbacks Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
-
gi-gtk4 GI.Gtk.Callbacks Wrap the callback into a GClosure.
mk_DrawingAreaDrawFunc :: C_DrawingAreaDrawFunc -> IO (FunPtr C_DrawingAreaDrawFunc)gi-gtk4 GI.Gtk.Callbacks Generate a function pointer callable from C code, from a C_DrawingAreaDrawFunc.
noDrawingAreaDrawFunc :: Maybe DrawingAreaDrawFuncgi-gtk4 GI.Gtk.Callbacks A convenience synonym for Nothing :: Maybe DrawingAreaDrawFunc.
noDrawingAreaDrawFunc_WithClosures :: Maybe DrawingAreaDrawFunc_WithClosuresgi-gtk4 GI.Gtk.Callbacks A convenience synonym for Nothing :: Maybe DrawingAreaDrawFunc_WithClosures.
-
gi-gtk4 GI.Gtk.Callbacks Wrap a DrawingAreaDrawFunc into a C_DrawingAreaDrawFunc.