- notebookAppendPage_ :: (NotebookClass notebook, WidgetClass child) => notebook -> child -> String -> IO Int
- notebookAppendPageMenu_ :: (NotebookClass notebook, WidgetClass child, WidgetClass tabLabel, WidgetClass menuLabel) => notebook -> child -> tabLabel -> menuLabel -> IO Int
- notebookAppendPageTab_ :: (NotebookClass notebook, WidgetClass child, WidgetClass tabLabel) => notebook -> child -> tabLabel -> IO Int
- notebookPrependPage_ :: (NotebookClass notebook, WidgetClass child) => notebook -> child -> String -> IO Int
- notebookPrependPageMenu_ :: (NotebookClass notebook, WidgetClass child, WidgetClass tabLabel, WidgetClass menuLabel) => notebook -> child -> tabLabel -> menuLabel -> IO Int
- notebookPrependPageTab_ :: (NotebookClass notebook, WidgetClass child, WidgetClass tabLabel) => notebook -> child -> tabLabel -> IO Int
- notebookInsertPage_ :: (NotebookClass notebook, WidgetClass child) => notebook -> child -> String -> Int -> IO Int
- notebookInsertPageMenu_ :: (NotebookClass notebook, WidgetClass child, WidgetClass tabLabel, WidgetClass menuLabel) => notebook -> child -> tabLabel -> menuLabel -> Int -> IO Int
- notebookInsertPageTab_ :: (NotebookClass notebook, WidgetClass child, WidgetClass tabLabel) => notebook -> child -> tabLabel -> Int -> IO Int
- notebookRemoveChild :: (NotebookClass notebook, WidgetClass child) => notebook -> child -> IO ()
- notebookInsertReorderPage :: (NotebookClass notebook, WidgetClass child) => notebook -> child -> String -> Int -> IO ()
- notebookFocusCurrentPage :: NotebookClass notebook => notebook -> IO ()
- notebookGetCurrentPage_ :: NotebookClass notebook => notebook -> IO (Maybe Widget)
- notebookSelectNextPage :: NotebookClass notebook => notebook -> IO ()
- notebookSelectPrevPage :: NotebookClass notebook => notebook -> IO ()
- notebookSelectFirstPage :: NotebookClass notebook => notebook -> IO ()
- notebookSelectLastPage :: NotebookClass notebook => notebook -> IO ()
- notebookAtStart :: NotebookClass notebook => notebook -> IO Bool
- notebookAtEnd :: NotebookClass notebook => notebook -> IO Bool
- notebookFirstIndex :: NotebookClass notebook => notebook -> IO Int
- notebookLastIndex :: NotebookClass notebook => notebook -> IO Int
- notebookSetTabName :: NotebookClass notebook => notebook -> Int -> String -> IO ()
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.