Trait sourceview5::StyleSchemeChooserExt[][src]

pub trait StyleSchemeChooserExt: 'static {
    fn get_style_scheme(&self) -> Option<StyleScheme>;
fn set_style_scheme(&self, scheme: &StyleScheme);
fn connect_property_style_scheme_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all StyleSchemeChooser methods.

Implementors

StyleSchemeChooserButton, StyleSchemeChooserWidget, StyleSchemeChooser

Required methods

fn get_style_scheme(&self) -> Option<StyleScheme>[src]

Gets the currently-selected scheme.

Returns

the currently-selected scheme.

fn set_style_scheme(&self, scheme: &StyleScheme)[src]

Sets the scheme.

scheme

a StyleScheme

fn connect_property_style_scheme_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<StyleSchemeChooser>> StyleSchemeChooserExt for O[src]

Loading content...