Hoogle Search
Within LTS Haskell 24.50 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
gi-gtksource5 GI.GtkSource.Objects.PrintCompositor Sets the font for printing line numbers on the left margin. If Nothing is supplied, the default font (i.e. the one being used for the text) will be used instead. fontName should be a string representation of a font description Pango can understand. (e.g. "Monospace 10"). See fontDescriptionFromString for a description of the format of the string representation. This function cannot be called anymore after the first call to the [methodprintCompositor.paginate] function.
-
gi-gtksource5 GI.GtkSource.Objects.PrintCompositor Sets the interval for printed line numbers. If interval is 0 no numbers will be printed. If greater than 0, a number will be printed every interval lines (i.e. 1 will print all line numbers). Maximum accepted value for interval is 100. This function cannot be called anymore after the first call to the [methodprintCompositor.paginate] function.
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 ]
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 ]
type
ViewChangeNumberCallback = Int32 -> IO ()gi-gtksource5 GI.GtkSource.Objects.View Keybinding signal to edit a number at the current cursor position.
-
gi-gtksource5 GI.GtkSource.Objects.View Connect a signal handler for the changeNumber signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after view #changeNumber 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. constructViewShowLineNumbers :: (IsView o, MonadIO m) => Bool -> m (GValueConstruct o)gi-gtksource5 GI.GtkSource.Objects.View Construct a GValueConstruct with valid value for the “show-line-numbers” property. This is rarely needed directly, but it is used by new.
getViewShowLineNumbers :: (MonadIO m, IsView o) => o -> m Boolgi-gtksource5 GI.GtkSource.Objects.View Get the value of the “show-line-numbers” property. When overloading is enabled, this is equivalent to
get view #showLineNumbers
-
gi-gtksource5 GI.GtkSource.Objects.View Connect a signal handler for the changeNumber signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on view #changeNumber callback
setViewShowLineNumbers :: (MonadIO m, IsView o) => o -> Bool -> m ()gi-gtksource5 GI.GtkSource.Objects.View Set the value of the “show-line-numbers” property. When overloading is enabled, this is equivalent to
set view [ #showLineNumbers := value ]