Trait gio::prelude::MenuExt
[−]
[src]
pub trait MenuExt { fn append<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b str>>>(
&self,
label: P,
detailed_action: Q
); fn append_item(&self, item: &MenuItem); fn append_section<'a, P: Into<Option<&'a str>>, Q: IsA<MenuModel>>(
&self,
label: P,
section: &Q
); fn append_submenu<'a, P: Into<Option<&'a str>>, Q: IsA<MenuModel>>(
&self,
label: P,
submenu: &Q
); fn freeze(&self); fn insert<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b str>>>(
&self,
position: i32,
label: P,
detailed_action: Q
); fn insert_item(&self, position: i32, item: &MenuItem); fn insert_section<'a, P: Into<Option<&'a str>>, Q: IsA<MenuModel>>(
&self,
position: i32,
label: P,
section: &Q
); fn insert_submenu<'a, P: Into<Option<&'a str>>, Q: IsA<MenuModel>>(
&self,
position: i32,
label: P,
submenu: &Q
); fn prepend<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b str>>>(
&self,
label: P,
detailed_action: Q
); fn prepend_item(&self, item: &MenuItem); fn prepend_section<'a, P: Into<Option<&'a str>>, Q: IsA<MenuModel>>(
&self,
label: P,
section: &Q
); fn prepend_submenu<'a, P: Into<Option<&'a str>>, Q: IsA<MenuModel>>(
&self,
label: P,
submenu: &Q
); fn remove(&self, position: i32); fn remove_all(&self); }
Required Methods
fn append<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b str>>>(
&self,
label: P,
detailed_action: Q
)
&self,
label: P,
detailed_action: Q
)
fn append_item(&self, item: &MenuItem)
fn append_section<'a, P: Into<Option<&'a str>>, Q: IsA<MenuModel>>(
&self,
label: P,
section: &Q
)
&self,
label: P,
section: &Q
)
fn freeze(&self)
fn insert<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b str>>>(
&self,
position: i32,
label: P,
detailed_action: Q
)
&self,
position: i32,
label: P,
detailed_action: Q
)
fn insert_item(&self, position: i32, item: &MenuItem)
fn insert_section<'a, P: Into<Option<&'a str>>, Q: IsA<MenuModel>>(
&self,
position: i32,
label: P,
section: &Q
)
&self,
position: i32,
label: P,
section: &Q
)
fn prepend<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b str>>>(
&self,
label: P,
detailed_action: Q
)
&self,
label: P,
detailed_action: Q
)
fn prepend_item(&self, item: &MenuItem)
fn prepend_section<'a, P: Into<Option<&'a str>>, Q: IsA<MenuModel>>(
&self,
label: P,
section: &Q
)
&self,
label: P,
section: &Q
)