[−][src]Trait gtk::PopoverMenuExt
Required methods
fn open_submenu(&self, name: &str)
Opens a submenu of the self
. The name
must be one of the names given to the submenus
of self
with PopoverMenu:submenu
, or
"main" to switch back to the main menu.
ModelButton
will open submenus automatically
when the ModelButton:menu-name
property is set,
so this function is only needed when you are using
other kinds of widgets to initiate menu changes.
Feature: v3_16
name
the name of the menu to switch to
fn get_property_visible_submenu(&self) -> Option<GString>
fn set_property_visible_submenu(&self, visible_submenu: Option<&str>)
fn get_child_position<T: IsA<Widget>>(&self, item: &T) -> i32
fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32)
fn get_child_submenu<T: IsA<Widget>>(&self, item: &T) -> Option<GString>
fn set_child_submenu<T: IsA<Widget>>(&self, item: &T, submenu: Option<&str>)
fn connect_property_visible_submenu_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<PopoverMenu>> PopoverMenuExt for O
[src]
fn open_submenu(&self, name: &str)
[src]
fn get_property_visible_submenu(&self) -> Option<GString>
[src]
fn set_property_visible_submenu(&self, visible_submenu: Option<&str>)
[src]
fn get_child_position<T: IsA<Widget>>(&self, item: &T) -> i32
[src]
fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32)
[src]
fn get_child_submenu<T: IsA<Widget>>(&self, item: &T) -> Option<GString>
[src]
fn set_child_submenu<T: IsA<Widget>>(&self, item: &T, submenu: Option<&str>)
[src]
fn connect_property_visible_submenu_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId