gi-gtk3
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.Notebook

Description

The Notebook widget is a Container whose children are pages that can be switched between using tab labels along one edge.

There are many configuration options for GtkNotebook. Among other things, you can choose on which edge the tabs appear (see notebookSetTabPos), whether, if there are too many tabs to fit the notebook should be made bigger or scrolling arrows added (see notebookSetScrollable), and whether there will be a popup menu allowing the users to switch pages. (see notebookPopupEnable, notebookPopupDisable)

GtkNotebook as GtkBuildable

The GtkNotebook implementation of the Buildable interface supports placing children into tabs by specifying “tab” as the “type” attribute of a <child> element. Note that the content of the tab must be created before the tab can be filled. A tab child can be specified without specifying a <child> type attribute.

To add a child widget in the notebooks action area, specify "action-start" or “action-end” as the “type” attribute of the <child> element.

An example of a UI definition fragment with GtkNotebook:

xml code

<object class="GtkNotebook">
  <child>
    <object class="GtkLabel" id="notebook-content">
      <property name="label">Content</property>
    </object>
  </child>
  <child type="tab">
    <object class="GtkLabel" id="notebook-tab">
      <property name="label">Tab</property>
    </object>
  </child>
</object>

CSS nodes

plain code

notebook
├── header.top
│   ├── [<action widget>]
│   ├── tabs
│   │   ├── [arrow]
│   │   ├── tab
│   │   │   ╰── <tab label>
┊   ┊   ┊
│   │   ├── tab[.reorderable-page]
│   │   │   ╰── <tab label>
│   │   ╰── [arrow]
│   ╰── [<action widget>]
│
╰── stack
    ├── <child>
    ┊
    ╰── <child>

GtkNotebook has a main CSS node with name notebook, a subnode with name header and below that a subnode with name tabs which contains one subnode per tab with name tab.

If action widgets are present, their CSS nodes are placed next to the tabs node. If the notebook is scrollable, CSS nodes with name arrow are placed as first and last child of the tabs node.

The main node gets the .frame style class when the notebook has a border (see notebookSetShowBorder).

The header node gets one of the style class .top, .bottom, .left or .right, depending on where the tabs are placed. For reorderable pages, the tab node gets the .reorderable-page class.

A tab node gets the .dnd style class while it is moved with drag-and-drop.

The nodes are always arranged from left-to-right, regarldess of text direction.

Synopsis

Exported types

newtype Notebook Source #

Memory-managed wrapper type.

Constructors

Notebook (ManagedPtr Notebook) 

Instances

Instances details
Eq Notebook Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

GObject Notebook Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

ManagedPtrNewtype Notebook Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

TypedObject Notebook Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

glibType :: IO GType #

HasParentTypes Notebook Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

HasAttributeList Notebook Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

