Trait gtk::MenuExt 
                   
                       [−]
                   
               [src]
pub trait MenuExt {
    fn attach<P: IsA<Widget>>(
        &self, 
        child: &P, 
        left_attach: u32, 
        right_attach: u32, 
        top_attach: u32, 
        bottom_attach: u32
    );
    fn detach(&self);
    fn get_accel_group(&self) -> Option<AccelGroup>;
    fn get_accel_path(&self) -> Option<String>;
    fn get_active(&self) -> Option<Widget>;
    fn get_attach_widget(&self) -> Option<Widget>;
    fn get_monitor(&self) -> i32;
    fn get_reserve_toggle_size(&self) -> bool;
    fn get_tearoff_state(&self) -> bool;
    fn get_title(&self) -> Option<String>;
    fn place_on_monitor(&self, monitor: &Monitor);
    fn popdown(&self);
    fn popup_at_pointer<'a, P: Into<Option<&'a Event>>>(&self, trigger_event: P);
    fn popup_at_rect<'a, P: Into<Option<&'a Event>>>(
        &self, 
        rect_window: &Window, 
        rect: &Rectangle, 
        rect_anchor: Gravity, 
        menu_anchor: Gravity, 
        trigger_event: P
    );
    fn popup_at_widget<'a, P: IsA<Widget>, Q: Into<Option<&'a Event>>>(
        &self, 
        widget: &P, 
        widget_anchor: Gravity, 
        menu_anchor: Gravity, 
        trigger_event: Q
    );
    fn reorder_child<P: IsA<Widget>>(&self, child: &P, position: i32);
    fn reposition(&self);
    fn set_accel_group<'a, P: Into<Option<&'a AccelGroup>>>(
        &self, 
        accel_group: P
    );
    fn set_accel_path<'a, P: Into<Option<&'a str>>>(&self, accel_path: P);
    fn set_active(&self, index: u32);
    fn set_monitor(&self, monitor_num: i32);
    fn set_reserve_toggle_size(&self, reserve_toggle_size: bool);
    fn set_screen<'a, P: Into<Option<&'a Screen>>>(&self, screen: P);
    fn set_tearoff_state(&self, torn_off: bool);
    fn set_title(&self, title: &str);
    fn get_property_anchor_hints(&self) -> AnchorHints;
    fn set_property_anchor_hints(&self, anchor_hints: AnchorHints);
    fn set_property_attach_widget<P: IsA<Widget> + IsA<Object> + SetValueOptional>(
        &self, 
        attach_widget: Option<&P>
    );
    fn get_property_menu_type_hint(&self) -> WindowTypeHint;
    fn set_property_menu_type_hint(&self, menu_type_hint: WindowTypeHint);
    fn get_property_rect_anchor_dx(&self) -> i32;
    fn set_property_rect_anchor_dx(&self, rect_anchor_dx: i32);
    fn get_property_rect_anchor_dy(&self) -> i32;
    fn set_property_rect_anchor_dy(&self, rect_anchor_dy: i32);
    fn get_property_tearoff_title(&self) -> Option<String>;
    fn set_property_tearoff_title(&self, tearoff_title: Option<&str>);
    fn get_item_bottom_attach<T: IsA<MenuItem> + IsA<Widget>>(
        &self, 
        item: &T
    ) -> i32;
    fn set_item_bottom_attach<T: IsA<MenuItem> + IsA<Widget>>(
        &self, 
        item: &T, 
        bottom_attach: i32
    );
    fn get_item_left_attach<T: IsA<MenuItem> + IsA<Widget>>(
        &self, 
        item: &T
    ) -> i32;
    fn set_item_left_attach<T: IsA<MenuItem> + IsA<Widget>>(
        &self, 
        item: &T, 
        left_attach: i32
    );
    fn get_item_right_attach<T: IsA<MenuItem> + IsA<Widget>>(
        &self, 
        item: &T
    ) -> i32;
    fn set_item_right_attach<T: IsA<MenuItem> + IsA<Widget>>(
        &self, 
        item: &T, 
        right_attach: i32
    );
    fn get_item_top_attach<T: IsA<MenuItem> + IsA<Widget>>(
        &self, 
        item: &T
    ) -> i32;
    fn set_item_top_attach<T: IsA<MenuItem> + IsA<Widget>>(
        &self, 
        item: &T, 
        top_attach: i32
    );
    fn connect_move_scroll<F: Fn(&Self, ScrollType) + 'static>(
        &self, 
        f: F
    ) -> u64;
}
            Required Methods
