[][src]Trait gtk::NotebookExt

pub trait NotebookExt: 'static {
    fn detach_tab<P: IsA<Widget>>(&self, child: &P);
fn get_action_widget(&self, pack_type: PackType) -> Option<Widget>;
fn get_group_name(&self) -> Option<GString>;
fn get_menu_label<P: IsA<Widget>>(&self, child: &P) -> Option<Widget>;
fn get_menu_label_text<P: IsA<Widget>>(&self, child: &P) -> Option<GString>;
fn get_scrollable(&self) -> bool;
fn get_show_border(&self) -> bool;
fn get_show_tabs(&self) -> bool;
fn get_tab_detachable<P: IsA<Widget>>(&self, child: &P) -> bool;
fn get_tab_label<P: IsA<Widget>>(&self, child: &P) -> Option<Widget>;
fn get_tab_label_text<P: IsA<Widget>>(&self, child: &P) -> Option<GString>;
fn get_tab_pos(&self) -> PositionType;
fn get_tab_reorderable<P: IsA<Widget>>(&self, child: &P) -> bool;
fn next_page(&self);
fn popup_disable(&self);
fn popup_enable(&self);
fn prev_page(&self);
fn set_action_widget<P: IsA<Widget>>(&self, widget: &P, pack_type: PackType);
fn set_group_name(&self, group_name: Option<&str>);
fn set_menu_label<P: IsA<Widget>, Q: IsA<Widget>>(
        &self,
        child: &P,
        menu_label: Option<&Q>
    );
fn set_menu_label_text<P: IsA<Widget>>(&self, child: &P, menu_text: &str);
fn set_scrollable(&self, scrollable: bool);
fn set_show_border(&self, show_border: bool);
fn set_show_tabs(&self, show_tabs: bool);
fn set_tab_detachable<P: IsA<Widget>>(&self, child: &P, detachable: bool);
fn set_tab_label<P: IsA<Widget>, Q: IsA<Widget>>(
        &self,
        child: &P,
        tab_label: Option<&Q>
    );
fn set_tab_label_text<P: IsA<Widget>>(&self, child: &P, tab_text: &str);
fn set_tab_pos(&self, pos: PositionType);
fn set_tab_reorderable<P: IsA<Widget>>(&self, child: &P, reorderable: bool);
fn get_property_enable_popup(&self) -> bool;
fn set_property_enable_popup(&self, enable_popup: bool);
fn get_property_page(&self) -> i32;
fn set_property_page(&self, page: i32);
fn connect_change_current_page<F: Fn(&Self, i32) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_change_current_page(&self, object: i32) -> bool;
fn connect_create_window<F: Fn(&Self, &Widget, i32, i32) -> Notebook + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_focus_tab<F: Fn(&Self, NotebookTab) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_focus_tab(&self, object: NotebookTab) -> bool;
fn connect_move_focus_out<F: Fn(&Self, DirectionType) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_move_focus_out(&self, object: DirectionType);
fn connect_page_added<F: Fn(&Self, &Widget, u32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_page_removed<F: Fn(&Self, &Widget, u32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_page_reordered<F: Fn(&Self, &Widget, u32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_reorder_tab<F: Fn(&Self, DirectionType, bool) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_reorder_tab(&self, object: DirectionType, p0: bool) -> bool;
fn connect_select_page<F: Fn(&Self, bool) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_select_page(&self, object: bool) -> bool;
fn connect_switch_page<F: Fn(&Self, &Widget, u32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_enable_popup_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_group_name_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_page_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_scrollable_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_show_border_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_show_tabs_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_tab_pos_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn detach_tab<P: IsA<Widget>>(&self, child: &P)

fn get_action_widget(&self, pack_type: PackType) -> Option<Widget>

fn get_group_name(&self) -> Option<GString>

fn get_menu_label<P: IsA<Widget>>(&self, child: &P) -> Option<Widget>

fn get_menu_label_text<P: IsA<Widget>>(&self, child: &P) -> Option<GString>

fn get_scrollable(&self) -> bool

fn get_show_border(&self) -> bool

fn get_show_tabs(&self) -> bool

fn get_tab_detachable<P: IsA<Widget>>(&self, child: &P) -> bool

fn get_tab_label<P: IsA<Widget>>(&self, child: &P) -> Option<Widget>

fn get_tab_label_text<P: IsA<Widget>>(&self, child: &P) -> Option<GString>

fn get_tab_pos(&self) -> PositionType

fn get_tab_reorderable<P: IsA<Widget>>(&self, child: &P) -> bool

fn next_page(&self)

fn popup_disable(&self)

fn popup_enable(&self)

fn prev_page(&self)

fn set_action_widget<P: IsA<Widget>>(&self, widget: &P, pack_type: PackType)

fn set_group_name(&self, group_name: Option<&str>)

fn set_menu_label<P: IsA<Widget>, Q: IsA<Widget>>(
    &self,
    child: &P,
    menu_label: Option<&Q>
)

fn set_menu_label_text<P: IsA<Widget>>(&self, child: &P, menu_text: &str)

fn set_scrollable(&self, scrollable: bool)

fn set_show_border(&self, show_border: bool)

fn set_show_tabs(&self, show_tabs: bool)

fn set_tab_detachable<P: IsA<Widget>>(&self, child: &P, detachable: bool)

fn set_tab_label<P: IsA<Widget>, Q: IsA<Widget>>(
    &self,
    child: &P,
    tab_label: Option<&Q>
)

fn set_tab_label_text<P: IsA<Widget>>(&self, child: &P, tab_text: &str)

fn set_tab_pos(&self, pos: PositionType)

fn set_tab_reorderable<P: IsA<Widget>>(&self, child: &P, reorderable: bool)

fn get_property_enable_popup(&self) -> bool

fn set_property_enable_popup(&self, enable_popup: bool)

fn get_property_page(&self) -> i32

fn set_property_page(&self, page: i32)

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

fn emit_change_current_page(&self, object: i32) -> bool

fn connect_create_window<F: Fn(&Self, &Widget, i32, i32) -> Notebook + 'static>(
    &self,
    f: F
) -> SignalHandlerId

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

fn emit_focus_tab(&self, object: NotebookTab) -> bool

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

fn emit_move_focus_out(&self, object: DirectionType)

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

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

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

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

fn emit_reorder_tab(&self, object: DirectionType, p0: bool) -> bool

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

fn emit_select_page(&self, object: bool) -> bool

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

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

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

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

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

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

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

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

Loading content...

Implementors

impl<O: IsA<Notebook>> NotebookExt for O[src]

Loading content...