[][src]Trait sourceview::GutterRendererTextExt

pub trait GutterRendererTextExt: 'static {
    fn measure(&self, text: &str) -> (i32, i32);
fn measure_markup(&self, markup: &str) -> (i32, i32);
fn set_markup(&self, markup: &str);
fn set_text(&self, text: &str);
fn get_property_markup(&self) -> Option<GString>;
fn get_property_text(&self) -> Option<GString>;
fn connect_property_markup_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_text_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn measure(&self, text: &str) -> (i32, i32)

fn measure_markup(&self, markup: &str) -> (i32, i32)

fn set_markup(&self, markup: &str)

fn set_text(&self, text: &str)

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

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

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

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

Loading content...

Implementors

impl<O: IsA<GutterRendererText>> GutterRendererTextExt for O[src]

Loading content...