(info ~ ResolveNotebookMethod t Notebook, OverloadedMethod info Notebook p, HasField t Notebook p) => HasField (t :: Symbol) Notebook (p :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

getField :: Notebook -> p #

(info ~ ResolveNotebookMethod t Notebook, OverloadedMethodInfo info Notebook) => IsLabel t (MethodProxy info Notebook) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

(info ~ ResolveNotebookMethod t Notebook, OverloadedMethod info Notebook p) => IsLabel t (Notebook -> p) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

fromLabel :: Notebook -> p #

IsGValue (Maybe Notebook) Source #

Convert Notebook to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Objects.Notebook

type AttributeList Notebook Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type ParentTypes Notebook Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type SignalList Notebook Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

class (GObject o, IsDescendantOf Notebook o) => IsNotebook o Source #

Type class for types which can be safely cast to Notebook, for instance with toNotebook.

Instances

Instances details
(GObject o, IsDescendantOf Notebook o) => IsNotebook o Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

toNotebook :: (MonadIO m, IsNotebook o) => o -> m Notebook Source #

Cast to Notebook, for types for which this is known to be safe. For general casts, use castTo.

Methods

Click to display all available methods, including inherited ones

Expand

Methods

activate, add, addAccelerator, addChild, addDeviceEvents, addEvents, addMnemonicLabel, addTickCallback, appendPage, appendPageMenu, bindProperty, bindPropertyFull, canActivateAccel, checkResize, childFocus, childGetProperty, childNotify, childNotifyByPspec, childSetProperty, childType, classPath, computeExpand, constructChild, createPangoContext, createPangoLayout, customFinished, customTagEnd, customTagStart, destroy, destroyed, detachTab, deviceIsShadowed, dragBegin, dragBeginWithCoordinates, dragCheckThreshold, dragDestAddImageTargets, dragDestAddTextTargets, dragDestAddUriTargets, dragDestFindTarget, dragDestGetTargetList, dragDestGetTrackMotion, dragDestSet, dragDestSetProxy, dragDestSetTargetList, dragDestSetTrackMotion, dragDestUnset, dragGetData, dragHighlight, dragSourceAddImageTargets, dragSourceAddTextTargets, dragSourceAddUriTargets, dragSourceGetTargetList, dragSourceSet, dragSourceSetIconGicon, dragSourceSetIconName, dragSourceSetIconPixbuf, dragSourceSetIconStock, dragSourceSetTargetList, dragSourceUnset, dragUnhighlight, draw, ensureStyle, errorBell, event, forall, forceFloating, foreach, freezeChildNotify, freezeNotify, getv, grabAdd, grabDefault, grabFocus, grabRemove, hasDefault, hasFocus, hasGrab, hasRcStyle, hasScreen, hasVisibleFocus, hide, hideOnDelete, inDestruction, initTemplate, inputShapeCombineRegion, insertActionGroup, insertPage, insertPageMenu, intersect, isAncestor, isComposited, isDrawable, isFloating, isFocus, isSensitive, isToplevel, isVisible, keynavFailed, listAccelClosures, listActionPrefixes, listMnemonicLabels, map, mnemonicActivate, modifyBase, modifyBg, modifyCursor, modifyFg, modifyFont, modifyStyle, modifyText, nextPage, notify, notifyByPspec, overrideBackgroundColor, overrideColor, overrideCursor, overrideFont, overrideSymbolicColor, pageNum, parserFinished, path, popupDisable, popupEnable, prependPage, prependPageMenu, prevPage, propagateDraw, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, remove, removeAccelerator, removeMnemonicLabel, removePage, removeTickCallback, renderIcon, renderIconPixbuf, reorderChild, reparent, resetRcStyles, resetStyle, resizeChildren, runDispose, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, stealData, stealQdata, styleAttach, styleGetProperty, thawChildNotify, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unregisterWindow, unsetFocusChain, unsetStateFlags, watchClosure.

Getters

getAccessible, getActionGroup, getActionWidget, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getBorderWidth, getCanDefault, getCanFocus, getChildRequisition, getChildVisible, getChildren, getClip, getClipboard, getCompositeName, getCurrentPage, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEvents, getFocusChain, getFocusChild, getFocusHadjustment, getFocusOnClick, getFocusVadjustment, getFontMap, getFontOptions, getFrameClock, getGroupName, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getInternalChild, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getMenuLabel, getMenuLabelText, getModifierMask, getModifierStyle, getNPages, getName, getNoShowAll, getNthPage, getOpacity, getPangoContext, getParent, getParentWindow, getPath, getPathForChild, getPointer, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRequisition, getResizeMode, getRootWindow, getScaleFactor, getScreen, getScrollable, getSensitive, getSettings, getShowBorder, getShowTabs, getSizeRequest, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTabDetachable, getTabHborder, getTabLabel, getTabLabelText, getTabPos, getTabReorderable, getTabVborder, getTemplateChild, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWindow.

Setters

setAccelPath, setActionWidget, setAllocation, setAppPaintable, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setCompositeName, setCurrentPage, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusVadjustment, setFontMap, setFontOptions, setGroupName, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setMenuLabel, setMenuLabelText, setName, setNoShowAll, setOpacity, setParent, setParentWindow, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizeMode, setScrollable, setSensitive, setShowBorder, setShowTabs, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTabDetachable, setTabLabel, setTabLabelText, setTabPos, setTabReorderable, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.

type family ResolveNotebookMethod (t :: Symbol) o where ... Source #

Equations

ResolveNotebookMethod "activate" o = WidgetActivateMethodInfo 
ResolveNotebookMethod "add" o = ContainerAddMethodInfo 
ResolveNotebookMethod "addAccelerator" o = WidgetAddAcceleratorMethodInfo 
ResolveNotebookMethod "addChild" o = BuildableAddChildMethodInfo 
ResolveNotebookMethod "addDeviceEvents" o = WidgetAddDeviceEventsMethodInfo 
ResolveNotebookMethod "addEvents" o = WidgetAddEventsMethodInfo 
ResolveNotebookMethod "addMnemonicLabel" o = WidgetAddMnemonicLabelMethodInfo 
ResolveNotebookMethod "addTickCallback" o = WidgetAddTickCallbackMethodInfo 
ResolveNotebookMethod "appendPage" o = NotebookAppendPageMethodInfo 
ResolveNotebookMethod "appendPageMenu" o = NotebookAppendPageMenuMethodInfo 
ResolveNotebookMethod "bindProperty" o = ObjectBindPropertyMethodInfo 
ResolveNotebookMethod "bindPropertyFull" o = ObjectBindPropertyFullMethodInfo 
ResolveNotebookMethod "canActivateAccel" o = WidgetCanActivateAccelMethodInfo 
ResolveNotebookMethod "checkResize" o = ContainerCheckResizeMethodInfo 
ResolveNotebookMethod "childFocus" o = WidgetChildFocusMethodInfo 
ResolveNotebookMethod "childGetProperty" o = ContainerChildGetPropertyMethodInfo 
ResolveNotebookMethod "childNotify" o = ContainerChildNotifyMethodInfo 
ResolveNotebookMethod "childNotifyByPspec" o = ContainerChildNotifyByPspecMethodInfo 
ResolveNotebookMethod "childSetProperty" o = ContainerChildSetPropertyMethodInfo 
ResolveNotebookMethod "childType" o = ContainerChildTypeMethodInfo 
ResolveNotebookMethod "classPath" o = WidgetClassPathMethodInfo 
ResolveNotebookMethod "computeExpand" o = WidgetComputeExpandMethodInfo 
ResolveNotebookMethod "constructChild" o = BuildableConstructChildMethodInfo 
ResolveNotebookMethod "createPangoContext" o = WidgetCreatePangoContextMethodInfo 
ResolveNotebookMethod "createPangoLayout" o = WidgetCreatePangoLayoutMethodInfo 
ResolveNotebookMethod "customFinished" o = BuildableCustomFinishedMethodInfo 
ResolveNotebookMethod "customTagEnd" o = BuildableCustomTagEndMethodInfo 
ResolveNotebookMethod "customTagStart" o = BuildableCustomTagStartMethodInfo 
ResolveNotebookMethod "destroy" o = WidgetDestroyMethodInfo 
ResolveNotebookMethod "destroyed" o = WidgetDestroyedMethodInfo 
ResolveNotebookMethod "detachTab" o = NotebookDetachTabMethodInfo 
ResolveNotebookMethod "deviceIsShadowed" o = WidgetDeviceIsShadowedMethodInfo 
ResolveNotebookMethod "dragBegin" o = WidgetDragBeginMethodInfo 
ResolveNotebookMethod "dragBeginWithCoordinates" o = WidgetDragBeginWithCoordinatesMethodInfo 
ResolveNotebookMethod "dragCheckThreshold" o = WidgetDragCheckThresholdMethodInfo 
ResolveNotebookMethod "dragDestAddImageTargets" o = WidgetDragDestAddImageTargetsMethodInfo 
ResolveNotebookMethod "dragDestAddTextTargets" o = WidgetDragDestAddTextTargetsMethodInfo 
ResolveNotebookMethod "dragDestAddUriTargets" o = WidgetDragDestAddUriTargetsMethodInfo 
ResolveNotebookMethod "dragDestFindTarget" o = WidgetDragDestFindTargetMethodInfo 
ResolveNotebookMethod "dragDestGetTargetList" o = WidgetDragDestGetTargetListMethodInfo 
ResolveNotebookMethod "dragDestGetTrackMotion" o = WidgetDragDestGetTrackMotionMethodInfo 
ResolveNotebookMethod "dragDestSet" o = WidgetDragDestSetMethodInfo 
ResolveNotebookMethod "dragDestSetProxy" o = WidgetDragDestSetProxyMethodInfo 
ResolveNotebookMethod "dragDestSetTargetList" o = WidgetDragDestSetTargetListMethodInfo 
ResolveNotebookMethod "dragDestSetTrackMotion" o = WidgetDragDestSetTrackMotionMethodInfo 
ResolveNotebookMethod "dragDestUnset" o = WidgetDragDestUnsetMethodInfo 
ResolveNotebookMethod "dragGetData" o = WidgetDragGetDataMethodInfo 
ResolveNotebookMethod "dragHighlight" o = WidgetDragHighlightMethodInfo 
ResolveNotebookMethod "dragSourceAddImageTargets" o = WidgetDragSourceAddImageTargetsMethodInfo 
ResolveNotebookMethod "dragSourceAddTextTargets" o = WidgetDragSourceAddTextTargetsMethodInfo 
ResolveNotebookMethod "dragSourceAddUriTargets" o = WidgetDragSourceAddUriTargetsMethodInfo 
ResolveNotebookMethod "dragSourceGetTargetList" o = WidgetDragSourceGetTargetListMethodInfo 
ResolveNotebookMethod "dragSourceSet" o = WidgetDragSourceSetMethodInfo 
ResolveNotebookMethod "dragSourceSetIconGicon" o = WidgetDragSourceSetIconGiconMethodInfo 
ResolveNotebookMethod "dragSourceSetIconName" o = WidgetDragSourceSetIconNameMethodInfo 
ResolveNotebookMethod "dragSourceSetIconPixbuf" o = WidgetDragSourceSetIconPixbufMethodInfo 
ResolveNotebookMethod "dragSourceSetIconStock" o = WidgetDragSourceSetIconStockMethodInfo 
ResolveNotebookMethod "dragSourceSetTargetList" o = WidgetDragSourceSetTargetListMethodInfo 
ResolveNotebookMethod "dragSourceUnset" o = WidgetDragSourceUnsetMethodInfo 
ResolveNotebookMethod "dragUnhighlight" o = WidgetDragUnhighlightMethodInfo 
ResolveNotebookMethod "draw" o = WidgetDrawMethodInfo 
ResolveNotebookMethod "ensureStyle" o = WidgetEnsureStyleMethodInfo 
ResolveNotebookMethod "errorBell" o = WidgetErrorBellMethodInfo 
ResolveNotebookMethod "event" o = WidgetEventMethodInfo 
ResolveNotebookMethod "forall" o = ContainerForallMethodInfo 
ResolveNotebookMethod "forceFloating" o = ObjectForceFloatingMethodInfo 
ResolveNotebookMethod "foreach" o = ContainerForeachMethodInfo 
ResolveNotebookMethod "freezeChildNotify" o = WidgetFreezeChildNotifyMethodInfo 
ResolveNotebookMethod "freezeNotify" o = ObjectFreezeNotifyMethodInfo 
ResolveNotebookMethod "getv" o = ObjectGetvMethodInfo 
ResolveNotebookMethod "grabAdd" o = WidgetGrabAddMethodInfo 
ResolveNotebookMethod "grabDefault" o = WidgetGrabDefaultMethodInfo 
ResolveNotebookMethod "grabFocus" o = WidgetGrabFocusMethodInfo 
ResolveNotebookMethod "grabRemove" o = WidgetGrabRemoveMethodInfo 
ResolveNotebookMethod "hasDefault" o = WidgetHasDefaultMethodInfo 
ResolveNotebookMethod "hasFocus" o = WidgetHasFocusMethodInfo 
ResolveNotebookMethod "hasGrab" o = WidgetHasGrabMethodInfo 
ResolveNotebookMethod "hasRcStyle" o = WidgetHasRcStyleMethodInfo 
ResolveNotebookMethod "hasScreen" o = WidgetHasScreenMethodInfo 
ResolveNotebookMethod "hasVisibleFocus" o = WidgetHasVisibleFocusMethodInfo 
ResolveNotebookMethod "hide" o = WidgetHideMethodInfo 
ResolveNotebookMethod "hideOnDelete" o = WidgetHideOnDeleteMethodInfo 
ResolveNotebookMethod "inDestruction" o = WidgetInDestructionMethodInfo 
ResolveNotebookMethod "initTemplate" o = WidgetInitTemplateMethodInfo 
ResolveNotebookMethod "inputShapeCombineRegion" o = WidgetInputShapeCombineRegionMethodInfo 
ResolveNotebookMethod "insertActionGroup" o = WidgetInsertActionGroupMethodInfo 
ResolveNotebookMethod "insertPage" o = NotebookInsertPageMethodInfo 
ResolveNotebookMethod "insertPageMenu" o = NotebookInsertPageMenuMethodInfo 
ResolveNotebookMethod "intersect" o = WidgetIntersectMethodInfo 
ResolveNotebookMethod "isAncestor" o = WidgetIsAncestorMethodInfo 
ResolveNotebookMethod "isComposited" o = WidgetIsCompositedMethodInfo 
ResolveNotebookMethod "isDrawable" o = WidgetIsDrawableMethodInfo 
ResolveNotebookMethod "isFloating" o = ObjectIsFloatingMethodInfo 
ResolveNotebookMethod "isFocus" o = WidgetIsFocusMethodInfo 
ResolveNotebookMethod "isSensitive" o = WidgetIsSensitiveMethodInfo 
ResolveNotebookMethod "isToplevel" o = WidgetIsToplevelMethodInfo 
ResolveNotebookMethod "isVisible" o = WidgetIsVisibleMethodInfo 
ResolveNotebookMethod "keynavFailed" o = WidgetKeynavFailedMethodInfo 
ResolveNotebookMethod "listAccelClosures" o = WidgetListAccelClosuresMethodInfo 
ResolveNotebookMethod "listActionPrefixes" o = WidgetListActionPrefixesMethodInfo 
ResolveNotebookMethod "listMnemonicLabels" o = WidgetListMnemonicLabelsMethodInfo 
ResolveNotebookMethod "map" o = WidgetMapMethodInfo 
ResolveNotebookMethod "mnemonicActivate" o = WidgetMnemonicActivateMethodInfo 
ResolveNotebookMethod "modifyBase" o = WidgetModifyBaseMethodInfo 
ResolveNotebookMethod "modifyBg" o = WidgetModifyBgMethodInfo 
ResolveNotebookMethod "modifyCursor" o = WidgetModifyCursorMethodInfo 
ResolveNotebookMethod "modifyFg" o = WidgetModifyFgMethodInfo 
ResolveNotebookMethod "modifyFont" o = WidgetModifyFontMethodInfo 
ResolveNotebookMethod "modifyStyle" o = WidgetModifyStyleMethodInfo 
ResolveNotebookMethod "modifyText" o = WidgetModifyTextMethodInfo 
ResolveNotebookMethod "nextPage" o = NotebookNextPageMethodInfo 
ResolveNotebookMethod "notify" o = ObjectNotifyMethodInfo 
ResolveNotebookMethod "notifyByPspec" o = ObjectNotifyByPspecMethodInfo 
ResolveNotebookMethod "overrideBackgroundColor" o = WidgetOverrideBackgroundColorMethodInfo 
ResolveNotebookMethod "overrideColor" o = WidgetOverrideColorMethodInfo 
ResolveNotebookMethod "overrideCursor" o = WidgetOverrideCursorMethodInfo 
ResolveNotebookMethod "overrideFont" o = WidgetOverrideFontMethodInfo 
ResolveNotebookMethod "overrideSymbolicColor" o = WidgetOverrideSymbolicColorMethodInfo 
ResolveNotebookMethod "pageNum" o = NotebookPageNumMethodInfo 
ResolveNotebookMethod "parserFinished" o = BuildableParserFinishedMethodInfo 
ResolveNotebookMethod "path" o = WidgetPathMethodInfo 
ResolveNotebookMethod "popupDisable" o = NotebookPopupDisableMethodInfo 
ResolveNotebookMethod "popupEnable" o = NotebookPopupEnableMethodInfo 
ResolveNotebookMethod "prependPage" o = NotebookPrependPageMethodInfo 
ResolveNotebookMethod "prependPageMenu" o = NotebookPrependPageMenuMethodInfo 
ResolveNotebookMethod "prevPage" o = NotebookPrevPageMethodInfo 
ResolveNotebookMethod "propagateDraw" o = ContainerPropagateDrawMethodInfo 
ResolveNotebookMethod "queueAllocate" o = WidgetQueueAllocateMethodInfo 
ResolveNotebookMethod "queueComputeExpand" o = WidgetQueueComputeExpandMethodInfo 
ResolveNotebookMethod "queueDraw" o = WidgetQueueDrawMethodInfo 
ResolveNotebookMethod "queueDrawArea" o = WidgetQueueDrawAreaMethodInfo 
ResolveNotebookMethod "queueDrawRegion" o = WidgetQueueDrawRegionMethodInfo 
ResolveNotebookMethod "queueResize" o = WidgetQueueResizeMethodInfo 
ResolveNotebookMethod "queueResizeNoRedraw" o = WidgetQueueResizeNoRedrawMethodInfo 
ResolveNotebookMethod "realize" o = WidgetRealizeMethodInfo 
ResolveNotebookMethod "ref" o = ObjectRefMethodInfo 
ResolveNotebookMethod "refSink" o = ObjectRefSinkMethodInfo 
ResolveNotebookMethod "regionIntersect" o = WidgetRegionIntersectMethodInfo 
ResolveNotebookMethod "registerWindow" o = WidgetRegisterWindowMethodInfo 
ResolveNotebookMethod "remove" o = ContainerRemoveMethodInfo 
ResolveNotebookMethod "removeAccelerator" o = WidgetRemoveAcceleratorMethodInfo 
ResolveNotebookMethod "removeMnemonicLabel" o = WidgetRemoveMnemonicLabelMethodInfo 
ResolveNotebookMethod "removePage" o = NotebookRemovePageMethodInfo 
ResolveNotebookMethod "removeTickCallback" o = WidgetRemoveTickCallbackMethodInfo 
ResolveNotebookMethod "renderIcon" o = WidgetRenderIconMethodInfo 
ResolveNotebookMethod "renderIconPixbuf" o = WidgetRenderIconPixbufMethodInfo 
ResolveNotebookMethod "reorderChild" o = NotebookReorderChildMethodInfo 
ResolveNotebookMethod "reparent" o = WidgetReparentMethodInfo 
ResolveNotebookMethod "resetRcStyles" o = WidgetResetRcStylesMethodInfo 
ResolveNotebookMethod "resetStyle" o = WidgetResetStyleMethodInfo 
ResolveNotebookMethod "resizeChildren" o = ContainerResizeChildrenMethodInfo 
ResolveNotebookMethod "runDispose" o = ObjectRunDisposeMethodInfo 
ResolveNotebookMethod "sendExpose" o = WidgetSendExposeMethodInfo 
ResolveNotebookMethod "sendFocusChange" o = WidgetSendFocusChangeMethodInfo 
ResolveNotebookMethod "shapeCombineRegion" o = WidgetShapeCombineRegionMethodInfo 
ResolveNotebookMethod "show" o = WidgetShowMethodInfo 
ResolveNotebookMethod "showAll" o = WidgetShowAllMethodInfo 
ResolveNotebookMethod "showNow" o = WidgetShowNowMethodInfo 
ResolveNotebookMethod "sizeAllocate" o = WidgetSizeAllocateMethodInfo 
ResolveNotebookMethod "sizeAllocateWithBaseline" o = WidgetSizeAllocateWithBaselineMethodInfo 
ResolveNotebookMethod "sizeRequest" o = WidgetSizeRequestMethodInfo 
ResolveNotebookMethod "stealData" o = ObjectStealDataMethodInfo 
ResolveNotebookMethod "stealQdata" o = ObjectStealQdataMethodInfo 
ResolveNotebookMethod "styleAttach" o = WidgetStyleAttachMethodInfo 
ResolveNotebookMethod "styleGetProperty" o = WidgetStyleGetPropertyMethodInfo 
ResolveNotebookMethod "thawChildNotify" o = WidgetThawChildNotifyMethodInfo 
ResolveNotebookMethod "thawNotify" o = ObjectThawNotifyMethodInfo 
ResolveNotebookMethod "translateCoordinates" o = WidgetTranslateCoordinatesMethodInfo 
ResolveNotebookMethod "triggerTooltipQuery" o = WidgetTriggerTooltipQueryMethodInfo 
ResolveNotebookMethod "unmap" o = WidgetUnmapMethodInfo 
ResolveNotebookMethod "unparent" o = WidgetUnparentMethodInfo 
ResolveNotebookMethod "unrealize" o = WidgetUnrealizeMethodInfo 
ResolveNotebookMethod "unref" o = ObjectUnrefMethodInfo 
ResolveNotebookMethod "unregisterWindow" o = WidgetUnregisterWindowMethodInfo 
ResolveNotebookMethod "unsetFocusChain" o = ContainerUnsetFocusChainMethodInfo 
ResolveNotebookMethod "unsetStateFlags" o = WidgetUnsetStateFlagsMethodInfo 
ResolveNotebookMethod "watchClosure" o = ObjectWatchClosureMethodInfo 
ResolveNotebookMethod "getAccessible" o = WidgetGetAccessibleMethodInfo 
ResolveNotebookMethod "getActionGroup" o = WidgetGetActionGroupMethodInfo 
ResolveNotebookMethod "getActionWidget" o = NotebookGetActionWidgetMethodInfo 
ResolveNotebookMethod "getAllocatedBaseline" o = WidgetGetAllocatedBaselineMethodInfo 
ResolveNotebookMethod "getAllocatedHeight" o = WidgetGetAllocatedHeightMethodInfo 
ResolveNotebookMethod "getAllocatedSize" o = WidgetGetAllocatedSizeMethodInfo 
ResolveNotebookMethod "getAllocatedWidth" o = WidgetGetAllocatedWidthMethodInfo 
ResolveNotebookMethod "getAllocation" o = WidgetGetAllocationMethodInfo 
ResolveNotebookMethod "getAncestor" o = WidgetGetAncestorMethodInfo 
ResolveNotebookMethod "getAppPaintable" o = WidgetGetAppPaintableMethodInfo 
ResolveNotebookMethod "getBorderWidth" o = ContainerGetBorderWidthMethodInfo 
ResolveNotebookMethod "getCanDefault" o = WidgetGetCanDefaultMethodInfo 
ResolveNotebookMethod "getCanFocus" o = WidgetGetCanFocusMethodInfo 
ResolveNotebookMethod "getChildRequisition" o = WidgetGetChildRequisitionMethodInfo 
ResolveNotebookMethod "getChildVisible" o = WidgetGetChildVisibleMethodInfo 
ResolveNotebookMethod "getChildren" o = ContainerGetChildrenMethodInfo 
ResolveNotebookMethod "getClip" o = WidgetGetClipMethodInfo 
ResolveNotebookMethod "getClipboard" o = WidgetGetClipboardMethodInfo 
ResolveNotebookMethod "getCompositeName" o = WidgetGetCompositeNameMethodInfo 
ResolveNotebookMethod "getCurrentPage" o = NotebookGetCurrentPageMethodInfo 
ResolveNotebookMethod "getData" o = ObjectGetDataMethodInfo 
ResolveNotebookMethod "getDeviceEnabled" o = WidgetGetDeviceEnabledMethodInfo 
ResolveNotebookMethod "getDeviceEvents" o = WidgetGetDeviceEventsMethodInfo 
ResolveNotebookMethod "getDirection" o = WidgetGetDirectionMethodInfo 
ResolveNotebookMethod "getDisplay" o = WidgetGetDisplayMethodInfo 
ResolveNotebookMethod "getDoubleBuffered" o = WidgetGetDoubleBufferedMethodInfo 
ResolveNotebookMethod "getEvents" o = WidgetGetEventsMethodInfo 
ResolveNotebookMethod "getFocusChain" o = ContainerGetFocusChainMethodInfo 
ResolveNotebookMethod "getFocusChild" o = ContainerGetFocusChildMethodInfo 
ResolveNotebookMethod "getFocusHadjustment" o = ContainerGetFocusHadjustmentMethodInfo 
ResolveNotebookMethod "getFocusOnClick" o = WidgetGetFocusOnClickMethodInfo 
ResolveNotebookMethod "getFocusVadjustment" o = ContainerGetFocusVadjustmentMethodInfo 
ResolveNotebookMethod "getFontMap" o = WidgetGetFontMapMethodInfo 
ResolveNotebookMethod "getFontOptions" o = WidgetGetFontOptionsMethodInfo 
ResolveNotebookMethod "getFrameClock" o = WidgetGetFrameClockMethodInfo 
ResolveNotebookMethod "getGroupName" o = NotebookGetGroupNameMethodInfo 
ResolveNotebookMethod "getHalign" o = WidgetGetHalignMethodInfo 
ResolveNotebookMethod "getHasTooltip" o = WidgetGetHasTooltipMethodInfo 
ResolveNotebookMethod "getHasWindow" o = WidgetGetHasWindowMethodInfo 
ResolveNotebookMethod "getHexpand" o = WidgetGetHexpandMethodInfo 
ResolveNotebookMethod "getHexpandSet" o = WidgetGetHexpandSetMethodInfo 
ResolveNotebookMethod "getInternalChild" o = BuildableGetInternalChildMethodInfo 
ResolveNotebookMethod "getMapped" o = WidgetGetMappedMethodInfo 
ResolveNotebookMethod "getMarginBottom" o = WidgetGetMarginBottomMethodInfo 
ResolveNotebookMethod "getMarginEnd" o = WidgetGetMarginEndMethodInfo 
ResolveNotebookMethod "getMarginLeft" o = WidgetGetMarginLeftMethodInfo 
ResolveNotebookMethod "getMarginRight" o = WidgetGetMarginRightMethodInfo 
ResolveNotebookMethod "getMarginStart" o = WidgetGetMarginStartMethodInfo 
ResolveNotebookMethod "getMarginTop" o = WidgetGetMarginTopMethodInfo 
ResolveNotebookMethod "getMenuLabel" o = NotebookGetMenuLabelMethodInfo 
ResolveNotebookMethod "getMenuLabelText" o = NotebookGetMenuLabelTextMethodInfo 
ResolveNotebookMethod "getModifierMask" o = WidgetGetModifierMaskMethodInfo 
ResolveNotebookMethod "getModifierStyle" o = WidgetGetModifierStyleMethodInfo 
ResolveNotebookMethod "getNPages" o = NotebookGetNPagesMethodInfo 
ResolveNotebookMethod "getName" o = WidgetGetNameMethodInfo 
ResolveNotebookMethod "getNoShowAll" o = WidgetGetNoShowAllMethodInfo 
ResolveNotebookMethod "getNthPage" o = NotebookGetNthPageMethodInfo 
ResolveNotebookMethod "getOpacity" o = WidgetGetOpacityMethodInfo 
ResolveNotebookMethod "getPangoContext" o = WidgetGetPangoContextMethodInfo 
ResolveNotebookMethod "getParent" o = WidgetGetParentMethodInfo 
ResolveNotebookMethod "getParentWindow" o = WidgetGetParentWindowMethodInfo 
ResolveNotebookMethod "getPath" o = WidgetGetPathMethodInfo 
ResolveNotebookMethod "getPathForChild" o = ContainerGetPathForChildMethodInfo 
ResolveNotebookMethod "getPointer" o = WidgetGetPointerMethodInfo 
ResolveNotebookMethod "getPreferredHeight" o = WidgetGetPreferredHeightMethodInfo 
ResolveNotebookMethod "getPreferredHeightAndBaselineForWidth" o = WidgetGetPreferredHeightAndBaselineForWidthMethodInfo 
ResolveNotebookMethod "getPreferredHeightForWidth" o = WidgetGetPreferredHeightForWidthMethodInfo 
ResolveNotebookMethod "getPreferredSize" o = WidgetGetPreferredSizeMethodInfo 
ResolveNotebookMethod "getPreferredWidth" o = WidgetGetPreferredWidthMethodInfo 
ResolveNotebookMethod "getPreferredWidthForHeight" o = WidgetGetPreferredWidthForHeightMethodInfo 
ResolveNotebookMethod "getProperty" o = ObjectGetPropertyMethodInfo 
ResolveNotebookMethod "getQdata" o = ObjectGetQdataMethodInfo 
ResolveNotebookMethod "getRealized" o = WidgetGetRealizedMethodInfo 
ResolveNotebookMethod "getReceivesDefault" o = WidgetGetReceivesDefaultMethodInfo 
ResolveNotebookMethod "getRequestMode" o = WidgetGetRequestModeMethodInfo 
ResolveNotebookMethod "getRequisition" o = WidgetGetRequisitionMethodInfo 
ResolveNotebookMethod "getResizeMode" o = ContainerGetResizeModeMethodInfo 
ResolveNotebookMethod "getRootWindow" o = WidgetGetRootWindowMethodInfo 
ResolveNotebookMethod "getScaleFactor" o = WidgetGetScaleFactorMethodInfo 
ResolveNotebookMethod "getScreen" o = WidgetGetScreenMethodInfo 
ResolveNotebookMethod "getScrollable" o = NotebookGetScrollableMethodInfo 
ResolveNotebookMethod "getSensitive" o = WidgetGetSensitiveMethodInfo 
ResolveNotebookMethod "getSettings" o = WidgetGetSettingsMethodInfo 
ResolveNotebookMethod "getShowBorder" o = NotebookGetShowBorderMethodInfo 
ResolveNotebookMethod "getShowTabs" o = NotebookGetShowTabsMethodInfo 
ResolveNotebookMethod "getSizeRequest" o = WidgetGetSizeRequestMethodInfo 
ResolveNotebookMethod "getState" o = WidgetGetStateMethodInfo 
ResolveNotebookMethod "getStateFlags" o = WidgetGetStateFlagsMethodInfo 
ResolveNotebookMethod "getStyle" o = WidgetGetStyleMethodInfo 
ResolveNotebookMethod "getStyleContext" o = WidgetGetStyleContextMethodInfo 
ResolveNotebookMethod "getSupportMultidevice" o = WidgetGetSupportMultideviceMethodInfo 
ResolveNotebookMethod "getTabDetachable" o = NotebookGetTabDetachableMethodInfo 
ResolveNotebookMethod "getTabHborder" o = NotebookGetTabHborderMethodInfo 
ResolveNotebookMethod "getTabLabel" o = NotebookGetTabLabelMethodInfo 
ResolveNotebookMethod "getTabLabelText" o = NotebookGetTabLabelTextMethodInfo 
ResolveNotebookMethod "getTabPos" o = NotebookGetTabPosMethodInfo 
ResolveNotebookMethod "getTabReorderable" o = NotebookGetTabReorderableMethodInfo 
ResolveNotebookMethod "getTabVborder" o = NotebookGetTabVborderMethodInfo 
ResolveNotebookMethod "getTemplateChild" o = WidgetGetTemplateChildMethodInfo 
ResolveNotebookMethod "getTooltipMarkup" o = WidgetGetTooltipMarkupMethodInfo 
ResolveNotebookMethod "getTooltipText" o = WidgetGetTooltipTextMethodInfo 
ResolveNotebookMethod "getTooltipWindow" o = WidgetGetTooltipWindowMethodInfo 
ResolveNotebookMethod "getToplevel" o = WidgetGetToplevelMethodInfo 
ResolveNotebookMethod "getValign" o = WidgetGetValignMethodInfo 
ResolveNotebookMethod "getValignWithBaseline" o = WidgetGetValignWithBaselineMethodInfo 
ResolveNotebookMethod "getVexpand" o = WidgetGetVexpandMethodInfo 
ResolveNotebookMethod "getVexpandSet" o = WidgetGetVexpandSetMethodInfo 
ResolveNotebookMethod "getVisible" o = WidgetGetVisibleMethodInfo 
ResolveNotebookMethod "getVisual" o = WidgetGetVisualMethodInfo 
ResolveNotebookMethod "getWindow" o = WidgetGetWindowMethodInfo 
ResolveNotebookMethod "setAccelPath" o = WidgetSetAccelPathMethodInfo 
ResolveNotebookMethod "setActionWidget" o = NotebookSetActionWidgetMethodInfo 
ResolveNotebookMethod "setAllocation" o = WidgetSetAllocationMethodInfo 
ResolveNotebookMethod "setAppPaintable" o = WidgetSetAppPaintableMethodInfo 
ResolveNotebookMethod "setBorderWidth" o = ContainerSetBorderWidthMethodInfo 
ResolveNotebookMethod "setBuildableProperty" o = BuildableSetBuildablePropertyMethodInfo 
ResolveNotebookMethod "setCanDefault" o = WidgetSetCanDefaultMethodInfo 
ResolveNotebookMethod "setCanFocus" o = WidgetSetCanFocusMethodInfo 
ResolveNotebookMethod "setChildVisible" o = WidgetSetChildVisibleMethodInfo 
ResolveNotebookMethod "setClip" o = WidgetSetClipMethodInfo 
ResolveNotebookMethod "setCompositeName" o = WidgetSetCompositeNameMethodInfo 
ResolveNotebookMethod "setCurrentPage" o = NotebookSetCurrentPageMethodInfo 
ResolveNotebookMethod "setData" o = ObjectSetDataMethodInfo 
ResolveNotebookMethod "setDataFull" o = ObjectSetDataFullMethodInfo 
ResolveNotebookMethod "setDeviceEnabled" o = WidgetSetDeviceEnabledMethodInfo 
ResolveNotebookMethod "setDeviceEvents" o = WidgetSetDeviceEventsMethodInfo 
ResolveNotebookMethod "setDirection" o = WidgetSetDirectionMethodInfo 
ResolveNotebookMethod "setDoubleBuffered" o = WidgetSetDoubleBufferedMethodInfo 
ResolveNotebookMethod "setEvents" o = WidgetSetEventsMethodInfo 
ResolveNotebookMethod "setFocusChain" o = ContainerSetFocusChainMethodInfo 
ResolveNotebookMethod "setFocusChild" o = ContainerSetFocusChildMethodInfo 
ResolveNotebookMethod "setFocusHadjustment" o = ContainerSetFocusHadjustmentMethodInfo 
ResolveNotebookMethod "setFocusOnClick" o = WidgetSetFocusOnClickMethodInfo 
ResolveNotebookMethod "setFocusVadjustment" o = ContainerSetFocusVadjustmentMethodInfo 
ResolveNotebookMethod "setFontMap" o = WidgetSetFontMapMethodInfo 
ResolveNotebookMethod "setFontOptions" o = WidgetSetFontOptionsMethodInfo 
ResolveNotebookMethod "setGroupName" o = NotebookSetGroupNameMethodInfo 
ResolveNotebookMethod "setHalign" o = WidgetSetHalignMethodInfo 
ResolveNotebookMethod "setHasTooltip" o = WidgetSetHasTooltipMethodInfo 
ResolveNotebookMethod "setHasWindow" o = WidgetSetHasWindowMethodInfo 
ResolveNotebookMethod "setHexpand" o = WidgetSetHexpandMethodInfo 
ResolveNotebookMethod "setHexpandSet" o = WidgetSetHexpandSetMethodInfo 
ResolveNotebookMethod "setMapped" o = WidgetSetMappedMethodInfo 
ResolveNotebookMethod "setMarginBottom" o = WidgetSetMarginBottomMethodInfo 
ResolveNotebookMethod "setMarginEnd" o = WidgetSetMarginEndMethodInfo 
ResolveNotebookMethod "setMarginLeft" o = WidgetSetMarginLeftMethodInfo 
ResolveNotebookMethod "setMarginRight" o = WidgetSetMarginRightMethodInfo 
ResolveNotebookMethod "setMarginStart" o = WidgetSetMarginStartMethodInfo 
ResolveNotebookMethod "setMarginTop" o = WidgetSetMarginTopMethodInfo 
ResolveNotebookMethod "setMenuLabel" o = NotebookSetMenuLabelMethodInfo 
ResolveNotebookMethod "setMenuLabelText" o = NotebookSetMenuLabelTextMethodInfo 
ResolveNotebookMethod "setName" o = WidgetSetNameMethodInfo 
ResolveNotebookMethod "setNoShowAll" o = WidgetSetNoShowAllMethodInfo 
ResolveNotebookMethod "setOpacity" o = WidgetSetOpacityMethodInfo 
ResolveNotebookMethod "setParent" o = WidgetSetParentMethodInfo 
ResolveNotebookMethod "setParentWindow" o = WidgetSetParentWindowMethodInfo 
ResolveNotebookMethod "setProperty" o = ObjectSetPropertyMethodInfo 
ResolveNotebookMethod "setRealized" o = WidgetSetRealizedMethodInfo 
ResolveNotebookMethod "setReallocateRedraws" o = ContainerSetReallocateRedrawsMethodInfo 
ResolveNotebookMethod "setReceivesDefault" o = WidgetSetReceivesDefaultMethodInfo 
ResolveNotebookMethod "setRedrawOnAllocate" o = WidgetSetRedrawOnAllocateMethodInfo 
ResolveNotebookMethod "setResizeMode" o = ContainerSetResizeModeMethodInfo 
ResolveNotebookMethod "setScrollable" o = NotebookSetScrollableMethodInfo 
ResolveNotebookMethod "setSensitive" o = WidgetSetSensitiveMethodInfo 
ResolveNotebookMethod "setShowBorder" o = NotebookSetShowBorderMethodInfo 
ResolveNotebookMethod "setShowTabs" o = NotebookSetShowTabsMethodInfo 
ResolveNotebookMethod "setSizeRequest" o = WidgetSetSizeRequestMethodInfo 
ResolveNotebookMethod "setState" o = WidgetSetStateMethodInfo 
ResolveNotebookMethod "setStateFlags" o = WidgetSetStateFlagsMethodInfo 
ResolveNotebookMethod "setStyle" o = WidgetSetStyleMethodInfo 
ResolveNotebookMethod "setSupportMultidevice" o = WidgetSetSupportMultideviceMethodInfo 
ResolveNotebookMethod "setTabDetachable" o = NotebookSetTabDetachableMethodInfo 
ResolveNotebookMethod "setTabLabel" o = NotebookSetTabLabelMethodInfo 
ResolveNotebookMethod "setTabLabelText" o = NotebookSetTabLabelTextMethodInfo 
ResolveNotebookMethod "setTabPos" o = NotebookSetTabPosMethodInfo 
ResolveNotebookMethod "setTabReorderable" o = NotebookSetTabReorderableMethodInfo 
ResolveNotebookMethod "setTooltipMarkup" o = WidgetSetTooltipMarkupMethodInfo 
ResolveNotebookMethod "setTooltipText" o = WidgetSetTooltipTextMethodInfo 
ResolveNotebookMethod "setTooltipWindow" o = WidgetSetTooltipWindowMethodInfo 
ResolveNotebookMethod "setValign" o = WidgetSetValignMethodInfo 
ResolveNotebookMethod "setVexpand" o = WidgetSetVexpandMethodInfo 
ResolveNotebookMethod "setVexpandSet" o = WidgetSetVexpandSetMethodInfo 
ResolveNotebookMethod "setVisible" o = WidgetSetVisibleMethodInfo 
ResolveNotebookMethod "setVisual" o = WidgetSetVisualMethodInfo 
ResolveNotebookMethod "setWindow" o = WidgetSetWindowMethodInfo 
ResolveNotebookMethod l o = MethodResolutionFailed l o :: Type 

appendPage

data NotebookAppendPageMethodInfo Source #

Instances

Instances details
(signature ~ (b -> Maybe c -> m Int32), MonadIO m, IsNotebook a, IsWidget b, IsWidget c) => OverloadedMethod NotebookAppendPageMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookAppendPageMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookAppendPage Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b, IsWidget c) 
=> a

