Trait sourceview5::prelude::TagExt[][src]

pub trait TagExt: 'static {
    fn get_property_draw_spaces(&self) -> bool;
fn set_property_draw_spaces(&self, draw_spaces: bool);
fn get_property_draw_spaces_set(&self) -> bool;
fn set_property_draw_spaces_set(&self, draw_spaces_set: bool);
fn connect_property_draw_spaces_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_draw_spaces_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all Tag methods.

Implementors

Tag

Required methods

fn get_property_draw_spaces(&self) -> bool[src]

Whether to draw white spaces. This property takes precedence over the value defined by the SpaceDrawer’s SpaceDrawer:matrix property (only where the tag is applied).

Setting this property also changes Tag:draw-spaces-set to true.

fn set_property_draw_spaces(&self, draw_spaces: bool)[src]

Whether to draw white spaces. This property takes precedence over the value defined by the SpaceDrawer’s SpaceDrawer:matrix property (only where the tag is applied).

Setting this property also changes Tag:draw-spaces-set to true.

fn get_property_draw_spaces_set(&self) -> bool[src]

Whether the Tag:draw-spaces property is set and must be taken into account.

fn set_property_draw_spaces_set(&self, draw_spaces_set: bool)[src]

Whether the Tag:draw-spaces property is set and must be taken into account.

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

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

Loading content...

Implementors

impl<O: IsA<Tag>> TagExt for O[src]

Loading content...