:right-sidebar: True StyleSchemeChooser =================================================================== .. currentmodule:: gi.repository.GtkSource .. class:: StyleSchemeChooser(*args, **kwargs) :no-contents-entry: Implementations: :class:`~gi.repository.GtkSource.StyleSchemeChooserButton`, :class:`~gi.repository.GtkSource.StyleSchemeChooserWidget` Interface implemented by widgets for choosing style schemes. ``GtkSourceStyleSchemeChooser`` is an interface that is implemented by widgets for choosing style schemes. In GtkSourceView, the main widgets that implement this interface are :obj:`~gi.repository.GtkSource.StyleSchemeChooserWidget` and :obj:`~gi.repository.GtkSource.StyleSchemeChooserButton`\. Methods ------- .. rst-class:: interim-class .. class:: StyleSchemeChooser :no-index: .. method:: get_style_scheme() -> ~gi.repository.GtkSource.StyleScheme Gets the currently-selected scheme. .. method:: set_style_scheme(scheme: ~gi.repository.GtkSource.StyleScheme) -> None Sets the scheme. :param scheme: a :obj:`~gi.repository.GtkSource.StyleScheme` Properties ---------- .. rst-class:: interim-class .. class:: StyleSchemeChooser :no-index: .. attribute:: props.style_scheme :type: ~gi.repository.GtkSource.StyleScheme The type of the None singleton. Virtual Methods --------------- .. rst-class:: interim-class .. class:: StyleSchemeChooser :no-index: .. method:: do_get_style_scheme() -> ~gi.repository.GtkSource.StyleScheme Gets the currently-selected scheme. .. method:: do_set_style_scheme(scheme: ~gi.repository.GtkSource.StyleScheme) -> None Sets the scheme. :param scheme: a :obj:`~gi.repository.GtkSource.StyleScheme`