GtkSource.StyleScheme¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GtkSource.StyleScheme(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- get_description()¶
- Returns:
the self description, a human-readable (translated) string to present to the user.
- Return type:
New in version 2.0.
- get_filename()¶
- Returns:
self file name if the scheme was created parsing a style scheme file, or
None
in the other cases.- Return type:
New in version 2.0.
- get_id()¶
- Returns:
the self ID, a unique string used to identify the style scheme in a
GtkSource.StyleSchemeManager
.- Return type:
New in version 2.0.
- get_kind()¶
- Returns:
the kind of self.
- Return type:
New in version 299.2.
- get_name()¶
- Returns:
the self name, a human-readable (translated) string to present to the user.
- Return type:
New in version 2.0.
- get_style(style_id)¶
- Parameters:
style_id (
str
) – ID of the style to retrieve.- Returns:
the
GtkSource.Style
which corresponds to style_id in the self, orNone
if not found.- Return type:
New in version 2.0.