Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
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.
notebookSetScrollable :: NotebookClass self => self -> Bool -> IO ()gtk3 Graphics.UI.Gtk.Layout.Notebook Sets whether the tab label area will have arrows for scrolling if there are too many tabs to fit in the area.
notebookSetShowBorder :: NotebookClass self => self -> Bool -> IO ()gtk3 Graphics.UI.Gtk.Layout.Notebook Sets whether a bevel will be drawn around the notebook pages. This only has a visual effect when the tabs are not shown. See notebookSetShowTabs.
notebookSetShowTabs :: NotebookClass self => self -> Bool -> IO ()gtk3 Graphics.UI.Gtk.Layout.Notebook Sets whether to show the tabs for the notebook or not.
-
gtk3 Graphics.UI.Gtk.Layout.Notebook Sets whether the tab can be detached from notebook to another notebook or widget. Note that 2 notebooks must share a common group identificator (see gtk_notebook_set_group_id()) to allow automatic tabs interchange between them. If you want a widget to interact with a notebook through DnD (i.e.: accept dragged tabs from it) it must be set as a drop destination and accept the target GTK_NOTEBOOK_TAB. The notebook will fill the selection with a GtkWidget** pointing to the child widget that corresponds to the dropped tab. If you want a notebook to accept drags from other widgets, you will have to set your own DnD code to do it.
- Available since Gtk version 2.10
-
gtk3 Graphics.UI.Gtk.Layout.Notebook Changes the tab label for child.