Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype TabBar = TabBar (ManagedPtr TabBar)
- class (GObject o, IsDescendantOf TabBar o) => IsTabBar o
- toTabBar :: (MonadIO m, IsTabBar o) => o -> m TabBar
- tabBarGetAutohide :: (HasCallStack, MonadIO m, IsTabBar a) => a -> m Bool
- tabBarGetEndActionWidget :: (HasCallStack, MonadIO m, IsTabBar a) => a -> m (Maybe Widget)
- tabBarGetExpandTabs :: (HasCallStack, MonadIO m, IsTabBar a) => a -> m Bool
- tabBarGetExtraDragDestTargets :: (HasCallStack, MonadIO m, IsTabBar a) => a -> m (Maybe TargetList)
- tabBarGetInverted :: (HasCallStack, MonadIO m, IsTabBar a) => a -> m Bool
- tabBarGetIsOverflowing :: (HasCallStack, MonadIO m, IsTabBar a) => a -> m Bool
- tabBarGetStartActionWidget :: (HasCallStack, MonadIO m, IsTabBar a) => a -> m (Maybe Widget)
- tabBarGetTabsRevealed :: (HasCallStack, MonadIO m, IsTabBar a) => a -> m Bool
- tabBarGetView :: (HasCallStack, MonadIO m, IsTabBar a) => a -> m (Maybe TabView)
- tabBarNew :: (HasCallStack, MonadIO m) => m TabBar
- tabBarSetAutohide :: (HasCallStack, MonadIO m, IsTabBar a) => a -> Bool -> m ()
- tabBarSetEndActionWidget :: (HasCallStack, MonadIO m, IsTabBar a, IsWidget b) => a -> Maybe b -> m ()
- tabBarSetExpandTabs :: (HasCallStack, MonadIO m, IsTabBar a) => a -> Bool -> m ()
- tabBarSetExtraDragDestTargets :: (HasCallStack, MonadIO m, IsTabBar a) => a -> Maybe TargetList -> m ()
- tabBarSetInverted :: (HasCallStack, MonadIO m, IsTabBar a) => a -> Bool -> m ()
- tabBarSetStartActionWidget :: (HasCallStack, MonadIO m, IsTabBar a, IsWidget b) => a -> Maybe b -> m ()
- tabBarSetView :: (HasCallStack, MonadIO m, IsTabBar a, IsTabView b) => a -> Maybe b -> m ()
- constructTabBarAutohide :: (IsTabBar o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTabBarAutohide :: (MonadIO m, IsTabBar o) => o -> m Bool
- setTabBarAutohide :: (MonadIO m, IsTabBar o) => o -> Bool -> m ()
- clearTabBarEndActionWidget :: (MonadIO m, IsTabBar o) => o -> m ()
- constructTabBarEndActionWidget :: (IsTabBar o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o)
- getTabBarEndActionWidget :: (MonadIO m, IsTabBar o) => o -> m (Maybe Widget)
- setTabBarEndActionWidget :: (MonadIO m, IsTabBar o, IsWidget a) => o -> a -> m ()
- constructTabBarExpandTabs :: (IsTabBar o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTabBarExpandTabs :: (MonadIO m, IsTabBar o) => o -> m Bool
- setTabBarExpandTabs :: (MonadIO m, IsTabBar o) => o -> Bool -> m ()
- clearTabBarExtraDragDestTargets :: (MonadIO m, IsTabBar o) => o -> m ()
- constructTabBarExtraDragDestTargets :: (IsTabBar o, MonadIO m) => TargetList -> m (GValueConstruct o)
- getTabBarExtraDragDestTargets :: (MonadIO m, IsTabBar o) => o -> m (Maybe TargetList)
- setTabBarExtraDragDestTargets :: (MonadIO m, IsTabBar o) => o -> TargetList -> m ()
- constructTabBarInverted :: (IsTabBar o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTabBarInverted :: (MonadIO m, IsTabBar o) => o -> m Bool
- setTabBarInverted :: (MonadIO m, IsTabBar o) => o -> Bool -> m ()
- getTabBarIsOverflowing :: (MonadIO m, IsTabBar o) => o -> m Bool
- clearTabBarStartActionWidget :: (MonadIO m, IsTabBar o) => o -> m ()
- constructTabBarStartActionWidget :: (IsTabBar o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o)
- getTabBarStartActionWidget :: (MonadIO m, IsTabBar o) => o -> m (Maybe Widget)
- setTabBarStartActionWidget :: (MonadIO m, IsTabBar o, IsWidget a) => o -> a -> m ()
- getTabBarTabsRevealed :: (MonadIO m, IsTabBar o) => o -> m Bool
- clearTabBarView :: (MonadIO m, IsTabBar o) => o -> m ()
- constructTabBarView :: (IsTabBar o, MonadIO m, IsTabView a) => a -> m (GValueConstruct o)
- getTabBarView :: (MonadIO m, IsTabBar o) => o -> m (Maybe TabView)
- setTabBarView :: (MonadIO m, IsTabBar o, IsTabView a) => o -> a -> m ()
- type TabBarExtraDragDataReceivedCallback = TabPage -> DragContext -> SelectionData -> Word32 -> Word32 -> IO ()
- afterTabBarExtraDragDataReceived :: (IsTabBar a, MonadIO m) => a -> ((?self :: a) => TabBarExtraDragDataReceivedCallback) -> m SignalHandlerId
- onTabBarExtraDragDataReceived :: (IsTabBar a, MonadIO m) => a -> ((?self :: a) => TabBarExtraDragDataReceivedCallback) -> m SignalHandlerId
Exported types
Memory-managed wrapper type.
Instances
Eq TabBar Source # | |
GObject TabBar Source # | |
Defined in GI.Handy.Objects.TabBar | |
ManagedPtrNewtype TabBar Source # | |
Defined in GI.Handy.Objects.TabBar toManagedPtr :: TabBar -> ManagedPtr TabBar # | |
TypedObject TabBar Source # | |
Defined in GI.Handy.Objects.TabBar | |
HasParentTypes TabBar Source # | |
Defined in GI.Handy.Objects.TabBar | |
IsGValue (Maybe TabBar) Source # | Convert |
Defined in GI.Handy.Objects.TabBar | |
type ParentTypes TabBar Source # | |
Defined in GI.Handy.Objects.TabBar |
class (GObject o, IsDescendantOf TabBar o) => IsTabBar o Source #
Instances
(GObject o, IsDescendantOf TabBar o) => IsTabBar o Source # | |
Defined in GI.Handy.Objects.TabBar |
Methods
Click to display all available methods, including inherited ones
Methods
activate, add, addAccelerator, addChild, addDeviceEvents, addEvents, addMnemonicLabel, addTickCallback, bindProperty, bindPropertyFull, canActivateAccel, checkResize, childFocus, childGetProperty, childNotify, childNotifyByPspec, childSetProperty, childType, classPath, computeExpand, constructChild, createPangoContext, createPangoLayout, customFinished, customTagEnd, customTagStart, destroy, destroyed, 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, intersect, isAncestor, isComposited, isDrawable, isFloating, isFocus, isSensitive, isToplevel, isVisible, keynavFailed, listAccelClosures, listActionPrefixes, listMnemonicLabels, map, mnemonicActivate, modifyBase, modifyBg, modifyCursor, modifyFg, modifyFont, modifyStyle, modifyText, notify, notifyByPspec, overrideBackgroundColor, overrideColor, overrideCursor, overrideFont, overrideSymbolicColor, parserFinished, path, propagateDraw, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, remove, removeAccelerator, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, 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, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getAutohide, getBorderWidth, getCanDefault, getCanFocus, getChild, getChildRequisition, getChildVisible, getChildren, getClip, getClipboard, getCompositeName, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEndActionWidget, getEvents, getExpandTabs, getExtraDragDestTargets, getFocusChain, getFocusChild, getFocusHadjustment, getFocusOnClick, getFocusVadjustment, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getInternalChild, getInverted, getIsOverflowing, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, getPangoContext, getParent, getParentWindow, getPath, getPathForChild, getPointer, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRequisition, getResizeMode, getRootWindow, getScaleFactor, getScreen, getSensitive, getSettings, getSizeRequest, getStartActionWidget, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTabsRevealed, getTemplateChild, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getView, getVisible, getVisual, getWindow.
Setters
setAccelPath, setAllocation, setAppPaintable, setAutohide, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEndActionWidget, setEvents, setExpandTabs, setExtraDragDestTargets, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusVadjustment, setFontMap, setFontOptions, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setInverted, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setName, setNoShowAll, setOpacity, setParent, setParentWindow, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizeMode, setSensitive, setSizeRequest, setStartActionWidget, setState, setStateFlags, setStyle, setSupportMultidevice, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setView, setVisible, setVisual, setWindow.
getAutohide
:: (HasCallStack, MonadIO m, IsTabBar a) | |
=> a |
|
-> m Bool | Returns: whether the tabs automatically hide |
Gets whether the tabs automatically hide, see tabBarSetAutohide
.
Since: 1.2
getEndActionWidget
tabBarGetEndActionWidget Source #
:: (HasCallStack, MonadIO m, IsTabBar a) | |
=> a |
|
-> m (Maybe Widget) | Returns: the widget shown after the tabs, or |
Gets the widget shown after the tabs.
Since: 1.2
getExpandTabs
:: (HasCallStack, MonadIO m, IsTabBar a) | |
=> a |
|
-> m Bool | Returns: whether tabs should expand |
Gets whether tabs should expand, see tabBarSetExpandTabs
.
Since: 1.2
getExtraDragDestTargets
tabBarGetExtraDragDestTargets Source #
:: (HasCallStack, MonadIO m, IsTabBar a) | |
=> a |
|
-> m (Maybe TargetList) | Returns: extra drag targets, or |
Gets extra drag destination targets, see
tabBarSetExtraDragDestTargets
.
Since: 1.2
getInverted
:: (HasCallStack, MonadIO m, IsTabBar a) | |
=> a |
|
-> m Bool | Returns: whether tabs use inverted layout |
Gets whether tabs use inverted layout, see tabBarSetInverted
.
Since: 1.2
getIsOverflowing
tabBarGetIsOverflowing Source #
:: (HasCallStack, MonadIO m, IsTabBar a) | |
=> a |
|
-> m Bool | Returns: whether |
Gets whether self
is overflowing.
Since: 1.2
getStartActionWidget
tabBarGetStartActionWidget Source #
:: (HasCallStack, MonadIO m, IsTabBar a) | |
=> a |
|
-> m (Maybe Widget) | Returns: the widget shown before the tabs, or |
Gets the widget shown before the tabs.
Since: 1.2
getTabsRevealed
tabBarGetTabsRevealed Source #
:: (HasCallStack, MonadIO m, IsTabBar a) | |
=> a |
|
-> m Bool | Returns: whether the tabs are current revealed |
Gets the value of the TabBar
:tabs-revealed
property.
Since: 1.2
getView
:: (HasCallStack, MonadIO m, IsTabBar a) | |
=> a |
|
-> m (Maybe TabView) | Returns: the |
Gets the TabView
self
controls.
Since: 1.2
new
:: (HasCallStack, MonadIO m) | |
=> m TabBar | Returns: a new |
Creates a new TabBar
widget.
Since: 1.2
setAutohide
:: (HasCallStack, MonadIO m, IsTabBar a) | |
=> a |
|
-> Bool |
|
-> m () |
setEndActionWidget
tabBarSetEndActionWidget Source #
:: (HasCallStack, MonadIO m, IsTabBar a, IsWidget b) | |
=> a |
|
-> Maybe b |
|
-> m () |
Sets the widget to show after the tabs.
Since: 1.2
setExpandTabs
:: (HasCallStack, MonadIO m, IsTabBar a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets whether tabs should expand.
If expandTabs
is True
, the tabs will always vary width filling the whole
width when possible, otherwise tabs will always have the minimum possible
size.
Expand is enabled by default.
Since: 1.2
setExtraDragDestTargets
tabBarSetExtraDragDestTargets Source #
:: (HasCallStack, MonadIO m, IsTabBar a) | |
=> a |
|
-> Maybe TargetList |
|
-> m () |
Sets extra drag destination targets.
This allows to drag arbitrary content onto tabs, for example URLs in a web browser.
If a tab is hovered for a certain period of time while dragging the content, it will be automatically selected.
After content is dropped, the extraDragDataReceived signal can be used to retrieve and process the drag data.
Since: 1.2
setInverted
:: (HasCallStack, MonadIO m, IsTabBar a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets whether tabs tabs use inverted layout.
If inverted
is True
, non-pinned tabs will have the close button at the
beginning and the indicator at the end rather than the opposite.
Since: 1.2
setStartActionWidget
tabBarSetStartActionWidget Source #
:: (HasCallStack, MonadIO m, IsTabBar a, IsWidget b) | |
=> a |
|
-> Maybe b |
|
-> m () |
Sets the widget to show before the tabs.
Since: 1.2
setView
:: (HasCallStack, MonadIO m, IsTabBar a, IsTabView b) | |
=> a |
|
-> Maybe b |
|
-> m () |
Sets the TabView
self
controls.
Since: 1.2
Properties
autohide
Whether tabs automatically hide.
If set to True
, the tab bar disappears when the associated TabView
has 0 or 1 tab, no pinned tabs, and no tab is being transferred.
See TabBar
:tabs-revealed
.
Since: 1.2
constructTabBarAutohide :: (IsTabBar o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “autohide
” property. This is rarely needed directly, but it is used by new
.
getTabBarAutohide :: (MonadIO m, IsTabBar o) => o -> m Bool Source #
Get the value of the “autohide
” property.
When overloading is enabled, this is equivalent to
get
tabBar #autohide
setTabBarAutohide :: (MonadIO m, IsTabBar o) => o -> Bool -> m () Source #
Set the value of the “autohide
” property.
When overloading is enabled, this is equivalent to
set
tabBar [ #autohide:=
value ]
endActionWidget
The widget shown after the tabs.
Since: 1.2
clearTabBarEndActionWidget :: (MonadIO m, IsTabBar o) => o -> m () Source #
Set the value of the “end-action-widget
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#endActionWidget
constructTabBarEndActionWidget :: (IsTabBar o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “end-action-widget
” property. This is rarely needed directly, but it is used by new
.
getTabBarEndActionWidget :: (MonadIO m, IsTabBar o) => o -> m (Maybe Widget) Source #
Get the value of the “end-action-widget
” property.
When overloading is enabled, this is equivalent to
get
tabBar #endActionWidget
setTabBarEndActionWidget :: (MonadIO m, IsTabBar o, IsWidget a) => o -> a -> m () Source #
Set the value of the “end-action-widget
” property.
When overloading is enabled, this is equivalent to
set
tabBar [ #endActionWidget:=
value ]
expandTabs
Whether tabs should expand.
If set to True
, the tabs will always vary width filling the whole width
when possible, otherwise tabs will always have the minimum possible size.
Since: 1.2
constructTabBarExpandTabs :: (IsTabBar o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “expand-tabs
” property. This is rarely needed directly, but it is used by new
.
getTabBarExpandTabs :: (MonadIO m, IsTabBar o) => o -> m Bool Source #
Get the value of the “expand-tabs
” property.
When overloading is enabled, this is equivalent to
get
tabBar #expandTabs
setTabBarExpandTabs :: (MonadIO m, IsTabBar o) => o -> Bool -> m () Source #
Set the value of the “expand-tabs
” property.
When overloading is enabled, this is equivalent to
set
tabBar [ #expandTabs:=
value ]
extraDragDestTargets
Extra drag destination targets.
Allows to drag arbitrary content onto tabs, for example URLs in a web browser.
If a tab is hovered for a certain period of time while dragging the content, it will be automatically selected.
After content is dropped, the extraDragDataReceived signal can be used to retrieve and process the drag data.
Since: 1.2
clearTabBarExtraDragDestTargets :: (MonadIO m, IsTabBar o) => o -> m () Source #
Set the value of the “extra-drag-dest-targets
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#extraDragDestTargets
constructTabBarExtraDragDestTargets :: (IsTabBar o, MonadIO m) => TargetList -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “extra-drag-dest-targets
” property. This is rarely needed directly, but it is used by new
.
getTabBarExtraDragDestTargets :: (MonadIO m, IsTabBar o) => o -> m (Maybe TargetList) Source #
Get the value of the “extra-drag-dest-targets
” property.
When overloading is enabled, this is equivalent to
get
tabBar #extraDragDestTargets
setTabBarExtraDragDestTargets :: (MonadIO m, IsTabBar o) => o -> TargetList -> m () Source #
Set the value of the “extra-drag-dest-targets
” property.
When overloading is enabled, this is equivalent to
set
tabBar [ #extraDragDestTargets:=
value ]
inverted
Whether tabs use inverted layout.
If set to True
, non-pinned tabs will have the close button at the
beginning and the indicator at the end rather than the opposite.
Since: 1.2
constructTabBarInverted :: (IsTabBar o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “inverted
” property. This is rarely needed directly, but it is used by new
.
getTabBarInverted :: (MonadIO m, IsTabBar o) => o -> m Bool Source #
Get the value of the “inverted
” property.
When overloading is enabled, this is equivalent to
get
tabBar #inverted
setTabBarInverted :: (MonadIO m, IsTabBar o) => o -> Bool -> m () Source #
Set the value of the “inverted
” property.
When overloading is enabled, this is equivalent to
set
tabBar [ #inverted:=
value ]
isOverflowing
Whether the tab bar is overflowing.
If set to True
, all tabs cannot be displayed at once and require
scrolling.
Since: 1.2
getTabBarIsOverflowing :: (MonadIO m, IsTabBar o) => o -> m Bool Source #
Get the value of the “is-overflowing
” property.
When overloading is enabled, this is equivalent to
get
tabBar #isOverflowing
startActionWidget
The widget shown before the tabs.
Since: 1.2
clearTabBarStartActionWidget :: (MonadIO m, IsTabBar o) => o -> m () Source #
Set the value of the “start-action-widget
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#startActionWidget
constructTabBarStartActionWidget :: (IsTabBar o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “start-action-widget
” property. This is rarely needed directly, but it is used by new
.
getTabBarStartActionWidget :: (MonadIO m, IsTabBar o) => o -> m (Maybe Widget) Source #
Get the value of the “start-action-widget
” property.
When overloading is enabled, this is equivalent to
get
tabBar #startActionWidget
setTabBarStartActionWidget :: (MonadIO m, IsTabBar o, IsWidget a) => o -> a -> m () Source #
Set the value of the “start-action-widget
” property.
When overloading is enabled, this is equivalent to
set
tabBar [ #startActionWidget:=
value ]
tabsRevealed
Whether tabs are currently revealed.
See HdyTabBar:autohide.
Since: 1.2
getTabBarTabsRevealed :: (MonadIO m, IsTabBar o) => o -> m Bool Source #
Get the value of the “tabs-revealed
” property.
When overloading is enabled, this is equivalent to
get
tabBar #tabsRevealed
view
The TabView
the tab bar controls.
Since: 1.2
clearTabBarView :: (MonadIO m, IsTabBar o) => o -> m () Source #
Set the value of the “view
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#view
constructTabBarView :: (IsTabBar o, MonadIO m, IsTabView a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “view
” property. This is rarely needed directly, but it is used by new
.
getTabBarView :: (MonadIO m, IsTabBar o) => o -> m (Maybe TabView) Source #
Get the value of the “view
” property.
When overloading is enabled, this is equivalent to
get
tabBar #view
setTabBarView :: (MonadIO m, IsTabBar o, IsTabView a) => o -> a -> m () Source #
Set the value of the “view
” property.
When overloading is enabled, this is equivalent to
set
tabBar [ #view:=
value ]
Signals
extraDragDataReceived
type TabBarExtraDragDataReceivedCallback Source #
= TabPage |
|
-> DragContext |
|
-> SelectionData |
|
-> Word32 |
|
-> Word32 |
|
-> IO () |
This signal is emitted when content allowed via
TabBar
:extra-drag-dest-targets
is dropped onto a tab.
See dragDataReceived.
Since: 1.2
afterTabBarExtraDragDataReceived :: (IsTabBar a, MonadIO m) => a -> ((?self :: a) => TabBarExtraDragDataReceivedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the extraDragDataReceived signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
tabBar #extraDragDataReceived 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.
onTabBarExtraDragDataReceived :: (IsTabBar a, MonadIO m) => a -> ((?self :: a) => TabBarExtraDragDataReceivedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the extraDragDataReceived signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
tabBar #extraDragDataReceived callback