[][src]Trait sourceview::LanguageExt

pub trait LanguageExt: 'static {
    fn get_globs(&self) -> Vec<GString>;
fn get_hidden(&self) -> bool;
fn get_id(&self) -> Option<GString>;
fn get_metadata(&self, name: &str) -> Option<GString>;
fn get_mime_types(&self) -> Vec<GString>;
fn get_name(&self) -> Option<GString>;
fn get_section(&self) -> Option<GString>;
fn get_style_fallback(&self, style_id: &str) -> Option<GString>;
fn get_style_ids(&self) -> Vec<GString>;
fn get_style_name(&self, style_id: &str) -> Option<GString>;
fn connect_property_hidden_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_id_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_name_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_section_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn get_globs(&self) -> Vec<GString>

fn get_hidden(&self) -> bool

fn get_id(&self) -> Option<GString>

fn get_metadata(&self, name: &str) -> Option<GString>

fn get_mime_types(&self) -> Vec<GString>

fn get_name(&self) -> Option<GString>

fn get_section(&self) -> Option<GString>

fn get_style_fallback(&self, style_id: &str) -> Option<GString>

fn get_style_ids(&self) -> Vec<GString>

fn get_style_name(&self, style_id: &str) -> Option<GString>

fn connect_property_hidden_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_id_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_name_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_section_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<Language>> LanguageExt for O[src]

Loading content...