Trait components::NotebookExt[][src]

pub trait NotebookExt: 'static {
    fn get_current_page(&self) -> Option<Actor>;
fn next_page(&self);
fn previous_page(&self);
fn set_current_page<P: Is<Actor>>(&self, page: &P);
fn connect_property_current_page_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

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

fn next_page(&self)[src]

notebook_next_page: @notebook: A #Notebook

Change the current page to next one.

fn previous_page(&self)[src]

notebook_previous_page: @notebook: A #Notebook

Change the current page to previous one.

fn set_current_page<P: Is<Actor>>(&self, page: &P)[src]

fn connect_property_current_page_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

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

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

fn next_page(&self)[src]

notebook_next_page: @notebook: A #Notebook

Change the current page to next one.

fn previous_page(&self)[src]

notebook_previous_page: @notebook: A #Notebook

Change the current page to previous one.

Loading content...