notebook: a Notebook

-> b

child: the Widget to use as the contents of the page

-> Maybe c

tabLabel: the Widget to be used as the label for the page, or Nothing to use the default label, “page N”

-> m Int32

Returns: the index (starting from 0) of the appended page in the notebook, or -1 if function fails

Appends a page to notebook.

appendPageMenu

data NotebookAppendPageMenuMethodInfo Source #

Instances

Instances details
(signature ~ (b -> Maybe c -> Maybe d -> m Int32), MonadIO m, IsNotebook a, IsWidget b, IsWidget c, IsWidget d) => OverloadedMethod NotebookAppendPageMenuMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookAppendPageMenuMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookAppendPageMenu Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b, IsWidget c, IsWidget d) 
=> a

notebook: a Notebook

-> b

child: the Widget to use as the contents of the page

-> Maybe c

tabLabel: the Widget to be used as the label for the page, or Nothing to use the default label, “page N”

-> Maybe d

menuLabel: the widget to use as a label for the page-switch menu, if that is enabled. If Nothing, and tabLabel is a Label or Nothing, then the menu label will be a newly created label with the same text as tabLabel; if tabLabel is not a Label, menuLabel must be specified if the page-switch menu is to be used.

-> m Int32

Returns: the index (starting from 0) of the appended page in the notebook, or -1 if function fails

