gtk3-0.15.7: Binding to the Gtk+ 3 graphical user interface library
Maintainergtk2hs-users@lists.sourceforge.net
Stabilityprovisional
Portabilityportable (depends on GHC)
Safe HaskellSafe-Inferred
LanguageHaskell98

Graphics.UI.Gtk.General.Enums

Description

General enumeration types.

Synopsis

Documentation

data AccelFlags Source #

State of an accelerator

Instances

Instances details
Bounded AccelFlags Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Enum AccelFlags Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq AccelFlags Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: AccelFlags -> AccelFlags -> Bool

(/=) :: AccelFlags -> AccelFlags -> Bool

Show AccelFlags Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> AccelFlags -> ShowS

show :: AccelFlags -> String

showList :: [AccelFlags] -> ShowS

Flags AccelFlags Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

data Align Source #

State of an accelerator

Instances

Instances details
Bounded Align Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Enum Align Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq Align Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: Align -> Align -> Bool

(/=) :: Align -> Align -> Bool

Show Align Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> Align -> ShowS

show :: Align -> String

showList :: [Align] -> ShowS

data ArrowType Source #

Arrow directions for the arrow widget

Instances

Instances details
Enum ArrowType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq ArrowType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: ArrowType -> ArrowType -> Bool

(/=) :: ArrowType -> ArrowType -> Bool

Show ArrowType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> ArrowType -> ShowS

show :: ArrowType -> String

showList :: [ArrowType] -> ShowS

data AttachOptions Source #

Child widget attach options for table containers

Constructors

Expand 
Shrink 
Fill 

data BaselinePosition Source #

Whenever a container has some form of natural row it may align children in that row along a common typographical baseline. If the amount of verical space in the row is taller than the total requested height of the baseline-aligned children then it can use a BaselinePosition to select where to put the baseline inside the extra availible space.

data CalendarDisplayOptions Source #

Specify which items of a calendar should be displayed.

data Click Source #

Type of mouse click

Instances

Instances details
Enum Click Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq Click Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: Click -> Click -> Bool

(/=) :: Click -> Click -> Bool

Show Click Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> Click -> ShowS

show :: Click -> String

showList :: [Click] -> ShowS

data CornerType Source #

Specifies in which corner a child widget should be placed

Instances

Instances details
Enum CornerType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq CornerType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: CornerType -> CornerType -> Bool

(/=) :: CornerType -> CornerType -> Bool

Show CornerType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> CornerType -> ShowS

show :: CornerType -> String

showList :: [CornerType] -> 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 call dragStatus 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 call dragGetData on behalf of the widget. Whether or not the drop is successful, GTK+ will call dragFinish. If the action was a move, then if the drag was successful, then True will be passed for the delete parameter to dragFinish
  • DestDefaultAll: If set, specifies that all default actions should be taken.

Instances

Instances details
Bounded DestDefaults Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Enum DestDefaults Source #

Gives an indication why a drag operation failed. The value can by obtained by connecting to the dragFailed signal.

Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq DestDefaults Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: DestDefaults -> DestDefaults -> Bool

(/=) :: DestDefaults -> DestDefaults -> Bool

Show DestDefaults Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> DestDefaults -> ShowS

show :: DestDefaults -> String

showList :: [DestDefaults] -> ShowS

Flags DestDefaults Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

data Packing Source #

Packing parameters of a widget

  • The Packing parameter determines how the child behaves in the horizontal or vertical way in an HBox or VBox, respectively. PackNatural means the child is as big as it requests. It will stay at the start or end of a Box if there is more space available. All children packed with PackRepel 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 a VBox with the packing option PackNatural. The working area of a window (e.g. the text area in an editor) should expand when the window is resized. Here the packing option PackGrow is the right choice and it is irrelevant whether the main area is inserted at the start or the end of a box. Finally PackRepel 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.

Instances

Instances details
Enum Packing Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq Packing Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: Packing -> Packing -> Bool

(/=) :: Packing -> Packing -> Bool

Show Packing Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> Packing -> ShowS

show :: Packing -> String

showList :: [Packing] -> ShowS

toPacking :: Bool -> Bool -> Packing Source #

fromPacking :: Packing -> (Bool, Bool) Source #

data PackType Source #

Packing of widgets at start or end in a box

Constructors

PackStart 
PackEnd 

Instances

Instances details
Enum PackType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq PackType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: PackType -> PackType -> Bool

