Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. afterSwitchPage :: NotebookClass nb => nb -> (Int -> IO ()) -> IO (ConnectId nb)

    gtk Graphics.UI.Gtk.Layout.Notebook

    This signal is emitted when a new page is selected.

  2. notebookAppendPage :: (NotebookClass self, WidgetClass child, GlibString string) => self -> child -> string -> IO Int

    gtk Graphics.UI.Gtk.Layout.Notebook

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

    • This function returned () in Gtk+ version 2.2.X and earlier

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

    gtk Graphics.UI.Gtk.Layout.Notebook

    Appends a page to notebook, specifying the widget to use as the label in the popup menu. Like notebookAppendPage but allows any widget to be used for the label of the new tab and the entry in the page-switch popup menu.

    • This function returned () in Gtk version 2.2.X and earlier

  4. notebookCurrentPage :: NotebookClass self => Attr self Int

    gtk Graphics.UI.Gtk.Layout.Notebook

    Switches to the page number pageNum. Note that due to historical reasons, Notebook 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. Returns the page number of the current page.

  5. notebookGetCurrentPage :: NotebookClass self => self -> IO Int

    gtk Graphics.UI.Gtk.Layout.Notebook

    Returns the page number of the current page.

  6. notebookGetNPages :: NotebookClass self => self -> IO Int

    gtk Graphics.UI.Gtk.Layout.Notebook

    Gets the number of pages in a notebook.

    • Available since Gtk version 2.2

  7. notebookGetNthPage :: NotebookClass self => self -> Int -> IO (Maybe Widget)

    gtk Graphics.UI.Gtk.Layout.Notebook

    Returns the child widget contained in page number pageNum.

  8. notebookInsertPage :: (NotebookClass self, WidgetClass child, GlibString string) => self -> child -> string -> Int -> IO Int

    gtk Graphics.UI.Gtk.Layout.Notebook

    Insert a page into notebook at the given position.

    • 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 notebookInsertPageMenu.
    • This function returned () in Gtk version 2.2.X and earlier

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

    gtk Graphics.UI.Gtk.Layout.Notebook

    Insert a page into notebook at the given position, specifying the widget to use as the label in the popup menu. Like notebookInsertPage 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

  10. notebookNextPage :: NotebookClass self => self -> IO ()

    gtk Graphics.UI.Gtk.Layout.Notebook

    Switches to the next page. Nothing happens if the current page is the last page.

Page 344 of many | Previous | Next