gtksourceview.SourceTag — Tag object for gtksourceview.SourceView
class gtksourceview.SourceTag(gtk.TextTag): |
+-- gobject.GObject +-- gtk.TextTag +-- gtksourceview.SourceTag +-- gtksourceview.SourceSyntaxTag +-- gtksourceview.SourcePatternTag
|
gtksourceview.SourceTag(
)
Returns : | a new gtksourceview.SourceTag . |
Creates a new gtksourceview.SourceTag
.
def get_style()
Returns : | a gtksourceview.SourceTagStyle
if found, or None if not found. |
The get_style
() method gets the style associated with the tag.
def set_style(style
)
| the gtksourceview.SourceTagStyle . |
The set_style
() Associates a given style
with the current tag.