Hoogle Search
Within LTS Haskell 24.33 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setPrintCompositorPrintLineNumbers :: (MonadIO m, IsPrintCompositor o) => o -> Word32 -> m ()gi-gtksource5 GI.GtkSource.Objects.PrintCompositor Set the value of the “print-line-numbers” property. When overloading is enabled, this is equivalent to
set printCompositor [ #printLineNumbers := value ]
setPrintCompositorTabWidth :: (MonadIO m, IsPrintCompositor o) => o -> Word32 -> m ()gi-gtksource5 GI.GtkSource.Objects.PrintCompositor Set the value of the “tab-width” property. When overloading is enabled, this is equivalent to
set printCompositor [ #tabWidth := value ]
setPrintCompositorWrapMode :: (MonadIO m, IsPrintCompositor o) => o -> WrapMode -> m ()gi-gtksource5 GI.GtkSource.Objects.PrintCompositor Set the value of the “wrap-mode” property. When overloading is enabled, this is equivalent to
set printCompositor [ #wrapMode := value ]
toPrintCompositor :: (MonadIO m, IsPrintCompositor o) => o -> m PrintCompositorgi-gtksource5 GI.GtkSource.Objects.PrintCompositor Cast to PrintCompositor, for types for which this is known to be safe. For general casts, use castTo.
type
C_LoggerPrinter = Ptr Logger -> CUInt -> Int8 -> CString -> Ptr () -> IO ()gi-soup3 GI.Soup.Callbacks Type for the callback on the (unwrapped) C side.
type
LoggerPrinter = Logger -> LoggerLogLevel -> Int8 -> Text -> IO ()gi-soup3 GI.Soup.Callbacks The prototype for a custom printing callback. level indicates what kind of information is being printed. Eg, it will be LoggerLogLevelHeaders if data is header data. direction is either '<', '>', or ' ', and data is the single line to print; the printer is expected to add a terminating newline. To get the effect of the default printer, you would do:
c code
printf ("%c %s\n", direction, data);type
LoggerPrinter_WithClosures = Logger -> LoggerLogLevel -> Int8 -> Text -> Ptr () -> IO ()gi-soup3 GI.Soup.Callbacks The prototype for a custom printing callback. level indicates what kind of information is being printed. Eg, it will be LoggerLogLevelHeaders if data is header data. direction is either '<', '>', or ' ', and data is the single line to print; the printer is expected to add a terminating newline. To get the effect of the default printer, you would do:
c code
printf ("%c %s\n", direction, data);drop_closures_LoggerPrinter :: LoggerPrinter -> LoggerPrinter_WithClosuresgi-soup3 GI.Soup.Callbacks A simple wrapper that ignores the closure arguments.
-
gi-soup3 GI.Soup.Callbacks Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_LoggerPrinter :: MonadIO m => LoggerPrinter -> m (GClosure C_LoggerPrinter)gi-soup3 GI.Soup.Callbacks Wrap the callback into a GClosure.