[−][src]Trait gio::MenuModelExt
Required methods
fn get_item_attribute_value(
&self,
item_index: i32,
attribute: &str,
expected_type: Option<&VariantTy>
) -> Option<Variant>
&self,
item_index: i32,
attribute: &str,
expected_type: Option<&VariantTy>
) -> Option<Variant>
fn get_item_link(&self, item_index: i32, link: &str) -> Option<MenuModel>
fn get_n_items(&self) -> i32
fn is_mutable(&self) -> bool
fn items_changed(&self, position: i32, removed: i32, added: i32)
fn iterate_item_attributes(&self, item_index: i32) -> Option<MenuAttributeIter>
fn iterate_item_links(&self, item_index: i32) -> Option<MenuLinkIter>
fn connect_items_changed<F: Fn(&Self, i32, i32, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<MenuModel>> MenuModelExt for O
[src]
fn get_item_attribute_value(
&self,
item_index: i32,
attribute: &str,
expected_type: Option<&VariantTy>
) -> Option<Variant>
[src]
&self,
item_index: i32,
attribute: &str,
expected_type: Option<&VariantTy>
) -> Option<Variant>
fn get_item_link(&self, item_index: i32, link: &str) -> Option<MenuModel>
[src]
fn get_n_items(&self) -> i32
[src]
fn is_mutable(&self) -> bool
[src]
fn items_changed(&self, position: i32, removed: i32, added: i32)
[src]
fn iterate_item_attributes(&self, item_index: i32) -> Option<MenuAttributeIter>
[src]
fn iterate_item_links(&self, item_index: i32) -> Option<MenuLinkIter>
[src]
fn connect_items_changed<F: Fn(&Self, i32, i32, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId