Maintainer | gtk2hs-users@lists.sourceforge.net |
---|---|
Stability | provisional |
Portability | portable (depends on GHC) |
Safe Haskell | Safe |
Language | Haskell98 |
Graphics.UI.Gtk.General.Enums
Description
General enumeration types.
Synopsis
- data AccelFlags
- data ArrowType
- data AttachOptions
- data MouseButton
- = LeftButton
- | MiddleButton
- | RightButton
- | OtherButton Int
- data ButtonBoxStyle
- data CalendarDisplayOptions
- data Click
- data CornerType
- data DeleteType
- data DestDefaults
- data DragResult
- data DirectionType
- data Justification
- data MatchType
- data MenuDirectionType
- data MetricType
- = Pixels
- | Inches
- | Centimeters
- data MovementStep
- data Orientation
- data Packing
- toPacking :: Bool -> Bool -> Packing
- fromPacking :: Packing -> (Bool, Bool)
- data PackType
- data PathPriorityType
- data PathType
- data PolicyType
- data PositionType
- data ProgressBarOrientation
- data ReliefStyle
- data ResizeMode
- data ScrollType
- data ScrollStep
- data SelectionMode
- data ShadowType
- data SortType
- data StateType
- data SubmenuDirection
- data SubmenuPlacement
- data SpinButtonUpdatePolicy
- data SpinType
- data TargetFlags
- data TextDirection
- data TextSearchFlags
- data TextWindowType
- data ToolbarStyle
- data TreeViewColumnSizing
- data UpdateType
- data Visibility
- data WindowPosition
- data WindowType
- data WrapMode
- data EntryIconPosition
- data AnchorType
- data CrossingMode
- data DragProtocol
- data DragAction
- data EventMask
- = ExposureMask
- | PointerMotionMask
- | PointerMotionHintMask
- | ButtonMotionMask
- | Button1MotionMask
- | Button2MotionMask
- | Button3MotionMask
- | ButtonPressMask
- | ButtonReleaseMask
- | KeyPressMask
- | KeyReleaseMask
- | EnterNotifyMask
- | LeaveNotifyMask
- | FocusChangeMask
- | StructureMask
- | PropertyChangeMask
- | VisibilityNotifyMask
- | ProximityInMask
- | ProximityOutMask
- | SubstructureMask
- | ScrollMask
- | AllEventsMask
- data Modifier
- data NotifyType
- data ScrollDirection
- data VisibilityState
- data WindowState
- data WindowEdge
- data WindowTypeHint
- = WindowTypeHintNormal
- | WindowTypeHintDialog
- | WindowTypeHintMenu
- | WindowTypeHintToolbar
- | WindowTypeHintSplashscreen
- | WindowTypeHintUtility
- | WindowTypeHintDock
- | WindowTypeHintDesktop
- | WindowTypeHintDropdownMenu
- | WindowTypeHintPopupMenu
- | WindowTypeHintTooltip
- | WindowTypeHintNotification
- | WindowTypeHintCombo
- | WindowTypeHintDnd
- data Gravity
- data GrabStatus
- data OwnerChange
- data ExtensionMode
- data CapStyle
- data Dither
- data Fill
- = Solid
- | Tiled
- | Stippled
- | OpaqueStippled
- data Function
- data InputCondition
- data JoinStyle
- data LineStyle
- data SubwindowMode
Documentation
data AccelFlags Source #
State of an accelerator
Constructors
AccelVisible | |
AccelLocked | |
AccelMask |
Instances
Bounded AccelFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Enum AccelFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: AccelFlags -> AccelFlags pred :: AccelFlags -> AccelFlags toEnum :: Int -> AccelFlags fromEnum :: AccelFlags -> Int enumFrom :: AccelFlags -> [AccelFlags] enumFromThen :: AccelFlags -> AccelFlags -> [AccelFlags] enumFromTo :: AccelFlags -> AccelFlags -> [AccelFlags] enumFromThenTo :: AccelFlags -> AccelFlags -> AccelFlags -> [AccelFlags] | |
Eq AccelFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show AccelFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> AccelFlags -> ShowS show :: AccelFlags -> String showList :: [AccelFlags] -> ShowS | |
Flags AccelFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
Arrow directions for the arrow widget
Constructors
ArrowUp | |
ArrowDown | |
ArrowLeft | |
ArrowRight | |
ArrowNone |
Instances
Enum ArrowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq ArrowType Source # | |
Show ArrowType Source # | |
data AttachOptions Source #
Child widget attach options for table containers
Instances
Bounded AttachOptions Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Enum AttachOptions Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: AttachOptions -> AttachOptions pred :: AttachOptions -> AttachOptions toEnum :: Int -> AttachOptions fromEnum :: AttachOptions -> Int enumFrom :: AttachOptions -> [AttachOptions] enumFromThen :: AttachOptions -> AttachOptions -> [AttachOptions] enumFromTo :: AttachOptions -> AttachOptions -> [AttachOptions] enumFromThenTo :: AttachOptions -> AttachOptions -> AttachOptions -> [AttachOptions] | |
Eq AttachOptions Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show AttachOptions Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> AttachOptions -> ShowS show :: AttachOptions -> String showList :: [AttachOptions] -> ShowS | |
Flags AttachOptions Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
data MouseButton Source #
Mouse buttons.
Constructors
LeftButton | |
MiddleButton | |
RightButton | |
OtherButton Int |
Instances
Enum MouseButton Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: MouseButton -> MouseButton pred :: MouseButton -> MouseButton toEnum :: Int -> MouseButton fromEnum :: MouseButton -> Int enumFrom :: MouseButton -> [MouseButton] enumFromThen :: MouseButton -> MouseButton -> [MouseButton] enumFromTo :: MouseButton -> MouseButton -> [MouseButton] enumFromThenTo :: MouseButton -> MouseButton -> MouseButton -> [MouseButton] | |
Eq MouseButton Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show MouseButton Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> MouseButton -> ShowS show :: MouseButton -> String showList :: [MouseButton] -> ShowS |
data ButtonBoxStyle Source #
Dictate the style that a ButtonBox uses to align it contents
Constructors
ButtonboxDefaultStyle | |
ButtonboxSpread | |
ButtonboxEdge | |
ButtonboxStart | |
ButtonboxEnd | |
ButtonboxCenter |
Instances
Enum ButtonBoxStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: ButtonBoxStyle -> ButtonBoxStyle pred :: ButtonBoxStyle -> ButtonBoxStyle toEnum :: Int -> ButtonBoxStyle fromEnum :: ButtonBoxStyle -> Int enumFrom :: ButtonBoxStyle -> [ButtonBoxStyle] enumFromThen :: ButtonBoxStyle -> ButtonBoxStyle -> [ButtonBoxStyle] enumFromTo :: ButtonBoxStyle -> ButtonBoxStyle -> [ButtonBoxStyle] enumFromThenTo :: ButtonBoxStyle -> ButtonBoxStyle -> ButtonBoxStyle -> [ButtonBoxStyle] | |
Eq ButtonBoxStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: ButtonBoxStyle -> ButtonBoxStyle -> Bool (/=) :: ButtonBoxStyle -> ButtonBoxStyle -> Bool | |
Show ButtonBoxStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ButtonBoxStyle -> ShowS show :: ButtonBoxStyle -> String showList :: [ButtonBoxStyle] -> ShowS |
data CalendarDisplayOptions Source #
Specify which items of a calendar should be displayed.
Constructors
CalendarShowHeading | |
CalendarShowDayNames | |
CalendarNoMonthChange | |
CalendarShowWeekNumbers | |
CalendarWeekStartMonday | |
CalendarShowDetails |
Instances
Type of mouse click
Constructors
SingleClick | |
DoubleClick | |
TripleClick | |
ReleaseClick |
data CornerType Source #
Specifies in which corner a child widget should be placed
Constructors
CornerTopLeft | |
CornerBottomLeft | |
CornerTopRight | |
CornerBottomRight |
Instances
Enum CornerType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: CornerType -> CornerType pred :: CornerType -> CornerType toEnum :: Int -> CornerType fromEnum :: CornerType -> Int enumFrom :: CornerType -> [CornerType] enumFromThen :: CornerType -> CornerType -> [CornerType] enumFromTo :: CornerType -> CornerType -> [CornerType] enumFromThenTo :: CornerType -> CornerType -> CornerType -> [CornerType] | |
Eq CornerType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show CornerType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> CornerType -> ShowS show :: CornerType -> String showList :: [CornerType] -> ShowS |
data DeleteType Source #
Editing option
Constructors
DeleteChars | |
DeleteWordEnds | |
DeleteWords | |
DeleteDisplayLines | |
DeleteDisplayLineEnds | |
DeleteParagraphEnds | |
DeleteParagraphs | |
DeleteWhitespace |
Instances
Enum DeleteType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: DeleteType -> DeleteType pred :: DeleteType -> DeleteType toEnum :: Int -> DeleteType fromEnum :: DeleteType -> Int enumFrom :: DeleteType -> [DeleteType] enumFromThen :: DeleteType -> DeleteType -> [DeleteType] enumFromTo :: DeleteType -> DeleteType -> [DeleteType] enumFromThenTo :: DeleteType -> DeleteType -> DeleteType -> [DeleteType] | |
Eq DeleteType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show DeleteType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> DeleteType -> ShowS show :: DeleteType -> String showList :: [DeleteType] -> ShowS |
data DestDefaults Source #
The DestDefaults
enumeration specifies the various types of action that
will be taken on behalf of the user for a drag destination site.
DestDefaultMotion
: If set for a widget, GTK+, during a drag over this widget will check if the drag matches this widget's list of possible targets and actions. GTK+ will then 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] | |
Eq DragResult Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show DragResult Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> DragResult -> ShowS show :: DragResult -> String showList :: [DragResult] -> ShowS |
data DirectionType Source #
Editing direction
Constructors
DirTabForward | |
DirTabBackward | |
DirUp | |
DirDown | |
DirLeft | |
DirRight |
Instances
Enum DirectionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: DirectionType -> DirectionType pred :: DirectionType -> DirectionType toEnum :: Int -> DirectionType fromEnum :: DirectionType -> Int enumFrom :: DirectionType -> [DirectionType] enumFromThen :: DirectionType -> DirectionType -> [DirectionType] enumFromTo :: DirectionType -> DirectionType -> [DirectionType] enumFromThenTo :: DirectionType -> DirectionType -> DirectionType -> [DirectionType] | |
Eq DirectionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show DirectionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> DirectionType -> ShowS show :: DirectionType -> String showList :: [DirectionType] -> ShowS |
data Justification Source #
Justification for label and maybe other widgets (text?)
Constructors
JustifyLeft | |
JustifyRight | |
JustifyCenter | |
JustifyFill |
Instances
Enum Justification Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: Justification -> Justification pred :: Justification -> Justification toEnum :: Int -> Justification fromEnum :: Justification -> Int enumFrom :: Justification -> [Justification] enumFromThen :: Justification -> Justification -> [Justification] enumFromTo :: Justification -> Justification -> [Justification] enumFromThenTo :: Justification -> Justification -> Justification -> [Justification] | |
Eq Justification Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show Justification Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> Justification -> ShowS show :: Justification -> String showList :: [Justification] -> ShowS |
Some kind of string search options
Removed in Gtk3.
Constructors
MatchAll | |
MatchAllTail | |
MatchHead | |
MatchTail | |
MatchExact | |
MatchLast |
Instances
Enum MatchType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq MatchType Source # | |
Show MatchType 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 pred :: MenuDirectionType -> MenuDirectionType toEnum :: Int -> MenuDirectionType fromEnum :: MenuDirectionType -> Int enumFrom :: MenuDirectionType -> [MenuDirectionType] enumFromThen :: MenuDirectionType -> MenuDirectionType -> [MenuDirectionType] enumFromTo :: MenuDirectionType -> MenuDirectionType -> [MenuDirectionType] enumFromThenTo :: MenuDirectionType -> MenuDirectionType -> MenuDirectionType -> [MenuDirectionType] | |
Eq MenuDirectionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: MenuDirectionType -> MenuDirectionType -> Bool (/=) :: MenuDirectionType -> MenuDirectionType -> Bool | |
Show MenuDirectionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> MenuDirectionType -> ShowS show :: MenuDirectionType -> String showList :: [MenuDirectionType] -> ShowS |
data MetricType Source #
Units of measure
Removed in Gtk3.
Constructors
Pixels | |
Inches | |
Centimeters |
Instances
Enum MetricType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: MetricType -> MetricType pred :: MetricType -> MetricType toEnum :: Int -> MetricType fromEnum :: MetricType -> Int enumFrom :: MetricType -> [MetricType] enumFromThen :: MetricType -> MetricType -> [MetricType] enumFromTo :: MetricType -> MetricType -> [MetricType] enumFromThenTo :: MetricType -> MetricType -> MetricType -> [MetricType] | |
Eq MetricType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show MetricType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> MetricType -> ShowS show :: MetricType -> String showList :: [MetricType] -> ShowS |
data MovementStep Source #
Movement in text widget
Constructors
Instances
Enum MovementStep Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: MovementStep -> MovementStep pred :: MovementStep -> MovementStep toEnum :: Int -> MovementStep fromEnum :: MovementStep -> Int enumFrom :: MovementStep -> [MovementStep] enumFromThen :: MovementStep -> MovementStep -> [MovementStep] enumFromTo :: MovementStep -> MovementStep -> [MovementStep] enumFromThenTo :: MovementStep -> MovementStep -> MovementStep -> [MovementStep] | |
Eq MovementStep Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show MovementStep Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> MovementStep -> ShowS show :: MovementStep -> String showList :: [MovementStep] -> ShowS |
data Orientation Source #
Orientation is good
Constructors
OrientationHorizontal | |
OrientationVertical |
Instances
Enum Orientation Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: Orientation -> Orientation pred :: Orientation -> Orientation toEnum :: Int -> Orientation fromEnum :: Orientation -> Int enumFrom :: Orientation -> [Orientation] enumFromThen :: Orientation -> Orientation -> [Orientation] enumFromTo :: Orientation -> Orientation -> [Orientation] enumFromThenTo :: Orientation -> Orientation -> Orientation -> [Orientation] | |
Eq Orientation Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show Orientation Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> Orientation -> ShowS show :: Orientation -> String showList :: [Orientation] -> ShowS |
Packing parameters of a widget
- The
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 | |
Eq PackType Source # | |
Show PackType Source # | |
data PathPriorityType Source #
Priorities
Instances
Enum PathPriorityType Source # | Scrollbar policy types (for scrolled windows) |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: PathPriorityType -> PathPriorityType pred :: PathPriorityType -> PathPriorityType toEnum :: Int -> PathPriorityType fromEnum :: PathPriorityType -> Int enumFrom :: PathPriorityType -> [PathPriorityType] enumFromThen :: PathPriorityType -> PathPriorityType -> [PathPriorityType] enumFromTo :: PathPriorityType -> PathPriorityType -> [PathPriorityType] enumFromThenTo :: PathPriorityType -> PathPriorityType -> PathPriorityType -> [PathPriorityType] | |
Eq PathPriorityType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: PathPriorityType -> PathPriorityType -> Bool (/=) :: PathPriorityType -> PathPriorityType -> Bool | |
Show PathPriorityType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> PathPriorityType -> ShowS show :: PathPriorityType -> String showList :: [PathPriorityType] -> ShowS |
Widget identification path
Constructors
PathWidget | |
PathWidgetClass | |
PathClass |
Instances
Enum PathType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq PathType Source # | |
Show PathType Source # | |
data PolicyType Source #
Constructors
PolicyAlways | |
PolicyAutomatic | |
PolicyNever |
Instances
Enum PolicyType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: PolicyType -> PolicyType pred :: PolicyType -> PolicyType toEnum :: Int -> PolicyType fromEnum :: PolicyType -> Int enumFrom :: PolicyType -> [PolicyType] enumFromThen :: PolicyType -> PolicyType -> [PolicyType] enumFromTo :: PolicyType -> PolicyType -> [PolicyType] enumFromThenTo :: PolicyType -> PolicyType -> PolicyType -> [PolicyType] | |
Eq PolicyType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show PolicyType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> PolicyType -> ShowS show :: PolicyType -> String showList :: [PolicyType] -> ShowS |
data PositionType Source #
Position a scale's value is drawn relative to the trough
Instances
Enum PositionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: PositionType -> PositionType pred :: PositionType -> PositionType toEnum :: Int -> PositionType fromEnum :: PositionType -> Int enumFrom :: PositionType -> [PositionType] enumFromThen :: PositionType -> PositionType -> [PositionType] enumFromTo :: PositionType -> PositionType -> [PositionType] enumFromThenTo :: PositionType -> PositionType -> PositionType -> [PositionType] | |
Eq PositionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show PositionType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> PositionType -> ShowS show :: PositionType -> String showList :: [PositionType] -> ShowS |
data ProgressBarOrientation Source #
Is the ProgressBar horizontally or vertically directed?
Removed in Gtk3.
Instances
data ReliefStyle Source #
I don't have a clue.
Constructors
ReliefNormal | |
ReliefHalf | |
ReliefNone |
Instances
Enum ReliefStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: ReliefStyle -> ReliefStyle pred :: ReliefStyle -> ReliefStyle toEnum :: Int -> ReliefStyle fromEnum :: ReliefStyle -> Int enumFrom :: ReliefStyle -> [ReliefStyle] enumFromThen :: ReliefStyle -> ReliefStyle -> [ReliefStyle] enumFromTo :: ReliefStyle -> ReliefStyle -> [ReliefStyle] enumFromThenTo :: ReliefStyle -> ReliefStyle -> ReliefStyle -> [ReliefStyle] | |
Eq ReliefStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show ReliefStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ReliefStyle -> ShowS show :: ReliefStyle -> String showList :: [ReliefStyle] -> ShowS |
data ResizeMode Source #
Resize mode, for containers
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] | |
Eq ResizeMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show ResizeMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ResizeMode -> ShowS show :: ResizeMode -> String showList :: [ResizeMode] -> ShowS |
data ScrollType Source #
Scrolling type
Constructors
Instances
Enum ScrollType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: ScrollType -> ScrollType pred :: ScrollType -> ScrollType toEnum :: Int -> ScrollType fromEnum :: ScrollType -> Int enumFrom :: ScrollType -> [ScrollType] enumFromThen :: ScrollType -> ScrollType -> [ScrollType] enumFromTo :: ScrollType -> ScrollType -> [ScrollType] enumFromThenTo :: ScrollType -> ScrollType -> ScrollType -> [ScrollType] | |
Eq ScrollType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show ScrollType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ScrollType -> ShowS show :: ScrollType -> String showList :: [ScrollType] -> ShowS |
data ScrollStep Source #
Scrolling step
Constructors
ScrollSteps | |
ScrollPages | |
ScrollEnds | |
ScrollHorizontalSteps | |
ScrollHorizontalPages | |
ScrollHorizontalEnds |
Instances
Enum ScrollStep Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: ScrollStep -> ScrollStep pred :: ScrollStep -> ScrollStep toEnum :: Int -> ScrollStep fromEnum :: ScrollStep -> Int enumFrom :: ScrollStep -> [ScrollStep] enumFromThen :: ScrollStep -> ScrollStep -> [ScrollStep] enumFromTo :: ScrollStep -> ScrollStep -> [ScrollStep] enumFromThenTo :: ScrollStep -> ScrollStep -> ScrollStep -> [ScrollStep] | |
Eq ScrollStep Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show ScrollStep Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ScrollStep -> ShowS show :: ScrollStep -> String showList :: [ScrollStep] -> ShowS |
data SelectionMode Source #
Mode in which selections can be performed
- There is a deprecated entry SelectionExtended which should have the same value as SelectionMultiple. C2HS chokes on that construct.
Constructors
SelectionNone | |
SelectionSingle | |
SelectionBrowse | |
SelectionMultiple |
Instances
Enum SelectionMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: SelectionMode -> SelectionMode pred :: SelectionMode -> SelectionMode toEnum :: Int -> SelectionMode fromEnum :: SelectionMode -> Int enumFrom :: SelectionMode -> [SelectionMode] enumFromThen :: SelectionMode -> SelectionMode -> [SelectionMode] enumFromTo :: SelectionMode -> SelectionMode -> [SelectionMode] enumFromThenTo :: SelectionMode -> SelectionMode -> SelectionMode -> [SelectionMode] | |
Eq SelectionMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show SelectionMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> SelectionMode -> ShowS show :: SelectionMode -> String showList :: [SelectionMode] -> ShowS |
data ShadowType Source #
Shadow types
Constructors
ShadowNone | |
ShadowIn | |
ShadowOut | |
ShadowEtchedIn | |
ShadowEtchedOut |
Instances
Enum ShadowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: ShadowType -> ShadowType pred :: ShadowType -> ShadowType toEnum :: Int -> ShadowType fromEnum :: ShadowType -> Int enumFrom :: ShadowType -> [ShadowType] enumFromThen :: ShadowType -> ShadowType -> [ShadowType] enumFromTo :: ShadowType -> ShadowType -> [ShadowType] enumFromThenTo :: ShadowType -> ShadowType -> ShadowType -> [ShadowType] | |
Eq ShadowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show ShadowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ShadowType -> ShowS show :: ShadowType -> String showList :: [ShadowType] -> ShowS |
Constructors
SortAscending | |
SortDescending |
Instances
Enum SortType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq SortType Source # | |
Show SortType Source # | |
Widget states
Constructors
StateNormal | |
StateActive | |
StatePrelight | |
StateSelected | |
StateInsensitive |
Instances
Enum StateType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq StateType Source # | |
Show StateType Source # | |
data SubmenuDirection Source #
Submenu direction policies
Removed in Gtk3.
Constructors
DirectionLeft | |
DirectionRight |
Instances
data SpinButtonUpdatePolicy Source #
Whether to clamp or ignore illegal values.
Constructors
UpdateAlways | |
UpdateIfValid |
Instances
Spin a SpinButton with the following method.
Constructors
SpinStepForward | |
SpinStepBackward | |
SpinPageForward | |
SpinPageBackward | |
SpinHome | |
SpinEnd | |
SpinUserDefined |
Instances
Enum SpinType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq SpinType Source # | |
Show SpinType Source # | |
data TargetFlags Source #
The TargetFlags
enumeration is used to specify constraints on an entry
in a TargetList
. These flags are only
used for drag and drop.
- If the
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] | |
Eq TargetFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show TargetFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> TargetFlags -> ShowS show :: TargetFlags -> String showList :: [TargetFlags] -> ShowS | |
Flags TargetFlags Source # | |
Defined in Graphics.UI.Gtk.General.Enums |
data TextDirection Source #
Constructors
TextDirNone | |
TextDirLtr | |
TextDirRtl |
Instances
Enum TextDirection Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: TextDirection -> TextDirection pred :: TextDirection -> TextDirection toEnum :: Int -> TextDirection fromEnum :: TextDirection -> Int enumFrom :: TextDirection -> [TextDirection] enumFromThen :: TextDirection -> TextDirection -> [TextDirection] enumFromTo :: TextDirection -> TextDirection -> [TextDirection] enumFromThenTo :: TextDirection -> TextDirection -> TextDirection -> [TextDirection] | |
Eq TextDirection Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show TextDirection Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> TextDirection -> ShowS show :: TextDirection -> String showList :: [TextDirection] -> ShowS |
data TextSearchFlags Source #
Specify the way the search function for
TextBuffer
works.
Constructors
TextSearchVisibleOnly | |
TextSearchTextOnly |
Instances
data TextWindowType Source #
The window type for coordinate translation.
Constructors
TextWindowPrivate | |
TextWindowWidget | |
TextWindowText | |
TextWindowLeft | |
TextWindowRight | |
TextWindowTop | |
TextWindowBottom |
Instances
Enum TextWindowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: TextWindowType -> TextWindowType pred :: TextWindowType -> TextWindowType toEnum :: Int -> TextWindowType fromEnum :: TextWindowType -> Int enumFrom :: TextWindowType -> [TextWindowType] enumFromThen :: TextWindowType -> TextWindowType -> [TextWindowType] enumFromTo :: TextWindowType -> TextWindowType -> [TextWindowType] enumFromThenTo :: TextWindowType -> TextWindowType -> TextWindowType -> [TextWindowType] | |
Eq TextWindowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: TextWindowType -> TextWindowType -> Bool (/=) :: TextWindowType -> TextWindowType -> Bool | |
Show TextWindowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> TextWindowType -> ShowS show :: TextWindowType -> String showList :: [TextWindowType] -> ShowS |
data ToolbarStyle Source #
Where to place the toolbar?
Constructors
ToolbarIcons | |
ToolbarText | |
ToolbarBoth | |
ToolbarBothHoriz |
Instances
Enum ToolbarStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: ToolbarStyle -> ToolbarStyle pred :: ToolbarStyle -> ToolbarStyle toEnum :: Int -> ToolbarStyle fromEnum :: ToolbarStyle -> Int enumFrom :: ToolbarStyle -> [ToolbarStyle] enumFromThen :: ToolbarStyle -> ToolbarStyle -> [ToolbarStyle] enumFromTo :: ToolbarStyle -> ToolbarStyle -> [ToolbarStyle] enumFromThenTo :: ToolbarStyle -> ToolbarStyle -> ToolbarStyle -> [ToolbarStyle] | |
Eq ToolbarStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show ToolbarStyle Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> ToolbarStyle -> ShowS show :: ToolbarStyle -> String showList :: [ToolbarStyle] -> ShowS |
data TreeViewColumnSizing Source #
Wether columns of a tree or list widget can be resized.
Instances
data UpdateType Source #
Updating types for range widgets (determines when the
"connectToValueChanged"
signal is emitted by the widget)
Removed in Gtk3.
Constructors
UpdateContinuous | |
UpdateDiscontinuous | |
UpdateDelayed |
Instances
Enum UpdateType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: UpdateType -> UpdateType pred :: UpdateType -> UpdateType toEnum :: Int -> UpdateType fromEnum :: UpdateType -> Int enumFrom :: UpdateType -> [UpdateType] enumFromThen :: UpdateType -> UpdateType -> [UpdateType] enumFromTo :: UpdateType -> UpdateType -> [UpdateType] enumFromThenTo :: UpdateType -> UpdateType -> UpdateType -> [UpdateType] | |
Eq UpdateType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show UpdateType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> UpdateType -> ShowS show :: UpdateType -> String showList :: [UpdateType] -> ShowS |
data Visibility Source #
Visibility
Removed in Gtk3.
Constructors
VisibilityNone | |
VisibilityPartial | |
VisibilityFull |
Instances
Enum Visibility Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: Visibility -> Visibility pred :: Visibility -> Visibility toEnum :: Int -> Visibility fromEnum :: Visibility -> Int enumFrom :: Visibility -> [Visibility] enumFromThen :: Visibility -> Visibility -> [Visibility] enumFromTo :: Visibility -> Visibility -> [Visibility] enumFromThenTo :: Visibility -> Visibility -> Visibility -> [Visibility] | |
Eq Visibility Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show Visibility Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> Visibility -> ShowS show :: Visibility -> String showList :: [Visibility] -> ShowS |
data WindowPosition Source #
Window position types
Instances
Enum WindowPosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: WindowPosition -> WindowPosition pred :: WindowPosition -> WindowPosition toEnum :: Int -> WindowPosition fromEnum :: WindowPosition -> Int enumFrom :: WindowPosition -> [WindowPosition] enumFromThen :: WindowPosition -> WindowPosition -> [WindowPosition] enumFromTo :: WindowPosition -> WindowPosition -> [WindowPosition] enumFromThenTo :: WindowPosition -> WindowPosition -> WindowPosition -> [WindowPosition] | |
Eq WindowPosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: WindowPosition -> WindowPosition -> Bool (/=) :: WindowPosition -> WindowPosition -> Bool | |
Show WindowPosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> WindowPosition -> ShowS show :: WindowPosition -> String showList :: [WindowPosition] -> ShowS |
data WindowType Source #
Interaction of a window with window manager
Constructors
WindowToplevel | |
WindowPopup |
Instances
Enum WindowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: WindowType -> WindowType pred :: WindowType -> WindowType toEnum :: Int -> WindowType fromEnum :: WindowType -> Int enumFrom :: WindowType -> [WindowType] enumFromThen :: WindowType -> WindowType -> [WindowType] enumFromTo :: WindowType -> WindowType -> [WindowType] enumFromThenTo :: WindowType -> WindowType -> WindowType -> [WindowType] | |
Eq WindowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show WindowType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> WindowType -> ShowS show :: WindowType -> String showList :: [WindowType] -> ShowS |
Determine how lines are wrapped in a TextView
.
Constructors
WrapNone | |
WrapChar | |
WrapWord | |
WrapWordChar |
Instances
Enum WrapMode Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Eq WrapMode Source # | |
Show WrapMode Source # | |
data EntryIconPosition Source #
Specifies the side of the entry at which an icon is placed.
Constructors
EntryIconPrimary | |
EntryIconSecondary |
Instances
Enum EntryIconPosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: EntryIconPosition -> EntryIconPosition pred :: EntryIconPosition -> EntryIconPosition toEnum :: Int -> EntryIconPosition fromEnum :: EntryIconPosition -> Int enumFrom :: EntryIconPosition -> [EntryIconPosition] enumFromThen :: EntryIconPosition -> EntryIconPosition -> [EntryIconPosition] enumFromTo :: EntryIconPosition -> EntryIconPosition -> [EntryIconPosition] enumFromThenTo :: EntryIconPosition -> EntryIconPosition -> EntryIconPosition -> [EntryIconPosition] | |
Eq EntryIconPosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods (==) :: EntryIconPosition -> EntryIconPosition -> Bool (/=) :: EntryIconPosition -> EntryIconPosition -> Bool | |
Show EntryIconPosition Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> EntryIconPosition -> ShowS show :: EntryIconPosition -> String showList :: [EntryIconPosition] -> ShowS |
data AnchorType Source #
Removed in Gtk3.
Constructors
AnchorCenter | |
AnchorNorth | |
AnchorNorthWest | |
AnchorNorthEast | |
AnchorSouth | |
AnchorSouthWest | |
AnchorSouthEast | |
AnchorWest | |
AnchorEast | |
AnchorN | |
AnchorNw | |
AnchorNe | |
AnchorS | |
AnchorSw | |
AnchorSe | |
AnchorW | |
AnchorE |
Instances
Enum AnchorType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods succ :: AnchorType -> AnchorType pred :: AnchorType -> AnchorType toEnum :: Int -> AnchorType fromEnum :: AnchorType -> Int enumFrom :: AnchorType -> [AnchorType] enumFromThen :: AnchorType -> AnchorType -> [AnchorType] enumFromTo :: AnchorType -> AnchorType -> [AnchorType] enumFromThenTo :: AnchorType -> AnchorType -> AnchorType -> [AnchorType] | |
Eq AnchorType Source # | |
Defined in Graphics.UI.Gtk.General.Enums | |
Show AnchorType Source # | |
Defined in Graphics.UI.Gtk.General.Enums Methods showsPrec :: Int -> AnchorType -> ShowS show :: AnchorType -> String showList :: [AnchorType] -> ShowS |
data CrossingMode Source #
How focus is crossing the widget.
Constructors
CrossingNormal | |
CrossingGrab | |
CrossingUngrab | |
CrossingGtkGrab | |
CrossingGtkUngrab | |
CrossingStateChanged |
Instances
Enum CrossingMode Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: CrossingMode -> CrossingMode pred :: CrossingMode -> CrossingMode toEnum :: Int -> CrossingMode fromEnum :: CrossingMode -> Int enumFrom :: CrossingMode -> [CrossingMode] enumFromThen :: CrossingMode -> CrossingMode -> [CrossingMode] enumFromTo :: CrossingMode -> CrossingMode -> [CrossingMode] enumFromThenTo :: CrossingMode -> CrossingMode -> CrossingMode -> [CrossingMode] | |
Eq CrossingMode Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Show CrossingMode Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> CrossingMode -> ShowS show :: CrossingMode -> String showList :: [CrossingMode] -> ShowS |
data DragProtocol Source #
Used in DragContext
to indicate the protocol according to which DND is done.
Constructors
DragProtoMotif | |
DragProtoXdnd | |
DragProtoRootwin | |
DragProtoNone | |
DragProtoWin32Dropfiles | |
DragProtoOle2 | |
DragProtoLocal |
Instances
Bounded DragProtocol Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Enum DragProtocol Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: DragProtocol -> DragProtocol pred :: DragProtocol -> DragProtocol toEnum :: Int -> DragProtocol fromEnum :: DragProtocol -> Int enumFrom :: DragProtocol -> [DragProtocol] enumFromThen :: DragProtocol -> DragProtocol -> [DragProtocol] enumFromTo :: DragProtocol -> DragProtocol -> [DragProtocol] enumFromThenTo :: DragProtocol -> DragProtocol -> DragProtocol -> [DragProtocol] | |
Eq DragProtocol Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Show DragProtocol Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> DragProtocol -> ShowS show :: DragProtocol -> String showList :: [DragProtocol] -> ShowS |
data DragAction Source #
Used in DragContext
to indicate what the
destination should do with the dropped data.
ActionDefault
: Initialisation value, should not be used.ActionCopy
: Copy the data.ActionMove
: Move the data, i.e. first copy it, then delete it from the source.ActionLink
: Add a link to the data. Note that this is only useful if source and destination agree on what it means.ActionPrivate
: Special action which tells the source that the destination will do something that the source doesn't understand.ActionAsk
: Ask the user what to do with the data.
Constructors
ActionDefault | |
ActionCopy | |
ActionMove | |
ActionLink | |
ActionPrivate | |
ActionAsk |
Instances
Bounded DragAction Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Enum DragAction Source # | Specify how to dither colors onto the screen. Removed in Gtk3. |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: DragAction -> DragAction pred :: DragAction -> DragAction toEnum :: Int -> DragAction fromEnum :: DragAction -> Int enumFrom :: DragAction -> [DragAction] enumFromThen :: DragAction -> DragAction -> [DragAction] enumFromTo :: DragAction -> DragAction -> [DragAction] enumFromThenTo :: DragAction -> DragAction -> DragAction -> [DragAction] | |
Eq DragAction Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Show DragAction Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> DragAction -> ShowS show :: DragAction -> String showList :: [DragAction] -> ShowS | |
Flags DragAction Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums |
Specify which events a widget will emit signals on.
Constructors
Instances
Bounded EventMask Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Enum EventMask Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Eq EventMask Source # | |
Show EventMask Source # | |
Flags EventMask Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums |
Keyboard modifiers that are depressed when the user presses a key or a mouse button.
- This data type is used to build lists of modifers that were active during an event.
- The Apple key on Macintoshs is mapped to
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
Shift | |
Lock | |
Control | |
Alt | |
Alt2 | |
Alt3 | |
Alt4 | |
Alt5 | |
Button1 | |
Button2 | |
Button3 | |
Button4 | |
Button5 | |
Super | |
Hyper | |
Meta | |
Release | |
ModifierMask |
Instances
Bounded Modifier Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Enum Modifier Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Eq Modifier Source # | |
Show Modifier Source # | |
Flags Modifier Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums |
data NotifyType Source #
Information on from what level of the widget hierarchy the mouse cursor came.
NotifyAncestor
- The window is entered from an ancestor or left towards an ancestor.
NotifyVirtual
- The pointer moves between an ancestor and an inferior of the window.
NotifyInferior
- The window is entered from an inferior or left towards an inferior.
NotifyNonlinear
- The window is entered from or left towards a window which is neither an ancestor nor an inferior.
NotifyNonlinearVirtual
- The pointer moves between two windows which are not ancestors of each other and the window is part of the ancestor chain between one of these windows and their least common ancestor.
NotifyUnknown
- The level change does not fit into any of the other categories or could not be determined.
Constructors
NotifyAncestor | |
NotifyVirtual | |
NotifyInferior | |
NotifyNonlinear | |
NotifyNonlinearVirtual | |
NotifyUnknown |
Instances
Enum NotifyType Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: NotifyType -> NotifyType pred :: NotifyType -> NotifyType toEnum :: Int -> NotifyType fromEnum :: NotifyType -> Int enumFrom :: NotifyType -> [NotifyType] enumFromThen :: NotifyType -> NotifyType -> [NotifyType] enumFromTo :: NotifyType -> NotifyType -> [NotifyType] enumFromThenTo :: NotifyType -> NotifyType -> NotifyType -> [NotifyType] | |
Eq NotifyType Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Show NotifyType Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> NotifyType -> ShowS show :: NotifyType -> String showList :: [NotifyType] -> ShowS |
data ScrollDirection Source #
in which direction was scrolled?
Constructors
ScrollUp | |
ScrollDown | |
ScrollLeft | |
ScrollRight |
Instances
Enum ScrollDirection Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: ScrollDirection -> ScrollDirection pred :: ScrollDirection -> ScrollDirection toEnum :: Int -> ScrollDirection fromEnum :: ScrollDirection -> Int enumFrom :: ScrollDirection -> [ScrollDirection] enumFromThen :: ScrollDirection -> ScrollDirection -> [ScrollDirection] enumFromTo :: ScrollDirection -> ScrollDirection -> [ScrollDirection] enumFromThenTo :: ScrollDirection -> ScrollDirection -> ScrollDirection -> [ScrollDirection] | |
Eq ScrollDirection Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: ScrollDirection -> ScrollDirection -> Bool (/=) :: ScrollDirection -> ScrollDirection -> Bool | |
Show ScrollDirection Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> ScrollDirection -> ShowS show :: ScrollDirection -> String showList :: [ScrollDirection] -> ShowS |
data VisibilityState Source #
Instances
Enum VisibilityState Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: VisibilityState -> VisibilityState pred :: VisibilityState -> VisibilityState toEnum :: Int -> VisibilityState fromEnum :: VisibilityState -> Int enumFrom :: VisibilityState -> [VisibilityState] enumFromThen :: VisibilityState -> VisibilityState -> [VisibilityState] enumFromTo :: VisibilityState -> VisibilityState -> [VisibilityState] enumFromThenTo :: VisibilityState -> VisibilityState -> VisibilityState -> [VisibilityState] | |
Eq VisibilityState Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: VisibilityState -> VisibilityState -> Bool (/=) :: VisibilityState -> VisibilityState -> Bool | |
Show VisibilityState Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> VisibilityState -> ShowS show :: VisibilityState -> String showList :: [VisibilityState] -> ShowS |
data WindowState Source #
The state a DrawWindow
is in.
Constructors
WindowStateWithdrawn | |
WindowStateIconified | |
WindowStateMaximized | |
WindowStateSticky | |
WindowStateFullscreen | |
WindowStateAbove | |
WindowStateBelow |
Instances
Bounded WindowState Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Enum WindowState 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. |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: WindowState -> WindowState pred :: WindowState -> WindowState toEnum :: Int -> WindowState fromEnum :: WindowState -> Int enumFrom :: WindowState -> [WindowState] enumFromThen :: WindowState -> WindowState -> [WindowState] enumFromTo :: WindowState -> WindowState -> [WindowState] enumFromThenTo :: WindowState -> WindowState -> WindowState -> [WindowState] | |
Eq WindowState Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Show WindowState Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> WindowState -> ShowS show :: WindowState -> String showList :: [WindowState] -> ShowS | |
Flags WindowState Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums |
data WindowEdge Source #
Determines a window edge or corner.
Constructors
WindowEdgeNorthWest | |
WindowEdgeNorth | |
WindowEdgeNorthEast | |
WindowEdgeWest | |
WindowEdgeEast | |
WindowEdgeSouthWest | |
WindowEdgeSouth | |
WindowEdgeSouthEast |
Instances
Enum WindowEdge Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: WindowEdge -> WindowEdge pred :: WindowEdge -> WindowEdge toEnum :: Int -> WindowEdge fromEnum :: WindowEdge -> Int enumFrom :: WindowEdge -> [WindowEdge] enumFromThen :: WindowEdge -> WindowEdge -> [WindowEdge] enumFromTo :: WindowEdge -> WindowEdge -> [WindowEdge] enumFromThenTo :: WindowEdge -> WindowEdge -> WindowEdge -> [WindowEdge] | |
Eq WindowEdge Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Show WindowEdge Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> WindowEdge -> ShowS show :: WindowEdge -> String showList :: [WindowEdge] -> ShowS |
data WindowTypeHint Source #
Constructors
Instances
Enum WindowTypeHint Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: WindowTypeHint -> WindowTypeHint pred :: WindowTypeHint -> WindowTypeHint toEnum :: Int -> WindowTypeHint fromEnum :: WindowTypeHint -> Int enumFrom :: WindowTypeHint -> [WindowTypeHint] enumFromThen :: WindowTypeHint -> WindowTypeHint -> [WindowTypeHint] enumFromTo :: WindowTypeHint -> WindowTypeHint -> [WindowTypeHint] enumFromThenTo :: WindowTypeHint -> WindowTypeHint -> WindowTypeHint -> [WindowTypeHint] | |
Eq WindowTypeHint Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: WindowTypeHint -> WindowTypeHint -> Bool (/=) :: WindowTypeHint -> WindowTypeHint -> Bool | |
Show WindowTypeHint Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> WindowTypeHint -> ShowS show :: WindowTypeHint -> String showList :: [WindowTypeHint] -> ShowS |
Defines the reference point of a window and the meaning of coordinates
passed to windowMove
. See
windowMove
and the "implementation notes"
section of the extended window manager hints specification for more details.
Constructors
GravityNorthWest | |
GravityNorth | |
GravityNorthEast | |
GravityWest | |
GravityCenter | |
GravityEast | |
GravitySouthWest | |
GravitySouth | |
GravitySouthEast | |
GravityStatic |
Instances
Enum Gravity Source # | Returned by
|
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Eq Gravity Source # | |
Show Gravity Source # | |
data GrabStatus Source #
Instances
Enum GrabStatus Source # | Specifies why a selection ownership was changed.
|
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: GrabStatus -> GrabStatus pred :: GrabStatus -> GrabStatus toEnum :: Int -> GrabStatus fromEnum :: GrabStatus -> Int enumFrom :: GrabStatus -> [GrabStatus] enumFromThen :: GrabStatus -> GrabStatus -> [GrabStatus] enumFromTo :: GrabStatus -> GrabStatus -> [GrabStatus] enumFromThenTo :: GrabStatus -> GrabStatus -> GrabStatus -> [GrabStatus] | |
Eq GrabStatus Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Show GrabStatus Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> GrabStatus -> ShowS show :: GrabStatus -> String showList :: [GrabStatus] -> ShowS |
data OwnerChange Source #
Constructors
OwnerChangeNewOwner | |
OwnerChangeDestroy | |
OwnerChangeClose |
Instances
Enum OwnerChange Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: OwnerChange -> OwnerChange pred :: OwnerChange -> OwnerChange toEnum :: Int -> OwnerChange fromEnum :: OwnerChange -> Int enumFrom :: OwnerChange -> [OwnerChange] enumFromThen :: OwnerChange -> OwnerChange -> [OwnerChange] enumFromTo :: OwnerChange -> OwnerChange -> [OwnerChange] enumFromThenTo :: OwnerChange -> OwnerChange -> OwnerChange -> [OwnerChange] | |
Eq OwnerChange Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Show OwnerChange Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> OwnerChange -> ShowS show :: OwnerChange -> String showList :: [OwnerChange] -> ShowS |
data ExtensionMode Source #
specify which input extension a widget desires
Instances
Bounded ExtensionMode Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Enum ExtensionMode Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: ExtensionMode -> ExtensionMode pred :: ExtensionMode -> ExtensionMode toEnum :: Int -> ExtensionMode fromEnum :: ExtensionMode -> Int enumFrom :: ExtensionMode -> [ExtensionMode] enumFromThen :: ExtensionMode -> ExtensionMode -> [ExtensionMode] enumFromTo :: ExtensionMode -> ExtensionMode -> [ExtensionMode] enumFromThenTo :: ExtensionMode -> ExtensionMode -> ExtensionMode -> [ExtensionMode] | |
Eq ExtensionMode Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Show ExtensionMode Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> ExtensionMode -> ShowS show :: ExtensionMode -> String showList :: [ExtensionMode] -> ShowS | |
Flags ExtensionMode Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums |
Specify the how the ends of a line is drawn.
Removed in Gtk3.
Constructors
CapNotLast | |
CapButt | |
CapRound | |
CapProjecting |
Instances
Enum CapStyle Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Eq CapStyle Source # | |
Show CapStyle Source # | |
Constructors
RgbDitherNone | |
RgbDitherNormal | |
RgbDitherMax |
How objects are filled.
Removed in Gtk3.
Constructors
Solid | |
Tiled | |
Stippled | |
OpaqueStippled |
Determine how bitmap operations are carried out.
Removed in Gtk3.
Constructors
Copy | |
Invert | |
Xor | |
Clear | |
And | |
AndReverse | |
AndInvert | |
Noop | |
Or | |
Equiv | |
OrReverse | |
CopyInvert | |
OrInvert | |
Nand | |
Nor | |
Set |
Instances
Enum Function Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Eq Function Source # | |
Show Function Source # | |
data InputCondition Source #
Specify on what file condition a callback should be done.
Removed in Gtk3.
Constructors
InputRead | |
InputWrite | |
InputException |
Instances
Bounded InputCondition Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Enum InputCondition Source # | Determines how adjacent line ends are drawn. Removed in Gtk3. |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: InputCondition -> InputCondition pred :: InputCondition -> InputCondition toEnum :: Int -> InputCondition fromEnum :: InputCondition -> Int enumFrom :: InputCondition -> [InputCondition] enumFromThen :: InputCondition -> InputCondition -> [InputCondition] enumFromTo :: InputCondition -> InputCondition -> [InputCondition] enumFromThenTo :: InputCondition -> InputCondition -> InputCondition -> [InputCondition] | |
Eq InputCondition Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods (==) :: InputCondition -> InputCondition -> Bool (/=) :: InputCondition -> InputCondition -> Bool | |
Flags InputCondition Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums |
Instances
Enum JoinStyle Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Eq JoinStyle Source # | |
Show JoinStyle Source # | |
Determines if a line is solid or dashed.
Removed in Gtk3.
Constructors
LineSolid | |
LineOnOffDash | |
LineDoubleDash |
Instances
Enum LineStyle Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Eq LineStyle Source # | |
Show LineStyle Source # | |
data SubwindowMode Source #
Determine if child widget may be overdrawn.
Removed in Gtk3.
Constructors
ClipByChildren | |
IncludeInferiors |
Instances
Enum SubwindowMode Source # | visibility of a window |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods succ :: SubwindowMode -> SubwindowMode pred :: SubwindowMode -> SubwindowMode toEnum :: Int -> SubwindowMode fromEnum :: SubwindowMode -> Int enumFrom :: SubwindowMode -> [SubwindowMode] enumFromThen :: SubwindowMode -> SubwindowMode -> [SubwindowMode] enumFromTo :: SubwindowMode -> SubwindowMode -> [SubwindowMode] enumFromThenTo :: SubwindowMode -> SubwindowMode -> SubwindowMode -> [SubwindowMode] | |
Eq SubwindowMode Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums | |
Show SubwindowMode Source # | |
Defined in Graphics.UI.Gtk.Gdk.Enums Methods showsPrec :: Int -> SubwindowMode -> ShowS show :: SubwindowMode -> String showList :: [SubwindowMode] -> ShowS |