[][src]Trait gtk::GtkMenuExt

pub trait GtkMenuExt: 'static {
    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<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 popdown(&self);
fn reorder_child<P: IsA<Widget>>(&self, child: &P, position: i32);
fn reposition(&self);
fn set_accel_group<'a, P: IsA<AccelGroup> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        accel_group: Q
    );
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_property_attach_widget<P: IsA<Widget> + SetValueOptional>(
        &self,
        attach_widget: Option<&P>
    );
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;
fn emit_move_scroll(&self, scroll_type: ScrollType);
fn connect_property_accel_group_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_accel_path_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_active_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_attach_widget_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_monitor_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_reserve_toggle_size_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

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<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 popdown(&self)

fn reorder_child<P: IsA<Widget>>(&self, child: &P, position: i32)

fn reposition(&self)

fn set_accel_group<'a, P: IsA<AccelGroup> + 'a, Q: Into<Option<&'a P>>>(
    &self,
    accel_group: Q
)

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_property_attach_widget<P: IsA<Widget> + SetValueOptional>(
    &self,
    attach_widget: Option<&P>
)

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

fn emit_move_scroll(&self, scroll_type: ScrollType)

fn connect_property_accel_group_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_accel_path_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_active_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_attach_widget_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_monitor_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_reserve_toggle_size_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<Menu>> GtkMenuExt for O[src]

Loading content...