Trait relm4::RelmListBoxExt
source · pub trait RelmListBoxExt {
// Required methods
fn index_of_child(&self, widget: &impl AsRef<Widget>) -> Option<i32>;
fn remove_row_of_child(&self, widget: &impl AsRef<Widget>);
fn row_of_child(&self, widget: &impl AsRef<Widget>) -> Option<ListBoxRow>;
}
Expand description
Additional methods for gtk::ListBox
.
Required Methods§
sourcefn index_of_child(&self, widget: &impl AsRef<Widget>) -> Option<i32>
fn index_of_child(&self, widget: &impl AsRef<Widget>) -> Option<i32>
Get the index of a widget attached to a listbox.
sourcefn remove_row_of_child(&self, widget: &impl AsRef<Widget>)
fn remove_row_of_child(&self, widget: &impl AsRef<Widget>)
Remove the row of a child attached a listbox.
sourcefn row_of_child(&self, widget: &impl AsRef<Widget>) -> Option<ListBoxRow>
fn row_of_child(&self, widget: &impl AsRef<Widget>) -> Option<ListBoxRow>
Get the row of a widget attached to a listbox.