| Gtk2Hs | Contents | Index

Graphics.UI.Gtk.SourceView.SourceView

Portability | portable (depends on GHC)
Stability | provisional
Maintainer | gtk2hs-users@lists.sourceforge.net

Description
Synopsis

data SourceView
class TextViewClass o => SourceViewClass o

data SourceSmartHomeEndType

= SourceSmartHomeEndDisabled
| SourceSmartHomeEndBefore
| SourceSmartHomeEndAfter
| SourceSmartHomeEndAlways

castToSourceView :: GObjectClass obj => obj -> SourceView
sourceViewNew :: IO SourceView
sourceViewNewWithBuffer :: SourceBuffer -> IO SourceView
sourceViewSetAutoIndent :: SourceViewClass sv => sv -> Bool -> IO ()
sourceViewGetAutoIndent :: SourceViewClass sv => sv -> IO Bool
sourceViewSetIndentOnTab :: SourceViewClass sv => sv -> Bool -> IO ()
sourceViewGetIndentOnTab :: SourceViewClass sv => sv -> IO Bool
sourceViewSetIndentWidth :: SourceViewClass sv => sv -> Int -> IO ()
sourceViewGetIndentWidth :: SourceViewClass sv => sv -> IO Int
sourceViewSetInsertSpacesInsteadOfTabs :: SourceViewClass sv => sv -> Bool -> IO ()
sourceViewGetInsertSpacesInsteadOfTabs :: SourceViewClass sv => sv -> IO Bool
sourceViewSetSmartHomeEnd :: SourceViewClass sv => sv -> SourceSmartHomeEndType -> IO ()
sourceViewGetSmartHomeEnd :: SourceViewClass sv => sv -> IO SourceSmartHomeEndType
sourceViewSetHighlightCurrentLine :: SourceViewClass sv => sv -> Bool -> IO ()
sourceViewGetHighlightCurrentLine :: SourceViewClass sv => sv -> IO Bool
sourceViewSetShowLineMarks :: SourceViewClass sv => sv -> Bool -> IO ()
sourceViewGetShowLineMarks :: SourceViewClass sv => sv -> IO Bool
sourceViewSetShowLineNumbers :: SourceViewClass sv => sv -> Bool -> IO ()
sourceViewGetShowLineNumbers :: SourceViewClass sv => sv -> IO Bool
sourceViewSetShowRightMargin :: SourceViewClass sv => sv -> Bool -> IO ()
sourceViewGetShowRightMargin :: SourceViewClass sv => sv -> IO Bool
sourceViewSetRightMarginPosition :: SourceViewClass sv => sv -> Word -> IO ()
sourceViewGetRightMarginPosition :: SourceViewClass sv => sv -> IO Int
sourceViewSetTabWidth :: SourceViewClass sv => sv -> Int -> IO ()
sourceViewGetTabWidth :: SourceViewClass sv => sv -> IO Int
sourceViewSetMarkCategoryPixbuf :: SourceViewClass sv => sv -> String -> Pixbuf -> IO ()
sourceViewGetMarkCategoryPixbuf :: SourceViewClass sv => sv -> String -> IO Pixbuf
sourceViewAutoIndent :: SourceViewClass sv => Attr sv Bool
sourceViewHighlightCurrentLine :: SourceViewClass sv => Attr sv Bool
sourceViewIndentOnTab :: SourceViewClass sv => Attr sv Bool
sourceViewIndentWidth :: SourceViewClass sv => Attr sv Int
sourceViewInsertSpacesInsteadOfTabs :: SourceViewClass sv => Attr sv Bool
sourceViewRightMarginPosition :: SourceViewClass sv => Attr sv Int
sourceViewShowLineNumbers :: SourceViewClass sv => Attr sv Bool
sourceViewShowRightMargin :: SourceViewClass sv => Attr sv Bool
sourceViewSmartHomeEnd :: SourceViewClass sv => Attr sv SourceSmartHomeEndType
sourceViewTabWidth :: SourceViewClass sv => Attr sv Int
sourceViewUndo :: SourceViewClass sv => Signal sv (IO ())
sourceViewRedo :: SourceViewClass sv => Signal sv (IO ())

Documentation
data SourceView

Instances

GObjectClass SourceView
TextViewClass SourceView
ContainerClass SourceView
WidgetClass SourceView
ObjectClass SourceView
SourceViewClass SourceView

