Struct gtk::Notebook
[−]
pub struct Notebook(_, _);
Methods
impl Notebook
[src]
fn new() -> Notebook
fn get_action_widget(&self, pack_type: PackType) -> Option<Widget>
fn get_group_name(&self) -> Option<String>
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<String>
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<'a, P: Into<Option<&'a str>>>(&self, group_name: P)
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<'a, P: IsA<Widget>, Q: IsA<Widget> + 'a, R: Into<Option<&'a Q>>>(
&self,
child: &P,
tab_label: R
)
&self,
child: &P,
tab_label: R
)
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(&Notebook, i32) -> bool + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_create_window<F: Fn(&Notebook, &Widget, i32, i32) -> Notebook + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_focus_tab<F: Fn(&Notebook, NotebookTab) -> bool + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_move_focus_out<F: Fn(&Notebook, DirectionType) + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_page_added<F: Fn(&Notebook, &Widget, u32) + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_page_removed<F: Fn(&Notebook, &Widget, u32) + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_page_reordered<F: Fn(&Notebook, &Widget, u32) + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_reorder_tab<F: Fn(&Notebook, DirectionType, bool) -> bool + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_select_page<F: Fn(&Notebook, bool) -> bool + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_switch_page<F: Fn(&Notebook, &Widget, u32) + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
impl Notebook
[src]
fn append_page<T: IsA<Widget>, U: IsA<Widget>>(
&self,
child: &T,
tab_label: Option<&U>
) -> u32
&self,
child: &T,
tab_label: Option<&U>
) -> u32
fn get_current_page(&self) -> Option<u32>
fn get_n_pages(&self) -> u32
fn get_nth_page(&self, page_num: Option<u32>) -> Option<Widget>
fn insert_page<T, U>(
&self,
child: &T,
tab_label: Option<&U>,
position: Option<u32>
) -> u32 where
T: IsA<Widget>,
U: IsA<Widget>,
&self,
child: &T,
tab_label: Option<&U>,
position: Option<u32>
) -> u32 where
T: IsA<Widget>,
U: IsA<Widget>,
fn page_num<T: IsA<Widget>>(&self, child: &T) -> Option<u32>
fn prepend_page<T, U>(&self, child: &T, tab_label: Option<&U>) -> u32 where
T: IsA<Widget>,
U: IsA<Widget>,
T: IsA<Widget>,
U: IsA<Widget>,
fn remove_page(&self, page_num: Option<u32>)
fn reorder_child<T: IsA<Widget>>(&self, child: &T, position: Option<u32>)
fn set_current_page(&self, page_num: Option<u32>)
Trait Implementations
impl Clone for Notebook
fn clone(&self) -> Notebook
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Notebook
impl Hash for Notebook
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for Notebook
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Notebook
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.