Appends a page to notebook, specifying the widget to use as the label in the popup menu.

detachTab

data NotebookDetachTabMethodInfo Source #

Instances

Instances details
(signature ~ (b -> m ()), MonadIO m, IsNotebook a, IsWidget b) => OverloadedMethod NotebookDetachTabMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookDetachTabMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookDetachTab Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b) 
=> a

notebook: a Notebook

-> b

child: a child

-> m () 

Removes the child from the notebook.

This function is very similar to containerRemove, but additionally informs the notebook that the removal is happening as part of a tab DND operation, which should not be cancelled.

Since: 3.16

getActionWidget

notebookGetActionWidget Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> PackType

packType: pack type of the action widget to receive

-> m (Maybe Widget)

Returns: The action widget with the given packType or Nothing when this action widget has not been set

Gets one of the action widgets. See notebookSetActionWidget.

Since: 2.20

getCurrentPage

notebookGetCurrentPage Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> m Int32

Returns: the index (starting from 0) of the current page in the notebook. If the notebook has no pages, then -1 will be returned.

Returns the page number of the current page.

getGroupName

data NotebookGetGroupNameMethodInfo Source #

Instances

Instances details
(signature ~ m (Maybe Text), MonadIO m, IsNotebook a) => OverloadedMethod NotebookGetGroupNameMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookGetGroupNameMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookGetGroupName Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> m (Maybe Text)

