Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
notebookPrevPage :: NotebookClass self => self -> IO ()gtk Graphics.UI.Gtk.Layout.Notebook Switches to the previous page. Nothing happens if the current page is the first page.
-
gtk Graphics.UI.Gtk.Layout.Notebook Query the packing attributes for the tab label of the page containing child. Removed in Gtk3.
notebookRemovePage :: NotebookClass self => self -> Int -> IO ()gtk 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 ()gtk 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 Boolgtk Graphics.UI.Gtk.Layout.Notebook If True, scroll arrows are added if there are too many tabs to fit. Default value: False
-
gtk 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 ()gtk 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.
notebookSetHomogeneousTabs :: NotebookClass self => self -> Bool -> IO ()gtk Graphics.UI.Gtk.Layout.Notebook Sets whether the tabs must have all the same size or not.
- Warning: this function is deprecated and should not be used in newly-written code.
-
gtk Graphics.UI.Gtk.Layout.Notebook Changes the menu label for the page containing child.
-
gtk Graphics.UI.Gtk.Layout.Notebook Creates a new label and sets it as the menu label of child.