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.
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.
-
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
-
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
notebookCurrentPage :: NotebookClass self => Attr self Intgtk 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.
notebookGetCurrentPage :: NotebookClass self => self -> IO Intgtk Graphics.UI.Gtk.Layout.Notebook Returns the page number of the current page.
notebookGetNPages :: NotebookClass self => self -> IO Intgtk Graphics.UI.Gtk.Layout.Notebook Gets the number of pages in a notebook.
- Available since Gtk version 2.2
notebookGetNthPage :: NotebookClass self => self -> Int -> IO (Maybe Widget)gtk Graphics.UI.Gtk.Layout.Notebook Returns the child widget contained in page number pageNum.
-
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
-
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
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.