| Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.GtkSource.Objects.View
Contents
- Exported types
- Methods
- getAutoIndent
- getBackgroundPattern
- getCompletion
- getDrawSpaces
- getGutter
- getHighlightCurrentLine
- getIndentOnTab
- getIndentWidth
- getInsertSpacesInsteadOfTabs
- getMarkAttributes
- getRightMarginPosition
- getShowLineMarks
- getShowLineNumbers
- getShowRightMargin
- getSmartBackspace
- getSmartHomeEnd
- getTabWidth
- getVisualColumn
- indentLines
- new
- newWithBuffer
- setAutoIndent
- setBackgroundPattern
- setDrawSpaces
- setHighlightCurrentLine
- setIndentOnTab
- setIndentWidth
- setInsertSpacesInsteadOfTabs
- setMarkAttributes
- setRightMarginPosition
- setShowLineMarks
- setShowLineNumbers
- setShowRightMargin
- setSmartBackspace
- setSmartHomeEnd
- setTabWidth
- unindentLines
- Properties
- Signals
Description
- newtype View = View (ManagedPtr View)
- class GObject o => IsView o
- toView :: IsView o => o -> IO View
- noView :: Maybe View
- data ViewGetAutoIndentMethodInfo
- viewGetAutoIndent :: (HasCallStack, MonadIO m, IsView a) => a -> m Bool
- data ViewGetBackgroundPatternMethodInfo
- viewGetBackgroundPattern :: (HasCallStack, MonadIO m, IsView a) => a -> m BackgroundPatternType
- data ViewGetCompletionMethodInfo
- viewGetCompletion :: (HasCallStack, MonadIO m, IsView a) => a -> m Completion
- data ViewGetDrawSpacesMethodInfo
- viewGetDrawSpaces :: (HasCallStack, MonadIO m, IsView a) => a -> m [DrawSpacesFlags]
- data ViewGetGutterMethodInfo
- viewGetGutter :: (HasCallStack, MonadIO m, IsView a) => a -> TextWindowType -> m Gutter
- data ViewGetHighlightCurrentLineMethodInfo
- viewGetHighlightCurrentLine :: (HasCallStack, MonadIO m, IsView a) => a -> m Bool
- data ViewGetIndentOnTabMethodInfo
- viewGetIndentOnTab :: (HasCallStack, MonadIO m, IsView a) => a -> m Bool
- data ViewGetIndentWidthMethodInfo
- viewGetIndentWidth :: (HasCallStack, MonadIO m, IsView a) => a -> m Int32
- data ViewGetInsertSpacesInsteadOfTabsMethodInfo
- viewGetInsertSpacesInsteadOfTabs :: (HasCallStack, MonadIO m, IsView a) => a -> m Bool
- data ViewGetMarkAttributesMethodInfo
- viewGetMarkAttributes :: (HasCallStack, MonadIO m, IsView a) => a -> Text -> Int32 -> m MarkAttributes
- data ViewGetRightMarginPositionMethodInfo
- viewGetRightMarginPosition :: (HasCallStack, MonadIO m, IsView a) => a -> m Word32
- data ViewGetShowLineMarksMethodInfo
- viewGetShowLineMarks :: (HasCallStack, MonadIO m, IsView a) => a -> m Bool
- data ViewGetShowLineNumbersMethodInfo
- viewGetShowLineNumbers :: (HasCallStack, MonadIO m, IsView a) => a -> m Bool
- data ViewGetShowRightMarginMethodInfo
- viewGetShowRightMargin :: (HasCallStack, MonadIO m, IsView a) => a -> m Bool
- data ViewGetSmartBackspaceMethodInfo
- viewGetSmartBackspace :: (HasCallStack, MonadIO m, IsView a) => a -> m Bool
- data ViewGetSmartHomeEndMethodInfo
- viewGetSmartHomeEnd :: (HasCallStack, MonadIO m, IsView a) => a -> m SmartHomeEndType
- data ViewGetTabWidthMethodInfo
- viewGetTabWidth :: (HasCallStack, MonadIO m, IsView a) => a -> m Word32
- data ViewGetVisualColumnMethodInfo
- viewGetVisualColumn :: (HasCallStack, MonadIO m, IsView a) => a -> TextIter -> m Word32
- data ViewIndentLinesMethodInfo
- viewIndentLines :: (HasCallStack, MonadIO m, IsView a) => a -> TextIter -> TextIter -> m ()
- viewNew :: (HasCallStack, MonadIO m) => m View
- viewNewWithBuffer :: (HasCallStack, MonadIO m, IsBuffer a) => a -> m View
- data ViewSetAutoIndentMethodInfo
- viewSetAutoIndent :: (HasCallStack, MonadIO m, IsView a) => a -> Bool -> m ()
- data ViewSetBackgroundPatternMethodInfo
- viewSetBackgroundPattern :: (HasCallStack, MonadIO m, IsView a) => a -> BackgroundPatternType -> m ()
- data ViewSetDrawSpacesMethodInfo
- viewSetDrawSpaces :: (HasCallStack, MonadIO m, IsView a) => a -> [DrawSpacesFlags] -> m ()
- data ViewSetHighlightCurrentLineMethodInfo
- viewSetHighlightCurrentLine :: (HasCallStack, MonadIO m, IsView a) => a -> Bool -> m ()
- data ViewSetIndentOnTabMethodInfo
- viewSetIndentOnTab :: (HasCallStack, MonadIO m, IsView a) => a -> Bool -> m ()
- data ViewSetIndentWidthMethodInfo
- viewSetIndentWidth :: (HasCallStack, MonadIO m, IsView a) => a -> Int32 -> m ()
- data ViewSetInsertSpacesInsteadOfTabsMethodInfo
- viewSetInsertSpacesInsteadOfTabs :: (HasCallStack, MonadIO m, IsView a) => a -> Bool -> m ()
- data ViewSetMarkAttributesMethodInfo
- viewSetMarkAttributes :: (HasCallStack, MonadIO m, IsView a, IsMarkAttributes b) => a -> Text -> b -> Int32 -> m ()
- data ViewSetRightMarginPositionMethodInfo
- viewSetRightMarginPosition :: (HasCallStack, MonadIO m, IsView a) => a -> Word32 -> m ()
- data ViewSetShowLineMarksMethodInfo
- viewSetShowLineMarks :: (HasCallStack, MonadIO m, IsView a) => a -> Bool -> m ()
- data ViewSetShowLineNumbersMethodInfo
- viewSetShowLineNumbers :: (HasCallStack, MonadIO m, IsView a) => a -> Bool -> m ()
- data ViewSetShowRightMarginMethodInfo
- viewSetShowRightMargin :: (HasCallStack, MonadIO m, IsView a) => a -> Bool -> m ()
- data ViewSetSmartBackspaceMethodInfo
- viewSetSmartBackspace :: (HasCallStack, MonadIO m, IsView a) => a -> Bool -> m ()
- data ViewSetSmartHomeEndMethodInfo
- viewSetSmartHomeEnd :: (HasCallStack, MonadIO m, IsView a) => a -> SmartHomeEndType -> m ()
- data ViewSetTabWidthMethodInfo
- viewSetTabWidth :: (HasCallStack, MonadIO m, IsView a) => a -> Word32 -> m ()
- data ViewUnindentLinesMethodInfo
- viewUnindentLines :: (HasCallStack, MonadIO m, IsView a) => a -> TextIter -> TextIter -> m ()
- data ViewAutoIndentPropertyInfo
- constructViewAutoIndent :: IsView o => Bool -> IO (GValueConstruct o)
- getViewAutoIndent :: (MonadIO m, IsView o) => o -> m Bool
- setViewAutoIndent :: (MonadIO m, IsView o) => o -> Bool -> m ()
- viewAutoIndent :: AttrLabelProxy "autoIndent"
- data ViewBackgroundPatternPropertyInfo
- constructViewBackgroundPattern :: IsView o => BackgroundPatternType -> IO (GValueConstruct o)
- getViewBackgroundPattern :: (MonadIO m, IsView o) => o -> m BackgroundPatternType
- setViewBackgroundPattern :: (MonadIO m, IsView o) => o -> BackgroundPatternType -> m ()
- viewBackgroundPattern :: AttrLabelProxy "backgroundPattern"
- data ViewCompletionPropertyInfo
- getViewCompletion :: (MonadIO m, IsView o) => o -> m Completion
- viewCompletion :: AttrLabelProxy "completion"
- data ViewDrawSpacesPropertyInfo
- constructViewDrawSpaces :: IsView o => [DrawSpacesFlags] -> IO (GValueConstruct o)
- getViewDrawSpaces :: (MonadIO m, IsView o) => o -> m [DrawSpacesFlags]
- setViewDrawSpaces :: (MonadIO m, IsView o) => o -> [DrawSpacesFlags] -> m ()
- viewDrawSpaces :: AttrLabelProxy "drawSpaces"
- data ViewHighlightCurrentLinePropertyInfo
- constructViewHighlightCurrentLine :: IsView o => Bool -> IO (GValueConstruct o)
- getViewHighlightCurrentLine :: (MonadIO m, IsView o) => o -> m Bool
- setViewHighlightCurrentLine :: (MonadIO m, IsView o) => o -> Bool -> m ()
- viewHighlightCurrentLine :: AttrLabelProxy "highlightCurrentLine"
- data ViewIndentOnTabPropertyInfo
- constructViewIndentOnTab :: IsView o => Bool -> IO (GValueConstruct o)
- getViewIndentOnTab :: (MonadIO m, IsView o) => o -> m Bool
- setViewIndentOnTab :: (MonadIO m, IsView o) => o -> Bool -> m ()
- viewIndentOnTab :: AttrLabelProxy "indentOnTab"
- data ViewIndentWidthPropertyInfo
- constructViewIndentWidth :: IsView o => Int32 -> IO (GValueConstruct o)
- getViewIndentWidth :: (MonadIO m, IsView o) => o -> m Int32
- setViewIndentWidth :: (MonadIO m, IsView o) => o -> Int32 -> m ()
- viewIndentWidth :: AttrLabelProxy "indentWidth"
- data ViewInsertSpacesInsteadOfTabsPropertyInfo
- constructViewInsertSpacesInsteadOfTabs :: IsView o => Bool -> IO (GValueConstruct o)
- getViewInsertSpacesInsteadOfTabs :: (MonadIO m, IsView o) => o -> m Bool
- setViewInsertSpacesInsteadOfTabs :: (MonadIO m, IsView o) => o -> Bool -> m ()
- viewInsertSpacesInsteadOfTabs :: AttrLabelProxy "insertSpacesInsteadOfTabs"
- data ViewRightMarginPositionPropertyInfo
- constructViewRightMarginPosition :: IsView o => Word32 -> IO (GValueConstruct o)
- getViewRightMarginPosition :: (MonadIO m, IsView o) => o -> m Word32
- setViewRightMarginPosition :: (MonadIO m, IsView o) => o -> Word32 -> m ()
- viewRightMarginPosition :: AttrLabelProxy "rightMarginPosition"
- data ViewShowLineMarksPropertyInfo
- constructViewShowLineMarks :: IsView o => Bool -> IO (GValueConstruct o)
- getViewShowLineMarks :: (MonadIO m, IsView o) => o -> m Bool
- setViewShowLineMarks :: (MonadIO m, IsView o) => o -> Bool -> m ()
- viewShowLineMarks :: AttrLabelProxy "showLineMarks"
- data ViewShowLineNumbersPropertyInfo
- constructViewShowLineNumbers :: IsView o => Bool -> IO (GValueConstruct o)
- getViewShowLineNumbers :: (MonadIO m, IsView o) => o -> m Bool
- setViewShowLineNumbers :: (MonadIO m, IsView o) => o -> Bool -> m ()
- viewShowLineNumbers :: AttrLabelProxy "showLineNumbers"
- data ViewShowRightMarginPropertyInfo
- constructViewShowRightMargin :: IsView o => Bool -> IO (GValueConstruct o)
- getViewShowRightMargin :: (MonadIO m, IsView o) => o -> m Bool
- setViewShowRightMargin :: (MonadIO m, IsView o) => o -> Bool -> m ()
- viewShowRightMargin :: AttrLabelProxy "showRightMargin"
- data ViewSmartBackspacePropertyInfo
- constructViewSmartBackspace :: IsView o => Bool -> IO (GValueConstruct o)
- getViewSmartBackspace :: (MonadIO m, IsView o) => o -> m Bool
- setViewSmartBackspace :: (MonadIO m, IsView o) => o -> Bool -> m ()
- viewSmartBackspace :: AttrLabelProxy "smartBackspace"
- data ViewSmartHomeEndPropertyInfo
- constructViewSmartHomeEnd :: IsView o => SmartHomeEndType -> IO (GValueConstruct o)
- getViewSmartHomeEnd :: (MonadIO m, IsView o) => o -> m SmartHomeEndType
- setViewSmartHomeEnd :: (MonadIO m, IsView o) => o -> SmartHomeEndType -> m ()
- viewSmartHomeEnd :: AttrLabelProxy "smartHomeEnd"
- data ViewTabWidthPropertyInfo
- constructViewTabWidth :: IsView o => Word32 -> IO (GValueConstruct o)
- getViewTabWidth :: (MonadIO m, IsView o) => o -> m Word32
- setViewTabWidth :: (MonadIO m, IsView o) => o -> Word32 -> m ()
- viewTabWidth :: AttrLabelProxy "tabWidth"
- type C_ViewChangeCaseCallback = Ptr () -> CUInt -> Ptr () -> IO ()
- type ViewChangeCaseCallback = ChangeCaseType -> IO ()
- data ViewChangeCaseSignalInfo
- afterViewChangeCase :: (IsView a, MonadIO m) => a -> ViewChangeCaseCallback -> m SignalHandlerId
- genClosure_ViewChangeCase :: ViewChangeCaseCallback -> IO Closure
- mk_ViewChangeCaseCallback :: C_ViewChangeCaseCallback -> IO (FunPtr C_ViewChangeCaseCallback)
- noViewChangeCaseCallback :: Maybe ViewChangeCaseCallback
- onViewChangeCase :: (IsView a, MonadIO m) => a -> ViewChangeCaseCallback -> m SignalHandlerId
- wrap_ViewChangeCaseCallback :: ViewChangeCaseCallback -> Ptr () -> CUInt -> Ptr () -> IO ()
- type C_ViewChangeNumberCallback = Ptr () -> Int32 -> Ptr () -> IO ()
- type ViewChangeNumberCallback = Int32 -> IO ()
- data ViewChangeNumberSignalInfo
- afterViewChangeNumber :: (IsView a, MonadIO m) => a -> ViewChangeNumberCallback -> m SignalHandlerId
- genClosure_ViewChangeNumber :: ViewChangeNumberCallback -> IO Closure
- mk_ViewChangeNumberCallback :: C_ViewChangeNumberCallback -> IO (FunPtr C_ViewChangeNumberCallback)
- noViewChangeNumberCallback :: Maybe ViewChangeNumberCallback
- onViewChangeNumber :: (IsView a, MonadIO m) => a -> ViewChangeNumberCallback -> m SignalHandlerId
- wrap_ViewChangeNumberCallback :: ViewChangeNumberCallback -> Ptr () -> Int32 -> Ptr () -> IO ()
- type C_ViewJoinLinesCallback = Ptr () -> Ptr () -> IO ()
- type ViewJoinLinesCallback = IO ()
- data ViewJoinLinesSignalInfo
- afterViewJoinLines :: (IsView a, MonadIO m) => a -> ViewJoinLinesCallback -> m SignalHandlerId
- genClosure_ViewJoinLines :: ViewJoinLinesCallback -> IO Closure
- mk_ViewJoinLinesCallback :: C_ViewJoinLinesCallback -> IO (FunPtr C_ViewJoinLinesCallback)
- noViewJoinLinesCallback :: Maybe ViewJoinLinesCallback
- onViewJoinLines :: (IsView a, MonadIO m) => a -> ViewJoinLinesCallback -> m SignalHandlerId
- wrap_ViewJoinLinesCallback :: ViewJoinLinesCallback -> Ptr () -> Ptr () -> IO ()
- type C_ViewLineMarkActivatedCallback = Ptr () -> Ptr TextIter -> Ptr Event -> Ptr () -> IO ()
- type ViewLineMarkActivatedCallback = TextIter -> Event -> IO ()
- data ViewLineMarkActivatedSignalInfo
- afterViewLineMarkActivated :: (IsView a, MonadIO m) => a -> ViewLineMarkActivatedCallback -> m SignalHandlerId
- genClosure_ViewLineMarkActivated :: ViewLineMarkActivatedCallback -> IO Closure
- mk_ViewLineMarkActivatedCallback :: C_ViewLineMarkActivatedCallback -> IO (FunPtr C_ViewLineMarkActivatedCallback)
- noViewLineMarkActivatedCallback :: Maybe ViewLineMarkActivatedCallback
- onViewLineMarkActivated :: (IsView a, MonadIO m) => a -> ViewLineMarkActivatedCallback -> m SignalHandlerId
- wrap_ViewLineMarkActivatedCallback :: ViewLineMarkActivatedCallback -> Ptr () -> Ptr TextIter -> Ptr Event -> Ptr () -> IO ()
- type C_ViewMoveLinesCallback = Ptr () -> CInt -> Int32 -> Ptr () -> IO ()
- type ViewMoveLinesCallback = Bool -> Int32 -> IO ()
- data ViewMoveLinesSignalInfo
- afterViewMoveLines :: (IsView a, MonadIO m) => a -> ViewMoveLinesCallback -> m SignalHandlerId
- genClosure_ViewMoveLines :: ViewMoveLinesCallback -> IO Closure
- mk_ViewMoveLinesCallback :: C_ViewMoveLinesCallback -> IO (FunPtr C_ViewMoveLinesCallback)
- noViewMoveLinesCallback :: Maybe ViewMoveLinesCallback
- onViewMoveLines :: (IsView a, MonadIO m) => a -> ViewMoveLinesCallback -> m SignalHandlerId
- wrap_ViewMoveLinesCallback :: ViewMoveLinesCallback -> Ptr () -> CInt -> Int32 -> Ptr () -> IO ()
- type C_ViewMoveToMatchingBracketCallback = Ptr () -> CInt -> Ptr () -> IO ()
- type ViewMoveToMatchingBracketCallback = Bool -> IO ()
- data ViewMoveToMatchingBracketSignalInfo
- afterViewMoveToMatchingBracket :: (IsView a, MonadIO m) => a -> ViewMoveToMatchingBracketCallback -> m SignalHandlerId
- genClosure_ViewMoveToMatchingBracket :: ViewMoveToMatchingBracketCallback -> IO Closure
- mk_ViewMoveToMatchingBracketCallback :: C_ViewMoveToMatchingBracketCallback -> IO (FunPtr C_ViewMoveToMatchingBracketCallback)
- noViewMoveToMatchingBracketCallback :: Maybe ViewMoveToMatchingBracketCallback
- onViewMoveToMatchingBracket :: (IsView a, MonadIO m) => a -> ViewMoveToMatchingBracketCallback -> m SignalHandlerId
- wrap_ViewMoveToMatchingBracketCallback :: ViewMoveToMatchingBracketCallback -> Ptr () -> CInt -> Ptr () -> IO ()
- type C_ViewMoveWordsCallback = Ptr () -> Int32 -> Ptr () -> IO ()
- type ViewMoveWordsCallback = Int32 -> IO ()
- data ViewMoveWordsSignalInfo
- afterViewMoveWords :: (IsView a, MonadIO m) => a -> ViewMoveWordsCallback -> m SignalHandlerId
- genClosure_ViewMoveWords :: ViewMoveWordsCallback -> IO Closure
- mk_ViewMoveWordsCallback :: C_ViewMoveWordsCallback -> IO (FunPtr C_ViewMoveWordsCallback)
- noViewMoveWordsCallback :: Maybe ViewMoveWordsCallback
- onViewMoveWords :: (IsView a, MonadIO m) => a -> ViewMoveWordsCallback -> m SignalHandlerId
- wrap_ViewMoveWordsCallback :: ViewMoveWordsCallback -> Ptr () -> Int32 -> Ptr () -> IO ()
- type C_ViewRedoCallback = Ptr () -> Ptr () -> IO ()
- type ViewRedoCallback = IO ()
- data ViewRedoSignalInfo
- afterViewRedo :: (IsView a, MonadIO m) => a -> ViewRedoCallback -> m SignalHandlerId
- genClosure_ViewRedo :: ViewRedoCallback -> IO Closure
- mk_ViewRedoCallback :: C_ViewRedoCallback -> IO (FunPtr C_ViewRedoCallback)
- noViewRedoCallback :: Maybe ViewRedoCallback
- onViewRedo :: (IsView a, MonadIO m) => a -> ViewRedoCallback -> m SignalHandlerId
- wrap_ViewRedoCallback :: ViewRedoCallback -> Ptr () -> Ptr () -> IO ()
- type C_ViewShowCompletionCallback = Ptr () -> Ptr () -> IO ()
- type ViewShowCompletionCallback = IO ()
- data ViewShowCompletionSignalInfo
- afterViewShowCompletion :: (IsView a, MonadIO m) => a -> ViewShowCompletionCallback -> m SignalHandlerId
- genClosure_ViewShowCompletion :: ViewShowCompletionCallback -> IO Closure
- mk_ViewShowCompletionCallback :: C_ViewShowCompletionCallback -> IO (FunPtr C_ViewShowCompletionCallback)
- noViewShowCompletionCallback :: Maybe ViewShowCompletionCallback
- onViewShowCompletion :: (IsView a, MonadIO m) => a -> ViewShowCompletionCallback -> m SignalHandlerId
- wrap_ViewShowCompletionCallback :: ViewShowCompletionCallback -> Ptr () -> Ptr () -> IO ()
- type C_ViewSmartHomeEndCallback = Ptr () -> Ptr TextIter -> Int32 -> Ptr () -> IO ()
- type ViewSmartHomeEndCallback = TextIter -> Int32 -> IO ()
- data ViewSmartHomeEndSignalInfo
- afterViewSmartHomeEnd :: (IsView a, MonadIO m) => a -> ViewSmartHomeEndCallback -> m SignalHandlerId
- genClosure_ViewSmartHomeEnd :: ViewSmartHomeEndCallback -> IO Closure
- mk_ViewSmartHomeEndCallback :: C_ViewSmartHomeEndCallback -> IO (FunPtr C_ViewSmartHomeEndCallback)
- noViewSmartHomeEndCallback :: Maybe ViewSmartHomeEndCallback
- onViewSmartHomeEnd :: (IsView a, MonadIO m) => a -> ViewSmartHomeEndCallback -> m SignalHandlerId
- wrap_ViewSmartHomeEndCallback :: ViewSmartHomeEndCallback -> Ptr () -> Ptr TextIter -> Int32 -> Ptr () -> IO ()
- type C_ViewUndoCallback = Ptr () -> Ptr () -> IO ()
- type ViewUndoCallback = IO ()
- data ViewUndoSignalInfo
- afterViewUndo :: (IsView a, MonadIO m) => a -> ViewUndoCallback -> m SignalHandlerId
- genClosure_ViewUndo :: ViewUndoCallback -> IO Closure
- mk_ViewUndoCallback :: C_ViewUndoCallback -> IO (FunPtr C_ViewUndoCallback)
- noViewUndoCallback :: Maybe ViewUndoCallback
- onViewUndo :: (IsView a, MonadIO m) => a -> ViewUndoCallback -> m SignalHandlerId
- wrap_ViewUndoCallback :: ViewUndoCallback -> Ptr () -> Ptr () -> IO ()
Exported types
Constructors
| View (ManagedPtr View) |
Instances
| GObject View Source # | |
| IsImplementorIface View Source # | |
| IsObject View Source # | |
| IsTextView View Source # | |
| IsBuildable View Source # | |
| IsScrollable View Source # | |
| IsContainer View Source # | |
| IsWidget View Source # | |
| IsView View Source # | |
| ((~) * info (ResolveViewMethod t View), MethodInfo * info View p) => IsLabel t (View -> p) Source # | |
| ((~) * info (ResolveViewMethod t View), MethodInfo * info View p) => IsLabelProxy t (View -> p) Source # | |
| HasAttributeList * View Source # | |
| type AttributeList View Source # | |
| type SignalList View Source # | |
Methods
getAutoIndent
data ViewGetAutoIndentMethodInfo Source #
Instances
| ((~) * signature (m Bool), MonadIO m, IsView a) => MethodInfo * ViewGetAutoIndentMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> m Bool | Returns: |
Returns whether auto-indentation of text is enabled.
getBackgroundPattern
data ViewGetBackgroundPatternMethodInfo Source #
Instances
| ((~) * signature (m BackgroundPatternType), MonadIO m, IsView a) => MethodInfo * ViewGetBackgroundPatternMethodInfo a signature Source # | |
viewGetBackgroundPattern Source #
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> m BackgroundPatternType | Returns: the |
Returns the BackgroundPatternType specifying if and how
the background pattern should be displayed for this view.
Since: 3.16
getCompletion
data ViewGetCompletionMethodInfo Source #
Instances
| ((~) * signature (m Completion), MonadIO m, IsView a) => MethodInfo * ViewGetCompletionMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> m Completion | Returns:
the |
Gets the Completion associated with view.
getDrawSpaces
data ViewGetDrawSpacesMethodInfo Source #
Instances
| ((~) * signature (m [DrawSpacesFlags]), MonadIO m, IsView a) => MethodInfo * ViewGetDrawSpacesMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> m [DrawSpacesFlags] | Returns: the |
Returns the DrawSpacesFlags specifying if and how spaces
should be displayed for this view.
getGutter
data ViewGetGutterMethodInfo Source #
Instances
| ((~) * signature (TextWindowType -> m Gutter), MonadIO m, IsView a) => MethodInfo * ViewGetGutterMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> TextWindowType |
|
| -> m Gutter | Returns: the |
Returns the Gutter object associated with windowType for view.
Only GTK_TEXT_WINDOW_LEFT and GTK_TEXT_WINDOW_RIGHT are supported,
respectively corresponding to the left and right gutter. The line numbers
and mark category icons are rendered in the left gutter.
Since: 2.8
getHighlightCurrentLine
data ViewGetHighlightCurrentLineMethodInfo Source #
Instances
| ((~) * signature (m Bool), MonadIO m, IsView a) => MethodInfo * ViewGetHighlightCurrentLineMethodInfo a signature Source # | |
viewGetHighlightCurrentLine Source #
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> m Bool | Returns: |
Returns whether the current line is highlighted.
getIndentOnTab
data ViewGetIndentOnTabMethodInfo Source #
Instances
| ((~) * signature (m Bool), MonadIO m, IsView a) => MethodInfo * ViewGetIndentOnTabMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> m Bool | Returns: |
Returns whether when the tab key is pressed the current selection should get indented instead of replaced with the \t character.
getIndentWidth
data ViewGetIndentWidthMethodInfo Source #
Instances
| ((~) * signature (m Int32), MonadIO m, IsView a) => MethodInfo * ViewGetIndentWidthMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> m Int32 | Returns: indent width. |
Returns the number of spaces to use for each step of indent.
See viewSetIndentWidth for details.
getInsertSpacesInsteadOfTabs
data ViewGetInsertSpacesInsteadOfTabsMethodInfo Source #
Instances
| ((~) * signature (m Bool), MonadIO m, IsView a) => MethodInfo * ViewGetInsertSpacesInsteadOfTabsMethodInfo a signature Source # | |
viewGetInsertSpacesInsteadOfTabs Source #
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> m Bool | Returns: |
Returns whether when inserting a tabulator character it should be replaced by a group of space characters.
getMarkAttributes
data ViewGetMarkAttributesMethodInfo Source #
Instances
| ((~) * signature (Text -> Int32 -> m MarkAttributes), MonadIO m, IsView a) => MethodInfo * ViewGetMarkAttributesMethodInfo a signature Source # | |
viewGetMarkAttributes Source #
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> Text |
|
| -> Int32 |
|
| -> m MarkAttributes | Returns: |
Gets attributes and priority for the category.
getRightMarginPosition
data ViewGetRightMarginPositionMethodInfo Source #
Instances
| ((~) * signature (m Word32), MonadIO m, IsView a) => MethodInfo * ViewGetRightMarginPositionMethodInfo a signature Source # | |
viewGetRightMarginPosition Source #
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> m Word32 | Returns: the position of the right margin. |
Gets the position of the right margin in the given view.
getShowLineMarks
data ViewGetShowLineMarksMethodInfo Source #
Instances
| ((~) * signature (m Bool), MonadIO m, IsView a) => MethodInfo * ViewGetShowLineMarksMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> m Bool | Returns: |
Returns whether line marks are displayed beside the text.
Since: 2.2
getShowLineNumbers
data ViewGetShowLineNumbersMethodInfo Source #
Instances
| ((~) * signature (m Bool), MonadIO m, IsView a) => MethodInfo * ViewGetShowLineNumbersMethodInfo a signature Source # | |
viewGetShowLineNumbers Source #
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> m Bool | Returns: |
Returns whether line numbers are displayed beside the text.
getShowRightMargin
data ViewGetShowRightMarginMethodInfo Source #
Instances
| ((~) * signature (m Bool), MonadIO m, IsView a) => MethodInfo * ViewGetShowRightMarginMethodInfo a signature Source # | |
viewGetShowRightMargin Source #
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> m Bool | Returns: |
Returns whether a right margin is displayed.
getSmartBackspace
data ViewGetSmartBackspaceMethodInfo Source #
Instances
| ((~) * signature (m Bool), MonadIO m, IsView a) => MethodInfo * ViewGetSmartBackspaceMethodInfo a signature Source # | |
viewGetSmartBackspace Source #
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> m Bool | Returns: |
Returns True if pressing the Backspace key will try to delete spaces
up to the previous tab stop.
Since: 3.18
getSmartHomeEnd
data ViewGetSmartHomeEndMethodInfo Source #
Instances
| ((~) * signature (m SmartHomeEndType), MonadIO m, IsView a) => MethodInfo * ViewGetSmartHomeEndMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> m SmartHomeEndType | Returns: a |
Returns a SmartHomeEndType end value specifying
how the cursor will move when HOME and END keys are pressed.
getTabWidth
data ViewGetTabWidthMethodInfo Source #
Instances
| ((~) * signature (m Word32), MonadIO m, IsView a) => MethodInfo * ViewGetTabWidthMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> m Word32 | Returns: width of tab. |
Returns the width of tabulation in characters.
getVisualColumn
data ViewGetVisualColumnMethodInfo Source #
Instances
| ((~) * signature (TextIter -> m Word32), MonadIO m, IsView a) => MethodInfo * ViewGetVisualColumnMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> TextIter |
|
| -> m Word32 | Returns: the visual column at |
Determines the visual column at iter taking into consideration the
View:tab-width of view.
indentLines
data ViewIndentLinesMethodInfo Source #
Instances
| ((~) * signature (TextIter -> TextIter -> m ()), MonadIO m, IsView a) => MethodInfo * ViewIndentLinesMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> TextIter |
|
| -> TextIter |
|
| -> m () |
Insert one indentation level at the beginning of the specified lines.
Since: 3.16
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m View | Returns: a new |
Creates a new View.
By default, an empty Buffer will be lazily created and can be
retrieved with textViewGetBuffer.
If you want to specify your own buffer, either override the
TextViewClass create_buffer factory method, or use
viewNewWithBuffer.
newWithBuffer
Arguments
| :: (HasCallStack, MonadIO m, IsBuffer a) | |
| => a |
|
| -> m View | Returns: a new |
Creates a new View widget displaying the buffer
buffer. One buffer can be shared among many widgets.
setAutoIndent
data ViewSetAutoIndentMethodInfo Source #
Instances
| ((~) * signature (Bool -> m ()), MonadIO m, IsView a) => MethodInfo * ViewSetAutoIndentMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> Bool |
|
| -> m () |
If True auto-indentation of text is enabled.
When Enter is pressed to create a new line, the auto-indentation inserts the same indentation as the previous line. This is <emphasis>not</emphasis> a "smart indentation" where an indentation level is added or removed depending on the context.
setBackgroundPattern
data ViewSetBackgroundPatternMethodInfo Source #
Instances
| ((~) * signature (BackgroundPatternType -> m ()), MonadIO m, IsView a) => MethodInfo * ViewSetBackgroundPatternMethodInfo a signature Source # | |
viewSetBackgroundPattern Source #
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> BackgroundPatternType |
|
| -> m () |
Set if and how the background pattern should be displayed.
Since: 3.16
setDrawSpaces
data ViewSetDrawSpacesMethodInfo Source #
Instances
| ((~) * signature ([DrawSpacesFlags] -> m ()), MonadIO m, IsView a) => MethodInfo * ViewSetDrawSpacesMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> [DrawSpacesFlags] |
|
| -> m () |
Set if and how the spaces should be visualized. Specifying flags as 0 will
disable display of spaces.
For a finer-grained method, there is also the GtkSourceTag's
Tag:draw-spaces property.
setHighlightCurrentLine
data ViewSetHighlightCurrentLineMethodInfo Source #
Instances
| ((~) * signature (Bool -> m ()), MonadIO m, IsView a) => MethodInfo * ViewSetHighlightCurrentLineMethodInfo a signature Source # | |
viewSetHighlightCurrentLine Source #
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> Bool |
|
| -> m () |
If highlight is True the current line will be highlighted.
setIndentOnTab
data ViewSetIndentOnTabMethodInfo Source #
Instances
| ((~) * signature (Bool -> m ()), MonadIO m, IsView a) => MethodInfo * ViewSetIndentOnTabMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> Bool |
|
| -> m () |
If True, when the tab key is pressed when several lines are selected, the
selected lines are indented of one level instead of being replaced with a \t
character. Shift+Tab unindents the selection.
If the first or last line is not selected completely, it is also indented or unindented.
When the selection doesn't span several lines, the tab key always replaces the selection with a normal \t character.
setIndentWidth
data ViewSetIndentWidthMethodInfo Source #
Instances
| ((~) * signature (Int32 -> m ()), MonadIO m, IsView a) => MethodInfo * ViewSetIndentWidthMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> Int32 |
|
| -> m () |
Sets the number of spaces to use for each step of indent when the tab key is
pressed. If width is -1, the value of the View:tab-width property
will be used.
The View:indent-width interacts with the
View:insert-spaces-instead-of-tabs property and
View:tab-width. An example will be clearer: if the
View:indent-width is 4 and
View:tab-width is 8 and
View:insert-spaces-instead-of-tabs is False, then pressing the tab
key at the beginning of a line will insert 4 spaces. So far so good. Pressing
the tab key a second time will remove the 4 spaces and insert a \t character
instead (since View:tab-width is 8). On the other hand, if
View:insert-spaces-instead-of-tabs is True, the second tab key
pressed will insert 4 more spaces for a total of 8 spaces in the
TextBuffer.
The test-widget program (available in the GtkSourceView repository) may be useful to better understand the indentation settings (enable the space drawing!).
setInsertSpacesInsteadOfTabs
data ViewSetInsertSpacesInsteadOfTabsMethodInfo Source #
Instances
| ((~) * signature (Bool -> m ()), MonadIO m, IsView a) => MethodInfo * ViewSetInsertSpacesInsteadOfTabsMethodInfo a signature Source # | |
viewSetInsertSpacesInsteadOfTabs Source #
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> Bool |
|
| -> m () |
If True a tab key pressed is replaced by a group of space characters. Of
course it is still possible to insert a real \t programmatically with the
TextBuffer API.
setMarkAttributes
data ViewSetMarkAttributesMethodInfo Source #
Instances
| ((~) * signature (Text -> b -> Int32 -> m ()), MonadIO m, IsView a, IsMarkAttributes b) => MethodInfo * ViewSetMarkAttributesMethodInfo a signature Source # | |
viewSetMarkAttributes Source #
Arguments
| :: (HasCallStack, MonadIO m, IsView a, IsMarkAttributes b) | |
| => a |
|
| -> Text |
|
| -> b |
|
| -> Int32 |
|
| -> m () |
Sets attributes and priority for the category.
setRightMarginPosition
data ViewSetRightMarginPositionMethodInfo Source #
Instances
| ((~) * signature (Word32 -> m ()), MonadIO m, IsView a) => MethodInfo * ViewSetRightMarginPositionMethodInfo a signature Source # | |
viewSetRightMarginPosition Source #
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> Word32 |
|
| -> m () |
Sets the position of the right margin in the given view.
setShowLineMarks
data ViewSetShowLineMarksMethodInfo Source #
Instances
| ((~) * signature (Bool -> m ()), MonadIO m, IsView a) => MethodInfo * ViewSetShowLineMarksMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> Bool |
|
| -> m () |
If True line marks will be displayed beside the text.
Since: 2.2
setShowLineNumbers
data ViewSetShowLineNumbersMethodInfo Source #
Instances
| ((~) * signature (Bool -> m ()), MonadIO m, IsView a) => MethodInfo * ViewSetShowLineNumbersMethodInfo a signature Source # | |
viewSetShowLineNumbers Source #
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> Bool |
|
| -> m () |
If True line numbers will be displayed beside the text.
setShowRightMargin
data ViewSetShowRightMarginMethodInfo Source #
Instances
| ((~) * signature (Bool -> m ()), MonadIO m, IsView a) => MethodInfo * ViewSetShowRightMarginMethodInfo a signature Source # | |
viewSetShowRightMargin Source #
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> Bool |
|
| -> m () |
If True a right margin is displayed.
setSmartBackspace
data ViewSetSmartBackspaceMethodInfo Source #
Instances
| ((~) * signature (Bool -> m ()), MonadIO m, IsView a) => MethodInfo * ViewSetSmartBackspaceMethodInfo a signature Source # | |
viewSetSmartBackspace Source #
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> Bool |
|
| -> m () |
When set to True, pressing the Backspace key will try to delete spaces
up to the previous tab stop.
Since: 3.18
setSmartHomeEnd
data ViewSetSmartHomeEndMethodInfo Source #
Instances
| ((~) * signature (SmartHomeEndType -> m ()), MonadIO m, IsView a) => MethodInfo * ViewSetSmartHomeEndMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> SmartHomeEndType |
|
| -> m () |
Set the desired movement of the cursor when HOME and END keys are pressed.
setTabWidth
data ViewSetTabWidthMethodInfo Source #
Instances
| ((~) * signature (Word32 -> m ()), MonadIO m, IsView a) => MethodInfo * ViewSetTabWidthMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> Word32 |
|
| -> m () |
Sets the width of tabulation in characters. The TextBuffer still contains
\t characters, but they can take a different visual width in a View
widget.
unindentLines
data ViewUnindentLinesMethodInfo Source #
Instances
| ((~) * signature (TextIter -> TextIter -> m ()), MonadIO m, IsView a) => MethodInfo * ViewUnindentLinesMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsView a) | |
| => a |
|
| -> TextIter |
|
| -> TextIter |
|
| -> m () |
Removes one indentation level at the beginning of the specified lines.
Since: 3.16
Properties
autoIndent
data ViewAutoIndentPropertyInfo Source #
Instances
constructViewAutoIndent :: IsView o => Bool -> IO (GValueConstruct o) Source #
viewAutoIndent :: AttrLabelProxy "autoIndent" Source #
backgroundPattern
data ViewBackgroundPatternPropertyInfo Source #
Instances
constructViewBackgroundPattern :: IsView o => BackgroundPatternType -> IO (GValueConstruct o) Source #
getViewBackgroundPattern :: (MonadIO m, IsView o) => o -> m BackgroundPatternType Source #
setViewBackgroundPattern :: (MonadIO m, IsView o) => o -> BackgroundPatternType -> m () Source #
viewBackgroundPattern :: AttrLabelProxy "backgroundPattern" Source #
completion
data ViewCompletionPropertyInfo Source #
Instances
getViewCompletion :: (MonadIO m, IsView o) => o -> m Completion Source #
viewCompletion :: AttrLabelProxy "completion" Source #
drawSpaces
data ViewDrawSpacesPropertyInfo Source #
Instances
constructViewDrawSpaces :: IsView o => [DrawSpacesFlags] -> IO (GValueConstruct o) Source #
getViewDrawSpaces :: (MonadIO m, IsView o) => o -> m [DrawSpacesFlags] Source #
setViewDrawSpaces :: (MonadIO m, IsView o) => o -> [DrawSpacesFlags] -> m () Source #
viewDrawSpaces :: AttrLabelProxy "drawSpaces" Source #
highlightCurrentLine
data ViewHighlightCurrentLinePropertyInfo Source #
Instances
constructViewHighlightCurrentLine :: IsView o => Bool -> IO (GValueConstruct o) Source #
viewHighlightCurrentLine :: AttrLabelProxy "highlightCurrentLine" Source #
indentOnTab
data ViewIndentOnTabPropertyInfo Source #
Instances
constructViewIndentOnTab :: IsView o => Bool -> IO (GValueConstruct o) Source #
viewIndentOnTab :: AttrLabelProxy "indentOnTab" Source #
indentWidth
data ViewIndentWidthPropertyInfo Source #
Instances
constructViewIndentWidth :: IsView o => Int32 -> IO (GValueConstruct o) Source #
viewIndentWidth :: AttrLabelProxy "indentWidth" Source #
insertSpacesInsteadOfTabs
data ViewInsertSpacesInsteadOfTabsPropertyInfo Source #
Instances
constructViewInsertSpacesInsteadOfTabs :: IsView o => Bool -> IO (GValueConstruct o) Source #
viewInsertSpacesInsteadOfTabs :: AttrLabelProxy "insertSpacesInsteadOfTabs" Source #
rightMarginPosition
data ViewRightMarginPositionPropertyInfo Source #
Instances
constructViewRightMarginPosition :: IsView o => Word32 -> IO (GValueConstruct o) Source #
viewRightMarginPosition :: AttrLabelProxy "rightMarginPosition" Source #
showLineMarks
data ViewShowLineMarksPropertyInfo Source #
Instances
constructViewShowLineMarks :: IsView o => Bool -> IO (GValueConstruct o) Source #
viewShowLineMarks :: AttrLabelProxy "showLineMarks" Source #
showLineNumbers
data ViewShowLineNumbersPropertyInfo Source #
Instances
constructViewShowLineNumbers :: IsView o => Bool -> IO (GValueConstruct o) Source #
viewShowLineNumbers :: AttrLabelProxy "showLineNumbers" Source #
showRightMargin
data ViewShowRightMarginPropertyInfo Source #
Instances
constructViewShowRightMargin :: IsView o => Bool -> IO (GValueConstruct o) Source #
viewShowRightMargin :: AttrLabelProxy "showRightMargin" Source #
smartBackspace
data ViewSmartBackspacePropertyInfo Source #
Instances
constructViewSmartBackspace :: IsView o => Bool -> IO (GValueConstruct o) Source #
viewSmartBackspace :: AttrLabelProxy "smartBackspace" Source #
smartHomeEnd
data ViewSmartHomeEndPropertyInfo Source #
Instances
constructViewSmartHomeEnd :: IsView o => SmartHomeEndType -> IO (GValueConstruct o) Source #
getViewSmartHomeEnd :: (MonadIO m, IsView o) => o -> m SmartHomeEndType Source #
setViewSmartHomeEnd :: (MonadIO m, IsView o) => o -> SmartHomeEndType -> m () Source #
viewSmartHomeEnd :: AttrLabelProxy "smartHomeEnd" Source #
tabWidth
data ViewTabWidthPropertyInfo Source #
Instances
constructViewTabWidth :: IsView o => Word32 -> IO (GValueConstruct o) Source #
viewTabWidth :: AttrLabelProxy "tabWidth" Source #
Signals
changeCase
type ViewChangeCaseCallback = ChangeCaseType -> IO () Source #
afterViewChangeCase :: (IsView a, MonadIO m) => a -> ViewChangeCaseCallback -> m SignalHandlerId Source #
mk_ViewChangeCaseCallback :: C_ViewChangeCaseCallback -> IO (FunPtr C_ViewChangeCaseCallback) Source #
onViewChangeCase :: (IsView a, MonadIO m) => a -> ViewChangeCaseCallback -> m SignalHandlerId Source #
wrap_ViewChangeCaseCallback :: ViewChangeCaseCallback -> Ptr () -> CUInt -> Ptr () -> IO () Source #
changeNumber
type ViewChangeNumberCallback = Int32 -> IO () Source #
afterViewChangeNumber :: (IsView a, MonadIO m) => a -> ViewChangeNumberCallback -> m SignalHandlerId Source #
mk_ViewChangeNumberCallback :: C_ViewChangeNumberCallback -> IO (FunPtr C_ViewChangeNumberCallback) Source #
onViewChangeNumber :: (IsView a, MonadIO m) => a -> ViewChangeNumberCallback -> m SignalHandlerId Source #
wrap_ViewChangeNumberCallback :: ViewChangeNumberCallback -> Ptr () -> Int32 -> Ptr () -> IO () Source #
joinLines
type ViewJoinLinesCallback = IO () Source #
afterViewJoinLines :: (IsView a, MonadIO m) => a -> ViewJoinLinesCallback -> m SignalHandlerId Source #
onViewJoinLines :: (IsView a, MonadIO m) => a -> ViewJoinLinesCallback -> m SignalHandlerId Source #
wrap_ViewJoinLinesCallback :: ViewJoinLinesCallback -> Ptr () -> Ptr () -> IO () Source #
lineMarkActivated
type C_ViewLineMarkActivatedCallback = Ptr () -> Ptr TextIter -> Ptr Event -> Ptr () -> IO () Source #
afterViewLineMarkActivated :: (IsView a, MonadIO m) => a -> ViewLineMarkActivatedCallback -> m SignalHandlerId Source #
mk_ViewLineMarkActivatedCallback :: C_ViewLineMarkActivatedCallback -> IO (FunPtr C_ViewLineMarkActivatedCallback) Source #
onViewLineMarkActivated :: (IsView a, MonadIO m) => a -> ViewLineMarkActivatedCallback -> m SignalHandlerId Source #
wrap_ViewLineMarkActivatedCallback :: ViewLineMarkActivatedCallback -> Ptr () -> Ptr TextIter -> Ptr Event -> Ptr () -> IO () Source #
moveLines
afterViewMoveLines :: (IsView a, MonadIO m) => a -> ViewMoveLinesCallback -> m SignalHandlerId Source #
onViewMoveLines :: (IsView a, MonadIO m) => a -> ViewMoveLinesCallback -> m SignalHandlerId Source #
wrap_ViewMoveLinesCallback :: ViewMoveLinesCallback -> Ptr () -> CInt -> Int32 -> Ptr () -> IO () Source #
moveToMatchingBracket
type ViewMoveToMatchingBracketCallback = Bool -> IO () Source #
afterViewMoveToMatchingBracket :: (IsView a, MonadIO m) => a -> ViewMoveToMatchingBracketCallback -> m SignalHandlerId Source #
mk_ViewMoveToMatchingBracketCallback :: C_ViewMoveToMatchingBracketCallback -> IO (FunPtr C_ViewMoveToMatchingBracketCallback) Source #
onViewMoveToMatchingBracket :: (IsView a, MonadIO m) => a -> ViewMoveToMatchingBracketCallback -> m SignalHandlerId Source #
wrap_ViewMoveToMatchingBracketCallback :: ViewMoveToMatchingBracketCallback -> Ptr () -> CInt -> Ptr () -> IO () Source #
moveWords
type ViewMoveWordsCallback = Int32 -> IO () Source #
afterViewMoveWords :: (IsView a, MonadIO m) => a -> ViewMoveWordsCallback -> m SignalHandlerId Source #
onViewMoveWords :: (IsView a, MonadIO m) => a -> ViewMoveWordsCallback -> m SignalHandlerId Source #
wrap_ViewMoveWordsCallback :: ViewMoveWordsCallback -> Ptr () -> Int32 -> Ptr () -> IO () Source #
redo
type ViewRedoCallback = IO () Source #
data ViewRedoSignalInfo Source #
Instances
afterViewRedo :: (IsView a, MonadIO m) => a -> ViewRedoCallback -> m SignalHandlerId Source #
onViewRedo :: (IsView a, MonadIO m) => a -> ViewRedoCallback -> m SignalHandlerId Source #
wrap_ViewRedoCallback :: ViewRedoCallback -> Ptr () -> Ptr () -> IO () Source #
showCompletion
type ViewShowCompletionCallback = IO () Source #
afterViewShowCompletion :: (IsView a, MonadIO m) => a -> ViewShowCompletionCallback -> m SignalHandlerId Source #
mk_ViewShowCompletionCallback :: C_ViewShowCompletionCallback -> IO (FunPtr C_ViewShowCompletionCallback) Source #
onViewShowCompletion :: (IsView a, MonadIO m) => a -> ViewShowCompletionCallback -> m SignalHandlerId Source #
wrap_ViewShowCompletionCallback :: ViewShowCompletionCallback -> Ptr () -> Ptr () -> IO () Source #
smartHomeEnd
afterViewSmartHomeEnd :: (IsView a, MonadIO m) => a -> ViewSmartHomeEndCallback -> m SignalHandlerId Source #
mk_ViewSmartHomeEndCallback :: C_ViewSmartHomeEndCallback -> IO (FunPtr C_ViewSmartHomeEndCallback) Source #
onViewSmartHomeEnd :: (IsView a, MonadIO m) => a -> ViewSmartHomeEndCallback -> m SignalHandlerId Source #
wrap_ViewSmartHomeEndCallback :: ViewSmartHomeEndCallback -> Ptr () -> Ptr TextIter -> Int32 -> Ptr () -> IO () Source #
undo
type ViewUndoCallback = IO () Source #
data ViewUndoSignalInfo Source #
Instances
afterViewUndo :: (IsView a, MonadIO m) => a -> ViewUndoCallback -> m SignalHandlerId Source #
onViewUndo :: (IsView a, MonadIO m) => a -> ViewUndoCallback -> m SignalHandlerId Source #
wrap_ViewUndoCallback :: ViewUndoCallback -> Ptr () -> Ptr () -> IO () Source #