Struct gtk4::builders::TextMarkBuilder
source · pub struct TextMarkBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct TextMark
objects.
Implementations§
source§impl TextMarkBuilder
impl TextMarkBuilder
sourcepub fn left_gravity(self, left_gravity: bool) -> Self
pub fn left_gravity(self, left_gravity: bool) -> Self
Whether the mark has left gravity.
When text is inserted at the mark’s current location, if the mark has left gravity it will be moved to the left of the newly-inserted text, otherwise to the right.