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§

source

fn index_of_child(&self, widget: &impl AsRef<Widget>) -> Option<i32>

Get the index of a widget attached to a listbox.

source

fn remove_row_of_child(&self, widget: &impl AsRef<Widget>)

Remove the row of a child attached a listbox.

source

fn row_of_child(&self, widget: &impl AsRef<Widget>) -> Option<ListBoxRow>

Get the row of a widget attached to a listbox.

Implementations on Foreign Types§

source§

impl RelmListBoxExt for ListBox

source§

fn index_of_child(&self, widget: &impl AsRef<Widget>) -> Option<i32>

source§

fn remove_row_of_child(&self, widget: &impl AsRef<Widget>)

source§

fn row_of_child(&self, widget: &impl AsRef<Widget>) -> Option<ListBoxRow>

Implementors§