| 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
- 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
- | 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
- 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 Source #
State of an accelerator
Constructors
| AccelVisible | |
| AccelLocked | |
| AccelMask |
Instances
| Bounded AccelFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Enum AccelFlags Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show AccelFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> AccelFlags -> ShowS # show :: AccelFlags -> String # showList :: [AccelFlags] -> ShowS # | |
| Flags AccelFlags Source # | |
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 Source # | |
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 Source # | |
| Show ArrowType Source # | |
data AttachOptions Source #
Child widget attach options for table containers
Instances
| Bounded AttachOptions Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Enum AttachOptions Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: AttachOptions -> AttachOptions -> Bool # (/=) :: AttachOptions -> AttachOptions -> Bool # | |
| Show AttachOptions Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> AttachOptions -> ShowS # show :: AttachOptions -> String # showList :: [AttachOptions] -> ShowS # | |
| Flags AttachOptions Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
data BaselinePosition Source #
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 Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: BaselinePosition -> BaselinePosition -> Bool # (/=) :: BaselinePosition -> BaselinePosition -> Bool # | |
| Show BaselinePosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> BaselinePosition -> ShowS # show :: BaselinePosition -> String # showList :: [BaselinePosition] -> ShowS # | |
data MouseButton Source #
Mouse buttons.
Constructors
| LeftButton | |
| MiddleButton | |
| RightButton | |
| OtherButton Int |
Instances
| Enum MouseButton Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show MouseButton Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> MouseButton -> ShowS # show :: MouseButton -> String # showList :: [MouseButton] -> ShowS # | |
data ButtonBoxStyle Source #
Dictate the style that a ButtonBox uses to align it contents
Instances
| Enum ButtonBoxStyle Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: ButtonBoxStyle -> ButtonBoxStyle -> Bool # (/=) :: ButtonBoxStyle -> ButtonBoxStyle -> Bool # | |
| Show ButtonBoxStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ButtonBoxStyle -> ShowS # show :: ButtonBoxStyle -> String # showList :: [ButtonBoxStyle] -> ShowS # | |
data CalendarDisplayOptions Source #
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 Source #
Specifies in which corner a child widget should be placed
Constructors
| CornerTopLeft | |
| CornerBottomLeft | |
| CornerTopRight | |
| CornerBottomRight |
Instances
| Enum CornerType Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show CornerType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> CornerType -> ShowS # show :: CornerType -> String # showList :: [CornerType] -> ShowS # | |
data DeleteType Source #
Editing option
Constructors
| DeleteChars | |
| DeleteWordEnds | |
| DeleteWords | |
| DeleteDisplayLines | |
| DeleteDisplayLineEnds | |
| DeleteParagraphEnds | |
| DeleteParagraphs | |
| DeleteWhitespace |
Instances
| Enum DeleteType Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show DeleteType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> DeleteType -> ShowS # show :: DeleteType -> String # showList :: [DeleteType] -> ShowS # | |
data DestDefaults Source #
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 Source #
Constructors
| DragResultSuccess | |
| DragResultNoTarget | |
| DragResultUserCancelled | |
| DragResultTimeoutExpired | |
| DragResultGrabBroken | |
| DragResultError |
Instances
| Bounded DragResult Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Enum DragResult Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show DragResult Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> DragResult -> ShowS # show :: DragResult -> String # showList :: [DragResult] -> ShowS # | |
data DirectionType Source #
Editing direction
Constructors
| DirTabForward | |
| DirTabBackward | |
| DirUp | |
| DirDown | |
| DirLeft | |
| DirRight |
Instances
| Enum DirectionType Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: DirectionType -> DirectionType -> Bool # (/=) :: DirectionType -> DirectionType -> Bool # | |
| Show DirectionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> DirectionType -> ShowS # show :: DirectionType -> String # showList :: [DirectionType] -> ShowS # | |
data Justification Source #
Justification for label and maybe other widgets (text?)
Constructors
| JustifyLeft | |
| JustifyRight | |
| JustifyCenter | |
| JustifyFill |
Instances
| Enum Justification Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: Justification -> Justification -> Bool # (/=) :: Justification -> Justification -> Bool # | |
| Show Justification Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> Justification -> ShowS # show :: Justification -> String # showList :: [Justification] -> ShowS # | |
data LevelBarMode Source #
Constructors
| LevelBarModeContinuous | |
| LevelBarModeDiscrete |
Instances
| Enum LevelBarMode Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show LevelBarMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> LevelBarMode -> ShowS # show :: LevelBarMode -> String # showList :: [LevelBarMode] -> ShowS # | |
data MenuDirectionType Source #
From where was a menu item entered?
Constructors
| MenuDirParent | |
| MenuDirChild | |
| MenuDirNext | |
| MenuDirPrev |
Instances
| Enum MenuDirectionType Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: MenuDirectionType -> MenuDirectionType -> Bool # (/=) :: MenuDirectionType -> MenuDirectionType -> Bool # | |
| Show MenuDirectionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> MenuDirectionType -> ShowS # show :: MenuDirectionType -> String # showList :: [MenuDirectionType] -> ShowS # | |
data MovementStep Source #
Movement in text widget
Constructors
Instances
| Enum MovementStep Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show MovementStep Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> MovementStep -> ShowS # show :: MovementStep -> String # showList :: [MovementStep] -> ShowS # | |
data Orientation Source #
Orientation is good
Constructors
| OrientationHorizontal | |
| OrientationVertical |
Instances
| Enum Orientation Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show Orientation Source # | |
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 |
Instances
| Enum Packing Source # | |
| Eq Packing Source # | |
| Show Packing Source # | |
Packing of widgets at start or end in a box
Instances
| Enum PackType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Eq PackType Source # | |
| Show PackType Source # | |
data PathPriorityType Source #
Priorities
Instances
| Enum PathPriorityType Source # | 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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: PathPriorityType -> PathPriorityType -> Bool # (/=) :: PathPriorityType -> PathPriorityType -> Bool # | |
| Show PathPriorityType Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Eq PathType Source # | |
| Show PathType Source # | |
data PolicyType Source #
Constructors
| PolicyAlways | |
| PolicyAutomatic | |
| PolicyNever |
Instances
| Enum PolicyType Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show PolicyType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> PolicyType -> ShowS # show :: PolicyType -> String # showList :: [PolicyType] -> ShowS # | |
data PositionType Source #
Position a scale's value is drawn relative to the trough
Instances
| Enum PositionType Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show PositionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> PositionType -> ShowS # show :: PositionType -> String # showList :: [PositionType] -> ShowS # | |
data ReliefStyle Source #
I don't have a clue.
Constructors
| ReliefNormal | |
| ReliefHalf | |
| ReliefNone |
Instances
| Enum ReliefStyle Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show ReliefStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ReliefStyle -> ShowS # show :: ReliefStyle -> String # showList :: [ReliefStyle] -> ShowS # | |
data ResizeMode Source #
Resize mode, for containers
ResizeParentPass resize request to the parentResizeQueueQueue resizes on this widgetResizeImmediatePerform the resizes now
Constructors
| ResizeParent | |
| ResizeQueue | |
| ResizeImmediate |
Instances
| Enum ResizeMode Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show ResizeMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ResizeMode -> ShowS # show :: ResizeMode -> String # showList :: [ResizeMode] -> ShowS # | |
data ScrollType Source #
Scrolling type
Constructors
Instances
| Enum ScrollType Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show ScrollType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ScrollType -> ShowS # show :: ScrollType -> String # showList :: [ScrollType] -> ShowS # | |
data ScrollStep Source #
Scrolling step
Constructors
| ScrollSteps | |
| ScrollPages | |
| ScrollEnds | |
| ScrollHorizontalSteps | |
| ScrollHorizontalPages | |
| ScrollHorizontalEnds |
Instances
| Enum ScrollStep Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show ScrollStep Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ScrollStep -> ShowS # show :: ScrollStep -> String # showList :: [ScrollStep] -> ShowS # | |
data SelectionMode Source #
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 Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: SelectionMode -> SelectionMode -> Bool # (/=) :: SelectionMode -> SelectionMode -> Bool # | |
| Show SelectionMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> SelectionMode -> ShowS # show :: SelectionMode -> String # showList :: [SelectionMode] -> ShowS # | |
data ShadowType Source #
Shadow types
Constructors
| ShadowNone | |
| ShadowIn | |
| ShadowOut | |
| ShadowEtchedIn | |
| ShadowEtchedOut |
Instances
| Enum ShadowType Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show ShadowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ShadowType -> ShowS # show :: ShadowType -> String # showList :: [ShadowType] -> ShowS # | |
data StateFlags Source #
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
| StateFlagNormal | |
| StateFlagActive | |
| StateFlagPrelight | |
| StateFlagSelected | |
| StateFlagInsensitive | |
| StateFlagInconsistent | |
| StateFlagFocused | |
| StateFlagBackdrop | |
| StateFlagDirLtr | |
| StateFlagDirRtl |
Instances
| Bounded StateFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Enum StateFlags Source # | Widget states |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show StateFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> StateFlags -> ShowS # show :: StateFlags -> String # showList :: [StateFlags] -> ShowS # | |
| Flags StateFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Constructors
| SortAscending | |
| SortDescending |
Instances
| Enum SortType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Eq SortType Source # | |
| Show SortType Source # | |
Constructors
| StateNormal | |
| StateActive | |
| StatePrelight | |
| StateSelected | |
| StateInsensitive | |
| StateInconsistent | |
| StateFocused |
Instances
| Enum StateType Source # | |
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 Source # | |
| Show StateType Source # | |
data SpinButtonUpdatePolicy Source #
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Eq SpinType Source # | |
| Show SpinType Source # | |
data TargetFlags Source #
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Enum TargetFlags Source # | 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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show TargetFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> TargetFlags -> ShowS # show :: TargetFlags -> String # showList :: [TargetFlags] -> ShowS # | |
| Flags TargetFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
data TextDirection Source #
Constructors
| TextDirNone | |
| TextDirLtr | |
| TextDirRtl |
Instances
| Enum TextDirection Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: TextDirection -> TextDirection -> Bool # (/=) :: TextDirection -> TextDirection -> Bool # | |
| Show TextDirection Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> TextDirection -> ShowS # show :: TextDirection -> String # showList :: [TextDirection] -> ShowS # | |
data TextSearchFlags Source #
Specify the way the search function for
TextBuffer works.
Instances
data TextWindowType Source #
Constructors
| TextWindowPrivate | |
| TextWindowWidget | |
| TextWindowText | |
| TextWindowLeft | |
| TextWindowRight | |
| TextWindowTop | |
| TextWindowBottom |
Instances
| Enum TextWindowType Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: TextWindowType -> TextWindowType -> Bool # (/=) :: TextWindowType -> TextWindowType -> Bool # | |
| Show TextWindowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> TextWindowType -> ShowS # show :: TextWindowType -> String # showList :: [TextWindowType] -> ShowS # | |
data ToolbarStyle Source #
Where to place the toolbar?
Constructors
| ToolbarIcons | |
| ToolbarText | |
| ToolbarBoth | |
| ToolbarBothHoriz |
Instances
| Enum ToolbarStyle Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show ToolbarStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ToolbarStyle -> ShowS # show :: ToolbarStyle -> String # showList :: [ToolbarStyle] -> ShowS # | |
data TreeViewColumnSizing Source #
Wether columns of a tree or list widget can be resized.
Instances
data WindowPosition Source #
Window position types
Instances
| Enum WindowPosition Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: WindowPosition -> WindowPosition -> Bool # (/=) :: WindowPosition -> WindowPosition -> Bool # | |
| Show WindowPosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> WindowPosition -> ShowS # show :: WindowPosition -> String # showList :: [WindowPosition] -> ShowS # | |
data WindowType Source #
Interaction of a window with window manager
Constructors
| WindowToplevel | |
| WindowPopup |
Instances
| Enum WindowType Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show WindowType Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Eq WrapMode Source # | |
| Show WrapMode Source # | |
data EntryIconPosition Source #
Specifies the side of the entry at which an icon is placed.
Constructors
| EntryIconPrimary | |
| EntryIconSecondary |
Instances
| Enum EntryIconPosition Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: EntryIconPosition -> EntryIconPosition -> Bool # (/=) :: EntryIconPosition -> EntryIconPosition -> Bool # | |
| Show EntryIconPosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> EntryIconPosition -> ShowS # show :: EntryIconPosition -> String # showList :: [EntryIconPosition] -> ShowS # | |
data StackTransitionType Source #
Constructors
Instances
data CrossingMode Source #
How focus is crossing the widget.
Constructors
| CrossingNormal | |
| CrossingGrab | |
| CrossingUngrab | |
| CrossingGtkGrab | |
| CrossingGtkUngrab | |
| CrossingStateChanged | |
| CrossingTouchBegin | |
| CrossingTouchEnd | |
| CrossingDeviceSwitch |
Instances
| Enum CrossingMode Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Show CrossingMode Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> CrossingMode -> ShowS # show :: CrossingMode -> String # showList :: [CrossingMode] -> ShowS # | |
data DragProtocol Source #
Used in DragContext to indicate the protocol according to which DND is done.
Constructors
| DragProtoNone | |
| DragProtoMotif | |
| DragProtoXdnd | |
| DragProtoRootwin | |
| DragProtoWin32Dropfiles | |
| DragProtoOle2 | |
| DragProtoLocal |
Instances
| Bounded DragProtocol Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Enum DragProtocol Source # | 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 Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Show DragProtocol Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> DragProtocol -> ShowS # show :: DragProtocol -> String # showList :: [DragProtocol] -> ShowS # | |
data DragAction Source #
Constructors
| ActionDefault | |
| ActionCopy | |
| ActionMove | |
| ActionLink | |
| ActionPrivate | |
| ActionAsk |
Instances
| Bounded DragAction Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Enum DragAction Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Show DragAction Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> DragAction -> ShowS # show :: DragAction -> String # showList :: [DragAction] -> ShowS # | |
| Flags DragAction Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Specify which events a widget will emit signals on.
Constructors
Instances
| Bounded EventMask Source # | |
| Enum EventMask Source # | |
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 Source # | |
| Show EventMask Source # | |
| Flags EventMask Source # | |
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 Source # | |
| Enum Modifier Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Eq Modifier Source # | |
| Show Modifier Source # | |
| Flags Modifier Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
data ModifierIntent Source #
Constructors
| ModifierIntentPrimaryAccelerator | |
| ModifierIntentContextMenu | |
| ModifierIntentExtendSelection | |
| ModifierIntentModifySelection | |
| ModifierIntentNoTextInput | |
| ModifierIntentShiftGroup |
Instances
| Enum ModifierIntent Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: ModifierIntent -> ModifierIntent -> Bool # (/=) :: ModifierIntent -> ModifierIntent -> Bool # | |
| Show ModifierIntent Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> ModifierIntent -> ShowS # show :: ModifierIntent -> String # showList :: [ModifierIntent] -> ShowS # | |
data NotifyType Source #
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 Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Show NotifyType Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> NotifyType -> ShowS # show :: NotifyType -> String # showList :: [NotifyType] -> ShowS # | |
data ScrollDirection Source #
in which direction was scrolled?
Constructors
| ScrollUp | |
| ScrollDown | |
| ScrollLeft | |
| ScrollRight | |
| ScrollSmooth |
Instances
| Enum ScrollDirection Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: ScrollDirection -> ScrollDirection -> Bool # (/=) :: ScrollDirection -> ScrollDirection -> Bool # | |
| Show ScrollDirection Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> ScrollDirection -> ShowS # show :: ScrollDirection -> String # showList :: [ScrollDirection] -> ShowS # | |
data VisibilityState Source #
visibility of a window
Instances
| Enum VisibilityState Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: VisibilityState -> VisibilityState -> Bool # (/=) :: VisibilityState -> VisibilityState -> Bool # | |
| Show VisibilityState Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> VisibilityState -> ShowS # show :: VisibilityState -> String # showList :: [VisibilityState] -> ShowS # | |
data WindowState Source #
The state a DrawWindow is in.
Constructors
| WindowStateWithdrawn | |
| WindowStateIconified | |
| WindowStateMaximized | |
| WindowStateSticky | |
| WindowStateFullscreen | |
| WindowStateAbove | |
| WindowStateBelow | |
| WindowStateFocused | |
| WindowStateTiled |
Instances
data WindowEdge Source #
Determines a window edge or corner.
Constructors
| WindowEdgeNorthWest | |
| WindowEdgeNorth | |
| WindowEdgeNorthEast | |
| WindowEdgeWest | |
| WindowEdgeEast | |
| WindowEdgeSouthWest | |
| WindowEdgeSouth | |
| WindowEdgeSouthEast |
Instances
| Enum WindowEdge Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Show WindowEdge Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> WindowEdge -> ShowS # show :: WindowEdge -> String # showList :: [WindowEdge] -> ShowS # | |
data WindowTypeHint Source #
Constructors
Instances
| Enum WindowTypeHint Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: WindowTypeHint -> WindowTypeHint -> Bool # (/=) :: WindowTypeHint -> WindowTypeHint -> Bool # | |
| Show WindowTypeHint Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> WindowTypeHint -> ShowS # show :: WindowTypeHint -> String # showList :: [WindowTypeHint] -> ShowS # | |
Defines the reference point of a window and the meaning of coordinates
passed to windowMove. See
windowMove and the "implementation notes"
section of the extended window manager hints specification for more details.
Constructors
| GravityNorthWest | |
| GravityNorth | |
| GravityNorthEast | |
| GravityWest | |
| GravityCenter | |
| GravityEast | |
| GravitySouthWest | |
| GravitySouth | |
| GravitySouthEast | |
| GravityStatic |
Instances
| Enum Gravity Source # | Returned by
|
| Eq Gravity Source # | |
| Show Gravity Source # | |
data GrabStatus Source #
Instances
| Enum GrabStatus Source # | 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 Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Show GrabStatus Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> GrabStatus -> ShowS # show :: GrabStatus -> String # showList :: [GrabStatus] -> ShowS # | |
data OwnerChange Source #
Constructors
| OwnerChangeNewOwner | |
| OwnerChangeDestroy | |
| OwnerChangeClose |
Instances
| Enum OwnerChange Source # | |
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 Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Show OwnerChange Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> OwnerChange -> ShowS # show :: OwnerChange -> String # showList :: [OwnerChange] -> ShowS # | |