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.

  1. notebookPrependPageMenu :: (NotebookClass self, WidgetClass child, WidgetClass tabLabel, WidgetClass menuLabel) => self -> child -> tabLabel -> menuLabel -> IO Int

    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

  2. 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.

  3. notebookRemovePage :: NotebookClass self => self -> Int -> IO ()

    gtk3 Graphics.UI.Gtk.Layout.Notebook

    Removes a page from the notebook given its index in the notebook.

  4. 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.

  5. notebookScrollable :: NotebookClass self => Attr self Bool

    gtk3 Graphics.UI.Gtk.Layout.Notebook

    If True, scroll arrows are added if there are too many tabs to fit. Default value: False

  6. notebookSetActionWidget :: (NotebookClass self, WidgetClass widget) => self -> widget -> PackType -> IO ()

    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

  7. 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.

  8. notebookSetMenuLabel :: (NotebookClass self, WidgetClass child, WidgetClass menuLabel) => self -> child -> Maybe menuLabel -> IO ()

    gtk3 Graphics.UI.Gtk.Layout.Notebook

    Changes the menu label for the page containing child.

  9. notebookSetMenuLabelText :: (NotebookClass self, WidgetClass child, GlibString string) => self -> child -> string -> IO ()

    gtk3 Graphics.UI.Gtk.Layout.Notebook

    Creates a new label and sets it as the menu label of child.

  10. 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.

Page 50 of many | Previous | Next