| Maintainer | gtk2hs-users@lists.sourceforge.net |
|---|---|
| Stability | provisional |
| Portability | portable (depends on GHC) |
| Safe Haskell | Safe |
| Language | Haskell98 |
Graphics.UI.Gtk.General.Enums
Description
General enumeration types.
Synopsis
- data AccelFlags
- data Align
- data ArrowType
- data AttachOptions
- data BaselinePosition
- data MouseButton
- data ButtonBoxStyle
- data CalendarDisplayOptions
- data Click
- data CornerType
- data DeleteType
- data DestDefaults
- data DragResult
- data DirectionType
- data Justification
- data LevelBarMode
- data MenuDirectionType
- data MovementStep
- data Orientation
- data Packing
- toPacking :: Bool -> Bool -> Packing
- fromPacking :: Packing -> (Bool, Bool)
- data PackType
- data PathPriorityType
- data PathType
- data PolicyType
- data PositionType
- data ReliefStyle
- data ResizeMode
- data ScrollType
- data ScrollStep
- data SelectionMode
- data ShadowType
- data StateFlags
- data SortType
- data StateType
- data SpinButtonUpdatePolicy
- data SpinType
- data TargetFlags
- data TextDirection
- data TextSearchFlags
- data TextWindowType
- data ToolbarStyle
- data TreeViewColumnSizing
- data WindowPosition
- data WindowType
- data WrapMode
- data EntryIconPosition
- data StackTransitionType
- = StackTransitionTypeNone
- | StackTransitionTypeCrossfade
- | StackTransitionTypeSlideRight
- | StackTransitionTypeSlideLeft
- | StackTransitionTypeSlideUp
- | StackTransitionTypeSlideDown
- | StackTransitionTypeSlideLeftRight
- | StackTransitionTypeSlideUpDown
- | StackTransitionTypeOverUp
- | StackTransitionTypeOverDown
- | StackTransitionTypeOverLeft
- | StackTransitionTypeOverRight
- | StackTransitionTypeUnderUp
- | StackTransitionTypeUnderDown
- | StackTransitionTypeUnderLeft
- | StackTransitionTypeUnderRight
- | StackTransitionTypeOverUpDown
- | StackTransitionTypeOverDownUp
- | StackTransitionTypeOverLeftRight
- | StackTransitionTypeOverRightLeft
- data CrossingMode
- data DragProtocol
- data DragAction
- data EventMask
- = ExposureMask
- | PointerMotionMask
- | PointerMotionHintMask
- | ButtonMotionMask
- | Button1MotionMask
- | Button2MotionMask
- | Button3MotionMask
- | ButtonPressMask
- | ButtonReleaseMask
- | KeyPressMask
- | KeyReleaseMask
- | EnterNotifyMask
- | LeaveNotifyMask
- | FocusChangeMask
- | StructureMask
- | PropertyChangeMask
- | VisibilityNotifyMask
- | ProximityInMask
- | ProximityOutMask
- | SubstructureMask
- | ScrollMask
- | TouchMask
- | SmoothScrollMask
- | TouchpadGestureMask
- | TabletPadMask
- | AllEventsMask
- data Modifier
- = Shift
- | Lock
- | Control
- | Alt
- | Alt2
- | Alt3
- | Alt4
- | Alt5
- | Button1
- | Button2
- | Button3
- | Button4
- | Button5
- | MODIFIER_RESERVED_13_MASK
- | MODIFIER_RESERVED_14_MASK
- | MODIFIER_RESERVED_15_MASK
- | MODIFIER_RESERVED_16_MASK
- | MODIFIER_RESERVED_17_MASK
- | MODIFIER_RESERVED_18_MASK
- | MODIFIER_RESERVED_19_MASK
- | MODIFIER_RESERVED_20_MASK
- | MODIFIER_RESERVED_21_MASK
- | MODIFIER_RESERVED_22_MASK
- | MODIFIER_RESERVED_23_MASK
- | MODIFIER_RESERVED_24_MASK
- | MODIFIER_RESERVED_25_MASK
- | Super
- | Hyper
- | Meta
- | MODIFIER_RESERVED_29_MASK
- | Release
- | ModifierMask
- data ModifierIntent
- data NotifyType
- data ScrollDirection
- data VisibilityState
- data WindowState
- = WindowStateWithdrawn
- | WindowStateIconified
- | WindowStateMaximized
- | WindowStateSticky
- | WindowStateFullscreen
- | WindowStateAbove
- | WindowStateBelow
- | WindowStateFocused
- | WindowStateTiled
- | WindowStateTopTiled
- | WindowStateTopResizable
- | WindowStateRightTiled
- | WindowStateRightResizable
- | WindowStateBottomTiled
- | WindowStateBottomResizable
- | WindowStateLeftTiled
- | WindowStateLeftResizable
- data WindowEdge
- data WindowTypeHint
- = WindowTypeHintNormal
- | WindowTypeHintDialog
- | WindowTypeHintMenu
- | WindowTypeHintToolbar
- | WindowTypeHintSplashscreen
- | WindowTypeHintUtility
- | WindowTypeHintDock
- | WindowTypeHintDesktop
- | WindowTypeHintDropdownMenu
- | WindowTypeHintPopupMenu
- | WindowTypeHintTooltip
- | WindowTypeHintNotification
- | WindowTypeHintCombo
- | WindowTypeHintDnd
- data Gravity
- data GrabStatus
- data OwnerChange
Documentation
data AccelFlags #
State of an accelerator
Constructors
| AccelVisible | |
| AccelLocked | |
| AccelMask |
Instances
| Bounded AccelFlags # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Enum AccelFlags # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: AccelFlags -> AccelFlags # pred :: AccelFlags -> AccelFlags # toEnum :: Int -> AccelFlags # fromEnum :: AccelFlags -> Int # enumFrom :: AccelFlags -> [AccelFlags] # enumFromThen :: AccelFlags -> AccelFlags -> [AccelFlags] # enumFromTo :: AccelFlags -> AccelFlags -> [AccelFlags] # enumFromThenTo :: AccelFlags -> AccelFlags -> AccelFlags -> [AccelFlags] # | |
| Eq AccelFlags # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show AccelFlags # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> AccelFlags -> ShowS # show :: AccelFlags -> String # showList :: [AccelFlags] -> ShowS # | |
| Flags AccelFlags # | |
Defined in Graphics.UI.Gtk.General.Enums | |
State of an accelerator
Constructors
| AlignFill | |
| AlignStart | |
| AlignEnd | |
| AlignCenter | |
| AlignBaseline |
Arrow directions for the arrow widget
Constructors
| ArrowUp | |
| ArrowDown | |
| ArrowLeft | |
| ArrowRight | |
| ArrowNone |
Instances
| Enum ArrowType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: ArrowType -> ArrowType # pred :: ArrowType -> ArrowType # fromEnum :: ArrowType -> Int # enumFrom :: ArrowType -> [ArrowType] # enumFromThen :: ArrowType -> ArrowType -> [ArrowType] # enumFromTo :: ArrowType -> ArrowType -> [ArrowType] # enumFromThenTo :: ArrowType -> ArrowType -> ArrowType -> [ArrowType] # | |
| Eq ArrowType # | |
| Show ArrowType # | |
data AttachOptions #
Child widget attach options for table containers
Instances
| Bounded AttachOptions # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Enum AttachOptions # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: AttachOptions -> AttachOptions # pred :: AttachOptions -> AttachOptions # toEnum :: Int -> AttachOptions # fromEnum :: AttachOptions -> Int # enumFrom :: AttachOptions -> [AttachOptions] # enumFromThen :: AttachOptions -> AttachOptions -> [AttachOptions] # enumFromTo :: AttachOptions -> AttachOptions -> [AttachOptions] # enumFromThenTo :: AttachOptions -> AttachOptions -> AttachOptions -> [AttachOptions] # | |
| Eq AttachOptions # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: AttachOptions -> AttachOptions -> Bool # (/=) :: AttachOptions -> AttachOptions -> Bool # | |
| Show AttachOptions # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> AttachOptions -> ShowS # show :: AttachOptions -> String # showList :: [AttachOptions] -> ShowS # | |
| Flags AttachOptions # | |
Defined in Graphics.UI.Gtk.General.Enums | |
data BaselinePosition #
Whenever a container has some form of natural row it may align children in that row along a common typographical baseline. If the amount of verical space in the row is taller than the total requested height of the baseline-aligned children then it can use a BaselinePosition to select where to put the baseline inside the extra availible space.
Instances
| Enum BaselinePosition # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: BaselinePosition -> BaselinePosition # pred :: BaselinePosition -> BaselinePosition # toEnum :: Int -> BaselinePosition # fromEnum :: BaselinePosition -> Int # enumFrom :: BaselinePosition -> [BaselinePosition] # enumFromThen :: BaselinePosition -> BaselinePosition -> [BaselinePosition] # enumFromTo :: BaselinePosition -> BaselinePosition -> [BaselinePosition] # enumFromThenTo :: BaselinePosition -> BaselinePosition -> BaselinePosition -> [BaselinePosition] # | |
| Eq BaselinePosition # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: BaselinePosition -> BaselinePosition -> Bool # (/=) :: BaselinePosition -> BaselinePosition -> Bool # | |
| Show BaselinePosition # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> BaselinePosition -> ShowS # show :: BaselinePosition -> String # showList :: [BaselinePosition] -> ShowS # | |
data MouseButton #
Mouse buttons.
Constructors
| LeftButton | |
| MiddleButton | |
| RightButton | |
| OtherButton Int |
Instances
| Enum MouseButton # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: MouseButton -> MouseButton # pred :: MouseButton -> MouseButton # toEnum :: Int -> MouseButton # fromEnum :: MouseButton -> Int # enumFrom :: MouseButton -> [MouseButton] # enumFromThen :: MouseButton -> MouseButton -> [MouseButton] # enumFromTo :: MouseButton -> MouseButton -> [MouseButton] # enumFromThenTo :: MouseButton -> MouseButton -> MouseButton -> [MouseButton] # | |
| Eq MouseButton # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show MouseButton # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> MouseButton -> ShowS # show :: MouseButton -> String # showList :: [MouseButton] -> ShowS # | |
data ButtonBoxStyle #
Dictate the style that a ButtonBox uses to align it contents
Constructors
| ButtonboxSpread | |
| ButtonboxEdge | |
| ButtonboxStart | |
| ButtonboxEnd | |
| ButtonboxCenter | |
| ButtonboxExpand |
Instances
| Enum ButtonBoxStyle # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: ButtonBoxStyle -> ButtonBoxStyle # pred :: ButtonBoxStyle -> ButtonBoxStyle # toEnum :: Int -> ButtonBoxStyle # fromEnum :: ButtonBoxStyle -> Int # enumFrom :: ButtonBoxStyle -> [ButtonBoxStyle] # enumFromThen :: ButtonBoxStyle -> ButtonBoxStyle -> [ButtonBoxStyle] # enumFromTo :: ButtonBoxStyle -> ButtonBoxStyle -> [ButtonBoxStyle] # enumFromThenTo :: ButtonBoxStyle -> ButtonBoxStyle -> ButtonBoxStyle -> [ButtonBoxStyle] # | |
| Eq ButtonBoxStyle # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: ButtonBoxStyle -> ButtonBoxStyle -> Bool # (/=) :: ButtonBoxStyle -> ButtonBoxStyle -> Bool # | |
| Show ButtonBoxStyle # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ButtonBoxStyle -> ShowS # show :: ButtonBoxStyle -> String # showList :: [ButtonBoxStyle] -> ShowS # | |
data CalendarDisplayOptions #
Specify which items of a calendar should be displayed.
Constructors
| CalendarShowHeading | |
| CalendarShowDayNames | |
| CalendarNoMonthChange | |
| CalendarShowWeekNumbers | |
| CalendarShowDetails |
Instances
Type of mouse click
Constructors
| SingleClick | |
| DoubleClick | |
| TripleClick | |
| ReleaseClick |
data CornerType #
Specifies in which corner a child widget should be placed
Constructors
| CornerTopLeft | |
| CornerBottomLeft | |
| CornerTopRight | |
| CornerBottomRight |
Instances
| Enum CornerType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: CornerType -> CornerType # pred :: CornerType -> CornerType # toEnum :: Int -> CornerType # fromEnum :: CornerType -> Int # enumFrom :: CornerType -> [CornerType] # enumFromThen :: CornerType -> CornerType -> [CornerType] # enumFromTo :: CornerType -> CornerType -> [CornerType] # enumFromThenTo :: CornerType -> CornerType -> CornerType -> [CornerType] # | |
| Eq CornerType # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show CornerType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> CornerType -> ShowS # show :: CornerType -> String # showList :: [CornerType] -> ShowS # | |
data DeleteType #
Editing option
Constructors
| DeleteChars | |
| DeleteWordEnds | |
| DeleteWords | |
| DeleteDisplayLines | |
| DeleteDisplayLineEnds | |
| DeleteParagraphEnds | |
| DeleteParagraphs | |
| DeleteWhitespace |
Instances
| Enum DeleteType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: DeleteType -> DeleteType # pred :: DeleteType -> DeleteType # toEnum :: Int -> DeleteType # fromEnum :: DeleteType -> Int # enumFrom :: DeleteType -> [DeleteType] # enumFromThen :: DeleteType -> DeleteType -> [DeleteType] # enumFromTo :: DeleteType -> DeleteType -> [DeleteType] # enumFromThenTo :: DeleteType -> DeleteType -> DeleteType -> [DeleteType] # | |
| Eq DeleteType # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show DeleteType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> DeleteType -> ShowS # show :: DeleteType -> String # showList :: [DeleteType] -> ShowS # | |
data DestDefaults #
The DestDefaults enumeration specifies the various types of action that
will be taken on behalf of the user for a drag destination site.
DestDefaultMotion: If set for a widget, GTK+, during a drag over this widget will check if the drag matches this widget's list of possible targets and actions. GTK+ will then calldragStatusas appropriate.DestDefaultHighlight: If set for a widget, GTK+ will draw a highlight on this widget as long as a drag is over this widget and the widget drag format and action are acceptable.DestDefaultDrop: If set for a widget, when a drop occurs, GTK+ will will check if the drag matches this widget's list of possible targets and actions. If so, GTK+ will calldragGetDataon behalf of the widget. Whether or not the drop is successful, GTK+ will calldragFinish. If the action was a move, then if the drag was successful, thenTruewill be passed for the delete parameter todragFinishDestDefaultAll: If set, specifies that all default actions should be taken.
Instances
data DragResult #
Constructors
| DragResultSuccess | |
| DragResultNoTarget | |
| DragResultUserCancelled | |
| DragResultTimeoutExpired | |
| DragResultGrabBroken | |
| DragResultError |
Instances
| Bounded DragResult # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Enum DragResult # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: DragResult -> DragResult # pred :: DragResult -> DragResult # toEnum :: Int -> DragResult # fromEnum :: DragResult -> Int # enumFrom :: DragResult -> [DragResult] # enumFromThen :: DragResult -> DragResult -> [DragResult] # enumFromTo :: DragResult -> DragResult -> [DragResult] # enumFromThenTo :: DragResult -> DragResult -> DragResult -> [DragResult] # | |
| Eq DragResult # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show DragResult # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> DragResult -> ShowS # show :: DragResult -> String # showList :: [DragResult] -> ShowS # | |
data DirectionType #
Editing direction
Constructors
| DirTabForward | |
| DirTabBackward | |
| DirUp | |
| DirDown | |
| DirLeft | |
| DirRight |
Instances
| Enum DirectionType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: DirectionType -> DirectionType # pred :: DirectionType -> DirectionType # toEnum :: Int -> DirectionType # fromEnum :: DirectionType -> Int # enumFrom :: DirectionType -> [DirectionType] # enumFromThen :: DirectionType -> DirectionType -> [DirectionType] # enumFromTo :: DirectionType -> DirectionType -> [DirectionType] # enumFromThenTo :: DirectionType -> DirectionType -> DirectionType -> [DirectionType] # | |
| Eq DirectionType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: DirectionType -> DirectionType -> Bool # (/=) :: DirectionType -> DirectionType -> Bool # | |
| Show DirectionType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> DirectionType -> ShowS # show :: DirectionType -> String # showList :: [DirectionType] -> ShowS # | |
data Justification #
Justification for label and maybe other widgets (text?)
Constructors
| JustifyLeft | |
| JustifyRight | |
| JustifyCenter | |
| JustifyFill |
Instances
| Enum Justification # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: Justification -> Justification # pred :: Justification -> Justification # toEnum :: Int -> Justification # fromEnum :: Justification -> Int # enumFrom :: Justification -> [Justification] # enumFromThen :: Justification -> Justification -> [Justification] # enumFromTo :: Justification -> Justification -> [Justification] # enumFromThenTo :: Justification -> Justification -> Justification -> [Justification] # | |
| Eq Justification # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: Justification -> Justification -> Bool # (/=) :: Justification -> Justification -> Bool # | |
| Show Justification # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> Justification -> ShowS # show :: Justification -> String # showList :: [Justification] -> ShowS # | |
data LevelBarMode #
Constructors
| LevelBarModeContinuous | |
| LevelBarModeDiscrete |
Instances
| Enum LevelBarMode # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: LevelBarMode -> LevelBarMode # pred :: LevelBarMode -> LevelBarMode # toEnum :: Int -> LevelBarMode # fromEnum :: LevelBarMode -> Int # enumFrom :: LevelBarMode -> [LevelBarMode] # enumFromThen :: LevelBarMode -> LevelBarMode -> [LevelBarMode] # enumFromTo :: LevelBarMode -> LevelBarMode -> [LevelBarMode] # enumFromThenTo :: LevelBarMode -> LevelBarMode -> LevelBarMode -> [LevelBarMode] # | |
| Eq LevelBarMode # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show LevelBarMode # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> LevelBarMode -> ShowS # show :: LevelBarMode -> String # showList :: [LevelBarMode] -> ShowS # | |
data MenuDirectionType #
From where was a menu item entered?
Constructors
| MenuDirParent | |
| MenuDirChild | |
| MenuDirNext | |
| MenuDirPrev |
Instances
| Enum MenuDirectionType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: MenuDirectionType -> MenuDirectionType # pred :: MenuDirectionType -> MenuDirectionType # toEnum :: Int -> MenuDirectionType # fromEnum :: MenuDirectionType -> Int # enumFrom :: MenuDirectionType -> [MenuDirectionType] # enumFromThen :: MenuDirectionType -> MenuDirectionType -> [MenuDirectionType] # enumFromTo :: MenuDirectionType -> MenuDirectionType -> [MenuDirectionType] # enumFromThenTo :: MenuDirectionType -> MenuDirectionType -> MenuDirectionType -> [MenuDirectionType] # | |
| Eq MenuDirectionType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: MenuDirectionType -> MenuDirectionType -> Bool # (/=) :: MenuDirectionType -> MenuDirectionType -> Bool # | |
| Show MenuDirectionType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> MenuDirectionType -> ShowS # show :: MenuDirectionType -> String # showList :: [MenuDirectionType] -> ShowS # | |
data MovementStep #
Movement in text widget
Constructors
Instances
| Enum MovementStep # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: MovementStep -> MovementStep # pred :: MovementStep -> MovementStep # toEnum :: Int -> MovementStep # fromEnum :: MovementStep -> Int # enumFrom :: MovementStep -> [MovementStep] # enumFromThen :: MovementStep -> MovementStep -> [MovementStep] # enumFromTo :: MovementStep -> MovementStep -> [MovementStep] # enumFromThenTo :: MovementStep -> MovementStep -> MovementStep -> [MovementStep] # | |
| Eq MovementStep # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show MovementStep # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> MovementStep -> ShowS # show :: MovementStep -> String # showList :: [MovementStep] -> ShowS # | |
data Orientation #
Orientation is good
Constructors
| OrientationHorizontal | |
| OrientationVertical |
Instances
| Enum Orientation # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: Orientation -> Orientation # pred :: Orientation -> Orientation # toEnum :: Int -> Orientation # fromEnum :: Orientation -> Int # enumFrom :: Orientation -> [Orientation] # enumFromThen :: Orientation -> Orientation -> [Orientation] # enumFromTo :: Orientation -> Orientation -> [Orientation] # enumFromThenTo :: Orientation -> Orientation -> Orientation -> [Orientation] # | |
| Eq Orientation # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show Orientation # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> Orientation -> ShowS # show :: Orientation -> String # showList :: [Orientation] -> ShowS # | |
Packing parameters of a widget
- The
Packingparameter determines how the child behaves in the horizontal or vertical way in anHBoxorVBox, respectively.PackNaturalmeans the child is as big as it requests. It will stay at the start or end of aBoxif there is more space available. All children packed withPackRepelwill be padded on both sides with additional space.PackGrowwill increase the size of a widget so that it covers the available space. A menu bar, for instance, should always stay at the top of a window and should only occupy as little space as possible. Hence it should be packed at the start of aVBoxwith the packing optionPackNatural. The working area of a window (e.g. the text area in an editor) should expand when the window is resized. Here the packing optionPackGrowis the right choice and it is irrelevant whether the main area is inserted at the start or the end of a box. FinallyPackRepelis most useful in a window where no widget can make use of excess space. Examples include a dialog box without list boxes or text fields.
Constructors
| PackRepel | |
| PackGrow | |
| PackNatural |
fromPacking :: Packing -> (Bool, Bool) #
Packing of widgets at start or end in a box
Instances
| Enum PackType # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Eq PackType # | |
| Show PackType # | |
data PathPriorityType #
Priorities
Instances
| Enum PathPriorityType # | Scrollbar policy types (for scrolled windows) |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: PathPriorityType -> PathPriorityType # pred :: PathPriorityType -> PathPriorityType # toEnum :: Int -> PathPriorityType # fromEnum :: PathPriorityType -> Int # enumFrom :: PathPriorityType -> [PathPriorityType] # enumFromThen :: PathPriorityType -> PathPriorityType -> [PathPriorityType] # enumFromTo :: PathPriorityType -> PathPriorityType -> [PathPriorityType] # enumFromThenTo :: PathPriorityType -> PathPriorityType -> PathPriorityType -> [PathPriorityType] # | |
| Eq PathPriorityType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: PathPriorityType -> PathPriorityType -> Bool # (/=) :: PathPriorityType -> PathPriorityType -> Bool # | |
| Show PathPriorityType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> PathPriorityType -> ShowS # show :: PathPriorityType -> String # showList :: [PathPriorityType] -> ShowS # | |
Widget identification path
Constructors
| PathWidget | |
| PathWidgetClass | |
| PathClass |
Instances
| Enum PathType # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Eq PathType # | |
| Show PathType # | |
data PolicyType #
Constructors
| PolicyAlways | |
| PolicyAutomatic | |
| PolicyNever | |
| PolicyExternal |
Instances
| Enum PolicyType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: PolicyType -> PolicyType # pred :: PolicyType -> PolicyType # toEnum :: Int -> PolicyType # fromEnum :: PolicyType -> Int # enumFrom :: PolicyType -> [PolicyType] # enumFromThen :: PolicyType -> PolicyType -> [PolicyType] # enumFromTo :: PolicyType -> PolicyType -> [PolicyType] # enumFromThenTo :: PolicyType -> PolicyType -> PolicyType -> [PolicyType] # | |
| Eq PolicyType # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show PolicyType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> PolicyType -> ShowS # show :: PolicyType -> String # showList :: [PolicyType] -> ShowS # | |
data PositionType #
Position a scale's value is drawn relative to the trough
Instances
| Enum PositionType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: PositionType -> PositionType # pred :: PositionType -> PositionType # toEnum :: Int -> PositionType # fromEnum :: PositionType -> Int # enumFrom :: PositionType -> [PositionType] # enumFromThen :: PositionType -> PositionType -> [PositionType] # enumFromTo :: PositionType -> PositionType -> [PositionType] # enumFromThenTo :: PositionType -> PositionType -> PositionType -> [PositionType] # | |
| Eq PositionType # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show PositionType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> PositionType -> ShowS # show :: PositionType -> String # showList :: [PositionType] -> ShowS # | |
data ReliefStyle #
I don't have a clue.
Constructors
| ReliefNormal | |
| ReliefHalf | |
| ReliefNone |
Instances
| Enum ReliefStyle # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: ReliefStyle -> ReliefStyle # pred :: ReliefStyle -> ReliefStyle # toEnum :: Int -> ReliefStyle # fromEnum :: ReliefStyle -> Int # enumFrom :: ReliefStyle -> [ReliefStyle] # enumFromThen :: ReliefStyle -> ReliefStyle -> [ReliefStyle] # enumFromTo :: ReliefStyle -> ReliefStyle -> [ReliefStyle] # enumFromThenTo :: ReliefStyle -> ReliefStyle -> ReliefStyle -> [ReliefStyle] # | |
| Eq ReliefStyle # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show ReliefStyle # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ReliefStyle -> ShowS # show :: ReliefStyle -> String # showList :: [ReliefStyle] -> ShowS # | |
data ResizeMode #
Resize mode, for containers
ResizeParentPass resize request to the parentResizeQueueQueue resizes on this widgetResizeImmediatePerform the resizes now
Constructors
| ResizeParent | |
| ResizeQueue | |
| ResizeImmediate |
Instances
| Enum ResizeMode # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: ResizeMode -> ResizeMode # pred :: ResizeMode -> ResizeMode # toEnum :: Int -> ResizeMode # fromEnum :: ResizeMode -> Int # enumFrom :: ResizeMode -> [ResizeMode] # enumFromThen :: ResizeMode -> ResizeMode -> [ResizeMode] # enumFromTo :: ResizeMode -> ResizeMode -> [ResizeMode] # enumFromThenTo :: ResizeMode -> ResizeMode -> ResizeMode -> [ResizeMode] # | |
| Eq ResizeMode # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show ResizeMode # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ResizeMode -> ShowS # show :: ResizeMode -> String # showList :: [ResizeMode] -> ShowS # | |
data ScrollType #
Scrolling type
Constructors
Instances
| Enum ScrollType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: ScrollType -> ScrollType # pred :: ScrollType -> ScrollType # toEnum :: Int -> ScrollType # fromEnum :: ScrollType -> Int # enumFrom :: ScrollType -> [ScrollType] # enumFromThen :: ScrollType -> ScrollType -> [ScrollType] # enumFromTo :: ScrollType -> ScrollType -> [ScrollType] # enumFromThenTo :: ScrollType -> ScrollType -> ScrollType -> [ScrollType] # | |
| Eq ScrollType # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show ScrollType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ScrollType -> ShowS # show :: ScrollType -> String # showList :: [ScrollType] -> ShowS # | |
data ScrollStep #
Scrolling step
Constructors
| ScrollSteps | |
| ScrollPages | |
| ScrollEnds | |
| ScrollHorizontalSteps | |
| ScrollHorizontalPages | |
| ScrollHorizontalEnds |
Instances
| Enum ScrollStep # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: ScrollStep -> ScrollStep # pred :: ScrollStep -> ScrollStep # toEnum :: Int -> ScrollStep # fromEnum :: ScrollStep -> Int # enumFrom :: ScrollStep -> [ScrollStep] # enumFromThen :: ScrollStep -> ScrollStep -> [ScrollStep] # enumFromTo :: ScrollStep -> ScrollStep -> [ScrollStep] # enumFromThenTo :: ScrollStep -> ScrollStep -> ScrollStep -> [ScrollStep] # | |
| Eq ScrollStep # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show ScrollStep # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ScrollStep -> ShowS # show :: ScrollStep -> String # showList :: [ScrollStep] -> ShowS # | |
data SelectionMode #
Mode in which selections can be performed
- There is a deprecated entry SelectionExtended which should have the same value as SelectionMultiple. C2HS chokes on that construct.
Constructors
| SelectionNone | |
| SelectionSingle | |
| SelectionBrowse | |
| SelectionMultiple |
Instances
| Enum SelectionMode # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: SelectionMode -> SelectionMode # pred :: SelectionMode -> SelectionMode # toEnum :: Int -> SelectionMode # fromEnum :: SelectionMode -> Int # enumFrom :: SelectionMode -> [SelectionMode] # enumFromThen :: SelectionMode -> SelectionMode -> [SelectionMode] # enumFromTo :: SelectionMode -> SelectionMode -> [SelectionMode] # enumFromThenTo :: SelectionMode -> SelectionMode -> SelectionMode -> [SelectionMode] # | |
| Eq SelectionMode # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: SelectionMode -> SelectionMode -> Bool # (/=) :: SelectionMode -> SelectionMode -> Bool # | |
| Show SelectionMode # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> SelectionMode -> ShowS # show :: SelectionMode -> String # showList :: [SelectionMode] -> ShowS # | |
data ShadowType #
Shadow types
Constructors
| ShadowNone | |
| ShadowIn | |
| ShadowOut | |
| ShadowEtchedIn | |
| ShadowEtchedOut |
Instances
| Enum ShadowType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: ShadowType -> ShadowType # pred :: ShadowType -> ShadowType # toEnum :: Int -> ShadowType # fromEnum :: ShadowType -> Int # enumFrom :: ShadowType -> [ShadowType] # enumFromThen :: ShadowType -> ShadowType -> [ShadowType] # enumFromTo :: ShadowType -> ShadowType -> [ShadowType] # enumFromThenTo :: ShadowType -> ShadowType -> ShadowType -> [ShadowType] # | |
| Eq ShadowType # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show ShadowType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ShadowType -> ShowS # show :: ShadowType -> String # showList :: [ShadowType] -> ShowS # | |
data StateFlags #
Describes a widget state. Widget states are used to match the widget against CSS pseudo-classes. Note that GTK extends the regular CSS classes and sometimes uses different names.
Constructors
Instances
| Bounded StateFlags # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Enum StateFlags # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: StateFlags -> StateFlags # pred :: StateFlags -> StateFlags # toEnum :: Int -> StateFlags # fromEnum :: StateFlags -> Int # enumFrom :: StateFlags -> [StateFlags] # enumFromThen :: StateFlags -> StateFlags -> [StateFlags] # enumFromTo :: StateFlags -> StateFlags -> [StateFlags] # enumFromThenTo :: StateFlags -> StateFlags -> StateFlags -> [StateFlags] # | |
| Eq StateFlags # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show StateFlags # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> StateFlags -> ShowS # show :: StateFlags -> String # showList :: [StateFlags] -> ShowS # | |
| Flags StateFlags # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Constructors
| SortAscending | |
| SortDescending |
Instances
| Enum SortType # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Eq SortType # | |
| Show SortType # | |
Widget states
Constructors
| StateNormal | |
| StateActive | |
| StatePrelight | |
| StateSelected | |
| StateInsensitive | |
| StateInconsistent | |
| StateFocused |
Instances
| Enum StateType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: StateType -> StateType # pred :: StateType -> StateType # fromEnum :: StateType -> Int # enumFrom :: StateType -> [StateType] # enumFromThen :: StateType -> StateType -> [StateType] # enumFromTo :: StateType -> StateType -> [StateType] # enumFromThenTo :: StateType -> StateType -> StateType -> [StateType] # | |
| Eq StateType # | |
| Show StateType # | |
data SpinButtonUpdatePolicy #
Whether to clamp or ignore illegal values.
Constructors
| UpdateAlways | |
| UpdateIfValid |
Instances
Spin a SpinButton with the following method.
Constructors
| SpinStepForward | |
| SpinStepBackward | |
| SpinPageForward | |
| SpinPageBackward | |
| SpinHome | |
| SpinEnd | |
| SpinUserDefined |
Instances
| Enum SpinType # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Eq SpinType # | |
| Show SpinType # | |
data TargetFlags #
The TargetFlags enumeration is used to specify constraints on an entry
in a TargetList. These flags are only
used for drag and drop.
- If the
TargetSameAppflag is set, the target will only be selected for drags within a single application. - If the
TargetSameWidgetflag is set, the target will only be selected for drags within a single widget.
Constructors
| TargetSameApp | |
| TargetSameWidget | |
| TargetOtherApp | |
| TargetOtherWidget |
Instances
| Bounded TargetFlags # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Enum TargetFlags # | Is the text written from left to right or the exotic way? |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: TargetFlags -> TargetFlags # pred :: TargetFlags -> TargetFlags # toEnum :: Int -> TargetFlags # fromEnum :: TargetFlags -> Int # enumFrom :: TargetFlags -> [TargetFlags] # enumFromThen :: TargetFlags -> TargetFlags -> [TargetFlags] # enumFromTo :: TargetFlags -> TargetFlags -> [TargetFlags] # enumFromThenTo :: TargetFlags -> TargetFlags -> TargetFlags -> [TargetFlags] # | |
| Eq TargetFlags # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show TargetFlags # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> TargetFlags -> ShowS # show :: TargetFlags -> String # showList :: [TargetFlags] -> ShowS # | |
| Flags TargetFlags # | |
Defined in Graphics.UI.Gtk.General.Enums | |
data TextDirection #
Constructors
| TextDirNone | |
| TextDirLtr | |
| TextDirRtl |
Instances
| Enum TextDirection # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: TextDirection -> TextDirection # pred :: TextDirection -> TextDirection # toEnum :: Int -> TextDirection # fromEnum :: TextDirection -> Int # enumFrom :: TextDirection -> [TextDirection] # enumFromThen :: TextDirection -> TextDirection -> [TextDirection] # enumFromTo :: TextDirection -> TextDirection -> [TextDirection] # enumFromThenTo :: TextDirection -> TextDirection -> TextDirection -> [TextDirection] # | |
| Eq TextDirection # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: TextDirection -> TextDirection -> Bool # (/=) :: TextDirection -> TextDirection -> Bool # | |
| Show TextDirection # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> TextDirection -> ShowS # show :: TextDirection -> String # showList :: [TextDirection] -> ShowS # | |
data TextSearchFlags #
Specify the way the search function for
TextBuffer works.
Instances
data TextWindowType #
Constructors
| TextWindowPrivate | |
| TextWindowWidget | |
| TextWindowText | |
| TextWindowLeft | |
| TextWindowRight | |
| TextWindowTop | |
| TextWindowBottom |
Instances
| Enum TextWindowType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: TextWindowType -> TextWindowType # pred :: TextWindowType -> TextWindowType # toEnum :: Int -> TextWindowType # fromEnum :: TextWindowType -> Int # enumFrom :: TextWindowType -> [TextWindowType] # enumFromThen :: TextWindowType -> TextWindowType -> [TextWindowType] # enumFromTo :: TextWindowType -> TextWindowType -> [TextWindowType] # enumFromThenTo :: TextWindowType -> TextWindowType -> TextWindowType -> [TextWindowType] # | |
| Eq TextWindowType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: TextWindowType -> TextWindowType -> Bool # (/=) :: TextWindowType -> TextWindowType -> Bool # | |
| Show TextWindowType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> TextWindowType -> ShowS # show :: TextWindowType -> String # showList :: [TextWindowType] -> ShowS # | |
data ToolbarStyle #
Where to place the toolbar?
Constructors
| ToolbarIcons | |
| ToolbarText | |
| ToolbarBoth | |
| ToolbarBothHoriz |
Instances
| Enum ToolbarStyle # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: ToolbarStyle -> ToolbarStyle # pred :: ToolbarStyle -> ToolbarStyle # toEnum :: Int -> ToolbarStyle # fromEnum :: ToolbarStyle -> Int # enumFrom :: ToolbarStyle -> [ToolbarStyle] # enumFromThen :: ToolbarStyle -> ToolbarStyle -> [ToolbarStyle] # enumFromTo :: ToolbarStyle -> ToolbarStyle -> [ToolbarStyle] # enumFromThenTo :: ToolbarStyle -> ToolbarStyle -> ToolbarStyle -> [ToolbarStyle] # | |
| Eq ToolbarStyle # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show ToolbarStyle # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ToolbarStyle -> ShowS # show :: ToolbarStyle -> String # showList :: [ToolbarStyle] -> ShowS # | |
data TreeViewColumnSizing #
Wether columns of a tree or list widget can be resized.
Instances
data WindowPosition #
Window position types
Instances
| Enum WindowPosition # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: WindowPosition -> WindowPosition # pred :: WindowPosition -> WindowPosition # toEnum :: Int -> WindowPosition # fromEnum :: WindowPosition -> Int # enumFrom :: WindowPosition -> [WindowPosition] # enumFromThen :: WindowPosition -> WindowPosition -> [WindowPosition] # enumFromTo :: WindowPosition -> WindowPosition -> [WindowPosition] # enumFromThenTo :: WindowPosition -> WindowPosition -> WindowPosition -> [WindowPosition] # | |
| Eq WindowPosition # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: WindowPosition -> WindowPosition -> Bool # (/=) :: WindowPosition -> WindowPosition -> Bool # | |
| Show WindowPosition # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> WindowPosition -> ShowS # show :: WindowPosition -> String # showList :: [WindowPosition] -> ShowS # | |
data WindowType #
Interaction of a window with window manager
Constructors
| WindowToplevel | |
| WindowPopup |
Instances
| Enum WindowType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: WindowType -> WindowType # pred :: WindowType -> WindowType # toEnum :: Int -> WindowType # fromEnum :: WindowType -> Int # enumFrom :: WindowType -> [WindowType] # enumFromThen :: WindowType -> WindowType -> [WindowType] # enumFromTo :: WindowType -> WindowType -> [WindowType] # enumFromThenTo :: WindowType -> WindowType -> WindowType -> [WindowType] # | |
| Eq WindowType # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show WindowType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> WindowType -> ShowS # show :: WindowType -> String # showList :: [WindowType] -> ShowS # | |
Determine how lines are wrapped in a TextView.
Constructors
| WrapNone | |
| WrapChar | |
| WrapWord | |
| WrapWordChar |
Instances
| Enum WrapMode # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Eq WrapMode # | |
| Show WrapMode # | |
data EntryIconPosition #
Specifies the side of the entry at which an icon is placed.
Constructors
| EntryIconPrimary | |
| EntryIconSecondary |
Instances
| Enum EntryIconPosition # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: EntryIconPosition -> EntryIconPosition # pred :: EntryIconPosition -> EntryIconPosition # toEnum :: Int -> EntryIconPosition # fromEnum :: EntryIconPosition -> Int # enumFrom :: EntryIconPosition -> [EntryIconPosition] # enumFromThen :: EntryIconPosition -> EntryIconPosition -> [EntryIconPosition] # enumFromTo :: EntryIconPosition -> EntryIconPosition -> [EntryIconPosition] # enumFromThenTo :: EntryIconPosition -> EntryIconPosition -> EntryIconPosition -> [EntryIconPosition] # | |
| Eq EntryIconPosition # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: EntryIconPosition -> EntryIconPosition -> Bool # (/=) :: EntryIconPosition -> EntryIconPosition -> Bool # | |
| Show EntryIconPosition # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> EntryIconPosition -> ShowS # show :: EntryIconPosition -> String # showList :: [EntryIconPosition] -> ShowS # | |
data StackTransitionType #
Constructors
Instances
| Enum StackTransitionType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: StackTransitionType -> StackTransitionType # pred :: StackTransitionType -> StackTransitionType # toEnum :: Int -> StackTransitionType # fromEnum :: StackTransitionType -> Int # enumFrom :: StackTransitionType -> [StackTransitionType] # enumFromThen :: StackTransitionType -> StackTransitionType -> [StackTransitionType] # enumFromTo :: StackTransitionType -> StackTransitionType -> [StackTransitionType] # enumFromThenTo :: StackTransitionType -> StackTransitionType -> StackTransitionType -> [StackTransitionType] # | |
| Eq StackTransitionType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: StackTransitionType -> StackTransitionType -> Bool # (/=) :: StackTransitionType -> StackTransitionType -> Bool # | |
| Show StackTransitionType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> StackTransitionType -> ShowS # show :: StackTransitionType -> String # showList :: [StackTransitionType] -> ShowS # | |
data CrossingMode #
How focus is crossing the widget.
Constructors
| CrossingNormal | |
| CrossingGrab | |
| CrossingUngrab | |
| CrossingGtkGrab | |
| CrossingGtkUngrab | |
| CrossingStateChanged | |
| CrossingTouchBegin | |
| CrossingTouchEnd | |
| CrossingDeviceSwitch |
Instances
| Enum CrossingMode # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: CrossingMode -> CrossingMode # pred :: CrossingMode -> CrossingMode # toEnum :: Int -> CrossingMode # fromEnum :: CrossingMode -> Int # enumFrom :: CrossingMode -> [CrossingMode] # enumFromThen :: CrossingMode -> CrossingMode -> [CrossingMode] # enumFromTo :: CrossingMode -> CrossingMode -> [CrossingMode] # enumFromThenTo :: CrossingMode -> CrossingMode -> CrossingMode -> [CrossingMode] # | |
| Eq CrossingMode # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Show CrossingMode # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> CrossingMode -> ShowS # show :: CrossingMode -> String # showList :: [CrossingMode] -> ShowS # | |
data DragProtocol #
Used in DragContext to indicate the protocol according to which DND is done.
Constructors
| DragProtoNone | |
| DragProtoMotif | |
| DragProtoXdnd | |
| DragProtoRootwin | |
| DragProtoWin32Dropfiles | |
| DragProtoOle2 | |
| DragProtoLocal | |
| DragProtoWayland |
Instances
| Bounded DragProtocol # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Enum DragProtocol # | Used in
|
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: DragProtocol -> DragProtocol # pred :: DragProtocol -> DragProtocol # toEnum :: Int -> DragProtocol # fromEnum :: DragProtocol -> Int # enumFrom :: DragProtocol -> [DragProtocol] # enumFromThen :: DragProtocol -> DragProtocol -> [DragProtocol] # enumFromTo :: DragProtocol -> DragProtocol -> [DragProtocol] # enumFromThenTo :: DragProtocol -> DragProtocol -> DragProtocol -> [DragProtocol] # | |
| Eq DragProtocol # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Show DragProtocol # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> DragProtocol -> ShowS # show :: DragProtocol -> String # showList :: [DragProtocol] -> ShowS # | |
data DragAction #
Constructors
| ActionDefault | |
| ActionCopy | |
| ActionMove | |
| ActionLink | |
| ActionPrivate | |
| ActionAsk |
Instances
| Bounded DragAction # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Enum DragAction # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: DragAction -> DragAction # pred :: DragAction -> DragAction # toEnum :: Int -> DragAction # fromEnum :: DragAction -> Int # enumFrom :: DragAction -> [DragAction] # enumFromThen :: DragAction -> DragAction -> [DragAction] # enumFromTo :: DragAction -> DragAction -> [DragAction] # enumFromThenTo :: DragAction -> DragAction -> DragAction -> [DragAction] # | |
| Eq DragAction # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Show DragAction # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> DragAction -> ShowS # show :: DragAction -> String # showList :: [DragAction] -> ShowS # | |
| Flags DragAction # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Specify which events a widget will emit signals on.
Constructors
Instances
| Bounded EventMask # | |
| Enum EventMask # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: EventMask -> EventMask # pred :: EventMask -> EventMask # fromEnum :: EventMask -> Int # enumFrom :: EventMask -> [EventMask] # enumFromThen :: EventMask -> EventMask -> [EventMask] # enumFromTo :: EventMask -> EventMask -> [EventMask] # enumFromThenTo :: EventMask -> EventMask -> EventMask -> [EventMask] # | |
| Eq EventMask # | |
| Show EventMask # | |
| Flags EventMask # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Keyboard modifiers that are depressed when the user presses a key or a mouse button.
- This data type is used to build lists of modifers that were active during an event.
- The Apple key on Macintoshs is mapped to
Alt2and theMetakey (if available). - Since Gtk 2.10, there are also
Super,HyperandMetamodifiers which are simply generated fromAlt..Composemodifier keys, depending on the mapping used by the windowing system. Due to one key being mapped to e.g.Alt2andMeta, you shouldn't pattern match directly against a certain key but check whether a key is in the list using theelemfunction, say.
Constructors
Instances
| Bounded Modifier # | |
| Enum Modifier # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Eq Modifier # | |
| Show Modifier # | |
| Flags Modifier # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
data ModifierIntent #
Constructors
| ModifierIntentPrimaryAccelerator | |
| ModifierIntentContextMenu | |
| ModifierIntentExtendSelection | |
| ModifierIntentModifySelection | |
| ModifierIntentNoTextInput | |
| ModifierIntentShiftGroup | |
| ModifierIntentDefaultModMask |
Instances
| Enum ModifierIntent # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: ModifierIntent -> ModifierIntent # pred :: ModifierIntent -> ModifierIntent # toEnum :: Int -> ModifierIntent # fromEnum :: ModifierIntent -> Int # enumFrom :: ModifierIntent -> [ModifierIntent] # enumFromThen :: ModifierIntent -> ModifierIntent -> [ModifierIntent] # enumFromTo :: ModifierIntent -> ModifierIntent -> [ModifierIntent] # enumFromThenTo :: ModifierIntent -> ModifierIntent -> ModifierIntent -> [ModifierIntent] # | |
| Eq ModifierIntent # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: ModifierIntent -> ModifierIntent -> Bool # (/=) :: ModifierIntent -> ModifierIntent -> Bool # | |
| Show ModifierIntent # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> ModifierIntent -> ShowS # show :: ModifierIntent -> String # showList :: [ModifierIntent] -> ShowS # | |
data NotifyType #
Information on from what level of the widget hierarchy the mouse cursor came.
NotifyAncestor- The window is entered from an ancestor or left towards an ancestor.
NotifyVirtual- The pointer moves between an ancestor and an inferior of the window.
NotifyInferior- The window is entered from an inferior or left towards an inferior.
NotifyNonlinear- The window is entered from or left towards a window which is neither an ancestor nor an inferior.
NotifyNonlinearVirtual- The pointer moves between two windows which are not ancestors of each other and the window is part of the ancestor chain between one of these windows and their least common ancestor.
NotifyUnknown- The level change does not fit into any of the other categories or could not be determined.
Constructors
| NotifyAncestor | |
| NotifyVirtual | |
| NotifyInferior | |
| NotifyNonlinear | |
| NotifyNonlinearVirtual | |
| NotifyUnknown |
Instances
| Enum NotifyType # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: NotifyType -> NotifyType # pred :: NotifyType -> NotifyType # toEnum :: Int -> NotifyType # fromEnum :: NotifyType -> Int # enumFrom :: NotifyType -> [NotifyType] # enumFromThen :: NotifyType -> NotifyType -> [NotifyType] # enumFromTo :: NotifyType -> NotifyType -> [NotifyType] # enumFromThenTo :: NotifyType -> NotifyType -> NotifyType -> [NotifyType] # | |
| Eq NotifyType # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Show NotifyType # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> NotifyType -> ShowS # show :: NotifyType -> String # showList :: [NotifyType] -> ShowS # | |
data ScrollDirection #
in which direction was scrolled?
Constructors
| ScrollUp | |
| ScrollDown | |
| ScrollLeft | |
| ScrollRight | |
| ScrollSmooth |
Instances
| Enum ScrollDirection # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: ScrollDirection -> ScrollDirection # pred :: ScrollDirection -> ScrollDirection # toEnum :: Int -> ScrollDirection # fromEnum :: ScrollDirection -> Int # enumFrom :: ScrollDirection -> [ScrollDirection] # enumFromThen :: ScrollDirection -> ScrollDirection -> [ScrollDirection] # enumFromTo :: ScrollDirection -> ScrollDirection -> [ScrollDirection] # enumFromThenTo :: ScrollDirection -> ScrollDirection -> ScrollDirection -> [ScrollDirection] # | |
| Eq ScrollDirection # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: ScrollDirection -> ScrollDirection -> Bool # (/=) :: ScrollDirection -> ScrollDirection -> Bool # | |
| Show ScrollDirection # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> ScrollDirection -> ShowS # show :: ScrollDirection -> String # showList :: [ScrollDirection] -> ShowS # | |
data VisibilityState #
visibility of a window
Instances
| Enum VisibilityState # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: VisibilityState -> VisibilityState # pred :: VisibilityState -> VisibilityState # toEnum :: Int -> VisibilityState # fromEnum :: VisibilityState -> Int # enumFrom :: VisibilityState -> [VisibilityState] # enumFromThen :: VisibilityState -> VisibilityState -> [VisibilityState] # enumFromTo :: VisibilityState -> VisibilityState -> [VisibilityState] # enumFromThenTo :: VisibilityState -> VisibilityState -> VisibilityState -> [VisibilityState] # | |
| Eq VisibilityState # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: VisibilityState -> VisibilityState -> Bool # (/=) :: VisibilityState -> VisibilityState -> Bool # | |
| Show VisibilityState # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> VisibilityState -> ShowS # show :: VisibilityState -> String # showList :: [VisibilityState] -> ShowS # | |
data WindowState #
The state a DrawWindow is in.
Constructors
Instances
| Bounded WindowState # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Enum WindowState # | Defines the reference point of a window and the meaning of coordinates
passed to |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: WindowState -> WindowState # pred :: WindowState -> WindowState # toEnum :: Int -> WindowState # fromEnum :: WindowState -> Int # enumFrom :: WindowState -> [WindowState] # enumFromThen :: WindowState -> WindowState -> [WindowState] # enumFromTo :: WindowState -> WindowState -> [WindowState] # enumFromThenTo :: WindowState -> WindowState -> WindowState -> [WindowState] # | |
| Eq WindowState # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Show WindowState # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> WindowState -> ShowS # show :: WindowState -> String # showList :: [WindowState] -> ShowS # | |
| Flags WindowState # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
data WindowEdge #
Determines a window edge or corner.
Constructors
| WindowEdgeNorthWest | |
| WindowEdgeNorth | |
| WindowEdgeNorthEast | |
| WindowEdgeWest | |
| WindowEdgeEast | |
| WindowEdgeSouthWest | |
| WindowEdgeSouth | |
| WindowEdgeSouthEast |
Instances
| Enum WindowEdge # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: WindowEdge -> WindowEdge # pred :: WindowEdge -> WindowEdge # toEnum :: Int -> WindowEdge # fromEnum :: WindowEdge -> Int # enumFrom :: WindowEdge -> [WindowEdge] # enumFromThen :: WindowEdge -> WindowEdge -> [WindowEdge] # enumFromTo :: WindowEdge -> WindowEdge -> [WindowEdge] # enumFromThenTo :: WindowEdge -> WindowEdge -> WindowEdge -> [WindowEdge] # | |
| Eq WindowEdge # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Show WindowEdge # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> WindowEdge -> ShowS # show :: WindowEdge -> String # showList :: [WindowEdge] -> ShowS # | |
data WindowTypeHint #
These are hints for the window manager that indicate what type of function the window has. The window manager can use this when determining decoration and behaviour of the window. The hint must be set before mapping the window.
See the extended window manager hints specification for more details about window types.
Constructors
Instances
| Enum WindowTypeHint # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: WindowTypeHint -> WindowTypeHint # pred :: WindowTypeHint -> WindowTypeHint # toEnum :: Int -> WindowTypeHint # fromEnum :: WindowTypeHint -> Int # enumFrom :: WindowTypeHint -> [WindowTypeHint] # enumFromThen :: WindowTypeHint -> WindowTypeHint -> [WindowTypeHint] # enumFromTo :: WindowTypeHint -> WindowTypeHint -> [WindowTypeHint] # enumFromThenTo :: WindowTypeHint -> WindowTypeHint -> WindowTypeHint -> [WindowTypeHint] # | |
| Eq WindowTypeHint # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: WindowTypeHint -> WindowTypeHint -> Bool # (/=) :: WindowTypeHint -> WindowTypeHint -> Bool # | |
| Show WindowTypeHint # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> WindowTypeHint -> ShowS # show :: WindowTypeHint -> String # showList :: [WindowTypeHint] -> ShowS # | |
Constructors
| GravityNorthWest | |
| GravityNorth | |
| GravityNorthEast | |
| GravityWest | |
| GravityCenter | |
| GravityEast | |
| GravitySouthWest | |
| GravitySouth | |
| GravitySouthEast | |
| GravityStatic |
Instances
| Enum Gravity # | Returned by
|
| Eq Gravity # | |
| Show Gravity # | |
data GrabStatus #
Instances
| Enum GrabStatus # | Specifies why a selection ownership was changed.
|
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: GrabStatus -> GrabStatus # pred :: GrabStatus -> GrabStatus # toEnum :: Int -> GrabStatus # fromEnum :: GrabStatus -> Int # enumFrom :: GrabStatus -> [GrabStatus] # enumFromThen :: GrabStatus -> GrabStatus -> [GrabStatus] # enumFromTo :: GrabStatus -> GrabStatus -> [GrabStatus] # enumFromThenTo :: GrabStatus -> GrabStatus -> GrabStatus -> [GrabStatus] # | |
| Eq GrabStatus # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Show GrabStatus # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> GrabStatus -> ShowS # show :: GrabStatus -> String # showList :: [GrabStatus] -> ShowS # | |
data OwnerChange #
Constructors
| OwnerChangeNewOwner | |
| OwnerChangeDestroy | |
| OwnerChangeClose |
Instances
| Enum OwnerChange # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: OwnerChange -> OwnerChange # pred :: OwnerChange -> OwnerChange # toEnum :: Int -> OwnerChange # fromEnum :: OwnerChange -> Int # enumFrom :: OwnerChange -> [OwnerChange] # enumFromThen :: OwnerChange -> OwnerChange -> [OwnerChange] # enumFromTo :: OwnerChange -> OwnerChange -> [OwnerChange] # enumFromThenTo :: OwnerChange -> OwnerChange -> OwnerChange -> [OwnerChange] # | |
| Eq OwnerChange # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Show OwnerChange # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> OwnerChange -> ShowS # show :: OwnerChange -> String # showList :: [OwnerChange] -> ShowS # | |