Returns: the group name, or Nothing if none is set

Gets the current group name for notebook.

Since: 2.24

getMenuLabel

data NotebookGetMenuLabelMethodInfo Source #

Instances

Instances details
(signature ~ (b -> m (Maybe Widget)), MonadIO m, IsNotebook a, IsWidget b) => OverloadedMethod NotebookGetMenuLabelMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookGetMenuLabelMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookGetMenuLabel Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b) 
=> a

notebook: a Notebook

-> b

child: a widget contained in a page of notebook

-> m (Maybe Widget)

Returns: the menu label, or Nothing if the notebook page does not have a menu label other than the default (the tab label).

Retrieves the menu label widget of the page containing child.

getMenuLabelText

notebookGetMenuLabelText Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b) 
=> a

notebook: a Notebook

-> b

child: the child widget of a page of the notebook.

-> m (Maybe Text)

Returns: the text of the tab label, or Nothing if the widget does not have a menu label other than the default menu label, or the menu label widget is not a Label. The string is owned by the widget and must not be freed.

Retrieves the text of the menu label for the page containing child.

getNPages

data NotebookGetNPagesMethodInfo Source #

Instances

Instances details
(signature ~ m Int32, MonadIO m, IsNotebook a) => OverloadedMethod NotebookGetNPagesMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookGetNPagesMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookGetNPages Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> m Int32

Returns: the number of pages in the notebook

Gets the number of pages in a notebook.

Since: 2.2

getNthPage

data NotebookGetNthPageMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> m (Maybe Widget)), MonadIO m, IsNotebook a) => OverloadedMethod NotebookGetNthPageMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookGetNthPageMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookGetNthPage Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> Int32

pageNum: the index of a page in the notebook, or -1 to get the last page

