Maintainer | gtk2hs-users@lists.sourceforge.net |
---|---|
Stability | provisional |
Portability | portable (depends on GHC) |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
Graphics.UI.Gtk.General.Enums
Description
General enumeration types.
Synopsis
- data AccelFlags
- data Align
- data ArrowType
- data AttachOptions
- data BaselinePosition
- data MouseButton
- = LeftButton
- | MiddleButton
- | RightButton
- | OtherButton Int
- data ButtonBoxStyle
- data CalendarDisplayOptions
- data Click
- data CornerType
- data DeleteType
- data DestDefaults
- data DragResult
- data DirectionType
- data Justification
- data LevelBarMode
- data MenuDirectionType
- data MovementStep
- data Orientation
- data Packing
- toPacking :: Bool -> Bool -> Packing
- fromPacking :: Packing -> (Bool, Bool)
- data PackType
- data PathPriorityType
- data PathType
- data PolicyType
- data PositionType
- data ReliefStyle
- data ResizeMode
- data ScrollType
- data ScrollStep
- data SelectionMode
- data ShadowType
- data StateFlags
- data SortType
- data StateType
- data SpinButtonUpdatePolicy
- data SpinType
- data TargetFlags
- data TextDirection
- data TextSearchFlags
- data TextWindowType
- data ToolbarStyle
- data TreeViewColumnSizing
- data WindowPosition
- data WindowType
- data WrapMode
- data EntryIconPosition
- data StackTransitionType
- = StackTransitionTypeNone
- | StackTransitionTypeCrossfade
- | StackTransitionTypeSlideRight
- | StackTransitionTypeSlideLeft
- | StackTransitionTypeSlideUp
- | StackTransitionTypeSlideDown
- | StackTransitionTypeSlideLeftRight
- | StackTransitionTypeSlideUpDown
- | StackTransitionTypeOverUp
- | StackTransitionTypeOverDown
- | StackTransitionTypeOverLeft
- | StackTransitionTypeOverRight
- | StackTransitionTypeUnderUp
- | StackTransitionTypeUnderDown
- | StackTransitionTypeUnderLeft
- | StackTransitionTypeUnderRight
- | StackTransitionTypeOverUpDown
- | StackTransitionTypeOverDownUp
- | StackTransitionTypeOverLeftRight
- | StackTransitionTypeOverRightLeft
- data CrossingMode
- data DragProtocol
- data DragAction
- data EventMask
- = ExposureMask
- | PointerMotionMask
- | PointerMotionHintMask
- | ButtonMotionMask
- | Button1MotionMask
- | Button2MotionMask
- | Button3MotionMask
- | ButtonPressMask
- | ButtonReleaseMask
- | KeyPressMask
- | KeyReleaseMask
- | EnterNotifyMask
- | LeaveNotifyMask
- | FocusChangeMask
- | StructureMask
- | PropertyChangeMask
- | VisibilityNotifyMask
- | ProximityInMask
- | ProximityOutMask
- | SubstructureMask
- | ScrollMask
- | TouchMask
- | SmoothScrollMask
- | TouchpadGestureMask
- | TabletPadMask
- | AllEventsMask
- data Modifier
- = Shift
- | Lock
- | Control
- | Alt
- | Alt2
- | Alt3
- | Alt4
- | Alt5
- | Button1
- | Button2
- | Button3
- | Button4
- | Button5
- | MODIFIER_RESERVED_13_MASK
- | MODIFIER_RESERVED_14_MASK
- | MODIFIER_RESERVED_15_MASK
- | MODIFIER_RESERVED_16_MASK
- | MODIFIER_RESERVED_17_MASK
- | MODIFIER_RESERVED_18_MASK
- | MODIFIER_RESERVED_19_MASK
- | MODIFIER_RESERVED_20_MASK
- | MODIFIER_RESERVED_21_MASK
- | MODIFIER_RESERVED_22_MASK
- | MODIFIER_RESERVED_23_MASK
- | MODIFIER_RESERVED_24_MASK
- | MODIFIER_RESERVED_25_MASK
- | Super
- | Hyper
- | Meta
- | MODIFIER_RESERVED_29_MASK
- | Release
- | ModifierMask
- data ModifierIntent
- data NotifyType
- data ScrollDirection
- data VisibilityState
- data WindowState
- = WindowStateWithdrawn
- | WindowStateIconified
- | WindowStateMaximized
- | WindowStateSticky
- | WindowStateFullscreen
- | WindowStateAbove
- | WindowStateBelow
- | WindowStateFocused
- | WindowStateTiled
- | WindowStateTopTiled
- | WindowStateTopResizable
- | WindowStateRightTiled
- | WindowStateRightResizable
- | WindowStateBottomTiled
- | WindowStateBottomResizable
- | WindowStateLeftTiled
- | WindowStateLeftResizable
- data WindowEdge
- data WindowTypeHint
- = WindowTypeHintNormal
- | WindowTypeHintDialog
- | WindowTypeHintMenu
- | WindowTypeHintToolbar
- | WindowTypeHintSplashscreen
- | WindowTypeHintUtility
- | WindowTypeHintDock
- | WindowTypeHintDesktop
- | WindowTypeHintDropdownMenu
- | WindowTypeHintPopupMenu
- | WindowTypeHintTooltip
- | WindowTypeHintNotification
- | WindowTypeHintCombo
- | WindowTypeHintDnd
- data Gravity
- data GrabStatus
- data OwnerChange
Documentation
data AccelFlags 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] | |
Show AccelFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> AccelFlags -> ShowS show :: AccelFlags -> String showList :: [AccelFlags] -> ShowS | |
Eq AccelFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
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 | |
Show ArrowType Source # | |
Eq 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] | |
Show AttachOptions Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> AttachOptions -> ShowS show :: AttachOptions -> String showList :: [AttachOptions] -> ShowS | |
Eq AttachOptions Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
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] | |
Show BaselinePosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> BaselinePosition -> ShowS show :: BaselinePosition -> String showList :: [BaselinePosition] -> ShowS | |
Eq BaselinePosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: BaselinePosition -> BaselinePosition -> Bool (/=) :: BaselinePosition -> BaselinePosition -> Bool |
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] | |
Show MouseButton Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> MouseButton -> ShowS show :: MouseButton -> String showList :: [MouseButton] -> ShowS | |
Eq MouseButton Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
data ButtonBoxStyle Source #
Dictate the style that a ButtonBox uses to align it contents
Constructors
ButtonboxSpread | |
ButtonboxEdge | |
ButtonboxStart | |
ButtonboxEnd | |
ButtonboxCenter | |
ButtonboxExpand |
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] | |
Show ButtonBoxStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ButtonBoxStyle -> ShowS show :: ButtonBoxStyle -> String showList :: [ButtonBoxStyle] -> ShowS | |
Eq ButtonBoxStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: ButtonBoxStyle -> ButtonBoxStyle -> Bool (/=) :: ButtonBoxStyle -> ButtonBoxStyle -> Bool |
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] | |
Show CornerType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> CornerType -> ShowS show :: CornerType -> String showList :: [CornerType] -> ShowS | |
Eq CornerType Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
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] | |
Show DeleteType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> DeleteType -> ShowS show :: DeleteType -> String showList :: [DeleteType] -> ShowS | |
Eq DeleteType Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
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 calldragStatus
as 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 calldragGetData
on 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, thenTrue
will be passed for the delete parameter todragFinish
DestDefaultAll
: 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] | |
Show DragResult Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> DragResult -> ShowS show :: DragResult -> String showList :: [DragResult] -> ShowS | |
Eq DragResult Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
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] | |
Show DirectionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> DirectionType -> ShowS show :: DirectionType -> String showList :: [DirectionType] -> ShowS | |
Eq DirectionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
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] | |
Show Justification Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> Justification -> ShowS show :: Justification -> String showList :: [Justification] -> ShowS | |
Eq Justification Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
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] | |
Show LevelBarMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> LevelBarMode -> ShowS show :: LevelBarMode -> String showList :: [LevelBarMode] -> ShowS | |
Eq LevelBarMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
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] | |
Show MenuDirectionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> MenuDirectionType -> ShowS show :: MenuDirectionType -> String showList :: [MenuDirectionType] -> ShowS | |
Eq MenuDirectionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: MenuDirectionType -> MenuDirectionType -> Bool (/=) :: MenuDirectionType -> MenuDirectionType -> Bool |
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] | |
Show MovementStep Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> MovementStep -> ShowS show :: MovementStep -> String showList :: [MovementStep] -> ShowS | |
Eq MovementStep Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
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] | |
Show Orientation Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> Orientation -> ShowS show :: Orientation -> String showList :: [Orientation] -> ShowS | |
Eq Orientation Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
Packing parameters of a widget
- The
Packing
parameter determines how the child behaves in the horizontal or vertical way in anHBox
orVBox
, respectively.PackNatural
means the child is as big as it requests. It will stay at the start or end of aBox
if there is more space available. All children packed withPackRepel
will be padded on both sides with additional space.PackGrow
will 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 aVBox
with 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 optionPackGrow
is the right choice and it is irrelevant whether the main area is inserted at the start or the end of a box. FinallyPackRepel
is 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) Source #
Packing of widgets at start or end in a box
Instances
Enum PackType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show PackType Source # | |
Eq 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] | |
Show PathPriorityType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> PathPriorityType -> ShowS show :: PathPriorityType -> String showList :: [PathPriorityType] -> ShowS | |
Eq PathPriorityType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: PathPriorityType -> PathPriorityType -> Bool (/=) :: PathPriorityType -> PathPriorityType -> Bool |
Widget identification path
Constructors
PathWidget | |
PathWidgetClass | |
PathClass |
Instances
Enum PathType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show PathType Source # | |
Eq PathType Source # | |
data PolicyType Source #
Constructors
PolicyAlways | |
PolicyAutomatic | |
PolicyNever | |
PolicyExternal |
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] | |
Show PolicyType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> PolicyType -> ShowS show :: PolicyType -> String showList :: [PolicyType] -> ShowS | |
Eq PolicyType Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
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] | |
Show PositionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> PositionType -> ShowS show :: PositionType -> String showList :: [PositionType] -> ShowS | |
Eq PositionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
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] | |
Show ReliefStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ReliefStyle -> ShowS show :: ReliefStyle -> String showList :: [ReliefStyle] -> ShowS | |
Eq ReliefStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
data ResizeMode Source #
Resize mode, for containers
ResizeParent
Pass resize request to the parentResizeQueue
Queue resizes on this widgetResizeImmediate
Perform 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] | |
Show ResizeMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ResizeMode -> ShowS show :: ResizeMode -> String showList :: [ResizeMode] -> ShowS | |
Eq ResizeMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
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] | |
Show ScrollType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ScrollType -> ShowS show :: ScrollType -> String showList :: [ScrollType] -> ShowS | |
Eq ScrollType Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
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] | |
Show ScrollStep Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ScrollStep -> ShowS show :: ScrollStep -> String showList :: [ScrollStep] -> ShowS | |
Eq ScrollStep Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
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] | |
Show SelectionMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> SelectionMode -> ShowS show :: SelectionMode -> String showList :: [SelectionMode] -> ShowS | |
Eq SelectionMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
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] | |
Show ShadowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ShadowType -> ShowS show :: ShadowType -> String showList :: [ShadowType] -> ShowS | |
Eq ShadowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
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
Instances
Bounded StateFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Enum StateFlags Source # | |
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] | |
Show StateFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> StateFlags -> ShowS show :: StateFlags -> String showList :: [StateFlags] -> ShowS | |
Eq StateFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Flags StateFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
Constructors
SortAscending | |
SortDescending |
Instances
Enum SortType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show SortType Source # | |
Eq SortType Source # | |
Widget states
Constructors
StateNormal | |
StateActive | |
StatePrelight | |
StateSelected | |
StateInsensitive | |
StateInconsistent | |
StateFocused |
Instances
Enum StateType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show StateType Source # | |
Eq 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 | |
Show SpinType Source # | |
Eq 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
TargetSameApp
flag is set, the target will only be selected for drags within a single application. - If the
TargetSameWidget
flag 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] | |
Show TargetFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> TargetFlags -> ShowS show :: TargetFlags -> String showList :: [TargetFlags] -> ShowS | |
Eq TargetFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
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] | |
Show TextDirection Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> TextDirection -> ShowS show :: TextDirection -> String showList :: [TextDirection] -> ShowS | |
Eq TextDirection Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
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] | |
Show TextWindowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> TextWindowType -> ShowS show :: TextWindowType -> String showList :: [TextWindowType] -> ShowS | |
Eq TextWindowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: TextWindowType -> TextWindowType -> Bool (/=) :: TextWindowType -> TextWindowType -> Bool |
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] | |
Show ToolbarStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ToolbarStyle -> ShowS show :: ToolbarStyle -> String showList :: [ToolbarStyle] -> ShowS | |
Eq ToolbarStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
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] | |
Show WindowPosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> WindowPosition -> ShowS show :: WindowPosition -> String showList :: [WindowPosition] -> ShowS | |
Eq WindowPosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: WindowPosition -> WindowPosition -> Bool (/=) :: WindowPosition -> WindowPosition -> Bool |
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] | |
Show WindowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> WindowType -> ShowS show :: WindowType -> String showList :: [WindowType] -> ShowS | |
Eq WindowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
Determine how lines are wrapped in a TextView
.
Constructors
WrapNone | |
WrapChar | |
WrapWord | |
WrapWordChar |
Instances
Enum WrapMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show WrapMode Source # | |
Eq 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] | |
Show EntryIconPosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> EntryIconPosition -> ShowS show :: EntryIconPosition -> String showList :: [EntryIconPosition] -> ShowS | |
Eq EntryIconPosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: EntryIconPosition -> EntryIconPosition -> Bool (/=) :: EntryIconPosition -> EntryIconPosition -> Bool |
data StackTransitionType Source #
Constructors
Instances
Enum StackTransitionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: StackTransitionType -> StackTransitionType pred :: StackTransitionType -> StackTransitionType toEnum :: Int -> StackTransitionType fromEnum :: StackTransitionType -> Int enumFrom :: StackTransitionType -> [StackTransitionType] enumFromThen :: StackTransitionType -> StackTransitionType -> [StackTransitionType] enumFromTo :: StackTransitionType -> StackTransitionType -> [StackTransitionType] enumFromThenTo :: StackTransitionType -> StackTransitionType -> StackTransitionType -> [StackTransitionType] | |
Show StackTransitionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> StackTransitionType -> ShowS show :: StackTransitionType -> String showList :: [StackTransitionType] -> ShowS | |
Eq StackTransitionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: StackTransitionType -> StackTransitionType -> Bool (/=) :: StackTransitionType -> StackTransitionType -> Bool |
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] | |
Show CrossingMode Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> CrossingMode -> ShowS show :: CrossingMode -> String showList :: [CrossingMode] -> ShowS | |
Eq CrossingMode Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums |
data DragProtocol Source #
Used in DragContext
to indicate the protocol according to which DND is done.
Constructors
DragProtoNone | |
DragProtoMotif | |
DragProtoXdnd | |
DragProtoRootwin | |
DragProtoWin32Dropfiles | |
DragProtoOle2 | |
DragProtoLocal | |
DragProtoWayland |
Instances
Bounded DragProtocol 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] | |
Show DragProtocol Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> DragProtocol -> ShowS show :: DragProtocol -> String showList :: [DragProtocol] -> ShowS | |
Eq DragProtocol Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums |
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] | |
Show DragAction Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> DragAction -> ShowS show :: DragAction -> String showList :: [DragAction] -> ShowS | |
Eq DragAction Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Flags DragAction Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums |
Specify which events a widget will emit signals on.
Constructors
Instances
Bounded EventMask Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Enum EventMask Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Show EventMask Source # | |
Eq 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
Alt2
and theMeta
key (if available). - Since Gtk 2.10, there are also
Super
,Hyper
andMeta
modifiers which are simply generated fromAlt
..Compose
modifier keys, depending on the mapping used by the windowing system. Due to one key being mapped to e.g.Alt2
andMeta
, you shouldn't pattern match directly against a certain key but check whether a key is in the list using theelem
function, say.
Constructors
Instances
Bounded Modifier Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Enum Modifier Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Show Modifier Source # | |
Eq Modifier Source # | |
Flags Modifier Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums |
data ModifierIntent Source #
Constructors
ModifierIntentPrimaryAccelerator | |
ModifierIntentContextMenu | |
ModifierIntentExtendSelection | |
ModifierIntentModifySelection | |
ModifierIntentNoTextInput | |
ModifierIntentShiftGroup | |
ModifierIntentDefaultModMask |
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] | |
Show ModifierIntent Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> ModifierIntent -> ShowS show :: ModifierIntent -> String showList :: [ModifierIntent] -> ShowS | |
Eq ModifierIntent Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: ModifierIntent -> ModifierIntent -> Bool (/=) :: ModifierIntent -> ModifierIntent -> Bool |
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] | |
Show NotifyType Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> NotifyType -> ShowS show :: NotifyType -> String showList :: [NotifyType] -> ShowS | |
Eq NotifyType Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums |
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] | |
Show ScrollDirection Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> ScrollDirection -> ShowS show :: ScrollDirection -> String showList :: [ScrollDirection] -> ShowS | |
Eq ScrollDirection Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: ScrollDirection -> ScrollDirection -> Bool (/=) :: ScrollDirection -> ScrollDirection -> Bool |
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] | |
Show VisibilityState Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> VisibilityState -> ShowS show :: VisibilityState -> String showList :: [VisibilityState] -> ShowS | |
Eq VisibilityState Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: VisibilityState -> VisibilityState -> Bool (/=) :: VisibilityState -> VisibilityState -> Bool |
data WindowState Source #
The state a DrawWindow
is in.
Constructors
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] | |
Show WindowEdge Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> WindowEdge -> ShowS show :: WindowEdge -> String showList :: [WindowEdge] -> ShowS | |
Eq WindowEdge Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums |
data WindowTypeHint Source #
These are hints for the window manager that indicate what type of function the window has. The window manager can use this when determining decoration and behaviour of the window. The hint must be set before mapping the window.
See the extended window manager hints specification for more details about window types.
Constructors
Instances
Enum WindowTypeHint 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] | |
Show WindowTypeHint Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> WindowTypeHint -> ShowS show :: WindowTypeHint -> String showList :: [WindowTypeHint] -> ShowS | |
Eq WindowTypeHint Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: WindowTypeHint -> WindowTypeHint -> Bool (/=) :: WindowTypeHint -> WindowTypeHint -> Bool |
Constructors
GravityNorthWest | |
GravityNorth | |
GravityNorthEast | |
GravityWest | |
GravityCenter | |
GravityEast | |
GravitySouthWest | |
GravitySouth | |
GravitySouthEast | |
GravityStatic |
Instances
Enum Gravity Source # | Returned by
|
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Show Gravity Source # | |
Eq 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] | |
Show GrabStatus Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> GrabStatus -> ShowS show :: GrabStatus -> String showList :: [GrabStatus] -> ShowS | |
Eq GrabStatus Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums |
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] | |
Show OwnerChange Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> OwnerChange -> ShowS show :: OwnerChange -> String showList :: [OwnerChange] -> ShowS | |
Eq OwnerChange Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums |