ltk

Function notebook

Source
pub fn notebook<Msg: Clone + 'static>() -> Notebook<Msg>
Expand description

Create an empty Notebook.

notebook()
    .page( "Inbox",  self.inbox_view() )
    .page( "Sent",   self.sent_view() )
    .selected( self.tab )
    .on_select( Msg::SelectTab )