(/=) :: PackType -> PackType -> Bool

Show PackType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> PackType -> ShowS

show :: PackType -> String

showList :: [PackType] -> ShowS

data PathType Source #

Widget identification path

Instances

Instances details
Enum PathType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq PathType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: PathType -> PathType -> Bool

(/=) :: PathType -> PathType -> Bool

Show PathType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> PathType -> ShowS

show :: PathType -> String

showList :: [PathType] -> ShowS

data PositionType Source #

Position a scale's value is drawn relative to the trough

Constructors

PosLeft 
PosRight 
PosTop 
PosBottom 

data ReliefStyle Source #

I don't have a clue.

data ResizeMode Source #

Resize mode, for containers

Instances

Instances details
Enum ResizeMode Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq ResizeMode Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: ResizeMode -> ResizeMode -> Bool

(/=) :: ResizeMode -> ResizeMode -> Bool

Show ResizeMode Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> ResizeMode -> ShowS

show :: ResizeMode -> String

showList :: [ResizeMode] -> 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.

data ShadowType Source #

Shadow types

Instances

Instances details
Enum ShadowType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq ShadowType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: ShadowType -> ShadowType -> Bool

(/=) :: ShadowType -> ShadowType -> Bool

Show ShadowType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> ShadowType -> ShowS

show :: ShadowType -> String

showList :: [ShadowType] -> ShowS

data StateFlags Source #

Describes a widget state. Widget states are used to match the widget against CSS pseudo-classes. Note that GTK extends the regular CSS classes and sometimes uses different names.

Instances

Instances details
Bounded StateFlags Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Enum StateFlags Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq StateFlags Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: StateFlags -> StateFlags -> Bool

(/=) :: StateFlags -> StateFlags -> Bool

Show StateFlags Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> StateFlags -> ShowS

show :: StateFlags -> String

showList :: [StateFlags] -> ShowS

Flags StateFlags Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

data SortType Source #

Instances

Instances details
Enum SortType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq SortType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: SortType -> SortType -> Bool

(/=) :: SortType -> SortType -> Bool

Show SortType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> SortType -> ShowS

show :: SortType -> String

showList :: [SortType] -> ShowS

data StateType Source #

Widget states

Instances

Instances details
Enum StateType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq StateType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: StateType -> StateType -> Bool

(/=) :: StateType -> StateType -> Bool

Show StateType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> StateType -> ShowS

show :: StateType -> String

showList :: [StateType] -> ShowS

data SpinType Source #

Spin a SpinButton with the following method.

Instances

Instances details
Enum SpinType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq SpinType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: SpinType -> SpinType -> Bool

(/=) :: SpinType -> SpinType -> Bool

Show SpinType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> SpinType -> ShowS

show :: SpinType -> String

showList :: [SpinType] -> ShowS

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.

Instances

Instances details
Bounded TargetFlags Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Enum TargetFlags Source #

Is the text written from left to right or the exotic way?

Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq TargetFlags Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: TargetFlags -> TargetFlags -> Bool

(/=) :: TargetFlags -> TargetFlags -> Bool

Show TargetFlags Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> TargetFlags -> ShowS

show :: TargetFlags -> String

showList :: [TargetFlags] -> ShowS

Flags TargetFlags Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

data WindowType Source #

Interaction of a window with window manager

Instances

Instances details
Enum WindowType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq WindowType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: WindowType -> WindowType -> Bool

(/=) :: WindowType -> WindowType -> Bool

Show WindowType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> WindowType -> ShowS

show :: WindowType -> String

showList :: [WindowType] -> ShowS

data WrapMode Source #

Determine how lines are wrapped in a TextView.

Instances

Instances details
Enum WrapMode Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Eq WrapMode Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: WrapMode -> WrapMode -> Bool

(/=) :: WrapMode -> WrapMode -> Bool

Show WrapMode Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> WrapMode -> ShowS

show :: WrapMode -> String

showList :: [WrapMode] -> ShowS

data StackTransitionType Source #

data DragProtocol Source #

Used in DragContext to indicate the protocol according to which DND is done.

Instances

Instances details
Bounded DragProtocol Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Enum DragProtocol 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.
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Eq DragProtocol Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Methods

(==) :: DragProtocol -> DragProtocol -> Bool

(/=) :: DragProtocol -> DragProtocol -> Bool

