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.
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 ]
viewGetShowLineNumbers :: (HasCallStack, MonadIO m, IsView a) => a -> m Boolgi-gtksource5 GI.GtkSource.Objects.View Returns whether line numbers are displayed beside the text.
viewSetShowLineNumbers :: (HasCallStack, MonadIO m, IsView a) => a -> Bool -> m ()gi-gtksource5 GI.GtkSource.Objects.View If True line numbers will be displayed beside the text.