gi-gtk-4.0.8: Gtk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Objects.Separator

Description

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

Exported types

newtype Separator Source #

Memory-managed wrapper type.

Constructors

Separator (ManagedPtr Separator) 

Instances

Instances details
Eq Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

GObject Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

ManagedPtrNewtype Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

Methods

toManagedPtr :: Separator -> ManagedPtr Separator

TypedObject Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

Methods

glibType :: IO GType

HasParentTypes Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

IsGValue (Maybe Separator) Source #

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

Instance details

Defined in GI.Gtk.Objects.Separator

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe Separator -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe Separator)

type ParentTypes Separator Source # 
Instance details

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

Instances details
(GObject o, IsDescendantOf Separator o) => IsSeparator o Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

toSeparator :: (MonadIO m, IsSeparator o) => o -> m Separator Source #

Cast to Separator, 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

actionSetEnabled, activate, activateAction, activateDefault, addController, addCssClass, addMnemonicLabel, addTickCallback, allocate, 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, 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

separatorNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Orientation

orientation: the separator’s orientation.

-> m Separator

Returns: a new GtkSeparator.

Creates a new GtkSeparator with the given orientation.