Trait gtk::MenuButtonExt
[−]
[src]
pub trait MenuButtonExt { fn get_align_widget(&self) -> Option<Widget>; fn get_direction(&self) -> ArrowType; fn get_menu_model(&self) -> Option<MenuModel>; fn get_popover(&self) -> Option<Popover>; fn get_popup(&self) -> Option<Menu>; fn get_use_popover(&self) -> bool; fn set_align_widget<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
&self,
align_widget: Q
); fn set_direction(&self, direction: ArrowType); fn set_menu_model<'a, P: IsA<MenuModel> + 'a, Q: Into<Option<&'a P>>>(
&self,
menu_model: Q
); fn set_popover<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
&self,
popover: Q
); fn set_popup<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
&self,
menu: Q
); fn set_use_popover(&self, use_popover: bool); }
Required Methods
fn get_align_widget(&self) -> Option<Widget>
fn get_direction(&self) -> ArrowType
fn get_popover(&self) -> Option<Popover>
fn get_popup(&self) -> Option<Menu>
fn get_use_popover(&self) -> bool
fn set_align_widget<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
&self,
align_widget: Q
)
&self,
align_widget: Q
)
fn set_direction(&self, direction: ArrowType)
fn set_popover<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
&self,
popover: Q
)
&self,
popover: Q
)
fn set_popup<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(&self, menu: Q)
fn set_use_popover(&self, use_popover: bool)
Implementors
impl<O: IsA<MenuButton>> MenuButtonExt for O