Gtk2HsContentsIndex
Graphics.UI.Gtk.Multiline.TextTagTable
Description
Synopsis
data TextTagTable
class GObjectClass o => TextTagTableClass o
castToTextTagTable :: GObjectClass obj => obj -> TextTagTable
textTagTableNew :: IO TextTagTable
textTagTableAdd :: TextTagTableClass obj => obj -> TextTag -> IO ()
textTagTableRemove :: TextTagTableClass obj => obj -> TextTag -> IO ()
textTagTableLookup :: TextTagTableClass obj => obj -> String -> IO (Maybe TextTag)
textTagTableForeach :: TextTagTableClass obj => obj -> (TextTag -> IO ()) -> IO ()
textTagTableGetSize :: TextTagTableClass obj => obj -> IO Int
Documentation
data TextTagTable
Instances
TextTagTableClass TextTagTable
GObjectClass TextTagTable
class GObjectClass o => TextTagTableClass o
Instances
TextTagTableClass SourceTagTable
TextTagTableClass TextTagTable
castToTextTagTable :: GObjectClass obj => obj -> TextTagTable
textTagTableNew :: IO TextTagTable
Creates a new TextTagTable. The table contains no tags by default.
textTagTableAdd :: TextTagTableClass obj => obj -> TextTag -> IO ()

Add a tag to the table. The tag is assigned the highest priority in the table.

The tag must not be in a tag table already, and may not have the same name as an already-added tag.

textTagTableRemove :: TextTagTableClass obj => obj -> TextTag -> IO ()
Remove a tag from the table.
textTagTableLookup :: TextTagTableClass obj => obj -> String -> IO (Maybe TextTag)
Look up a named tag.
textTagTableForeach :: TextTagTableClass obj => obj -> (TextTag -> IO ()) -> IO ()
Calls func on each tag in table.
textTagTableGetSize :: TextTagTableClass obj => obj -> IO Int
Returns the size of the table (the number of tags).
Produced by Haddock version 0.6