-> m (Maybe Widget)

Returns: the child widget, or Nothing if pageNum is out of bounds

Returns the child widget contained in page number pageNum.

getScrollable

notebookGetScrollable Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> m Bool

Returns: True if arrows for scrolling are present

Returns whether the tab label area has arrows for scrolling. See notebookSetScrollable.

getShowBorder

notebookGetShowBorder Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> m Bool

Returns: True if the bevel is drawn

Returns whether a bevel will be drawn around the notebook pages. See notebookSetShowBorder.

getShowTabs

data NotebookGetShowTabsMethodInfo Source #

Instances

Instances details
(signature ~ m Bool, MonadIO m, IsNotebook a) => OverloadedMethod NotebookGetShowTabsMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookGetShowTabsMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookGetShowTabs Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> m Bool

Returns: True if the tabs are shown

Returns whether the tabs of the notebook are shown. See notebookSetShowTabs.

getTabDetachable

notebookGetTabDetachable Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b) 
=> a

notebook: a Notebook

-> b

child: a child Widget

-> m Bool

Returns: True if the tab is detachable.

Returns whether the tab contents can be detached from notebook.

Since: 2.10

getTabHborder

notebookGetTabHborder Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> m Word16

Returns: horizontal width of a tab border

Deprecated: (Since version 3.4)this function returns zero

Returns the horizontal width of a tab border.

Since: 2.22

getTabLabel

data NotebookGetTabLabelMethodInfo Source #

Instances

Instances details
(signature ~ (b -> m (Maybe Widget)), MonadIO m, IsNotebook a, IsWidget b) => OverloadedMethod NotebookGetTabLabelMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookGetTabLabelMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookGetTabLabel Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b) 
=> a

notebook: a Notebook

-> b

child: the page

-> m (Maybe Widget)

Returns: the tab label

Returns the tab label widget for the page child. Nothing is returned if child is not in notebook or if no tab label has specifically been set for child.

getTabLabelText

notebookGetTabLabelText Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b) 
=> a

notebook: a Notebook

-> b

child: a widget contained in a page of notebook

-> m (Maybe Text)

Returns: the text of the tab label, or Nothing if the tab label widget is not a Label. The string is owned by the widget and must not be freed.

Retrieves the text of the tab label for the page containing child.

getTabPos

data NotebookGetTabPosMethodInfo Source #

Instances

Instances details
(signature ~ m PositionType, MonadIO m, IsNotebook a) => OverloadedMethod NotebookGetTabPosMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookGetTabPosMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookGetTabPos Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> m PositionType

Returns: the edge at which the tabs are drawn

Gets the edge at which the tabs for switching pages in the notebook are drawn.

getTabReorderable

notebookGetTabReorderable Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b) 
=> a

notebook: a Notebook

-> b

child: a child Widget

-> m Bool

Returns: True if the tab is reorderable.

Gets whether the tab can be reordered via drag and drop or not.

Since: 2.10

getTabVborder

notebookGetTabVborder Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> m Word16

Returns: vertical width of a tab border

Deprecated: (Since version 3.4)this function returns zero

Returns the vertical width of a tab border.

Since: 2.22

insertPage

data NotebookInsertPageMethodInfo Source #

Instances

Instances details
(signature ~ (b -> Maybe c -> Int32 -> m Int32), MonadIO m, IsNotebook a, IsWidget b, IsWidget c) => OverloadedMethod NotebookInsertPageMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookInsertPageMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookInsertPage Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b, IsWidget c) 
=> a

notebook: a Notebook

-> b

child: the Widget to use as the contents of the page

-> Maybe c

tabLabel: the Widget to be used as the label for the page, or Nothing to use the default label, “page N”

-> Int32

position: the index (starting at 0) at which to insert the page, or -1 to append the page after all other pages

-> m Int32

Returns: the index (starting from 0) of the inserted page in the notebook, or -1 if function fails

Insert a page into notebook at the given position.

insertPageMenu

data NotebookInsertPageMenuMethodInfo Source #

Instances

Instances details
(signature ~ (b -> Maybe c -> Maybe d -> Int32 -> m Int32), MonadIO m, IsNotebook a, IsWidget b, IsWidget c, IsWidget d) => OverloadedMethod NotebookInsertPageMenuMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookInsertPageMenuMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookInsertPageMenu Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b, IsWidget c, IsWidget d) 
=> a

notebook: a Notebook

-> b

child: the Widget to use as the contents of the page

-> Maybe c

tabLabel: the Widget to be used as the label for the page, or Nothing to use the default label, “page N”

-> Maybe d

menuLabel: the widget to use as a label for the page-switch menu, if that is enabled. If Nothing, and tabLabel is a Label or Nothing, then the menu label will be a newly created label with the same text as tabLabel; if tabLabel is not a Label, menuLabel must be specified if the page-switch menu is to be used.

-> Int32

position: the index (starting at 0) at which to insert the page, or -1 to append the page after all other pages.

-> m Int32

Returns: the index (starting from 0) of the inserted page in the notebook

Insert a page into notebook at the given position, specifying the widget to use as the label in the popup menu.

new

notebookNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m Notebook

Returns: the newly created Notebook

Creates a new Notebook widget with no pages.

nextPage

data NotebookNextPageMethodInfo Source #

Instances

Instances details
(signature ~ m (), MonadIO m, IsNotebook a) => OverloadedMethod NotebookNextPageMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookNextPageMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookNextPage Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> m () 

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

pageNum

data NotebookPageNumMethodInfo Source #

Instances

Instances details
(signature ~ (b -> m Int32), MonadIO m, IsNotebook a, IsWidget b) => OverloadedMethod NotebookPageNumMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookPageNumMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookPageNum Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b) 
=> a

notebook: a Notebook

-> b

child: a Widget

-> m Int32

Returns: the index of the page containing child, or -1 if child is not in the notebook

Finds the index of the page which contains the given child widget.

popupDisable

data NotebookPopupDisableMethodInfo Source #

Instances

Instances details
(signature ~ m (), MonadIO m, IsNotebook a) => OverloadedMethod NotebookPopupDisableMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookPopupDisableMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookPopupDisable Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> m () 

Disables the popup menu.

popupEnable

data NotebookPopupEnableMethodInfo Source #

Instances

Instances details
(signature ~ m (), MonadIO m, IsNotebook a) => OverloadedMethod NotebookPopupEnableMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookPopupEnableMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookPopupEnable Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> m () 

Enables the popup menu: if the user clicks with the right mouse button on the tab labels, a menu with all the pages will be popped up.

prependPage

data NotebookPrependPageMethodInfo Source #

Instances

Instances details
(signature ~ (b -> Maybe c -> m Int32), MonadIO m, IsNotebook a, IsWidget b, IsWidget c) => OverloadedMethod NotebookPrependPageMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookPrependPageMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookPrependPage Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b, IsWidget c) 
=> a

notebook: a Notebook

-> b

child: the Widget to use as the contents of the page

-> Maybe c

tabLabel: the Widget to be used as the label for the page, or Nothing to use the default label, “page N”

-> m Int32

Returns: the index (starting from 0) of the prepended page in the notebook, or -1 if function fails

Prepends a page to notebook.

prependPageMenu

data NotebookPrependPageMenuMethodInfo Source #

Instances

Instances details
(signature ~ (b -> Maybe c -> Maybe d -> m Int32), MonadIO m, IsNotebook a, IsWidget b, IsWidget c, IsWidget d) => OverloadedMethod NotebookPrependPageMenuMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookPrependPageMenuMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookPrependPageMenu Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b, IsWidget c, IsWidget d) 
=> a

notebook: a Notebook

-> b

child: the Widget to use as the contents of the page

-> Maybe c

tabLabel: the Widget to be used as the label for the page, or Nothing to use the default label, “page N”

-> Maybe d

menuLabel: the widget to use as a label for the page-switch menu, if that is enabled. If Nothing, and tabLabel is a Label or Nothing, then the menu label will be a newly created label with the same text as tabLabel; if tabLabel is not a Label, menuLabel must be specified if the page-switch menu is to be used.

-> m Int32

Returns: the index (starting from 0) of the prepended page in the notebook, or -1 if function fails

Prepends a page to notebook, specifying the widget to use as the label in the popup menu.

prevPage

data NotebookPrevPageMethodInfo Source #

Instances

Instances details
(signature ~ m (), MonadIO m, IsNotebook a) => OverloadedMethod NotebookPrevPageMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookPrevPageMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookPrevPage Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> m () 

Switches to the previous page. Nothing happens if the current page is the first page.

removePage

data NotebookRemovePageMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> m ()), MonadIO m, IsNotebook a) => OverloadedMethod NotebookRemovePageMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookRemovePageMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookRemovePage Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> Int32

pageNum: the index of a notebook page, starting from 0. If -1, the last page will be removed.

-> m () 

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

reorderChild

data NotebookReorderChildMethodInfo Source #

Instances

Instances details
(signature ~ (b -> Int32 -> m ()), MonadIO m, IsNotebook a, IsWidget b) => OverloadedMethod NotebookReorderChildMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookReorderChildMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookReorderChild Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b) 
=> a

notebook: a Notebook

-> b

child: the child to move

-> Int32

position: the new position, or -1 to move to the end

-> m () 

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.

setActionWidget

data NotebookSetActionWidgetMethodInfo Source #

Instances

Instances details
(signature ~ (b -> PackType -> m ()), MonadIO m, IsNotebook a, IsWidget b) => OverloadedMethod NotebookSetActionWidgetMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookSetActionWidgetMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookSetActionWidget Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b) 
=> a

notebook: a Notebook

-> b

widget: a Widget

-> PackType

packType: pack type of the action widget

-> m () 

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.

Since: 2.20

setCurrentPage

data NotebookSetCurrentPageMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> m ()), MonadIO m, IsNotebook a) => OverloadedMethod NotebookSetCurrentPageMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookSetCurrentPageMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookSetCurrentPage Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> Int32

pageNum: index of the page to switch to, starting from 0. If negative, the last page will be used. If greater than the number of pages in the notebook, nothing will be done.

-> m () 

Switches to the page number pageNum.

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.

setGroupName

data NotebookSetGroupNameMethodInfo Source #

Instances

Instances details
(signature ~ (Maybe Text -> m ()), MonadIO m, IsNotebook a) => OverloadedMethod NotebookSetGroupNameMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookSetGroupNameMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookSetGroupName Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> Maybe Text

groupName: the name of the notebook group, or Nothing to unset it

-> m () 

Sets a group name for notebook.

Notebooks with the same name will be able to exchange tabs via drag and drop. A notebook with a Nothing group name will not be able to exchange tabs with any other notebook.

Since: 2.24

setMenuLabel

data NotebookSetMenuLabelMethodInfo Source #

Instances

Instances details
(signature ~ (b -> Maybe c -> m ()), MonadIO m, IsNotebook a, IsWidget b, IsWidget c) => OverloadedMethod NotebookSetMenuLabelMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookSetMenuLabelMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookSetMenuLabel Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b, IsWidget c) 
=> a

notebook: a Notebook

-> b

child: the child widget

-> Maybe c

menuLabel: the menu label, or Nothing for default

-> m () 

Changes the menu label for the page containing child.

setMenuLabelText

data NotebookSetMenuLabelTextMethodInfo Source #

Instances

Instances details
(signature ~ (b -> Text -> m ()), MonadIO m, IsNotebook a, IsWidget b) => OverloadedMethod NotebookSetMenuLabelTextMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookSetMenuLabelTextMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookSetMenuLabelText Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b) 
=> a

notebook: a Notebook

-> b

child: the child widget

-> Text

menuText: the label text

-> m () 

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

setScrollable

data NotebookSetScrollableMethodInfo Source #

Instances

Instances details
(signature ~ (Bool -> m ()), MonadIO m, IsNotebook a) => OverloadedMethod NotebookSetScrollableMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookSetScrollableMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookSetScrollable Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> Bool

scrollable: True if scroll arrows should be added

-> m () 

Sets whether the tab label area will have arrows for scrolling if there are too many tabs to fit in the area.

setShowBorder

data NotebookSetShowBorderMethodInfo Source #

Instances

Instances details
(signature ~ (Bool -> m ()), MonadIO m, IsNotebook a) => OverloadedMethod NotebookSetShowBorderMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookSetShowBorderMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookSetShowBorder Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> Bool

showBorder: True if a bevel should be drawn around the notebook

-> m () 

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.

setShowTabs

data NotebookSetShowTabsMethodInfo Source #

Instances

Instances details
(signature ~ (Bool -> m ()), MonadIO m, IsNotebook a) => OverloadedMethod NotebookSetShowTabsMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookSetShowTabsMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookSetShowTabs Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook

-> Bool

showTabs: True if the tabs should be shown

-> m () 

Sets whether to show the tabs for the notebook or not.

setTabDetachable

data NotebookSetTabDetachableMethodInfo Source #

Instances

Instances details
(signature ~ (b -> Bool -> m ()), MonadIO m, IsNotebook a, IsWidget b) => OverloadedMethod NotebookSetTabDetachableMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookSetTabDetachableMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookSetTabDetachable Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b) 
=> a

notebook: a Notebook

-> b

child: a child Widget

-> Bool

detachable: whether the tab is detachable or not

-> m () 

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

Note that you should use notebookDetachTab instead of containerRemove if you want to remove the tab from the source notebook as part of accepting a drop. Otherwise, the source notebook will think that the dragged tab was removed from underneath the ongoing drag operation, and will initiate a drag cancel animation.

C code

static void
on_drag_data_received (GtkWidget        *widget,
                       GdkDragContext   *context,
                       gint              x,
                       gint              y,
                       GtkSelectionData *data,
                       guint             info,
                       guint             time,
                       gpointer          user_data)
{
  GtkWidget *notebook;
  GtkWidget **child;

  notebook = gtk_drag_get_source_widget (context);
  child = (void*) gtk_selection_data_get_data (data);

  // process_widget (*child);

  gtk_notebook_detach_tab (GTK_NOTEBOOK (notebook), *child);
}

If you want a notebook to accept drags from other widgets, you will have to set your own DnD code to do it.

Since: 2.10

setTabLabel

data NotebookSetTabLabelMethodInfo Source #

Instances

Instances details
(signature ~ (b -> Maybe c -> m ()), MonadIO m, IsNotebook a, IsWidget b, IsWidget c) => OverloadedMethod NotebookSetTabLabelMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookSetTabLabelMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookSetTabLabel Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b, IsWidget c) 
=> a

notebook: a Notebook

-> b

child: the page

-> Maybe c

tabLabel: the tab label widget to use, or Nothing for default tab label

-> m () 

Changes the tab label for child. If Nothing is specified for tabLabel, then the page will have the label “page N”.

setTabLabelText

data NotebookSetTabLabelTextMethodInfo Source #

Instances

Instances details
(signature ~ (b -> Text -> m ()), MonadIO m, IsNotebook a, IsWidget b) => OverloadedMethod NotebookSetTabLabelTextMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookSetTabLabelTextMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookSetTabLabelText Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b) 
=> a

notebook: a Notebook

-> b

child: the page

-> Text

tabText: the label text

-> m () 

Creates a new label and sets it as the tab label for the page containing child.

setTabPos

data NotebookSetTabPosMethodInfo Source #

Instances

Instances details
(signature ~ (PositionType -> m ()), MonadIO m, IsNotebook a) => OverloadedMethod NotebookSetTabPosMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookSetTabPosMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookSetTabPos Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a) 
=> a

notebook: a Notebook.

-> PositionType

pos: the edge to draw the tabs at

-> m () 

Sets the edge at which the tabs for switching pages in the notebook are drawn.

setTabReorderable

data NotebookSetTabReorderableMethodInfo Source #

Instances

Instances details
(signature ~ (b -> Bool -> m ()), MonadIO m, IsNotebook a, IsWidget b) => OverloadedMethod NotebookSetTabReorderableMethodInfo a signature Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo NotebookSetTabReorderableMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

notebookSetTabReorderable Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b) 
=> a

notebook: a Notebook

-> b

child: a child Widget

-> Bool

reorderable: whether the tab is reorderable or not

-> m () 

Sets whether the notebook tab can be reordered via drag and drop or not.

Since: 2.10

Properties

enablePopup

No description available in the introspection data.

data NotebookEnablePopupPropertyInfo Source #

Instances

Instances details
AttrInfo NotebookEnablePopupPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrAllowedOps NotebookEnablePopupPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrBaseTypeConstraint NotebookEnablePopupPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrGetType NotebookEnablePopupPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrLabel NotebookEnablePopupPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrOrigin NotebookEnablePopupPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrSetTypeConstraint NotebookEnablePopupPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrTransferType NotebookEnablePopupPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrTransferTypeConstraint NotebookEnablePopupPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

