Trait gtk4::prelude::TextBufferExtManual
source · [−]pub trait TextBufferExtManual: 'static {
fn create_tag(
&self,
tag_name: Option<&str>,
properties: &[(&str, &dyn ToValue)]
) -> Option<TextTag>;
fn insert_with_tags(&self, iter: &mut TextIter, text: &str, tags: &[&TextTag]);
fn insert_with_tags_by_name(
&self,
iter: &mut TextIter,
text: &str,
tags_names: &[&str]
);
fn connect_insert_text<F: Fn(&Self, &mut TextIter, &str) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Expand description
Trait containing manually implemented methods of TextBuffer
.
Required Methods
Panics
If the properties don’t exists or are not writeable.
sourcefn connect_insert_text<F: Fn(&Self, &mut TextIter, &str) + 'static>(