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 |
GtkSeparator
is a horizontal or vertical separator widget.
A GtkSeparator
can be used to group the widgets within a window.
It displays a line with a shadow to make it appear sunken into the
interface.
CSS nodes
GtkSeparator
has a single CSS node with name separator. The node
gets one of the .horizontal or .vertical style classes.
Accessibility
GtkSeparator
uses the AccessibleRoleSeparator
role.
Synopsis
- newtype Separator = Separator (ManagedPtr Separator)
- class (GObject o, IsDescendantOf Separator o) => IsSeparator o
- toSeparator :: (MonadIO m, IsSeparator o) => o -> m Separator
- separatorNew :: (HasCallStack, MonadIO m) => Orientation -> m Separator
Exported types
Memory-managed wrapper type.
Instances
Eq Separator Source # | |
GObject Separator Source # | |
Defined in GI.Gtk.Objects.Separator | |
ManagedPtrNewtype Separator Source # | |
Defined in GI.Gtk.Objects.Separator toManagedPtr :: Separator -> ManagedPtr Separator | |
TypedObject Separator Source # | |
Defined in GI.Gtk.Objects.Separator | |
HasParentTypes Separator Source # | |
Defined in GI.Gtk.Objects.Separator | |
IsGValue (Maybe Separator) Source # | Convert |
Defined in GI.Gtk.Objects.Separator gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Separator -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Separator) | |
type ParentTypes Separator Source # | |
Defined in GI.Gtk.Objects.Separator |
class (GObject o, IsDescendantOf Separator o) => IsSeparator o Source #
Type class for types which can be safely cast to Separator
, for instance with toSeparator
.
Instances
(GObject o, IsDescendantOf Separator o) => IsSeparator o Source # | |
Defined in GI.Gtk.Objects.Separator |
toSeparator :: (MonadIO m, IsSeparator o) => o -> m Separator Source #
Methods
Click to display all available methods, including inherited ones
Methods
actionSetEnabled, activate, activateAction, activateDefault, addController, addCssClass, addMnemonicLabel, addTickCallback, allocate, announce, bindProperty, bindPropertyFull, childFocus, computeBounds, computeExpand, computePoint, computeTransform, contains, createPangoContext, createPangoLayout, disposeTemplate, dragCheckThreshold, errorBell, forceFloating, freezeNotify, getv, grabFocus, hasCssClass, hasDefault, hasFocus, hasVisibleFocus, hide, inDestruction, initTemplate, insertActionGroup, insertAfter, insertBefore, isAncestor, isDrawable, isFloating, isFocus, isSensitive, isVisible, keynavFailed, listMnemonicLabels, map, measure, mnemonicActivate, notify, notifyByPspec, observeChildren, observeControllers, pick, queueAllocate, queueDraw, queueResize, realize, ref, refSink, removeController, removeCssClass, removeMnemonicLabel, removeTickCallback, resetProperty, resetRelation, resetState, runDispose, shouldLayout, show, sizeAllocate, snapshotChild, stealData, stealQdata, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unsetStateFlags, updateNextAccessibleSibling, updateProperty, updateRelation, updateState, watchClosure.
Getters
getAccessibleParent, getAccessibleRole, getAllocatedBaseline, getAllocatedHeight, getAllocatedWidth, getAllocation, getAncestor, getAtContext, getBaseline, getBounds, getBuildableId, getCanFocus, getCanTarget, getChildVisible, getClipboard, getColor, getCssClasses, getCssName, getCursor, getData, getDirection, getDisplay, getFirstAccessibleChild, getFirstChild, getFocusChild, getFocusOnClick, getFocusable, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHeight, getHexpand, getHexpandSet, getLastChild, getLayoutManager, getMapped, getMarginBottom, getMarginEnd, getMarginStart, getMarginTop, getName, getNative, getNextAccessibleSibling, getNextSibling, getOpacity, getOrientation, getOverflow, getPangoContext, getParent, getPlatformState, getPreferredSize, getPrevSibling, getPrimaryClipboard, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRoot, getScaleFactor, getSensitive, getSettings, getSize, getSizeRequest, getStateFlags, getStyleContext, getTemplateChild, getTooltipMarkup, getTooltipText, getValign, getVexpand, getVexpandSet, getVisible, getWidth.
Setters
setAccessibleParent, setCanFocus, setCanTarget, setChildVisible, setCssClasses, setCursor, setCursorFromName, setData, setDataFull, setDirection, setFocusChild, setFocusOnClick, setFocusable, setFontMap, setFontOptions, setHalign, setHasTooltip, setHexpand, setHexpandSet, setLayoutManager, setMarginBottom, setMarginEnd, setMarginStart, setMarginTop, setName, setOpacity, setOrientation, setOverflow, setParent, setProperty, setReceivesDefault, setSensitive, setSizeRequest, setStateFlags, setTooltipMarkup, setTooltipText, setValign, setVexpand, setVexpandSet, setVisible.
new
:: (HasCallStack, MonadIO m) | |
=> Orientation |
|
-> m Separator | Returns: a new |
Creates a new GtkSeparator
with the given orientation.