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 Tab = Tab (ManagedPtr Tab)
- class (GObject o, IsDescendantOf Tab o) => IsTab o
- toTab :: (MonadIO m, IsTab o) => o -> m Tab
- tabGetActive :: (HasCallStack, MonadIO m, IsTab a) => a -> m Bool
- tabGetCanClose :: (HasCallStack, MonadIO m, IsTab a) => a -> m Bool
- tabGetEdge :: (HasCallStack, MonadIO m, IsTab a) => a -> m PositionType
- tabGetIconName :: (HasCallStack, MonadIO m, IsTab a) => a -> m Text
- tabGetStyle :: (HasCallStack, MonadIO m, IsTab a) => a -> m [TabStyle]
- tabGetTitle :: (HasCallStack, MonadIO m, IsTab a) => a -> m Text
- tabGetWidget :: (HasCallStack, MonadIO m, IsTab a) => a -> m (Maybe Widget)
- tabSetActive :: (HasCallStack, MonadIO m, IsTab a) => a -> Bool -> m ()
- tabSetCanClose :: (HasCallStack, MonadIO m, IsTab a) => a -> Bool -> m ()
- tabSetEdge :: (HasCallStack, MonadIO m, IsTab a) => a -> PositionType -> m ()
- tabSetGicon :: (HasCallStack, MonadIO m, IsTab a, IsIcon b) => a -> b -> m ()
- tabSetIconName :: (HasCallStack, MonadIO m, IsTab a) => a -> Text -> m ()
- tabSetStyle :: (HasCallStack, MonadIO m, IsTab a) => a -> [TabStyle] -> m ()
- tabSetTitle :: (HasCallStack, MonadIO m, IsTab a) => a -> Text -> m ()
- tabSetWidget :: (HasCallStack, MonadIO m, IsTab a, IsWidget b) => a -> b -> m ()
- constructTabActive :: (IsTab o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTabActive :: (MonadIO m, IsTab o) => o -> m Bool
- setTabActive :: (MonadIO m, IsTab o) => o -> Bool -> m ()
- constructTabCanClose :: (IsTab o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTabCanClose :: (MonadIO m, IsTab o) => o -> m Bool
- setTabCanClose :: (MonadIO m, IsTab o) => o -> Bool -> m ()
- constructTabEdge :: (IsTab o, MonadIO m) => PositionType -> m (GValueConstruct o)
- getTabEdge :: (MonadIO m, IsTab o) => o -> m PositionType
- setTabEdge :: (MonadIO m, IsTab o) => o -> PositionType -> m ()
- constructTabStyle :: (IsTab o, MonadIO m) => [TabStyle] -> m (GValueConstruct o)
- getTabStyle :: (MonadIO m, IsTab o) => o -> m [TabStyle]
- setTabStyle :: (MonadIO m, IsTab o) => o -> [TabStyle] -> m ()
- constructTabTitle :: (IsTab o, MonadIO m) => Text -> m (GValueConstruct o)
- getTabTitle :: (MonadIO m, IsTab o) => o -> m Text
- setTabTitle :: (MonadIO m, IsTab o) => o -> Text -> m ()
- constructTabWidget :: (IsTab o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o)
- getTabWidget :: (MonadIO m, IsTab o) => o -> m (Maybe Widget)
- setTabWidget :: (MonadIO m, IsTab o, IsWidget a) => o -> a -> m ()
- type TabClickedCallback = IO ()
- afterTabClicked :: (IsTab a, MonadIO m) => a -> ((?self :: a) => TabClickedCallback) -> m SignalHandlerId
- onTabClicked :: (IsTab a, MonadIO m) => a -> ((?self :: a) => TabClickedCallback) -> m SignalHandlerId
Exported types
Memory-managed wrapper type.
Instances
Eq Tab Source # | |
GObject Tab Source # | |
Defined in GI.Dazzle.Objects.Tab | |
ManagedPtrNewtype Tab Source # | |
Defined in GI.Dazzle.Objects.Tab toManagedPtr :: Tab -> ManagedPtr Tab | |
TypedObject Tab Source # | |
Defined in GI.Dazzle.Objects.Tab | |
HasParentTypes Tab Source # | |
Defined in GI.Dazzle.Objects.Tab | |
IsGValue (Maybe Tab) Source # | Convert |
Defined in GI.Dazzle.Objects.Tab gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Tab -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Tab) | |
type ParentTypes Tab Source # | |
Defined in GI.Dazzle.Objects.Tab |
class (GObject o, IsDescendantOf Tab o) => IsTab o Source #
Instances
(GObject o, IsDescendantOf Tab o) => IsTab o Source # | |
Defined in GI.Dazzle.Objects.Tab |
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, getActionName, getActionTargetValue, getActive, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getBorderWidth, getCanClose, getCanDefault, getCanFocus, getChild, getChildRequisition, getChildVisible, getChildren, getClip, getClipboard, getCompositeName, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEdge, getEvents, getFocusChain, getFocusChild, getFocusHadjustment, getFocusOnClick, getFocusVadjustment, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getIconName, getInternalChild, 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, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTemplateChild, getTitle, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWidget, getWindow.
Setters
setAccelPath, setActionName, setActionTargetValue, setActive, setAllocation, setAppPaintable, setBorderWidth, setBuildableProperty, setCanClose, setCanDefault, setCanFocus, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDetailedActionName, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEdge, setEvents, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusVadjustment, setFontMap, setFontOptions, setGicon, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setIconName, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setName, setNoShowAll, setOpacity, setParent, setParentWindow, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizeMode, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTitle, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWidget, setWindow.
getActive
tabGetActive :: (HasCallStack, MonadIO m, IsTab a) => a -> m Bool Source #
No description available in the introspection data.
getCanClose
tabGetCanClose :: (HasCallStack, MonadIO m, IsTab a) => a -> m Bool Source #
No description available in the introspection data.
getEdge
tabGetEdge :: (HasCallStack, MonadIO m, IsTab a) => a -> m PositionType Source #
No description available in the introspection data.
getIconName
tabGetIconName :: (HasCallStack, MonadIO m, IsTab a) => a -> m Text Source #
No description available in the introspection data.
getStyle
tabGetStyle :: (HasCallStack, MonadIO m, IsTab a) => a -> m [TabStyle] Source #
No description available in the introspection data.
getTitle
tabGetTitle :: (HasCallStack, MonadIO m, IsTab a) => a -> m Text Source #
No description available in the introspection data.
getWidget
No description available in the introspection data.
setActive
tabSetActive :: (HasCallStack, MonadIO m, IsTab a) => a -> Bool -> m () Source #
No description available in the introspection data.
setCanClose
tabSetCanClose :: (HasCallStack, MonadIO m, IsTab a) => a -> Bool -> m () Source #
No description available in the introspection data.
setEdge
tabSetEdge :: (HasCallStack, MonadIO m, IsTab a) => a -> PositionType -> m () Source #
No description available in the introspection data.
setGicon
tabSetGicon :: (HasCallStack, MonadIO m, IsTab a, IsIcon b) => a -> b -> m () Source #
No description available in the introspection data.
setIconName
tabSetIconName :: (HasCallStack, MonadIO m, IsTab a) => a -> Text -> m () Source #
No description available in the introspection data.
setStyle
tabSetStyle :: (HasCallStack, MonadIO m, IsTab a) => a -> [TabStyle] -> m () Source #
No description available in the introspection data.
setTitle
tabSetTitle :: (HasCallStack, MonadIO m, IsTab a) => a -> Text -> m () Source #
No description available in the introspection data.
setWidget
tabSetWidget :: (HasCallStack, MonadIO m, IsTab a, IsWidget b) => a -> b -> m () Source #
No description available in the introspection data.
Properties
active
No description available in the introspection data.
constructTabActive :: (IsTab o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “active
” property. This is rarely needed directly, but it is used by new
.
getTabActive :: (MonadIO m, IsTab o) => o -> m Bool Source #
Get the value of the “active
” property.
When overloading is enabled, this is equivalent to
get
tab #active
setTabActive :: (MonadIO m, IsTab o) => o -> Bool -> m () Source #
Set the value of the “active
” property.
When overloading is enabled, this is equivalent to
set
tab [ #active:=
value ]
canClose
No description available in the introspection data.
constructTabCanClose :: (IsTab o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “can-close
” property. This is rarely needed directly, but it is used by new
.
getTabCanClose :: (MonadIO m, IsTab o) => o -> m Bool Source #
Get the value of the “can-close
” property.
When overloading is enabled, this is equivalent to
get
tab #canClose
setTabCanClose :: (MonadIO m, IsTab o) => o -> Bool -> m () Source #
Set the value of the “can-close
” property.
When overloading is enabled, this is equivalent to
set
tab [ #canClose:=
value ]
edge
No description available in the introspection data.
constructTabEdge :: (IsTab o, MonadIO m) => PositionType -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “edge
” property. This is rarely needed directly, but it is used by new
.
getTabEdge :: (MonadIO m, IsTab o) => o -> m PositionType Source #
Get the value of the “edge
” property.
When overloading is enabled, this is equivalent to
get
tab #edge
setTabEdge :: (MonadIO m, IsTab o) => o -> PositionType -> m () Source #
Set the value of the “edge
” property.
When overloading is enabled, this is equivalent to
set
tab [ #edge:=
value ]
style
No description available in the introspection data.
constructTabStyle :: (IsTab o, MonadIO m) => [TabStyle] -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “style
” property. This is rarely needed directly, but it is used by new
.
getTabStyle :: (MonadIO m, IsTab o) => o -> m [TabStyle] Source #
Get the value of the “style
” property.
When overloading is enabled, this is equivalent to
get
tab #style
setTabStyle :: (MonadIO m, IsTab o) => o -> [TabStyle] -> m () Source #
Set the value of the “style
” property.
When overloading is enabled, this is equivalent to
set
tab [ #style:=
value ]
title
No description available in the introspection data.
constructTabTitle :: (IsTab o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “title
” property. This is rarely needed directly, but it is used by new
.
getTabTitle :: (MonadIO m, IsTab o) => o -> m Text Source #
Get the value of the “title
” property.
When overloading is enabled, this is equivalent to
get
tab #title
setTabTitle :: (MonadIO m, IsTab o) => o -> Text -> m () Source #
Set the value of the “title
” property.
When overloading is enabled, this is equivalent to
set
tab [ #title:=
value ]
widget
No description available in the introspection data.
constructTabWidget :: (IsTab o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “widget
” property. This is rarely needed directly, but it is used by new
.
getTabWidget :: (MonadIO m, IsTab o) => o -> m (Maybe Widget) Source #
Get the value of the “widget
” property.
When overloading is enabled, this is equivalent to
get
tab #widget
setTabWidget :: (MonadIO m, IsTab o, IsWidget a) => o -> a -> m () Source #
Set the value of the “widget
” property.
When overloading is enabled, this is equivalent to
set
tab [ #widget:=
value ]
Signals
clicked
type TabClickedCallback = IO () Source #
No description available in the introspection data.
afterTabClicked :: (IsTab a, MonadIO m) => a -> ((?self :: a) => TabClickedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the clicked signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
tab #clicked 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.
onTabClicked :: (IsTab a, MonadIO m) => a -> ((?self :: a) => TabClickedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the clicked signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
tab #clicked callback