manatee-core-0.0.2: The core of Manatee.

Manatee.Toolkit.Gtk.Notebook

Synopsis

Documentation

notebookAppendPage_ :: (NotebookClass notebook, WidgetClass child) => notebook -> child -> String -> IO IntSource

In Gtk+ C code, GtkNotebook refuses to switch to a page unless the child widget is visible. So wrap below functions that show child widget before add them to a notebook. Details see documents of gtk_notebook_set_current_page.

notebookAppendPageMenu_ :: (NotebookClass notebook, WidgetClass child, WidgetClass tabLabel, WidgetClass menuLabel) => notebook -> child -> tabLabel -> menuLabel -> IO IntSource

notebookAppendPageTab_ :: (NotebookClass notebook, WidgetClass child, WidgetClass tabLabel) => notebook -> child -> tabLabel -> IO IntSource

notebookPrependPage_ :: (NotebookClass notebook, WidgetClass child) => notebook -> child -> String -> IO IntSource

notebookPrependPageMenu_ :: (NotebookClass notebook, WidgetClass child, WidgetClass tabLabel, WidgetClass menuLabel) => notebook -> child -> tabLabel -> menuLabel -> IO IntSource

notebookPrependPageTab_ :: (NotebookClass notebook, WidgetClass child, WidgetClass tabLabel) => notebook -> child -> tabLabel -> IO IntSource

notebookInsertPage_ :: (NotebookClass notebook, WidgetClass child) => notebook -> child -> String -> Int -> IO IntSource

notebookInsertPageMenu_ :: (NotebookClass notebook, WidgetClass child, WidgetClass tabLabel, WidgetClass menuLabel) => notebook -> child -> tabLabel -> menuLabel -> Int -> IO IntSource

notebookInsertPageTab_ :: (NotebookClass notebook, WidgetClass child, WidgetClass tabLabel) => notebook -> child -> tabLabel -> Int -> IO IntSource

notebookRemoveChild :: (NotebookClass notebook, WidgetClass child) => notebook -> child -> IO ()Source

Remove child, just remove it's page when child is contained in notebook.

notebookInsertReorderPage :: (NotebookClass notebook, WidgetClass child) => notebook -> child -> String -> Int -> IO ()Source

Insert page and make child reorderable.

notebookFocusCurrentPage :: NotebookClass notebook => notebook -> IO ()Source

Focus current page.

notebookGetCurrentPage_ :: NotebookClass notebook => notebook -> IO (Maybe Widget)Source

Get current page. Like notebookGetCurrentPage except use widget instead current page index.

notebookSelectNextPage :: NotebookClass notebook => notebook -> IO ()Source

Select next page.

notebookSelectPrevPage :: NotebookClass notebook => notebook -> IO ()Source

Select previous page.

notebookSelectFirstPage :: NotebookClass notebook => notebook -> IO ()Source

Select first page.

notebookSelectLastPage :: NotebookClass notebook => notebook -> IO ()Source

Select last page.

notebookAtStart :: NotebookClass notebook => notebook -> IO BoolSource

At start.

notebookAtEnd :: NotebookClass notebook => notebook -> IO BoolSource

At End.

notebookFirstIndex :: NotebookClass notebook => notebook -> IO IntSource

Get tab first index.

notebookLastIndex :: NotebookClass notebook => notebook -> IO IntSource

Get tab last index.

notebookSetTabName :: NotebookClass notebook => notebook -> Int -> String -> IO ()Source

Set name with given index.