[][src]Trait gtk::TextTagTableExt

pub trait TextTagTableExt: 'static {
    fn add<P: IsA<TextTag>>(&self, tag: &P) -> bool;
fn foreach<P: FnMut(&TextTag)>(&self, func: P);
fn get_size(&self) -> i32;
fn lookup(&self, name: &str) -> Option<TextTag>;
fn remove<P: IsA<TextTag>>(&self, tag: &P);
fn connect_tag_added<F: Fn(&Self, &TextTag) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_tag_changed<F: Fn(&Self, &TextTag, bool) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_tag_removed<F: Fn(&Self, &TextTag) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn add<P: IsA<TextTag>>(&self, tag: &P) -> bool

fn foreach<P: FnMut(&TextTag)>(&self, func: P)

fn get_size(&self) -> i32

fn lookup(&self, name: &str) -> Option<TextTag>

fn remove<P: IsA<TextTag>>(&self, tag: &P)

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

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

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

Loading content...

Implementors

impl<O: IsA<TextTagTable>> TextTagTableExt for O[src]

Loading content...