fn attach<P: IsA<Widget>>(
    &self, 
    child: &P, 
    left_attach: u32, 
    right_attach: u32, 
    top_attach: u32, 
    bottom_attach: u32
)
&self,
child: &P,
left_attach: u32,
right_attach: u32,
top_attach: u32,
bottom_attach: u32
)
fn detach(&self)
fn get_accel_group(&self) -> Option<AccelGroup>
fn get_accel_path(&self) -> Option<String>
fn get_active(&self) -> Option<Widget>
fn get_attach_widget(&self) -> Option<Widget>
fn get_monitor(&self) -> i32
fn get_reserve_toggle_size(&self) -> bool
fn get_tearoff_state(&self) -> bool
fn get_title(&self) -> Option<String>
fn place_on_monitor(&self, monitor: &Monitor)
fn popdown(&self)
fn popup_at_pointer<'a, P: Into<Option<&'a Event>>>(&self, trigger_event: P)
fn popup_at_rect<'a, P: Into<Option<&'a Event>>>(
    &self, 
    rect_window: &Window, 
    rect: &Rectangle, 
    rect_anchor: Gravity, 
    menu_anchor: Gravity, 
    trigger_event: P
)
&self,
rect_window: &Window,
rect: &Rectangle,
rect_anchor: Gravity,
menu_anchor: Gravity,
trigger_event: P
)
fn popup_at_widget<'a, P: IsA<Widget>, Q: Into<Option<&'a Event>>>(
    &self, 
    widget: &P, 
    widget_anchor: Gravity, 
    menu_anchor: Gravity, 
    trigger_event: Q
)
&self,
widget: &P,
widget_anchor: Gravity,
menu_anchor: Gravity,
trigger_event: Q
)
fn reorder_child<P: IsA<Widget>>(&self, child: &P, position: i32)
fn reposition(&self)
fn set_accel_group<'a, P: Into<Option<&'a AccelGroup>>>(&self, accel_group: P)
fn set_accel_path<'a, P: Into<Option<&'a str>>>(&self, accel_path: P)
fn set_active(&self, index: u32)
fn set_monitor(&self, monitor_num: i32)
fn set_reserve_toggle_size(&self, reserve_toggle_size: bool)
fn set_screen<'a, P: Into<Option<&'a Screen>>>(&self, screen: P)
fn set_tearoff_state(&self, torn_off: bool)
fn set_title(&self, title: &str)
fn get_property_anchor_hints(&self) -> AnchorHints
fn set_property_anchor_hints(&self, anchor_hints: AnchorHints)
fn set_property_attach_widget<P: IsA<Widget> + IsA<Object> + SetValueOptional>(
    &self, 
    attach_widget: Option<&P>
)
&self,
attach_widget: Option<&P>
)
fn get_property_rect_anchor_dx(&self) -> i32
fn set_property_rect_anchor_dx(&self, rect_anchor_dx: i32)
fn get_property_rect_anchor_dy(&self) -> i32
fn set_property_rect_anchor_dy(&self, rect_anchor_dy: i32)
fn get_property_tearoff_title(&self) -> Option<String>
fn set_property_tearoff_title(&self, tearoff_title: Option<&str>)
fn get_item_bottom_attach<T: IsA<MenuItem> + IsA<Widget>>(
    &self, 
    item: &T
) -> i32
&self,
item: &T
) -> i32
fn set_item_bottom_attach<T: IsA<MenuItem> + IsA<Widget>>(
    &self, 
    item: &T, 
    bottom_attach: i32
)
&self,
item: &T,
bottom_attach: i32
)
fn get_item_left_attach<T: IsA<MenuItem> + IsA<Widget>>(&self, item: &T) -> i32
fn set_item_left_attach<T: IsA<MenuItem> + IsA<Widget>>(
    &self, 
    item: &T, 
    left_attach: i32
)
&self,
item: &T,
left_attach: i32
)
fn get_item_right_attach<T: IsA<MenuItem> + IsA<Widget>>(&self, item: &T) -> i32
fn set_item_right_attach<T: IsA<MenuItem> + IsA<Widget>>(
    &self, 
    item: &T, 
    right_attach: i32
)
&self,
item: &T,
right_attach: i32
)
fn get_item_top_attach<T: IsA<MenuItem> + IsA<Widget>>(&self, item: &T) -> i32
fn set_item_top_attach<T: IsA<MenuItem> + IsA<Widget>>(
    &self, 
    item: &T, 
    top_attach: i32
)
&self,
item: &T,
top_attach: i32
)