Trait ux::NotebookExt [−][src]
pub trait NotebookExt: 'static {
pub fn get_current_page(&self) -> Option<Actor>;
pub fn next_page(&self);
pub fn previous_page(&self);
pub fn set_current_page<P>(&self, page: &P)
where
P: Is<Actor>;
pub fn connect_property_current_page_notify<F>(
&self,
f: F
) -> SignalHandlerId
where
F: 'static + Fn(&Self);
}Required methods
pub fn get_current_page(&self) -> Option<Actor>[src]
notebook_get_current_page: @notebook: A #Notebook
Get the current page
Returns: (transfer none): the current page
pub fn next_page(&self)[src]
notebook_next_page: @notebook: A #Notebook
Change the current page to next one.
pub fn previous_page(&self)[src]
notebook_previous_page: @notebook: A #Notebook
Change the current page to previous one.
pub fn set_current_page<P>(&self, page: &P) where
P: Is<Actor>, [src]
P: Is<Actor>,
pub fn connect_property_current_page_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self), [src]
F: 'static + Fn(&Self),
Implementors
impl<O> NotebookExt for O where
O: Is<Notebook>, [src]
O: Is<Notebook>,
pub fn get_current_page(&self) -> Option<Actor>[src]
notebook_get_current_page: @notebook: A #Notebook
Get the current page
Returns: (transfer none): the current page
pub fn next_page(&self)[src]
notebook_next_page: @notebook: A #Notebook
Change the current page to next one.
pub fn previous_page(&self)[src]
notebook_previous_page: @notebook: A #Notebook
Change the current page to previous one.
pub fn set_current_page<P>(&self, page: &P) where
P: Is<Actor>, [src]
P: Is<Actor>,
pub fn connect_property_current_page_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O), [src]
F: 'static + Fn(&O),