Class Gtksv_utils.source_style_scheme_box


class source_style_scheme_box : ?manager:GSourceView2.source_style_scheme_manager -> ?current:GSourceView2.source_style_scheme option -> ?preview:GSourceView2.source_style_scheme option -> unit -> unit -> object .. end
This box can be used to make the user set the source style scheme. Use the Gtksv_utils.read_style_scheme_selection and Gtksv_utils.store_style_scheme_selection functions to restore or save the selection. The function in parameter is used to apply the scheme when a change occurs. For example, you can given the Gtksv_utils.apply_source_style_scheme_to_registered_buffers function to update your registered source buffers when the user chooses a scheme.

method box : GObj.widget
method scheme : GSourceView2.source_style_scheme option
method set_scheme : GSourceView2.source_style_scheme option -> unit