Name

Enumerations —

General enumeration types.

Synopsis

Todo

* Documentation

Datatypes

data AccelFlags

state of an accelerator

data AccelFlags =AccelLocked
| AccelMask
| AccelVisible

data ArrowType

arrow directions for the arrow widget

data ArrowType =ArrowDown
| ArrowLeft
| ArrowRight
| ArrowUp

data AttachOptions

child widget attach options for table containers

data AttachOptions =Expand
| Fill
| Shrink

data Button

button number

data Button =LeftButton
| MiddleButton
| OtherButton
| RightButton
| WheelDown
| WheelUp

data ButtonBoxStyle

dictate the style that a ButtonBox uses to align it contents

data ButtonBoxStyle =ButtonboxDefaultStyle
| ButtonboxEdge
| ButtonboxEnd
| ButtonboxSpread
| ButtonboxStart

data CalendarDisplayOptions

Specify which items of a calendar should be displayed.

data CalendarDisplayOptions =CalendarNoMonthChange
| CalendarShowDayNames
| CalendarShowHeading
| CalendarShowWeekNumbers
| CalendarWeekStartMonday

data CapStyle

Specify the how the ends of a line is drawn.

data CapStyle =CapButt
| CapNotLast
| CapProjecting
| CapRound

data Click

type of mouse click

data Click =DoubleClick
| ReleaseClick
| SingleClick
| TripleClick

data CornerType

specifies in which corner a child widget should be placed

data CornerType =CornerBottomLeft
| CornerBottomRight
| CornerTopLeft
| CornerTopRight

data CrossingMode

provide additionl information if cursor crosses a window

data CrossingMode =CrossingGrab
| CrossingNormal
| CrossingUngrab

data CurveType

specifies how curves in the gamma widget (?) are drawn

data CurveType =CurveTypeFree
| CurveTypeLinear
| CurveTypeSpline

data DeleteType

editing option

data DeleteType =DeleteChars
| DeleteDisplayLineEnds
| DeleteDisplayLines
| DeleteParagraphEnds
| DeleteParagraphs
| DeleteWhitespace
| DeleteWordEnds
| DeleteWords

data DirectionType

editing direction

data DirectionType =DirDown
| DirLeft
| DirRight
| DirTabBackward
| DirTabForward
| DirUp

data Dither

Specify how to dither colors onto the screen.

data Dither =RgbDitherMax
| RgbDitherNone
| RgbDitherNormal

data EventMask

specify which events a widget will emit signals on

data EventMask =AllEventsMask
| Button1MotionMask
| Button2MotionMask
| Button3MotionMask
| ButtonMotionMask
| ButtonPressMask
| ButtonReleaseMask
| EnterNotifyMask
| ExposureMask
| FocusChangeMask
| KeyPressMask
| KeyReleaseMask
| LeaveNotifyMask
| PointerMotionHintMask
| PointerMotionMask
| PropertyChangeMask
| ProximityInMask
| ProximityOutMask
| ScrollMask
| StructureMask
| SubstructureMask
| VisibilityNotifyMask

data ExtensionMode

specify which input extension a widget desires

data ExtensionMode =ExtensionEventsAll
| ExtensionEventsCursor
| ExtensionEventsNone

data Fill

How objects are filled.

data Fill =OpaqueStippled
| Solid
| Stippled
| Tiled

data FillRule

Specify how to interpret a polygon.

data FillRule =EvenOddRule
| WindingRule

The flag determines what happens if a polygon has overlapping areas.

data Function

Determine how bitmap operations are carried out.

data Function =And
| AndInvert
| AndReverse
| Clear
| Copy
| CopyInvert
| Equiv
| Invert
| Nand
| Noop
| Nor
| Or
| OrInvert
| OrReverse
| Set
| Xor

data InputCondition

Specify on what file condition a callback should be done.

data InputCondition =InputException
| InputRead
| InputWrite

data JoinStyle

Determines how adjacent line ends are drawn.

data JoinStyle =JoinBevel
| JoinMiter
| JoinRound

data Justification

justification for label and maybe other widgets (text?)

data Justification =JustifyCenter
| JustifyFill
| JustifyLeft
| JustifyRight

data LineStyle

Determines if a line is solid or dashed.

data LineStyle =LineDoubleDash
| LineOnOffDash
| LineSolid

data MatchType

some kind of string search options

data MatchType =MatchAll
| MatchAllTail
| MatchExact
| MatchHead
| MatchLast
| MatchTail

data MenuDirectionType

From where was a menu item entered?

data MenuDirectionType =MenuDirChild
| MenuDirNext
| MenuDirParent
| MenuDirPrev

data MetricType

units of measure

data MetricType =Centimeters
| Inches
| Pixels

data MovementStep

movement in text widget

data MovementStep =MovementBufferEnds
| MovementDisplayLineEnds
| MovementDisplayLines
| MovementHorizontalPages
| MovementLogicalPositions
| MovementPages
| MovementParagraphEnds
| MovementParagraphs
| MovementVisualPositions
| MovementWords

data NotifyType

data NotifyType =NotifyAncestor
| NotifyInferior
| NotifyNonlinear
| NotifyNonlinearVirtual
| NotifyUnknown
| NotifyVirtual

data Orientation

orientation is good

data Orientation =OrientationHorizontal
| OrientationVertical

data OverlapType

How a rectangle is contained in a Region.

