Trait gtk::prelude::NotebookExt

source ·
pub trait NotebookExt: IsA<Notebook> + Sealed + 'static {
Show 69 methods // Provided methods fn detach_tab(&self, child: &impl IsA<Widget>) { ... } fn action_widget(&self, pack_type: PackType) -> Option<Widget> { ... } fn group_name(&self) -> Option<GString> { ... } fn menu_label(&self, child: &impl IsA<Widget>) -> Option<Widget> { ... } fn menu_label_text(&self, child: &impl IsA<Widget>) -> Option<GString> { ... } fn is_scrollable(&self) -> bool { ... } fn shows_border(&self) -> bool { ... } fn shows_tabs(&self) -> bool { ... } fn tab_is_detachable(&self, child: &impl IsA<Widget>) -> bool { ... } fn tab_label(&self, child: &impl IsA<Widget>) -> Option<Widget> { ... } fn tab_label_text(&self, child: &impl IsA<Widget>) -> Option<GString> { ... } fn tab_pos(&self) -> PositionType { ... } fn tab_is_reorderable(&self, child: &impl IsA<Widget>) -> bool { ... } fn next_page(&self) { ... } fn popup_disable(&self) { ... } fn popup_enable(&self) { ... } fn prev_page(&self) { ... } fn set_action_widget(&self, widget: &impl IsA<Widget>, pack_type: PackType) { ... } fn set_group_name(&self, group_name: Option<&str>) { ... } fn set_menu_label( &self, child: &impl IsA<Widget>, menu_label: Option<&impl IsA<Widget>> ) { ... } fn set_menu_label_text(&self, child: &impl IsA<Widget>, 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(&self, child: &impl IsA<Widget>, detachable: bool) { ... } fn set_tab_label( &self, child: &impl IsA<Widget>, tab_label: Option<&impl IsA<Widget>> ) { ... } fn set_tab_label_text(&self, child: &impl IsA<Widget>, tab_text: &str) { ... } fn set_tab_pos(&self, pos: PositionType) { ... } fn set_tab_reorderable(&self, child: &impl IsA<Widget>, reorderable: bool) { ... } fn enables_popup(&self) -> bool { ... } fn set_enable_popup(&self, enable_popup: bool) { ... } fn page(&self) -> i32 { ... } fn set_page(&self, page: i32) { ... } fn child_is_detachable<T: IsA<Widget>>(&self, item: &T) -> bool { ... } fn set_child_detachable<T: IsA<Widget>>(&self, item: &T, detachable: bool) { ... } fn child_menu_label<T: IsA<Widget>>(&self, item: &T) -> Option<GString> { ... } fn set_child_menu_label<T: IsA<Widget>>( &self, item: &T, menu_label: Option<&str> ) { ... } fn child_position<T: IsA<Widget>>(&self, item: &T) -> i32 { ... } fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32) { ... } fn child_is_reorderable<T: IsA<Widget>>(&self, item: &T) -> bool { ... } fn set_child_reorderable<T: IsA<Widget>>(&self, item: &T, reorderable: bool) { ... } fn child_tab_expands<T: IsA<Widget>>(&self, item: &T) -> bool { ... } fn set_child_tab_expand<T: IsA<Widget>>(&self, item: &T, tab_expand: bool) { ... } fn child_tab_fills<T: IsA<Widget>>(&self, item: &T) -> bool { ... } fn set_child_tab_fill<T: IsA<Widget>>(&self, item: &T, tab_fill: bool) { ... } fn child_tab_label<T: IsA<Widget>>(&self, item: &T) -> Option<GString> { ... } fn set_child_tab_label<T: IsA<Widget>>( &self, item: &T, tab_label: Option<&str> ) { ... } 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_enable_popup_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_group_name_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_page_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_scrollable_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_show_border_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_show_tabs_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_tab_pos_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}

Provided Methods§

source

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

source

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

source

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

source

fn menu_label(&self, child: &impl IsA<Widget>) -> Option<Widget>

source

fn menu_label_text(&self, child: &impl IsA<Widget>) -> Option<GString>

source

fn is_scrollable(&self) -> bool

source

fn shows_border(&self) -> bool

source

fn shows_tabs(&self) -> bool

source

fn tab_is_detachable(&self, child: &impl IsA<Widget>) -> bool

source

fn tab_label(&self, child: &impl IsA<Widget>) -> Option<Widget>

source

fn tab_label_text(&self, child: &impl IsA<Widget>) -> Option<GString>

source

fn tab_pos(&self) -> PositionType

source

fn tab_is_reorderable(&self, child: &impl IsA<Widget>) -> bool

source

fn next_page(&self)

source

fn popup_disable(&self)

source

fn popup_enable(&self)

source

fn prev_page(&self)

source

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

source

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

source

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

source

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

source

fn set_scrollable(&self, scrollable: bool)

source

fn set_show_border(&self, show_border: bool)

source

fn set_show_tabs(&self, show_tabs: bool)

source

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

source

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

source

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

source

fn set_tab_pos(&self, pos: PositionType)

source

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

source

fn enables_popup(&self) -> bool

source

fn set_enable_popup(&self, enable_popup: bool)

source

fn page(&self) -> i32

source

fn set_page(&self, page: i32)

source

fn child_is_detachable<T: IsA<Widget>>(&self, item: &T) -> bool

source

fn set_child_detachable<T: IsA<Widget>>(&self, item: &T, detachable: bool)

source

fn child_menu_label<T: IsA<Widget>>(&self, item: &T) -> Option<GString>

source

fn set_child_menu_label<T: IsA<Widget>>( &self, item: &T, menu_label: Option<&str> )

source

fn child_position<T: IsA<Widget>>(&self, item: &T) -> i32

source

fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32)

source

fn child_is_reorderable<T: IsA<Widget>>(&self, item: &T) -> bool

source

fn set_child_reorderable<T: IsA<Widget>>(&self, item: &T, reorderable: bool)

source

fn child_tab_expands<T: IsA<Widget>>(&self, item: &T) -> bool

source

fn set_child_tab_expand<T: IsA<Widget>>(&self, item: &T, tab_expand: bool)

source

fn child_tab_fills<T: IsA<Widget>>(&self, item: &T) -> bool

source

fn set_child_tab_fill<T: IsA<Widget>>(&self, item: &T, tab_fill: bool)

source

fn child_tab_label<T: IsA<Widget>>(&self, item: &T) -> Option<GString>

source

fn set_child_tab_label<T: IsA<Widget>>(&self, item: &T, tab_label: Option<&str>)

source

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

source

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

source

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

source

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

source

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

source

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

source

fn emit_move_focus_out(&self, object: DirectionType)

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Implementors§