Show DragProtocol Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Methods

showsPrec :: Int -> DragProtocol -> ShowS

show :: DragProtocol -> String

showList :: [DragProtocol] -> ShowS

data DragAction Source #

Instances

Instances details
Bounded DragAction Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Enum DragAction Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Eq DragAction Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Methods

(==) :: DragAction -> DragAction -> Bool

(/=) :: DragAction -> DragAction -> Bool

Show DragAction Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Methods

showsPrec :: Int -> DragAction -> ShowS

show :: DragAction -> String

showList :: [DragAction] -> ShowS

Flags DragAction Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

data EventMask Source #

Specify which events a widget will emit signals on.

Instances

Instances details
Bounded EventMask Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Enum EventMask Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Eq EventMask Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Methods

(==) :: EventMask -> EventMask -> Bool

(/=) :: EventMask -> EventMask -> Bool

Show EventMask Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Methods

showsPrec :: Int -> EventMask -> ShowS

show :: EventMask -> String

showList :: [EventMask] -> ShowS

Flags EventMask Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

data Modifier Source #

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 the Meta key (if available).
  • Since Gtk 2.10, there are also Super, Hyper and Meta modifiers which are simply generated from Alt .. Compose modifier keys, depending on the mapping used by the windowing system. Due to one key being mapped to e.g. Alt2 and Meta, you shouldn't pattern match directly against a certain key but check whether a key is in the list using the elem function, say.

Instances

Instances details
Bounded Modifier Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Enum Modifier Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Eq Modifier Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Methods

(==) :: Modifier -> Modifier -> Bool

(/=) :: Modifier -> Modifier -> Bool

Show Modifier Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Methods

showsPrec :: Int -> Modifier -> ShowS

show :: Modifier -> String

showList :: [Modifier] -> ShowS

Flags Modifier Source # 
Instance details

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.

Instances

Instances details
Enum NotifyType Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Eq NotifyType Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Methods

(==) :: NotifyType -> NotifyType -> Bool

(/=) :: NotifyType -> NotifyType -> Bool

Show NotifyType Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Methods

showsPrec :: Int -> NotifyType -> ShowS

show :: NotifyType -> String

showList :: [NotifyType] -> ShowS

data WindowState Source #

The state a DrawWindow is in.

Instances

Instances details
Bounded WindowState Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Enum WindowState Source #

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.

Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Eq WindowState Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Methods

(==) :: WindowState -> WindowState -> Bool

(/=) :: WindowState -> WindowState -> Bool

Show WindowState Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Methods

showsPrec :: Int -> WindowState -> ShowS

show :: WindowState -> String

showList :: [WindowState] -> ShowS

Flags WindowState Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

data WindowTypeHint Source #

These are hints for the window manager that indicate what type of function the window has. The window manager can use this when determining decoration and behaviour of the window. The hint must be set before mapping the window.

See the extended window manager hints specification for more details about window types.

data Gravity Source #

Instances

Instances details
Enum Gravity Source #

Returned by pointerGrab and keyboardGrab to indicate success or the reason for the failure of the grab attempt.

GrabSuccess
the resource was successfully grabbed.
GrabAlreadyGrabbed
the resource is actively grabbed by another client.
GrabInvalidTime
the resource was grabbed more recently than the specified time.
GrabNotViewable
the grab window or the confine_to window are not viewable.
GrabFrozen
the resource is frozen by an active grab of another client.
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Eq Gravity Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Methods

(==) :: Gravity -> Gravity -> Bool

(/=) :: Gravity -> Gravity -> Bool

Show Gravity Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Methods

showsPrec :: Int -> Gravity -> ShowS

show :: Gravity -> String

showList :: [Gravity] -> ShowS

data GrabStatus Source #

Instances

Instances details
Enum GrabStatus Source #

Specifies why a selection ownership was changed.

OwnerChangeNewOwner
some other application claimed the ownership
OwnerChangeDestroy
the window was destroyed
OwnerChangeClose
the client was closed
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Eq GrabStatus Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Methods

(==) :: GrabStatus -> GrabStatus -> Bool

(/=) :: GrabStatus -> GrabStatus -> Bool

Show GrabStatus Source # 
Instance details

Defined in Graphics.UI.Gtk.Gdk.Enums

Methods

showsPrec :: Int -> GrabStatus -> ShowS

show :: GrabStatus -> String

showList :: [GrabStatus] -> ShowS