Trait sourceview5::prelude::MapExt[][src]

pub trait MapExt: 'static {
    fn get_view(&self) -> Option<View>;
fn set_view<P: IsA<View>>(&self, view: &P);
fn get_property_font_desc(&self) -> Option<FontDescription>;
fn set_property_font_desc(&self, font_desc: Option<&FontDescription>);
fn connect_property_font_desc_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_view_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all Map methods.

Implementors

Map

Required methods

fn get_view(&self) -> Option<View>[src]

Gets the Map:view property, which is the view this widget is mapping.

Returns

a View or None.

fn set_view<P: IsA<View>>(&self, view: &P)[src]

Sets the view that self will be doing the mapping to.

view

a View

fn get_property_font_desc(&self) -> Option<FontDescription>[src]

fn set_property_font_desc(&self, font_desc: Option<&FontDescription>)[src]

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

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

Loading content...

Implementors

impl<O: IsA<Map>> MapExt for O[src]

Loading content...