data OverlapType =OverlapRectangleIn
| OverlapRectangleOut
| OverlapRectanglePart

data PackType

data PackType =PackEnd
| PackStart

data Packing

packing parameters of a widget

data Packing =PackGrow
| PackNatural
| PackRepel

data PathPriorityType

priorities

data PathPriorityType =PathPrioApplication
| PathPrioGtk
| PathPrioHighest
| PathPrioLowest
| PathPrioRc
| PathPrioTheme

data PathType

widget identification path

data PathType =PathClass
| PathWidget
| PathWidgetClass

data PolicyType

Scrollbar policy types (for scrolled windows)

data PolicyType =PolicyAlways
| PolicyAutomatic
| PolicyNever

data PositionType

position a scale's value is drawn relative to the trough

data PositionType =PosBottom
| PosLeft
| PosRight
| PosTop

data ProgressBarOrientation

Is the ProgressBar horizontally or vertically directed?

data ProgressBarOrientation =ProgressBottomToTop
| ProgressLeftToRight
| ProgressRightToLeft
| ProgressTopToBottom

data ReliefStyle

I don't have a clue.

data ReliefStyle =ReliefHalf
| ReliefNone
| ReliefNormal

data ResizeMode

resize mode, for containers

data ResizeMode =ResizeImmediate
| ResizeParent
| ResizeQueue

ResizeParent Pass resize request to the parent

ResizeQueue Queue resizes on this widget

ResizeImmediate Perform the resizes now

data ScrollDirection

in which direction was scrolled?

data ScrollDirection =ScrollDown
| ScrollLeft
| ScrollRight
| ScrollUp

data ScrollType

scrolling type

data ScrollType =ScrollEnd
| ScrollJump
| ScrollNone
| ScrollPageBackward
| ScrollPageDown
| ScrollPageForward
| ScrollPageLeft
| ScrollPageRight
| ScrollPageUp
| ScrollStart
| ScrollStepBackward
| ScrollStepDown
| ScrollStepForward
| ScrollStepLeft
| ScrollStepRight
| ScrollStepUp

data SelectionMode

mode in which selections can be performed

data SelectionMode =SelectionBrowse
| SelectionMultiple
| SelectionNone
| SelectionSingle

There is a deprecated entry SelectionExtended which should have the same value as SelectionMultiple. C2HS chokes on that construct.

data ShadowType

shadow types

data ShadowType =ShadowEtchedIn
| ShadowEtchedOut
| ShadowIn
| ShadowNone
| ShadowOut

data SortType

data SortType =SortAscending
| SortDescending

data SpinButtonUpdatePolicy

Whether to clamp or ignore illegal values.

data SpinButtonUpdatePolicy =UpdateAlways
| UpdateIfValid

data SpinType

Spin a SpinButton with the following method.

data SpinType =SpinEnd
| SpinHome
| SpinPageBackward
| SpinPageForward
| SpinStepBackward
| SpinStepForward
| SpinUserDefined

data StateType

widget states

data StateType =StateActive
| StateInsensitive
| StateNormal
| StatePrelight
| StateSelected

data SubmenuDirection

Submenu direction policies

data SubmenuDirection =DirectionLeft
| DirectionRight

data SubmenuPlacement

Submenu placement policies

data SubmenuPlacement =LeftRight
| TopBottom

data SubwindowMode

Determine if child widget may be overdrawn.

data SubwindowMode =ClipByChildren
| IncludeInferiors

data TextDirection

Is the text written from left to right or the awkward way?

data TextDirection =TextDirLtr
| TextDirNone
| TextDirRtl

data TextSearchFlags

Specify the way the search function for TextBuffer works.

data TextSearchFlags =TextSearchTextOnly
| TextSearchVisibleOnly

data TextWindowType

The window type for coordinate translation.

data TextWindowType =TextWindowBottom
| TextWindowLeft
| TextWindowPrivate
| TextWindowRight
| TextWindowText
| TextWindowTop
| TextWindowWidget

data ToolbarStyle

Where to place the toolbar?

data ToolbarStyle =ToolbarBoth
| ToolbarBothHoriz
| ToolbarIcons
| ToolbarText

data TreeViewColumnSizing

Wether columns of a tree or list widget can be resized.

data TreeViewColumnSizing =TreeViewColumnAutosize
| TreeViewColumnFixed
| TreeViewColumnGrowOnly

data UpdateType

updating types for range widgets (determines when the onValueChanged signal is emitted by the widget)

data UpdateType =UpdateContinuous
| UpdateDelayed
| UpdateDiscontinuous

data Visibility

visibility

data Visibility =VisibilityFull
| VisibilityNone
| VisibilityPartial

data VisibilityState

visibility of a window

data VisibilityState =VisibilityFullyObscured
| VisibilityPartialObscured
| VisibilityUnobscured

data WindowPosition

window position types

data WindowPosition =WinPosCenter
| WinPosCenterAlways
| WinPosCenterOnParent
| WinPosMouse
| WinPosNone

data WindowState

the state a GDK window is in

data WindowState =WindowStateAbove
| WindowStateBelow
| WindowStateFullscreen
| WindowStateIconified
| WindowStateMaximized
| WindowStateSticky
| WindowStateWithdrawn

data WindowType

interaction of a window with window manager

data WindowType =WindowPopup
| WindowToplevel

data WrapMode

Determine how lines are wrapped in a TextView.

data WrapMode =WrapChar
| WrapNone
| WrapWord
| WrapWordChar