[−][src]Trait gtk::GtkMenuExt
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<GString>
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 place_on_monitor(&self, monitor: &Monitor)
fn popdown(&self)
fn popup_at_pointer(&self, trigger_event: Option<&Event>)
fn popup_at_rect<P: IsA<Window>>(
&self,
rect_window: &P,
rect: &Rectangle,
rect_anchor: Gravity,
menu_anchor: Gravity,
trigger_event: Option<&Event>
)
&self,
rect_window: &P,
rect: &Rectangle,
rect_anchor: Gravity,
menu_anchor: Gravity,
trigger_event: Option<&Event>
)
fn popup_at_widget<P: IsA<Widget>>(
&self,
widget: &P,
widget_anchor: Gravity,
menu_anchor: Gravity,
trigger_event: Option<&Event>
)
&self,
widget: &P,
widget_anchor: Gravity,
menu_anchor: Gravity,
trigger_event: Option<&Event>
)
fn reorder_child<P: IsA<Widget>>(&self, child: &P, position: i32)
fn reposition(&self)
fn set_accel_group<P: IsA<AccelGroup>>(&self, accel_group: Option<&P>)
fn set_accel_path(&self, accel_path: Option<&str>)
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(&self, screen: Option<&Screen>)
fn get_property_anchor_hints(&self) -> AnchorHints
fn set_property_anchor_hints(&self, anchor_hints: AnchorHints)
fn set_property_attach_widget<P: IsA<Widget> + SetValueOptional>(
&self,
attach_widget: Option<&P>
)
&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_item_bottom_attach<T: IsA<MenuItem>>(&self, item: &T) -> i32
fn set_item_bottom_attach<T: IsA<MenuItem>>(&self, item: &T, bottom_attach: i32)
fn get_item_left_attach<T: IsA<MenuItem>>(&self, item: &T) -> i32
fn set_item_left_attach<T: IsA<MenuItem>>(&self, item: &T, left_attach: i32)
fn get_item_right_attach<T: IsA<MenuItem>>(&self, item: &T) -> i32
fn set_item_right_attach<T: IsA<MenuItem>>(&self, item: &T, right_attach: i32)
fn get_item_top_attach<T: IsA<MenuItem>>(&self, item: &T) -> i32
fn set_item_top_attach<T: IsA<MenuItem>>(&self, item: &T, top_attach: i32)
fn connect_move_scroll<F: Fn(&Self, ScrollType) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn emit_move_scroll(&self, scroll_type: ScrollType)
fn connect_property_accel_group_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_accel_path_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_active_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_anchor_hints_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_attach_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_menu_type_hint_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_monitor_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_rect_anchor_dx_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_rect_anchor_dy_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_reserve_toggle_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<Menu>> GtkMenuExt for O
[src]
fn attach<P: IsA<Widget>>(
&self,
child: &P,
left_attach: u32,
right_attach: u32,
top_attach: u32,
bottom_attach: u32
)
[src]
&self,
child: &P,
left_attach: u32,
right_attach: u32,
top_attach: u32,
bottom_attach: u32
)
fn detach(&self)
[src]
fn get_accel_group(&self) -> Option<AccelGroup>
[src]
fn get_accel_path(&self) -> Option<GString>
[src]
fn get_active(&self) -> Option<Widget>
[src]
fn get_attach_widget(&self) -> Option<Widget>
[src]
fn get_monitor(&self) -> i32
[src]
fn get_reserve_toggle_size(&self) -> bool
[src]
fn place_on_monitor(&self, monitor: &Monitor)
[src]
fn popdown(&self)
[src]
fn popup_at_pointer(&self, trigger_event: Option<&Event>)
[src]
fn popup_at_rect<P: IsA<Window>>(
&self,
rect_window: &P,
rect: &Rectangle,
rect_anchor: Gravity,
menu_anchor: Gravity,
trigger_event: Option<&Event>
)
[src]
&self,
rect_window: &P,
rect: &Rectangle,
rect_anchor: Gravity,
menu_anchor: Gravity,
trigger_event: Option<&Event>
)
fn popup_at_widget<P: IsA<Widget>>(
&self,
widget: &P,
widget_anchor: Gravity,
menu_anchor: Gravity,
trigger_event: Option<&Event>
)
[src]
&self,
widget: &P,
widget_anchor: Gravity,
menu_anchor: Gravity,
trigger_event: Option<&Event>
)
fn reorder_child<P: IsA<Widget>>(&self, child: &P, position: i32)
[src]
fn reposition(&self)
[src]
fn set_accel_group<P: IsA<AccelGroup>>(&self, accel_group: Option<&P>)
[src]
fn set_accel_path(&self, accel_path: Option<&str>)
[src]
fn set_active(&self, index: u32)
[src]
fn set_monitor(&self, monitor_num: i32)
[src]
fn set_reserve_toggle_size(&self, reserve_toggle_size: bool)
[src]
fn set_screen(&self, screen: Option<&Screen>)
[src]
fn get_property_anchor_hints(&self) -> AnchorHints
[src]
fn set_property_anchor_hints(&self, anchor_hints: AnchorHints)
[src]
fn set_property_attach_widget<P: IsA<Widget> + SetValueOptional>(
&self,
attach_widget: Option<&P>
)
[src]
&self,
attach_widget: Option<&P>
)
fn get_property_menu_type_hint(&self) -> WindowTypeHint
[src]
fn set_property_menu_type_hint(&self, menu_type_hint: WindowTypeHint)
[src]
fn get_property_rect_anchor_dx(&self) -> i32
[src]
fn set_property_rect_anchor_dx(&self, rect_anchor_dx: i32)
[src]
fn get_property_rect_anchor_dy(&self) -> i32
[src]
fn set_property_rect_anchor_dy(&self, rect_anchor_dy: i32)
[src]
fn get_item_bottom_attach<T: IsA<MenuItem>>(&self, item: &T) -> i32
[src]
fn set_item_bottom_attach<T: IsA<MenuItem>>(&self, item: &T, bottom_attach: i32)
[src]
fn get_item_left_attach<T: IsA<MenuItem>>(&self, item: &T) -> i32
[src]
fn set_item_left_attach<T: IsA<MenuItem>>(&self, item: &T, left_attach: i32)
[src]
fn get_item_right_attach<T: IsA<MenuItem>>(&self, item: &T) -> i32
[src]
fn set_item_right_attach<T: IsA<MenuItem>>(&self, item: &T, right_attach: i32)
[src]
fn get_item_top_attach<T: IsA<MenuItem>>(&self, item: &T) -> i32
[src]
fn set_item_top_attach<T: IsA<MenuItem>>(&self, item: &T, top_attach: i32)
[src]
fn connect_move_scroll<F: Fn(&Self, ScrollType) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn emit_move_scroll(&self, scroll_type: ScrollType)
[src]
fn connect_property_accel_group_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_accel_path_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_active_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_anchor_hints_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_attach_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_menu_type_hint_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_monitor_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_rect_anchor_dx_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_rect_anchor_dy_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_reserve_toggle_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId