Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
gtk3 Graphics.UI.Gtk.Layout.Notebook Creates a new Notebook widget with no pages.
notebookNextPage :: NotebookClass self => self -> IO ()gtk3 Graphics.UI.Gtk.Layout.Notebook Switches to the next page. Nothing happens if the current page is the last page.
notebookPage :: NotebookClass self => Attr self Intgtk3 Graphics.UI.Gtk.Layout.Notebook The index of the current page. Allowed values: >= 0 Default value: 0
notebookPageNum :: (NotebookClass self, WidgetClass w) => self -> w -> IO (Maybe Int)gtk3 Graphics.UI.Gtk.Layout.Notebook Query the page the child widget is contained in.
- The function returns the page number if the child was found, Nothing otherwise.
-
gtk3 Graphics.UI.Gtk.Layout.Notebook Prepends a page to notebook.
- The given label will be used for the label widget of the new tab. In case the context menu is enabled, this name will also appear in the popup menu. If you want to specify something else to go in the tab, use notebookPrependPageMenu.
- This function returned () in Gtk version 2.2.X and earlier
-
gtk3 Graphics.UI.Gtk.Layout.Notebook Prepends a page to notebook, specifying the widget to use as the label in the popup menu. Like notebookPrependPage but allows any widget to be used for the label of the new tab and then entry in the page-switch popup menu.
- This function returned () in Gtk version 2.2.X and earlier
notebookPrevPage :: NotebookClass self => self -> IO ()gtk3 Graphics.UI.Gtk.Layout.Notebook Switches to the previous page. Nothing happens if the current page is the first page.
notebookRemovePage :: NotebookClass self => self -> Int -> IO ()gtk3 Graphics.UI.Gtk.Layout.Notebook Removes a page from the notebook given its index in the notebook.
notebookReorderChild :: (NotebookClass self, WidgetClass child) => self -> child -> Int -> IO ()gtk3 Graphics.UI.Gtk.Layout.Notebook Reorders the page containing child, so that it appears in position position. If position is greater than or equal to the number of children in the list or negative, child will be moved to the end of the list.
notebookScrollable :: NotebookClass self => Attr self Boolgtk3 Graphics.UI.Gtk.Layout.Notebook If True, scroll arrows are added if there are too many tabs to fit. Default value: False