[][src]Trait gtk::TextChildAnchorExt

pub trait TextChildAnchorExt {
    fn get_deleted(&self) -> bool;
fn get_widgets(&self) -> Vec<Widget>; }

Trait containing all TextChildAnchor methods.



Required Methods

Determines whether a child anchor has been deleted from the buffer. Keep in mind that the child anchor will be unreferenced when removed from the buffer, so you need to hold your own reference (with gobject::ObjectExt::ref) if you plan to use this function — otherwise all deleted child anchors will also be finalized.


true if the child anchor has been deleted from its buffer

Gets a list of all widgets anchored at this child anchor. The returned list should be freed with glib::List::free.


list of widgets anchored at self


impl<O: IsA<TextChildAnchor>> TextChildAnchorExt for O