Hoogle Search
Within LTS Haskell 24.31 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
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
-
gtk3 Graphics.UI.Gtk.Layout.Notebook Sets widget as one of the action widgets. Depending on the pack type the widget will be placed before or after the tabs. You can use a Box if you need to pack more than one widget on the same side. Note that action widgets are "internal" children of the notebook and thus not included in the list returned from containerForeach.
- Available since Gtk version 2.20
notebookSetCurrentPage :: NotebookClass self => self -> Int -> IO ()gtk3 Graphics.UI.Gtk.Layout.Notebook Switches to the page number pageNum. Page numbers start from 0. Use -1 to request the last page.
- Note that due to historical reasons, GtkNotebook refuses to switch to a page unless the child widget is visible. Therefore, it is recommended to show child widgets before adding them to a notebook.
-
gtk3 Graphics.UI.Gtk.Layout.Notebook Changes the menu label for the page containing child.
-
gtk3 Graphics.UI.Gtk.Layout.Notebook Creates a new label and sets it as the menu label of child.
notebookSetPopup :: NotebookClass self => self -> Bool -> IO ()gtk3 Graphics.UI.Gtk.Layout.Notebook Enables or disables the popup menu: if the user clicks with the right mouse button on the bookmarks, a menu with all the pages will be popped up.