|
Graphics.UI.Gtk.SourceView.SourceStyleScheme | Portability | portable (depends on GHC) | Stability | provisional | Maintainer | gtk2hs-users@lists.sourceforge.net |
|
|
|
|
|
Description |
|
|
Synopsis |
|
|
|
|
Description
|
|
SourceStyleScheme contains all the text styles to be used in SourceView and
SourceBuffer. For instance, it contains text styles for syntax highlighting, it may contain
foreground and background color for non-highlighted text, color for the line numbers, etc.
Style schemes are stored in XML files. The format of a scheme file is the documented in the style
scheme reference.
|
|
Types
|
|
|
Instances | |
|
|
|
| Instances | |
|
|
Methods
|
|
|
|
|
|
|
sourceStyleSchemeGetName | Source |
|
|
|
sourceStyleSchemeGetDescription | Source |
|
|
|
sourceStyleSchemeGetAuthors | Source |
|
:: SourceStyleSchemeClass sss | | => sss | | -> IO [String] | returns an array containing the scheme authors or empty if no author is specified by the style scheme.
|
|
|
sourceStyleSchemeGetFilename | Source |
|
:: SourceStyleSchemeClass sss | | => sss | | -> IO String | returns scheme file name if the scheme was created parsing a style scheme file or empty in the other cases.
|
|
|
sourceStyleSchemeGetStyle | Source |
|
|
|
Attributes
|
|
|
Style scheme description.
Default value: ""
|
|
|
Style scheme filename or Nothing.
Default value: ""
|
|
|
Style scheme id, a unique string used to identify the style scheme in SourceStyleSchemeManager.
Default value: ""
|
|
|
Style scheme name, a translatable string to present to user.
Default value: ""
|
|
Produced by Haddock version 2.6.1 |