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
- 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 Source # pred :: AccelFlags -> AccelFlags Source # toEnum :: Int -> AccelFlags Source # fromEnum :: AccelFlags -> Int Source # enumFrom :: AccelFlags -> [AccelFlags] Source # enumFromThen :: AccelFlags -> AccelFlags -> [AccelFlags] Source # enumFromTo :: AccelFlags -> AccelFlags -> [AccelFlags] Source # enumFromThenTo :: AccelFlags -> AccelFlags -> AccelFlags -> [AccelFlags] Source # | |
Show AccelFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq AccelFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: AccelFlags -> AccelFlags -> Bool Source # (/=) :: AccelFlags -> AccelFlags -> Bool Source # | |
Flags AccelFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
State of an accelerator
Constructors
AlignFill | |
AlignStart | |
AlignEnd | |
AlignCenter | |
AlignBaseline |
Instances
Bounded Align Source # | |
Enum Align Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: Align -> Align Source # pred :: Align -> Align Source # toEnum :: Int -> Align Source # fromEnum :: Align -> Int Source # enumFrom :: Align -> [Align] Source # enumFromThen :: Align -> Align -> [Align] Source # enumFromTo :: Align -> Align -> [Align] Source # enumFromThenTo :: Align -> Align -> Align -> [Align] Source # | |
Show Align Source # | |
Eq Align Source # | |
Arrow directions for the arrow widget
Constructors
ArrowUp | |
ArrowDown | |
ArrowLeft | |
ArrowRight | |
ArrowNone |
Instances
Enum ArrowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: ArrowType -> ArrowType Source # pred :: ArrowType -> ArrowType Source # toEnum :: Int -> ArrowType Source # fromEnum :: ArrowType -> Int Source # enumFrom :: ArrowType -> [ArrowType] Source # enumFromThen :: ArrowType -> ArrowType -> [ArrowType] Source # enumFromTo :: ArrowType -> ArrowType -> [ArrowType] Source # enumFromThenTo :: ArrowType -> ArrowType -> ArrowType -> [ArrowType] Source # | |
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 Source # pred :: AttachOptions -> AttachOptions Source # toEnum :: Int -> AttachOptions Source # fromEnum :: AttachOptions -> Int Source # enumFrom :: AttachOptions -> [AttachOptions] Source # enumFromThen :: AttachOptions -> AttachOptions -> [AttachOptions] Source # enumFromTo :: AttachOptions -> AttachOptions -> [AttachOptions] Source # enumFromThenTo :: AttachOptions -> AttachOptions -> AttachOptions -> [AttachOptions] Source # | |
Show AttachOptions Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq AttachOptions Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: AttachOptions -> AttachOptions -> Bool Source # (/=) :: AttachOptions -> AttachOptions -> Bool Source # | |
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 vertical 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 available space.
Instances
Enum BaselinePosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: BaselinePosition -> BaselinePosition Source # pred :: BaselinePosition -> BaselinePosition Source # toEnum :: Int -> BaselinePosition Source # fromEnum :: BaselinePosition -> Int Source # enumFrom :: BaselinePosition -> [BaselinePosition] Source # enumFromThen :: BaselinePosition -> BaselinePosition -> [BaselinePosition] Source # enumFromTo :: BaselinePosition -> BaselinePosition -> [BaselinePosition] Source # enumFromThenTo :: BaselinePosition -> BaselinePosition -> BaselinePosition -> [BaselinePosition] Source # | |
Show BaselinePosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq BaselinePosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: BaselinePosition -> BaselinePosition -> Bool Source # (/=) :: BaselinePosition -> BaselinePosition -> Bool Source # |
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 Source # pred :: MouseButton -> MouseButton Source # toEnum :: Int -> MouseButton Source # fromEnum :: MouseButton -> Int Source # enumFrom :: MouseButton -> [MouseButton] Source # enumFromThen :: MouseButton -> MouseButton -> [MouseButton] Source # enumFromTo :: MouseButton -> MouseButton -> [MouseButton] Source # enumFromThenTo :: MouseButton -> MouseButton -> MouseButton -> [MouseButton] Source # | |
Show MouseButton Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq MouseButton Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: MouseButton -> MouseButton -> Bool Source # (/=) :: MouseButton -> MouseButton -> Bool Source # |
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 Source # pred :: ButtonBoxStyle -> ButtonBoxStyle Source # toEnum :: Int -> ButtonBoxStyle Source # fromEnum :: ButtonBoxStyle -> Int Source # enumFrom :: ButtonBoxStyle -> [ButtonBoxStyle] Source # enumFromThen :: ButtonBoxStyle -> ButtonBoxStyle -> [ButtonBoxStyle] Source # enumFromTo :: ButtonBoxStyle -> ButtonBoxStyle -> [ButtonBoxStyle] Source # enumFromThenTo :: ButtonBoxStyle -> ButtonBoxStyle -> ButtonBoxStyle -> [ButtonBoxStyle] Source # | |
Show ButtonBoxStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq ButtonBoxStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: ButtonBoxStyle -> ButtonBoxStyle -> Bool Source # (/=) :: ButtonBoxStyle -> ButtonBoxStyle -> Bool Source # |
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 |
Instances
Enum Click Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: Click -> Click Source # pred :: Click -> Click Source # toEnum :: Int -> Click Source # fromEnum :: Click -> Int Source # enumFrom :: Click -> [Click] Source # enumFromThen :: Click -> Click -> [Click] Source # enumFromTo :: Click -> Click -> [Click] Source # enumFromThenTo :: Click -> Click -> Click -> [Click] Source # | |
Show Click Source # | |
Eq Click Source # | |
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 Source # pred :: CornerType -> CornerType Source # toEnum :: Int -> CornerType Source # fromEnum :: CornerType -> Int Source # enumFrom :: CornerType -> [CornerType] Source # enumFromThen :: CornerType -> CornerType -> [CornerType] Source # enumFromTo :: CornerType -> CornerType -> [CornerType] Source # enumFromThenTo :: CornerType -> CornerType -> CornerType -> [CornerType] Source # | |
Show CornerType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq CornerType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: CornerType -> CornerType -> Bool Source # (/=) :: CornerType -> CornerType -> Bool Source # |
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 Source # pred :: DeleteType -> DeleteType Source # toEnum :: Int -> DeleteType Source # fromEnum :: DeleteType -> Int Source # enumFrom :: DeleteType -> [DeleteType] Source # enumFromThen :: DeleteType -> DeleteType -> [DeleteType] Source # enumFromTo :: DeleteType -> DeleteType -> [DeleteType] Source # enumFromThenTo :: DeleteType -> DeleteType -> DeleteType -> [DeleteType] Source # | |
Show DeleteType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq DeleteType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: DeleteType -> DeleteType -> Bool Source # (/=) :: DeleteType -> DeleteType -> Bool Source # |
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 Source # pred :: DragResult -> DragResult Source # toEnum :: Int -> DragResult Source # fromEnum :: DragResult -> Int Source # enumFrom :: DragResult -> [DragResult] Source # enumFromThen :: DragResult -> DragResult -> [DragResult] Source # enumFromTo :: DragResult -> DragResult -> [DragResult] Source # enumFromThenTo :: DragResult -> DragResult -> DragResult -> [DragResult] Source # | |
Show DragResult Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq DragResult Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: DragResult -> DragResult -> Bool Source # (/=) :: DragResult -> DragResult -> Bool Source # |
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 Source # pred :: DirectionType -> DirectionType Source # toEnum :: Int -> DirectionType Source # fromEnum :: DirectionType -> Int Source # enumFrom :: DirectionType -> [DirectionType] Source # enumFromThen :: DirectionType -> DirectionType -> [DirectionType] Source # enumFromTo :: DirectionType -> DirectionType -> [DirectionType] Source # enumFromThenTo :: DirectionType -> DirectionType -> DirectionType -> [DirectionType] Source # | |
Show DirectionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq DirectionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: DirectionType -> DirectionType -> Bool Source # (/=) :: DirectionType -> DirectionType -> Bool Source # |
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 Source # pred :: Justification -> Justification Source # toEnum :: Int -> Justification Source # fromEnum :: Justification -> Int Source # enumFrom :: Justification -> [Justification] Source # enumFromThen :: Justification -> Justification -> [Justification] Source # enumFromTo :: Justification -> Justification -> [Justification] Source # enumFromThenTo :: Justification -> Justification -> Justification -> [Justification] Source # | |
Show Justification Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq Justification Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: Justification -> Justification -> Bool Source # (/=) :: Justification -> Justification -> Bool Source # |
data LevelBarMode Source #
Constructors
LevelBarModeContinuous | |
LevelBarModeDiscrete |
Instances
Enum LevelBarMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: LevelBarMode -> LevelBarMode Source # pred :: LevelBarMode -> LevelBarMode Source # toEnum :: Int -> LevelBarMode Source # fromEnum :: LevelBarMode -> Int Source # enumFrom :: LevelBarMode -> [LevelBarMode] Source # enumFromThen :: LevelBarMode -> LevelBarMode -> [LevelBarMode] Source # enumFromTo :: LevelBarMode -> LevelBarMode -> [LevelBarMode] Source # enumFromThenTo :: LevelBarMode -> LevelBarMode -> LevelBarMode -> [LevelBarMode] Source # | |
Show LevelBarMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq LevelBarMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: LevelBarMode -> LevelBarMode -> Bool Source # (/=) :: LevelBarMode -> LevelBarMode -> Bool Source # |
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 Source # pred :: MenuDirectionType -> MenuDirectionType Source # toEnum :: Int -> MenuDirectionType Source # fromEnum :: MenuDirectionType -> Int Source # enumFrom :: MenuDirectionType -> [MenuDirectionType] Source # enumFromThen :: MenuDirectionType -> MenuDirectionType -> [MenuDirectionType] Source # enumFromTo :: MenuDirectionType -> MenuDirectionType -> [MenuDirectionType] Source # enumFromThenTo :: MenuDirectionType -> MenuDirectionType -> MenuDirectionType -> [MenuDirectionType] Source # | |
Show MenuDirectionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq MenuDirectionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: MenuDirectionType -> MenuDirectionType -> Bool Source # (/=) :: MenuDirectionType -> MenuDirectionType -> Bool Source # |
data MovementStep Source #
Movement in text widget
Constructors
Instances
Enum MovementStep Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: MovementStep -> MovementStep Source # pred :: MovementStep -> MovementStep Source # toEnum :: Int -> MovementStep Source # fromEnum :: MovementStep -> Int Source # enumFrom :: MovementStep -> [MovementStep] Source # enumFromThen :: MovementStep -> MovementStep -> [MovementStep] Source # enumFromTo :: MovementStep -> MovementStep -> [MovementStep] Source # enumFromThenTo :: MovementStep -> MovementStep -> MovementStep -> [MovementStep] Source # | |
Show MovementStep Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq MovementStep Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: MovementStep -> MovementStep -> Bool Source # (/=) :: MovementStep -> MovementStep -> Bool Source # |
data Orientation Source #
Orientation is good
Constructors
OrientationHorizontal | |
OrientationVertical |
Instances
Enum Orientation Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: Orientation -> Orientation Source # pred :: Orientation -> Orientation Source # toEnum :: Int -> Orientation Source # fromEnum :: Orientation -> Int Source # enumFrom :: Orientation -> [Orientation] Source # enumFromThen :: Orientation -> Orientation -> [Orientation] Source # enumFromTo :: Orientation -> Orientation -> [Orientation] Source # enumFromThenTo :: Orientation -> Orientation -> Orientation -> [Orientation] Source # | |
Show Orientation Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq Orientation Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: Orientation -> Orientation -> Bool Source # (/=) :: Orientation -> Orientation -> Bool Source # |
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 |
Instances
Enum Packing Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: Packing -> Packing Source # pred :: Packing -> Packing Source # toEnum :: Int -> Packing Source # fromEnum :: Packing -> Int Source # enumFrom :: Packing -> [Packing] Source # enumFromThen :: Packing -> Packing -> [Packing] Source # enumFromTo :: Packing -> Packing -> [Packing] Source # enumFromThenTo :: Packing -> Packing -> Packing -> [Packing] Source # | |
Show Packing Source # | |
Eq Packing Source # | |
Packing of widgets at start or end in a box
Instances
Enum PackType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: PackType -> PackType Source # pred :: PackType -> PackType Source # toEnum :: Int -> PackType Source # fromEnum :: PackType -> Int Source # enumFrom :: PackType -> [PackType] Source # enumFromThen :: PackType -> PackType -> [PackType] Source # enumFromTo :: PackType -> PackType -> [PackType] Source # enumFromThenTo :: PackType -> PackType -> PackType -> [PackType] Source # | |
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 Source # pred :: PathPriorityType -> PathPriorityType Source # toEnum :: Int -> PathPriorityType Source # fromEnum :: PathPriorityType -> Int Source # enumFrom :: PathPriorityType -> [PathPriorityType] Source # enumFromThen :: PathPriorityType -> PathPriorityType -> [PathPriorityType] Source # enumFromTo :: PathPriorityType -> PathPriorityType -> [PathPriorityType] Source # enumFromThenTo :: PathPriorityType -> PathPriorityType -> PathPriorityType -> [PathPriorityType] Source # | |
Show PathPriorityType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq PathPriorityType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: PathPriorityType -> PathPriorityType -> Bool Source # (/=) :: PathPriorityType -> PathPriorityType -> Bool Source # |
Widget identification path
Constructors
PathWidget | |
PathWidgetClass | |
PathClass |
Instances
Enum PathType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: PathType -> PathType Source # pred :: PathType -> PathType Source # toEnum :: Int -> PathType Source # fromEnum :: PathType -> Int Source # enumFrom :: PathType -> [PathType] Source # enumFromThen :: PathType -> PathType -> [PathType] Source # enumFromTo :: PathType -> PathType -> [PathType] Source # enumFromThenTo :: PathType -> PathType -> PathType -> [PathType] Source # | |
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 Source # pred :: PolicyType -> PolicyType Source # toEnum :: Int -> PolicyType Source # fromEnum :: PolicyType -> Int Source # enumFrom :: PolicyType -> [PolicyType] Source # enumFromThen :: PolicyType -> PolicyType -> [PolicyType] Source # enumFromTo :: PolicyType -> PolicyType -> [PolicyType] Source # enumFromThenTo :: PolicyType -> PolicyType -> PolicyType -> [PolicyType] Source # | |
Show PolicyType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq PolicyType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: PolicyType -> PolicyType -> Bool Source # (/=) :: PolicyType -> PolicyType -> Bool Source # |
data PositionType Source #
Position a scale's value is drawn relative to the through
Instances
Enum PositionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: PositionType -> PositionType Source # pred :: PositionType -> PositionType Source # toEnum :: Int -> PositionType Source # fromEnum :: PositionType -> Int Source # enumFrom :: PositionType -> [PositionType] Source # enumFromThen :: PositionType -> PositionType -> [PositionType] Source # enumFromTo :: PositionType -> PositionType -> [PositionType] Source # enumFromThenTo :: PositionType -> PositionType -> PositionType -> [PositionType] Source # | |
Show PositionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq PositionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: PositionType -> PositionType -> Bool Source # (/=) :: PositionType -> PositionType -> Bool Source # |
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 Source # pred :: ReliefStyle -> ReliefStyle Source # toEnum :: Int -> ReliefStyle Source # fromEnum :: ReliefStyle -> Int Source # enumFrom :: ReliefStyle -> [ReliefStyle] Source # enumFromThen :: ReliefStyle -> ReliefStyle -> [ReliefStyle] Source # enumFromTo :: ReliefStyle -> ReliefStyle -> [ReliefStyle] Source # enumFromThenTo :: ReliefStyle -> ReliefStyle -> ReliefStyle -> [ReliefStyle] Source # | |
Show ReliefStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq ReliefStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: ReliefStyle -> ReliefStyle -> Bool Source # (/=) :: ReliefStyle -> ReliefStyle -> Bool Source # |
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 Source # pred :: ResizeMode -> ResizeMode Source # toEnum :: Int -> ResizeMode Source # fromEnum :: ResizeMode -> Int Source # enumFrom :: ResizeMode -> [ResizeMode] Source # enumFromThen :: ResizeMode -> ResizeMode -> [ResizeMode] Source # enumFromTo :: ResizeMode -> ResizeMode -> [ResizeMode] Source # enumFromThenTo :: ResizeMode -> ResizeMode -> ResizeMode -> [ResizeMode] Source # | |
Show ResizeMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq ResizeMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: ResizeMode -> ResizeMode -> Bool Source # (/=) :: ResizeMode -> ResizeMode -> Bool Source # |
data ScrollType Source #
Scrolling type
Constructors
Instances
Enum ScrollType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: ScrollType -> ScrollType Source # pred :: ScrollType -> ScrollType Source # toEnum :: Int -> ScrollType Source # fromEnum :: ScrollType -> Int Source # enumFrom :: ScrollType -> [ScrollType] Source # enumFromThen :: ScrollType -> ScrollType -> [ScrollType] Source # enumFromTo :: ScrollType -> ScrollType -> [ScrollType] Source # enumFromThenTo :: ScrollType -> ScrollType -> ScrollType -> [ScrollType] Source # | |
Show ScrollType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq ScrollType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: ScrollType -> ScrollType -> Bool Source # (/=) :: ScrollType -> ScrollType -> Bool Source # |
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 Source # pred :: ScrollStep -> ScrollStep Source # toEnum :: Int -> ScrollStep Source # fromEnum :: ScrollStep -> Int Source # enumFrom :: ScrollStep -> [ScrollStep] Source # enumFromThen :: ScrollStep -> ScrollStep -> [ScrollStep] Source # enumFromTo :: ScrollStep -> ScrollStep -> [ScrollStep] Source # enumFromThenTo :: ScrollStep -> ScrollStep -> ScrollStep -> [ScrollStep] Source # | |
Show ScrollStep Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq ScrollStep Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: ScrollStep -> ScrollStep -> Bool Source # (/=) :: ScrollStep -> ScrollStep -> Bool Source # |
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 Source # pred :: SelectionMode -> SelectionMode Source # toEnum :: Int -> SelectionMode Source # fromEnum :: SelectionMode -> Int Source # enumFrom :: SelectionMode -> [SelectionMode] Source # enumFromThen :: SelectionMode -> SelectionMode -> [SelectionMode] Source # enumFromTo :: SelectionMode -> SelectionMode -> [SelectionMode] Source # enumFromThenTo :: SelectionMode -> SelectionMode -> SelectionMode -> [SelectionMode] Source # | |
Show SelectionMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq SelectionMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: SelectionMode -> SelectionMode -> Bool Source # (/=) :: SelectionMode -> SelectionMode -> Bool Source # |
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 Source # pred :: ShadowType -> ShadowType Source # toEnum :: Int -> ShadowType Source # fromEnum :: ShadowType -> Int Source # enumFrom :: ShadowType -> [ShadowType] Source # enumFromThen :: ShadowType -> ShadowType -> [ShadowType] Source # enumFromTo :: ShadowType -> ShadowType -> [ShadowType] Source # enumFromThenTo :: ShadowType -> ShadowType -> ShadowType -> [ShadowType] Source # | |
Show ShadowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq ShadowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: ShadowType -> ShadowType -> Bool Source # (/=) :: ShadowType -> ShadowType -> Bool Source # |
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 Source # pred :: StateFlags -> StateFlags Source # toEnum :: Int -> StateFlags Source # fromEnum :: StateFlags -> Int Source # enumFrom :: StateFlags -> [StateFlags] Source # enumFromThen :: StateFlags -> StateFlags -> [StateFlags] Source # enumFromTo :: StateFlags -> StateFlags -> [StateFlags] Source # enumFromThenTo :: StateFlags -> StateFlags -> StateFlags -> [StateFlags] Source # | |
Show StateFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq StateFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: StateFlags -> StateFlags -> Bool Source # (/=) :: StateFlags -> StateFlags -> Bool Source # | |
Flags StateFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
Constructors
SortAscending | |
SortDescending |
Instances
Enum SortType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: SortType -> SortType Source # pred :: SortType -> SortType Source # toEnum :: Int -> SortType Source # fromEnum :: SortType -> Int Source # enumFrom :: SortType -> [SortType] Source # enumFromThen :: SortType -> SortType -> [SortType] Source # enumFromTo :: SortType -> SortType -> [SortType] Source # enumFromThenTo :: SortType -> SortType -> SortType -> [SortType] Source # | |
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 Methods succ :: StateType -> StateType Source # pred :: StateType -> StateType Source # toEnum :: Int -> StateType Source # fromEnum :: StateType -> Int Source # enumFrom :: StateType -> [StateType] Source # enumFromThen :: StateType -> StateType -> [StateType] Source # enumFromTo :: StateType -> StateType -> [StateType] Source # enumFromThenTo :: StateType -> StateType -> StateType -> [StateType] Source # | |
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 Methods succ :: SpinType -> SpinType Source # pred :: SpinType -> SpinType Source # toEnum :: Int -> SpinType Source # fromEnum :: SpinType -> Int Source # enumFrom :: SpinType -> [SpinType] Source # enumFromThen :: SpinType -> SpinType -> [SpinType] Source # enumFromTo :: SpinType -> SpinType -> [SpinType] Source # enumFromThenTo :: SpinType -> SpinType -> SpinType -> [SpinType] Source # | |
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 Source # pred :: TargetFlags -> TargetFlags Source # toEnum :: Int -> TargetFlags Source # fromEnum :: TargetFlags -> Int Source # enumFrom :: TargetFlags -> [TargetFlags] Source # enumFromThen :: TargetFlags -> TargetFlags -> [TargetFlags] Source # enumFromTo :: TargetFlags -> TargetFlags -> [TargetFlags] Source # enumFromThenTo :: TargetFlags -> TargetFlags -> TargetFlags -> [TargetFlags] Source # | |
Show TargetFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq TargetFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: TargetFlags -> TargetFlags -> Bool Source # (/=) :: TargetFlags -> TargetFlags -> Bool Source # | |
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 Source # pred :: TextDirection -> TextDirection Source # toEnum :: Int -> TextDirection Source # fromEnum :: TextDirection -> Int Source # enumFrom :: TextDirection -> [TextDirection] Source # enumFromThen :: TextDirection -> TextDirection -> [TextDirection] Source # enumFromTo :: TextDirection -> TextDirection -> [TextDirection] Source # enumFromThenTo :: TextDirection -> TextDirection -> TextDirection -> [TextDirection] Source # | |
Show TextDirection Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq TextDirection Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: TextDirection -> TextDirection -> Bool Source # (/=) :: TextDirection -> TextDirection -> Bool Source # |
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 Source # pred :: TextWindowType -> TextWindowType Source # toEnum :: Int -> TextWindowType Source # fromEnum :: TextWindowType -> Int Source # enumFrom :: TextWindowType -> [TextWindowType] Source # enumFromThen :: TextWindowType -> TextWindowType -> [TextWindowType] Source # enumFromTo :: TextWindowType -> TextWindowType -> [TextWindowType] Source # enumFromThenTo :: TextWindowType -> TextWindowType -> TextWindowType -> [TextWindowType] Source # | |
Show TextWindowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq TextWindowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: TextWindowType -> TextWindowType -> Bool Source # (/=) :: TextWindowType -> TextWindowType -> Bool Source # |
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 Source # pred :: ToolbarStyle -> ToolbarStyle Source # toEnum :: Int -> ToolbarStyle Source # fromEnum :: ToolbarStyle -> Int Source # enumFrom :: ToolbarStyle -> [ToolbarStyle] Source # enumFromThen :: ToolbarStyle -> ToolbarStyle -> [ToolbarStyle] Source # enumFromTo :: ToolbarStyle -> ToolbarStyle -> [ToolbarStyle] Source # enumFromThenTo :: ToolbarStyle -> ToolbarStyle -> ToolbarStyle -> [ToolbarStyle] Source # | |
Show ToolbarStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq ToolbarStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: ToolbarStyle -> ToolbarStyle -> Bool Source # (/=) :: ToolbarStyle -> ToolbarStyle -> Bool Source # |
data TreeViewColumnSizing Source #
Whether columns of a tree or list widget can be resized.
Instances
Enum TreeViewColumnSizing Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: TreeViewColumnSizing -> TreeViewColumnSizing Source # pred :: TreeViewColumnSizing -> TreeViewColumnSizing Source # toEnum :: Int -> TreeViewColumnSizing Source # fromEnum :: TreeViewColumnSizing -> Int Source # enumFrom :: TreeViewColumnSizing -> [TreeViewColumnSizing] Source # enumFromThen :: TreeViewColumnSizing -> TreeViewColumnSizing -> [TreeViewColumnSizing] Source # enumFromTo :: TreeViewColumnSizing -> TreeViewColumnSizing -> [TreeViewColumnSizing] Source # enumFromThenTo :: TreeViewColumnSizing -> TreeViewColumnSizing -> TreeViewColumnSizing -> [TreeViewColumnSizing] Source # | |
Show TreeViewColumnSizing Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq TreeViewColumnSizing Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: TreeViewColumnSizing -> TreeViewColumnSizing -> Bool Source # (/=) :: TreeViewColumnSizing -> TreeViewColumnSizing -> Bool Source # |
data WindowPosition Source #
Window position types
Instances
Enum WindowPosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: WindowPosition -> WindowPosition Source # pred :: WindowPosition -> WindowPosition Source # toEnum :: Int -> WindowPosition Source # fromEnum :: WindowPosition -> Int Source # enumFrom :: WindowPosition -> [WindowPosition] Source # enumFromThen :: WindowPosition -> WindowPosition -> [WindowPosition] Source # enumFromTo :: WindowPosition -> WindowPosition -> [WindowPosition] Source # enumFromThenTo :: WindowPosition -> WindowPosition -> WindowPosition -> [WindowPosition] Source # | |
Show WindowPosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq WindowPosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: WindowPosition -> WindowPosition -> Bool Source # (/=) :: WindowPosition -> WindowPosition -> Bool Source # |
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 Source # pred :: WindowType -> WindowType Source # toEnum :: Int -> WindowType Source # fromEnum :: WindowType -> Int Source # enumFrom :: WindowType -> [WindowType] Source # enumFromThen :: WindowType -> WindowType -> [WindowType] Source # enumFromTo :: WindowType -> WindowType -> [WindowType] Source # enumFromThenTo :: WindowType -> WindowType -> WindowType -> [WindowType] Source # | |
Show WindowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq WindowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: WindowType -> WindowType -> Bool Source # (/=) :: WindowType -> WindowType -> Bool Source # |
Determine how lines are wrapped in a TextView
.
Constructors
WrapNone | |
WrapChar | |
WrapWord | |
WrapWordChar |
Instances
Enum WrapMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: WrapMode -> WrapMode Source # pred :: WrapMode -> WrapMode Source # toEnum :: Int -> WrapMode Source # fromEnum :: WrapMode -> Int Source # enumFrom :: WrapMode -> [WrapMode] Source # enumFromThen :: WrapMode -> WrapMode -> [WrapMode] Source # enumFromTo :: WrapMode -> WrapMode -> [WrapMode] Source # enumFromThenTo :: WrapMode -> WrapMode -> WrapMode -> [WrapMode] Source # | |
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 Source # pred :: EntryIconPosition -> EntryIconPosition Source # toEnum :: Int -> EntryIconPosition Source # fromEnum :: EntryIconPosition -> Int Source # enumFrom :: EntryIconPosition -> [EntryIconPosition] Source # enumFromThen :: EntryIconPosition -> EntryIconPosition -> [EntryIconPosition] Source # enumFromTo :: EntryIconPosition -> EntryIconPosition -> [EntryIconPosition] Source # enumFromThenTo :: EntryIconPosition -> EntryIconPosition -> EntryIconPosition -> [EntryIconPosition] Source # | |
Show EntryIconPosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq EntryIconPosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: EntryIconPosition -> EntryIconPosition -> Bool Source # (/=) :: EntryIconPosition -> EntryIconPosition -> Bool Source # |
data StackTransitionType Source #
Constructors
Instances
Enum StackTransitionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: StackTransitionType -> StackTransitionType Source # pred :: StackTransitionType -> StackTransitionType Source # toEnum :: Int -> StackTransitionType Source # fromEnum :: StackTransitionType -> Int Source # enumFrom :: StackTransitionType -> [StackTransitionType] Source # enumFromThen :: StackTransitionType -> StackTransitionType -> [StackTransitionType] Source # enumFromTo :: StackTransitionType -> StackTransitionType -> [StackTransitionType] Source # enumFromThenTo :: StackTransitionType -> StackTransitionType -> StackTransitionType -> [StackTransitionType] Source # | |
Show StackTransitionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq StackTransitionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: StackTransitionType -> StackTransitionType -> Bool Source # (/=) :: StackTransitionType -> StackTransitionType -> Bool Source # |
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 Source # pred :: CrossingMode -> CrossingMode Source # toEnum :: Int -> CrossingMode Source # fromEnum :: CrossingMode -> Int Source # enumFrom :: CrossingMode -> [CrossingMode] Source # enumFromThen :: CrossingMode -> CrossingMode -> [CrossingMode] Source # enumFromTo :: CrossingMode -> CrossingMode -> [CrossingMode] Source # enumFromThenTo :: CrossingMode -> CrossingMode -> CrossingMode -> [CrossingMode] Source # | |
Show CrossingMode Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Eq CrossingMode Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: CrossingMode -> CrossingMode -> Bool Source # (/=) :: CrossingMode -> CrossingMode -> Bool Source # |
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
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 Source # pred :: DragAction -> DragAction Source # toEnum :: Int -> DragAction Source # fromEnum :: DragAction -> Int Source # enumFrom :: DragAction -> [DragAction] Source # enumFromThen :: DragAction -> DragAction -> [DragAction] Source # enumFromTo :: DragAction -> DragAction -> [DragAction] Source # enumFromThenTo :: DragAction -> DragAction -> DragAction -> [DragAction] Source # | |
Show DragAction Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Eq DragAction Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: DragAction -> DragAction -> Bool Source # (/=) :: DragAction -> DragAction -> Bool Source # | |
Flags DragAction Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums |
Specify which events a widget will emit signals on.
Constructors
Instances
Bounded EventMask Source # | |
Enum EventMask Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: EventMask -> EventMask Source # pred :: EventMask -> EventMask Source # toEnum :: Int -> EventMask Source # fromEnum :: EventMask -> Int Source # enumFrom :: EventMask -> [EventMask] Source # enumFromThen :: EventMask -> EventMask -> [EventMask] Source # enumFromTo :: EventMask -> EventMask -> [EventMask] Source # enumFromThenTo :: EventMask -> EventMask -> EventMask -> [EventMask] Source # | |
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 modifiers 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 # | |
Enum Modifier Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: Modifier -> Modifier Source # pred :: Modifier -> Modifier Source # toEnum :: Int -> Modifier Source # fromEnum :: Modifier -> Int Source # enumFrom :: Modifier -> [Modifier] Source # enumFromThen :: Modifier -> Modifier -> [Modifier] Source # enumFromTo :: Modifier -> Modifier -> [Modifier] Source # enumFromThenTo :: Modifier -> Modifier -> Modifier -> [Modifier] Source # | |
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 Source # pred :: ModifierIntent -> ModifierIntent Source # toEnum :: Int -> ModifierIntent Source # fromEnum :: ModifierIntent -> Int Source # enumFrom :: ModifierIntent -> [ModifierIntent] Source # enumFromThen :: ModifierIntent -> ModifierIntent -> [ModifierIntent] Source # enumFromTo :: ModifierIntent -> ModifierIntent -> [ModifierIntent] Source # enumFromThenTo :: ModifierIntent -> ModifierIntent -> ModifierIntent -> [ModifierIntent] Source # | |
Show ModifierIntent Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Eq ModifierIntent Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: ModifierIntent -> ModifierIntent -> Bool Source # (/=) :: ModifierIntent -> ModifierIntent -> Bool Source # |
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 Source # pred :: NotifyType -> NotifyType Source # toEnum :: Int -> NotifyType Source # fromEnum :: NotifyType -> Int Source # enumFrom :: NotifyType -> [NotifyType] Source # enumFromThen :: NotifyType -> NotifyType -> [NotifyType] Source # enumFromTo :: NotifyType -> NotifyType -> [NotifyType] Source # enumFromThenTo :: NotifyType -> NotifyType -> NotifyType -> [NotifyType] Source # | |
Show NotifyType Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Eq NotifyType Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: NotifyType -> NotifyType -> Bool Source # (/=) :: NotifyType -> NotifyType -> Bool Source # |
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 Source # pred :: ScrollDirection -> ScrollDirection Source # toEnum :: Int -> ScrollDirection Source # fromEnum :: ScrollDirection -> Int Source # enumFrom :: ScrollDirection -> [ScrollDirection] Source # enumFromThen :: ScrollDirection -> ScrollDirection -> [ScrollDirection] Source # enumFromTo :: ScrollDirection -> ScrollDirection -> [ScrollDirection] Source # enumFromThenTo :: ScrollDirection -> ScrollDirection -> ScrollDirection -> [ScrollDirection] Source # | |
Show ScrollDirection Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Eq ScrollDirection Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: ScrollDirection -> ScrollDirection -> Bool Source # (/=) :: ScrollDirection -> ScrollDirection -> Bool Source # |
data VisibilityState Source #
visibility of a window
Instances
Enum VisibilityState Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: VisibilityState -> VisibilityState Source # pred :: VisibilityState -> VisibilityState Source # toEnum :: Int -> VisibilityState Source # fromEnum :: VisibilityState -> Int Source # enumFrom :: VisibilityState -> [VisibilityState] Source # enumFromThen :: VisibilityState -> VisibilityState -> [VisibilityState] Source # enumFromTo :: VisibilityState -> VisibilityState -> [VisibilityState] Source # enumFromThenTo :: VisibilityState -> VisibilityState -> VisibilityState -> [VisibilityState] Source # | |
Show VisibilityState Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Eq VisibilityState Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: VisibilityState -> VisibilityState -> Bool Source # (/=) :: VisibilityState -> VisibilityState -> Bool Source # |
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 Source # pred :: WindowEdge -> WindowEdge Source # toEnum :: Int -> WindowEdge Source # fromEnum :: WindowEdge -> Int Source # enumFrom :: WindowEdge -> [WindowEdge] Source # enumFromThen :: WindowEdge -> WindowEdge -> [WindowEdge] Source # enumFromTo :: WindowEdge -> WindowEdge -> [WindowEdge] Source # enumFromThenTo :: WindowEdge -> WindowEdge -> WindowEdge -> [WindowEdge] Source # | |
Show WindowEdge Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Eq WindowEdge Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: WindowEdge -> WindowEdge -> Bool Source # (/=) :: WindowEdge -> WindowEdge -> Bool Source # |
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 Source # pred :: WindowTypeHint -> WindowTypeHint Source # toEnum :: Int -> WindowTypeHint Source # fromEnum :: WindowTypeHint -> Int Source # enumFrom :: WindowTypeHint -> [WindowTypeHint] Source # enumFromThen :: WindowTypeHint -> WindowTypeHint -> [WindowTypeHint] Source # enumFromTo :: WindowTypeHint -> WindowTypeHint -> [WindowTypeHint] Source # enumFromThenTo :: WindowTypeHint -> WindowTypeHint -> WindowTypeHint -> [WindowTypeHint] Source # | |
Show WindowTypeHint Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Eq WindowTypeHint Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: WindowTypeHint -> WindowTypeHint -> Bool Source # (/=) :: WindowTypeHint -> WindowTypeHint -> Bool Source # |
Constructors
GravityNorthWest | |
GravityNorth | |
GravityNorthEast | |
GravityWest | |
GravityCenter | |
GravityEast | |
GravitySouthWest | |
GravitySouth | |
GravitySouthEast | |
GravityStatic |
Instances
Enum Gravity Source # | Returned by
|
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: Gravity -> Gravity Source # pred :: Gravity -> Gravity Source # toEnum :: Int -> Gravity Source # fromEnum :: Gravity -> Int Source # enumFrom :: Gravity -> [Gravity] Source # enumFromThen :: Gravity -> Gravity -> [Gravity] Source # enumFromTo :: Gravity -> Gravity -> [Gravity] Source # enumFromThenTo :: Gravity -> Gravity -> Gravity -> [Gravity] Source # | |
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 Source # pred :: GrabStatus -> GrabStatus Source # toEnum :: Int -> GrabStatus Source # fromEnum :: GrabStatus -> Int Source # enumFrom :: GrabStatus -> [GrabStatus] Source # enumFromThen :: GrabStatus -> GrabStatus -> [GrabStatus] Source # enumFromTo :: GrabStatus -> GrabStatus -> [GrabStatus] Source # enumFromThenTo :: GrabStatus -> GrabStatus -> GrabStatus -> [GrabStatus] Source # | |
Show GrabStatus Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Eq GrabStatus Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: GrabStatus -> GrabStatus -> Bool Source # (/=) :: GrabStatus -> GrabStatus -> Bool Source # |
data OwnerChange Source #
Constructors
OwnerChangeNewOwner | |
OwnerChangeDestroy | |
OwnerChangeClose |
Instances
Enum OwnerChange Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: OwnerChange -> OwnerChange Source # pred :: OwnerChange -> OwnerChange Source # toEnum :: Int -> OwnerChange Source # fromEnum :: OwnerChange -> Int Source # enumFrom :: OwnerChange -> [OwnerChange] Source # enumFromThen :: OwnerChange -> OwnerChange -> [OwnerChange] Source # enumFromTo :: OwnerChange -> OwnerChange -> [OwnerChange] Source # enumFromThenTo :: OwnerChange -> OwnerChange -> OwnerChange -> [OwnerChange] Source # | |
Show OwnerChange Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Eq OwnerChange Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: OwnerChange -> OwnerChange -> Bool Source # (/=) :: OwnerChange -> OwnerChange -> Bool Source # |