pub trait TextTagTableExt: 'static {
fn add<P: IsA<TextTag>>(&self, tag: &P) -> bool;
fn foreach<P: FnMut(&TextTag)>(&self, func: P);
fn 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;
}