| 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 ArrowType
- data AttachOptions
- data MouseButton
- data ButtonBoxStyle
- data CalendarDisplayOptions
- data Click
- data CornerType
- data DeleteType
- data DestDefaults
- data DragResult
- data DirectionType
- data Justification
- data MatchType
- data MenuDirectionType
- data MetricType
- = Pixels
- | Inches
- | Centimeters
- 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 ProgressBarOrientation
- data ReliefStyle
- data ResizeMode
- data ScrollType
- data ScrollStep
- data SelectionMode
- data ShadowType
- data SortType
- data StateType
- data SubmenuDirection
- data SubmenuPlacement
- data SpinButtonUpdatePolicy
- data SpinType
- data TargetFlags
- data TextDirection
- data TextSearchFlags
- data TextWindowType
- data ToolbarStyle
- data TreeViewColumnSizing
- data UpdateType
- data Visibility
- data WindowPosition
- data WindowType
- data WrapMode
- data EntryIconPosition
- data AnchorType
- 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
- | AllEventsMask
- data Modifier
- 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
- data ExtensionMode
- data CapStyle
- data Dither
- data Fill
- = Solid
- | Tiled
- | Stippled
- | OpaqueStippled
- data Function
- data InputCondition
- data JoinStyle
- data LineStyle
- data SubwindowMode
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 | |
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 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
| ButtonboxDefaultStyle | |
| ButtonboxSpread | |
| ButtonboxEdge | |
| ButtonboxStart | |
| ButtonboxEnd | |
| ButtonboxCenter |
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 | |
| CalendarWeekStartMonday | |
| 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 # | |
Some kind of string search options
Removed in Gtk3.
Constructors
| MatchAll | |
| MatchAllTail | |
| MatchHead | |
| MatchTail | |
| MatchExact | |
| MatchLast |
Instances
| Enum MatchType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: MatchType -> MatchType # pred :: MatchType -> MatchType # fromEnum :: MatchType -> Int # enumFrom :: MatchType -> [MatchType] # enumFromThen :: MatchType -> MatchType -> [MatchType] # enumFromTo :: MatchType -> MatchType -> [MatchType] # enumFromThenTo :: MatchType -> MatchType -> MatchType -> [MatchType] # | |
| Eq MatchType # | |
| Show MatchType # | |
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 MetricType #
Units of measure
Removed in Gtk3.
Constructors
| Pixels | |
| Inches | |
| Centimeters |
Instances
| Enum MetricType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: MetricType -> MetricType # pred :: MetricType -> MetricType # toEnum :: Int -> MetricType # fromEnum :: MetricType -> Int # enumFrom :: MetricType -> [MetricType] # enumFromThen :: MetricType -> MetricType -> [MetricType] # enumFromTo :: MetricType -> MetricType -> [MetricType] # enumFromThenTo :: MetricType -> MetricType -> MetricType -> [MetricType] # | |
| Eq MetricType # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show MetricType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> MetricType -> ShowS # show :: MetricType -> String # showList :: [MetricType] -> 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 |
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 ProgressBarOrientation #
Is the ProgressBar horizontally or vertically directed?
Removed in Gtk3.
Instances
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 # | |
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 |
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 SubmenuDirection #
Submenu direction policies
Removed in Gtk3.
Constructors
| DirectionLeft | |
| DirectionRight |
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.
Constructors
| TextSearchVisibleOnly | |
| TextSearchTextOnly |
Instances
data TextWindowType #
The window type for coordinate translation.
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 UpdateType #
Updating types for range widgets (determines when the
"connectToValueChanged" signal is emitted by the widget)
Removed in Gtk3.
Constructors
| UpdateContinuous | |
| UpdateDiscontinuous | |
| UpdateDelayed |
Instances
| Enum UpdateType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: UpdateType -> UpdateType # pred :: UpdateType -> UpdateType # toEnum :: Int -> UpdateType # fromEnum :: UpdateType -> Int # enumFrom :: UpdateType -> [UpdateType] # enumFromThen :: UpdateType -> UpdateType -> [UpdateType] # enumFromTo :: UpdateType -> UpdateType -> [UpdateType] # enumFromThenTo :: UpdateType -> UpdateType -> UpdateType -> [UpdateType] # | |
| Eq UpdateType # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show UpdateType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> UpdateType -> ShowS # show :: UpdateType -> String # showList :: [UpdateType] -> ShowS # | |
data Visibility #
Visibility
Removed in Gtk3.
Constructors
| VisibilityNone | |
| VisibilityPartial | |
| VisibilityFull |
Instances
| Enum Visibility # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: Visibility -> Visibility # pred :: Visibility -> Visibility # toEnum :: Int -> Visibility # fromEnum :: Visibility -> Int # enumFrom :: Visibility -> [Visibility] # enumFromThen :: Visibility -> Visibility -> [Visibility] # enumFromTo :: Visibility -> Visibility -> [Visibility] # enumFromThenTo :: Visibility -> Visibility -> Visibility -> [Visibility] # | |
| Eq Visibility # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show Visibility # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> Visibility -> ShowS # show :: Visibility -> String # showList :: [Visibility] -> ShowS # | |
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 AnchorType #
Removed in Gtk3.
Constructors
| AnchorCenter | |
| AnchorNorth | |
| AnchorNorthWest | |
| AnchorNorthEast | |
| AnchorSouth | |
| AnchorSouthWest | |
| AnchorSouthEast | |
| AnchorWest | |
| AnchorEast | |
| AnchorN | |
| AnchorNw | |
| AnchorNe | |
| AnchorS | |
| AnchorSw | |
| AnchorSe | |
| AnchorW | |
| AnchorE |
Instances
| Enum AnchorType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: AnchorType -> AnchorType # pred :: AnchorType -> AnchorType # toEnum :: Int -> AnchorType # fromEnum :: AnchorType -> Int # enumFrom :: AnchorType -> [AnchorType] # enumFromThen :: AnchorType -> AnchorType -> [AnchorType] # enumFromTo :: AnchorType -> AnchorType -> [AnchorType] # enumFromThenTo :: AnchorType -> AnchorType -> AnchorType -> [AnchorType] # | |
| Eq AnchorType # | |
Defined in Graphics.UI.Gtk.General.Enums | |
| Show AnchorType # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> AnchorType -> ShowS # show :: AnchorType -> String # showList :: [AnchorType] -> ShowS # | |
data CrossingMode #
How focus is crossing the widget.
Constructors
| CrossingNormal | |
| CrossingGrab | |
| CrossingUngrab | |
| CrossingGtkGrab | |
| CrossingGtkUngrab | |
| CrossingStateChanged |
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
| DragProtoMotif | |
| DragProtoXdnd | |
| DragProtoRootwin | |
| DragProtoNone | |
| DragProtoWin32Dropfiles | |
| DragProtoOle2 | |
| DragProtoLocal |
Instances
| Bounded DragProtocol # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Enum DragProtocol # | |
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 #
Used in DragContext to indicate what the
destination should do with the dropped data.
ActionDefault: Initialisation value, should not be used.ActionCopy: Copy the data.ActionMove: Move the data, i.e. first copy it, then delete it from the source.ActionLink: Add a link to the data. Note that this is only useful if source and destination agree on what it means.ActionPrivate: Special action which tells the source that the destination will do something that the source doesn't understand.ActionAsk: Ask the user what to do with the data.
Constructors
| ActionDefault | |
| ActionCopy | |
| ActionMove | |
| ActionLink | |
| ActionPrivate | |
| ActionAsk |
Instances
| Bounded DragAction # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Enum DragAction # | Specify how to dither colors onto the screen. Removed in Gtk3. |
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
| Shift | |
| Lock | |
| Control | |
| Alt | |
| Alt2 | |
| Alt3 | |
| Alt4 | |
| Alt5 | |
| Button1 | |
| Button2 | |
| Button3 | |
| Button4 | |
| Button5 | |
| Super | |
| Hyper | |
| Meta | |
| Release | |
| ModifierMask |
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 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 |
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 #
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
| WindowStateWithdrawn | |
| WindowStateIconified | |
| WindowStateMaximized | |
| WindowStateSticky | |
| WindowStateFullscreen | |
| WindowStateAbove | |
| WindowStateBelow |
Instances
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 #
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 # | |
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 # | 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 # | |
data ExtensionMode #
specify which input extension a widget desires
Instances
| Bounded ExtensionMode # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Enum ExtensionMode # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: ExtensionMode -> ExtensionMode # pred :: ExtensionMode -> ExtensionMode # toEnum :: Int -> ExtensionMode # fromEnum :: ExtensionMode -> Int # enumFrom :: ExtensionMode -> [ExtensionMode] # enumFromThen :: ExtensionMode -> ExtensionMode -> [ExtensionMode] # enumFromTo :: ExtensionMode -> ExtensionMode -> [ExtensionMode] # enumFromThenTo :: ExtensionMode -> ExtensionMode -> ExtensionMode -> [ExtensionMode] # | |
| Eq ExtensionMode # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: ExtensionMode -> ExtensionMode -> Bool # (/=) :: ExtensionMode -> ExtensionMode -> Bool # | |
| Show ExtensionMode # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> ExtensionMode -> ShowS # show :: ExtensionMode -> String # showList :: [ExtensionMode] -> ShowS # | |
| Flags ExtensionMode # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Specify the how the ends of a line is drawn.
Removed in Gtk3.
Constructors
| CapNotLast | |
| CapButt | |
| CapRound | |
| CapProjecting |
Instances
| Enum CapStyle # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Eq CapStyle # | |
| Show CapStyle # | |
Constructors
| RgbDitherNone | |
| RgbDitherNormal | |
| RgbDitherMax |
How objects are filled.
Removed in Gtk3.
Constructors
| Solid | |
| Tiled | |
| Stippled | |
| OpaqueStippled |
Determine how bitmap operations are carried out.
Removed in Gtk3.
Constructors
| Copy | |
| Invert | |
| Xor | |
| Clear | |
| And | |
| AndReverse | |
| AndInvert | |
| Noop | |
| Or | |
| Equiv | |
| OrReverse | |
| CopyInvert | |
| OrInvert | |
| Nand | |
| Nor | |
| Set |
Instances
| Enum Function # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Eq Function # | |
| Show Function # | |
data InputCondition #
Specify on what file condition a callback should be done.
Removed in Gtk3.
Constructors
| InputRead | |
| InputWrite | |
| InputException |
Instances
| Bounded InputCondition # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
| Enum InputCondition # | Determines how adjacent line ends are drawn. Removed in Gtk3. |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: InputCondition -> InputCondition # pred :: InputCondition -> InputCondition # toEnum :: Int -> InputCondition # fromEnum :: InputCondition -> Int # enumFrom :: InputCondition -> [InputCondition] # enumFromThen :: InputCondition -> InputCondition -> [InputCondition] # enumFromTo :: InputCondition -> InputCondition -> [InputCondition] # enumFromThenTo :: InputCondition -> InputCondition -> InputCondition -> [InputCondition] # | |
| Eq InputCondition # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: InputCondition -> InputCondition -> Bool # (/=) :: InputCondition -> InputCondition -> Bool # | |
| Flags InputCondition # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Instances
| Enum JoinStyle # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: JoinStyle -> JoinStyle # pred :: JoinStyle -> JoinStyle # fromEnum :: JoinStyle -> Int # enumFrom :: JoinStyle -> [JoinStyle] # enumFromThen :: JoinStyle -> JoinStyle -> [JoinStyle] # enumFromTo :: JoinStyle -> JoinStyle -> [JoinStyle] # enumFromThenTo :: JoinStyle -> JoinStyle -> JoinStyle -> [JoinStyle] # | |
| Eq JoinStyle # | |
| Show JoinStyle # | |
Determines if a line is solid or dashed.
Removed in Gtk3.
Constructors
| LineSolid | |
| LineOnOffDash | |
| LineDoubleDash |
Instances
| Enum LineStyle # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: LineStyle -> LineStyle # pred :: LineStyle -> LineStyle # fromEnum :: LineStyle -> Int # enumFrom :: LineStyle -> [LineStyle] # enumFromThen :: LineStyle -> LineStyle -> [LineStyle] # enumFromTo :: LineStyle -> LineStyle -> [LineStyle] # enumFromThenTo :: LineStyle -> LineStyle -> LineStyle -> [LineStyle] # | |
| Eq LineStyle # | |
| Show LineStyle # | |
data SubwindowMode #
Determine if child widget may be overdrawn.
Removed in Gtk3.
Constructors
| ClipByChildren | |
| IncludeInferiors |
Instances
| Enum SubwindowMode # | visibility of a window |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: SubwindowMode -> SubwindowMode # pred :: SubwindowMode -> SubwindowMode # toEnum :: Int -> SubwindowMode # fromEnum :: SubwindowMode -> Int # enumFrom :: SubwindowMode -> [SubwindowMode] # enumFromThen :: SubwindowMode -> SubwindowMode -> [SubwindowMode] # enumFromTo :: SubwindowMode -> SubwindowMode -> [SubwindowMode] # enumFromThenTo :: SubwindowMode -> SubwindowMode -> SubwindowMode -> [SubwindowMode] # | |
| Eq SubwindowMode # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: SubwindowMode -> SubwindowMode -> Bool # (/=) :: SubwindowMode -> SubwindowMode -> Bool # | |
| Show SubwindowMode # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> SubwindowMode -> ShowS # show :: SubwindowMode -> String # showList :: [SubwindowMode] -> ShowS # | |