constructNotebookEnablePopup :: (IsNotebook o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “enable-popup” property. This is rarely needed directly, but it is used by new.

getNotebookEnablePopup :: (MonadIO m, IsNotebook o) => o -> m Bool Source #

Get the value of the “enable-popup” property. When overloading is enabled, this is equivalent to

get notebook #enablePopup

setNotebookEnablePopup :: (MonadIO m, IsNotebook o) => o -> Bool -> m () Source #

Set the value of the “enable-popup” property. When overloading is enabled, this is equivalent to

set notebook [ #enablePopup := value ]

groupName

Group name for tab drag and drop.

Since: 2.24

data NotebookGroupNamePropertyInfo Source #

Instances

Instances details
AttrInfo NotebookGroupNamePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrAllowedOps NotebookGroupNamePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrBaseTypeConstraint NotebookGroupNamePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrGetType NotebookGroupNamePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrLabel NotebookGroupNamePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrOrigin NotebookGroupNamePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrSetTypeConstraint NotebookGroupNamePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrTransferType NotebookGroupNamePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrTransferTypeConstraint NotebookGroupNamePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

clearNotebookGroupName :: (MonadIO m, IsNotebook o) => o -> m () Source #

Set the value of the “group-name” property to Nothing. When overloading is enabled, this is equivalent to

clear #groupName

constructNotebookGroupName :: (IsNotebook o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “group-name” property. This is rarely needed directly, but it is used by new.

getNotebookGroupName :: (MonadIO m, IsNotebook o) => o -> m (Maybe Text) Source #

Get the value of the “group-name” property. When overloading is enabled, this is equivalent to

get notebook #groupName

setNotebookGroupName :: (MonadIO m, IsNotebook o) => o -> Text -> m () Source #

Set the value of the “group-name” property. When overloading is enabled, this is equivalent to

set notebook [ #groupName := value ]

page

No description available in the introspection data.

data NotebookPagePropertyInfo Source #

Instances

Instances details
AttrInfo NotebookPagePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrAllowedOps NotebookPagePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrBaseTypeConstraint NotebookPagePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrGetType NotebookPagePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrLabel NotebookPagePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrOrigin NotebookPagePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrSetTypeConstraint NotebookPagePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrTransferType NotebookPagePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrTransferTypeConstraint NotebookPagePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

constructNotebookPage :: (IsNotebook o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “page” property. This is rarely needed directly, but it is used by new.

getNotebookPage :: (MonadIO m, IsNotebook o) => o -> m Int32 Source #

Get the value of the “page” property. When overloading is enabled, this is equivalent to

get notebook #page

setNotebookPage :: (MonadIO m, IsNotebook o) => o -> Int32 -> m () Source #

Set the value of the “page” property. When overloading is enabled, this is equivalent to

set notebook [ #page := value ]

scrollable

No description available in the introspection data.

data NotebookScrollablePropertyInfo Source #

Instances

Instances details
AttrInfo NotebookScrollablePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrAllowedOps NotebookScrollablePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrBaseTypeConstraint NotebookScrollablePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrGetType NotebookScrollablePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrLabel NotebookScrollablePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrOrigin NotebookScrollablePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrSetTypeConstraint NotebookScrollablePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrTransferType NotebookScrollablePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrTransferTypeConstraint NotebookScrollablePropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

constructNotebookScrollable :: (IsNotebook o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “scrollable” property. This is rarely needed directly, but it is used by new.

getNotebookScrollable :: (MonadIO m, IsNotebook o) => o -> m Bool Source #

Get the value of the “scrollable” property. When overloading is enabled, this is equivalent to

get notebook #scrollable

setNotebookScrollable :: (MonadIO m, IsNotebook o) => o -> Bool -> m () Source #

Set the value of the “scrollable” property. When overloading is enabled, this is equivalent to

set notebook [ #scrollable := value ]

showBorder

No description available in the introspection data.

data NotebookShowBorderPropertyInfo Source #

Instances

Instances details
AttrInfo NotebookShowBorderPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrAllowedOps NotebookShowBorderPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrBaseTypeConstraint NotebookShowBorderPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrGetType NotebookShowBorderPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrLabel NotebookShowBorderPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrOrigin NotebookShowBorderPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrSetTypeConstraint NotebookShowBorderPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrTransferType NotebookShowBorderPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrTransferTypeConstraint NotebookShowBorderPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

constructNotebookShowBorder :: (IsNotebook o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “show-border” property. This is rarely needed directly, but it is used by new.

getNotebookShowBorder :: (MonadIO m, IsNotebook o) => o -> m Bool Source #

Get the value of the “show-border” property. When overloading is enabled, this is equivalent to

get notebook #showBorder

setNotebookShowBorder :: (MonadIO m, IsNotebook o) => o -> Bool -> m () Source #

Set the value of the “show-border” property. When overloading is enabled, this is equivalent to

set notebook [ #showBorder := value ]

showTabs

No description available in the introspection data.

data NotebookShowTabsPropertyInfo Source #

Instances

Instances details
AttrInfo NotebookShowTabsPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrAllowedOps NotebookShowTabsPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrBaseTypeConstraint NotebookShowTabsPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrGetType NotebookShowTabsPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrLabel NotebookShowTabsPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrOrigin NotebookShowTabsPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrSetTypeConstraint NotebookShowTabsPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrTransferType NotebookShowTabsPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrTransferTypeConstraint NotebookShowTabsPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

constructNotebookShowTabs :: (IsNotebook o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “show-tabs” property. This is rarely needed directly, but it is used by new.

getNotebookShowTabs :: (MonadIO m, IsNotebook o) => o -> m Bool Source #

Get the value of the “show-tabs” property. When overloading is enabled, this is equivalent to

get notebook #showTabs

setNotebookShowTabs :: (MonadIO m, IsNotebook o) => o -> Bool -> m () Source #

Set the value of the “show-tabs” property. When overloading is enabled, this is equivalent to

set notebook [ #showTabs := value ]

tabPos

No description available in the introspection data.

data NotebookTabPosPropertyInfo Source #

Instances

Instances details
AttrInfo NotebookTabPosPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrAllowedOps NotebookTabPosPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrBaseTypeConstraint NotebookTabPosPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrGetType NotebookTabPosPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrLabel NotebookTabPosPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrOrigin NotebookTabPosPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrSetTypeConstraint NotebookTabPosPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrTransferType NotebookTabPosPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

type AttrTransferTypeConstraint NotebookTabPosPropertyInfo Source # 
Instance details

Defined in GI.Gtk.Objects.Notebook

constructNotebookTabPos :: (IsNotebook o, MonadIO m) => PositionType -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “tab-pos” property. This is rarely needed directly, but it is used by new.

getNotebookTabPos :: (MonadIO m, IsNotebook o) => o -> m PositionType Source #

Get the value of the “tab-pos” property. When overloading is enabled, this is equivalent to

get notebook #tabPos

setNotebookTabPos :: (MonadIO m, IsNotebook o) => o -> PositionType -> m () Source #

Set the value of the “tab-pos” property. When overloading is enabled, this is equivalent to

set notebook [ #tabPos := value ]

Signals

changeCurrentPage

type NotebookChangeCurrentPageCallback = Int32 -> IO Bool Source #

No description available in the introspection data.

afterNotebookChangeCurrentPage :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookChangeCurrentPageCallback) -> m SignalHandlerId Source #

Connect a signal handler for the changeCurrentPage signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after notebook #changeCurrentPage callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onNotebookChangeCurrentPage :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookChangeCurrentPageCallback) -> m SignalHandlerId Source #

Connect a signal handler for the changeCurrentPage signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on notebook #changeCurrentPage callback

createWindow

type NotebookCreateWindowCallback Source #

Arguments

 = Widget

page: the tab of notebook that is being detached

-> Int32

x: the X coordinate where the drop happens

-> Int32

y: the Y coordinate where the drop happens

-> IO Notebook

Returns: a Notebook that page should be added to, or Nothing.

The createWindow signal is emitted when a detachable tab is dropped on the root window.

A handler for this signal can create a window containing a notebook where the tab will be attached. It is also responsible for moving/resizing the window and adding the necessary properties to the notebook (e.g. the Notebook:groupName ).

Since: 2.12

afterNotebookCreateWindow :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookCreateWindowCallback) -> m SignalHandlerId Source #

Connect a signal handler for the createWindow signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after notebook #createWindow callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onNotebookCreateWindow :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookCreateWindowCallback) -> m SignalHandlerId Source #

Connect a signal handler for the createWindow signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on notebook #createWindow callback

focusTab

type NotebookFocusTabCallback = NotebookTab -> IO Bool Source #

No description available in the introspection data.

afterNotebookFocusTab :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookFocusTabCallback) -> m SignalHandlerId Source #

Connect a signal handler for the focusTab signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after notebook #focusTab callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onNotebookFocusTab :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookFocusTabCallback) -> m SignalHandlerId Source #

Connect a signal handler for the focusTab signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on notebook #focusTab callback

moveFocusOut

type NotebookMoveFocusOutCallback = DirectionType -> IO () Source #

No description available in the introspection data.

afterNotebookMoveFocusOut :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookMoveFocusOutCallback) -> m SignalHandlerId Source #

Connect a signal handler for the moveFocusOut signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after notebook #moveFocusOut callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onNotebookMoveFocusOut :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookMoveFocusOutCallback) -> m SignalHandlerId Source #

Connect a signal handler for the moveFocusOut signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on notebook #moveFocusOut callback

pageAdded

type NotebookPageAddedCallback Source #

Arguments

 = Widget

child: the child Widget affected

-> Word32

pageNum: the new page number for child

-> IO () 

the pageAdded signal is emitted in the notebook right after a page is added to the notebook.

Since: 2.10

afterNotebookPageAdded :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookPageAddedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the pageAdded signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after notebook #pageAdded callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onNotebookPageAdded :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookPageAddedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the pageAdded signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on notebook #pageAdded callback

pageRemoved

type NotebookPageRemovedCallback Source #

Arguments

 = Widget

child: the child Widget affected

-> Word32

pageNum: the child page number

-> IO () 

the pageRemoved signal is emitted in the notebook right after a page is removed from the notebook.

Since: 2.10

afterNotebookPageRemoved :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookPageRemovedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the pageRemoved signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after notebook #pageRemoved callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onNotebookPageRemoved :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookPageRemovedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the pageRemoved signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on notebook #pageRemoved callback

pageReordered

type NotebookPageReorderedCallback Source #

Arguments

 = Widget

child: the child Widget affected

-> Word32

pageNum: the new page number for child

-> IO () 

the pageReordered signal is emitted in the notebook right after a page has been reordered.

Since: 2.10

afterNotebookPageReordered :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookPageReorderedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the pageReordered signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after notebook #pageReordered callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onNotebookPageReordered :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookPageReorderedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the pageReordered signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on notebook #pageReordered callback

reorderTab

type NotebookReorderTabCallback = DirectionType -> Bool -> IO Bool Source #

No description available in the introspection data.

afterNotebookReorderTab :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookReorderTabCallback) -> m SignalHandlerId Source #

Connect a signal handler for the reorderTab signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after notebook #reorderTab callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onNotebookReorderTab :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookReorderTabCallback) -> m SignalHandlerId Source #

Connect a signal handler for the reorderTab signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on notebook #reorderTab callback

selectPage

type NotebookSelectPageCallback = Bool -> IO Bool Source #

No description available in the introspection data.

afterNotebookSelectPage :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookSelectPageCallback) -> m SignalHandlerId Source #

Connect a signal handler for the selectPage signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after notebook #selectPage callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onNotebookSelectPage :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookSelectPageCallback) -> m SignalHandlerId Source #

Connect a signal handler for the selectPage signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on notebook #selectPage callback

switchPage

type NotebookSwitchPageCallback Source #

Arguments

 = Widget

page: the new current page

-> Word32

pageNum: the index of the page

-> IO () 

Emitted when the user or a function changes the current page.

afterNotebookSwitchPage :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookSwitchPageCallback) -> m SignalHandlerId Source #

Connect a signal handler for the switchPage signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after notebook #switchPage callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onNotebookSwitchPage :: (IsNotebook a, MonadIO m) => a -> ((?self :: a) => NotebookSwitchPageCallback) -> m SignalHandlerId Source #

Connect a signal handler for the switchPage signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on notebook #switchPage callback