Hoogle Search
Within LTS Haskell 24.48 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setPrintCompositorHighlightSyntax :: (MonadIO m, IsPrintCompositor o) => o -> Bool -> m ()gi-gtksource5 GI.GtkSource.Objects.PrintCompositor Set the value of the “highlight-syntax” property. When overloading is enabled, this is equivalent to
set printCompositor [ #highlightSyntax := value ]
setPrintCompositorLineNumbersFontName :: (MonadIO m, IsPrintCompositor o) => o -> Text -> m ()gi-gtksource5 GI.GtkSource.Objects.PrintCompositor Set the value of the “line-numbers-font-name” property. When overloading is enabled, this is equivalent to
set printCompositor [ #lineNumbersFontName := value ]
setPrintCompositorPrintFooter :: (MonadIO m, IsPrintCompositor o) => o -> Bool -> m ()gi-gtksource5 GI.GtkSource.Objects.PrintCompositor Set the value of the “print-footer” property. When overloading is enabled, this is equivalent to
set printCompositor [ #printFooter := value ]
setPrintCompositorPrintHeader :: (MonadIO m, IsPrintCompositor o) => o -> Bool -> m ()gi-gtksource5 GI.GtkSource.Objects.PrintCompositor Set the value of the “print-header” property. When overloading is enabled, this is equivalent to
set printCompositor [ #printHeader := value ]
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);