class TextViewClass o => SourceViewClass o

Instances

SourceViewClass SourceView

data SourceSmartHomeEndType

Constructors

SourceSmartHomeEndDisabled |
SourceSmartHomeEndBefore |
SourceSmartHomeEndAfter |
SourceSmartHomeEndAlways |

Instances

Bounded SourceSmartHomeEndType
Enum SourceSmartHomeEndType
Eq SourceSmartHomeEndType
Read SourceSmartHomeEndType
Show SourceSmartHomeEndType

castToSourceView :: GObjectClass obj => obj -> SourceView
sourceViewNew :: IO SourceView
Create a new `SourceView` widget with a default `SourceBuffer`.
sourceViewNewWithBuffer :: SourceBuffer -> IO SourceView
Create a new `SourceView` widget with the given `SourceBuffer`.
sourceViewSetAutoIndent :: SourceViewClass sv => sv -> Bool -> IO ()
sourceViewGetAutoIndent :: SourceViewClass sv => sv -> IO Bool
sourceViewSetIndentOnTab :: SourceViewClass sv => sv -> Bool -> IO ()
sourceViewGetIndentOnTab :: SourceViewClass sv => sv -> IO Bool
sourceViewSetIndentWidth :: SourceViewClass sv => sv -> Int -> IO ()
sourceViewGetIndentWidth :: SourceViewClass sv => sv -> IO Int
sourceViewSetInsertSpacesInsteadOfTabs :: SourceViewClass sv => sv -> Bool -> IO ()
sourceViewGetInsertSpacesInsteadOfTabs :: SourceViewClass sv => sv -> IO Bool
sourceViewSetSmartHomeEnd :: SourceViewClass sv => sv -> SourceSmartHomeEndType -> IO ()
sourceViewGetSmartHomeEnd :: SourceViewClass sv => sv -> IO SourceSmartHomeEndType
sourceViewSetHighlightCurrentLine :: SourceViewClass sv => sv -> Bool -> IO ()
sourceViewGetHighlightCurrentLine :: SourceViewClass sv => sv -> IO Bool
sourceViewSetShowLineMarks :: SourceViewClass sv => sv -> Bool -> IO ()
sourceViewGetShowLineMarks :: SourceViewClass sv => sv -> IO Bool
sourceViewSetShowLineNumbers :: SourceViewClass sv => sv -> Bool -> IO ()
sourceViewGetShowLineNumbers :: SourceViewClass sv => sv -> IO Bool
sourceViewSetShowRightMargin :: SourceViewClass sv => sv -> Bool -> IO ()
sourceViewGetShowRightMargin :: SourceViewClass sv => sv -> IO Bool
sourceViewSetRightMarginPosition :: SourceViewClass sv => sv -> Word -> IO ()
sourceViewGetRightMarginPosition :: SourceViewClass sv => sv -> IO Int
sourceViewSetTabWidth :: SourceViewClass sv => sv -> Int -> IO ()
sourceViewGetTabWidth :: SourceViewClass sv => sv -> IO Int
sourceViewSetMarkCategoryPixbuf :: SourceViewClass sv => sv -> String -> Pixbuf -> IO ()
sourceViewGetMarkCategoryPixbuf :: SourceViewClass sv => sv -> String -> IO Pixbuf
sourceViewAutoIndent :: SourceViewClass sv => Attr sv Bool
sourceViewHighlightCurrentLine :: SourceViewClass sv => Attr sv Bool
sourceViewIndentOnTab :: SourceViewClass sv => Attr sv Bool
sourceViewIndentWidth :: SourceViewClass sv => Attr sv Int
sourceViewInsertSpacesInsteadOfTabs :: SourceViewClass sv => Attr sv Bool
sourceViewRightMarginPosition :: SourceViewClass sv => Attr sv Int
sourceViewShowLineNumbers :: SourceViewClass sv => Attr sv Bool
sourceViewShowRightMargin :: SourceViewClass sv => Attr sv Bool
sourceViewSmartHomeEnd :: SourceViewClass sv => Attr sv SourceSmartHomeEndType
sourceViewTabWidth :: SourceViewClass sv => Attr sv Int
sourceViewUndo :: SourceViewClass sv => Signal sv (IO ())
sourceViewRedo :: SourceViewClass sv => Signal sv (IO ())
Produced by Haddock version 2.4.2