How can I load a new style in a GtkSourceView ?
In Gedit I can see it lists the styles found in /usr/share/gtksourceview-3.0/styles, how can I get my own GtkSourceView to load one of these styles ?
How can I load a new style in a GtkSourceView ?
In Gedit I can see it lists the styles found in /usr/share/gtksourceview-3.0/styles, how can I get my own GtkSourceView to load one of these styles ?
Copyright © 2021 Jogjafile Inc.
Use the
set_style_scheme()method. Style schemes can be obtained from the defaultGtkSource.StyleSchemeManagerobject.