#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.Gtk.Enums
(
Align(..) ,
ArrowPlacement(..) ,
ArrowType(..) ,
AssistantPageType(..) ,
BaselinePosition(..) ,
BorderStyle(..) ,
BuilderError(..) ,
catchBuilderError ,
handleBuilderError ,
ButtonBoxStyle(..) ,
ButtonRole(..) ,
ButtonsType(..) ,
CellRendererAccelMode(..) ,
CellRendererMode(..) ,
CornerType(..) ,
CssProviderError(..) ,
catchCssProviderError ,
handleCssProviderError ,
CssSectionType(..) ,
DeleteType(..) ,
DirectionType(..) ,
DragResult(..) ,
EntryIconPosition(..) ,
EventSequenceState(..) ,
ExpanderStyle(..) ,
FileChooserAction(..) ,
FileChooserConfirmation(..) ,
FileChooserError(..) ,
catchFileChooserError ,
handleFileChooserError ,
IMPreeditStyle(..) ,
IMStatusStyle(..) ,
IconSize(..) ,
IconThemeError(..) ,
catchIconThemeError ,
handleIconThemeError ,
IconViewDropPosition(..) ,
ImageType(..) ,
InputPurpose(..) ,
Justification(..) ,
LevelBarMode(..) ,
License(..) ,
MenuDirectionType(..) ,
MessageType(..) ,
MovementStep(..) ,
NotebookTab(..) ,
NumberUpLayout(..) ,
Orientation(..) ,
PackDirection(..) ,
PackType(..) ,
PadActionType(..) ,
PageOrientation(..) ,
PageSet(..) ,
PanDirection(..) ,
PathPriorityType(..) ,
PathType(..) ,
PolicyType(..) ,
PopoverConstraint(..) ,
PositionType(..) ,
PrintDuplex(..) ,
PrintError(..) ,
catchPrintError ,
handlePrintError ,
PrintOperationAction(..) ,
PrintOperationResult(..) ,
PrintPages(..) ,
PrintQuality(..) ,
PrintStatus(..) ,
PropagationPhase(..) ,
RcTokenType(..) ,
RecentChooserError(..) ,
catchRecentChooserError ,
handleRecentChooserError ,
RecentManagerError(..) ,
catchRecentManagerError ,
handleRecentManagerError ,
RecentSortType(..) ,
ReliefStyle(..) ,
ResizeMode(..) ,
ResponseType(..) ,
RevealerTransitionType(..) ,
ScrollStep(..) ,
ScrollType(..) ,
ScrollablePolicy(..) ,
SelectionMode(..) ,
SensitivityType(..) ,
ShadowType(..) ,
ShortcutType(..) ,
SizeGroupMode(..) ,
SizeRequestMode(..) ,
SortType(..) ,
SpinButtonUpdatePolicy(..) ,
SpinType(..) ,
StackTransitionType(..) ,
StateType(..) ,
TextBufferTargetInfo(..) ,
TextDirection(..) ,
TextExtendSelection(..) ,
TextViewLayer(..) ,
TextWindowType(..) ,
ToolbarSpaceStyle(..) ,
ToolbarStyle(..) ,
TreeViewColumnSizing(..) ,
TreeViewDropPosition(..) ,
TreeViewGridLines(..) ,
Unit(..) ,
WidgetHelpType(..) ,
WindowPosition(..) ,
WindowType(..) ,
WrapMode(..) ,
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.BasicTypes as B.Types
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GArray as B.GArray
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.GI.Base.Signals as B.Signals
import qualified Control.Monad.IO.Class as MIO
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
data WrapMode =
WrapModeNone
| WrapModeChar
| WrapModeWord
| WrapModeWordChar
| AnotherWrapMode Int
deriving (Int -> WrapMode -> ShowS
[WrapMode] -> ShowS
WrapMode -> String
(Int -> WrapMode -> ShowS)
-> (WrapMode -> String) -> ([WrapMode] -> ShowS) -> Show WrapMode
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [WrapMode] -> ShowS
$cshowList :: [WrapMode] -> ShowS
show :: WrapMode -> String
$cshow :: WrapMode -> String
showsPrec :: Int -> WrapMode -> ShowS
$cshowsPrec :: Int -> WrapMode -> ShowS
Show, WrapMode -> WrapMode -> Bool
(WrapMode -> WrapMode -> Bool)
-> (WrapMode -> WrapMode -> Bool) -> Eq WrapMode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: WrapMode -> WrapMode -> Bool
$c/= :: WrapMode -> WrapMode -> Bool
== :: WrapMode -> WrapMode -> Bool
$c== :: WrapMode -> WrapMode -> Bool
Eq)
instance P.Enum WrapMode where
fromEnum :: WrapMode -> Int
fromEnum WrapMode
WrapModeNone = Int
0
fromEnum WrapMode
WrapModeChar = Int
1
fromEnum WrapMode
WrapModeWord = Int
2
fromEnum WrapMode
WrapModeWordChar = Int
3
fromEnum (AnotherWrapMode Int
k) = Int
k
toEnum :: Int -> WrapMode
toEnum Int
0 = WrapMode
WrapModeNone
toEnum Int
1 = WrapMode
WrapModeChar
toEnum Int
2 = WrapMode
WrapModeWord
toEnum Int
3 = WrapMode
WrapModeWordChar
toEnum Int
k = Int -> WrapMode
AnotherWrapMode Int
k
instance P.Ord WrapMode where
compare :: WrapMode -> WrapMode -> Ordering
compare WrapMode
a WrapMode
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (WrapMode -> Int
forall a. Enum a => a -> Int
P.fromEnum WrapMode
a) (WrapMode -> Int
forall a. Enum a => a -> Int
P.fromEnum WrapMode
b)
type instance O.ParentTypes WrapMode = '[]
instance O.HasParentTypes WrapMode
foreign import ccall "gtk_wrap_mode_get_type" c_gtk_wrap_mode_get_type ::
IO GType
instance B.Types.TypedObject WrapMode where
glibType :: IO GType
glibType = IO GType
c_gtk_wrap_mode_get_type
instance B.Types.BoxedEnum WrapMode
data WindowType =
WindowTypeToplevel
|
| AnotherWindowType Int
deriving (Int -> WindowType -> ShowS
[WindowType] -> ShowS
WindowType -> String
(Int -> WindowType -> ShowS)
-> (WindowType -> String)
-> ([WindowType] -> ShowS)
-> Show WindowType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [WindowType] -> ShowS
$cshowList :: [WindowType] -> ShowS
show :: WindowType -> String
$cshow :: WindowType -> String
showsPrec :: Int -> WindowType -> ShowS
$cshowsPrec :: Int -> WindowType -> ShowS
Show, WindowType -> WindowType -> Bool
(WindowType -> WindowType -> Bool)
-> (WindowType -> WindowType -> Bool) -> Eq WindowType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: WindowType -> WindowType -> Bool
$c/= :: WindowType -> WindowType -> Bool
== :: WindowType -> WindowType -> Bool
$c== :: WindowType -> WindowType -> Bool
Eq)
instance P.Enum WindowType where
fromEnum :: WindowType -> Int
fromEnum WindowType
WindowTypeToplevel = Int
0
fromEnum WindowType
WindowTypePopup = Int
1
fromEnum (AnotherWindowType Int
k) = Int
k
toEnum :: Int -> WindowType
toEnum Int
0 = WindowType
WindowTypeToplevel
toEnum Int
1 = WindowType
WindowTypePopup
toEnum Int
k = Int -> WindowType
AnotherWindowType Int
k
instance P.Ord WindowType where
compare :: WindowType -> WindowType -> Ordering
compare WindowType
a WindowType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (WindowType -> Int
forall a. Enum a => a -> Int
P.fromEnum WindowType
a) (WindowType -> Int
forall a. Enum a => a -> Int
P.fromEnum WindowType
b)
type instance O.ParentTypes WindowType = '[]
instance O.HasParentTypes WindowType
foreign import ccall "gtk_window_type_get_type" c_gtk_window_type_get_type ::
IO GType
instance B.Types.TypedObject WindowType where
glibType :: IO GType
glibType = IO GType
c_gtk_window_type_get_type
instance B.Types.BoxedEnum WindowType
data WindowPosition =
WindowPositionNone
| WindowPositionCenter
| WindowPositionMouse
| WindowPositionCenterAlways
| WindowPositionCenterOnParent
| AnotherWindowPosition Int
deriving (Int -> WindowPosition -> ShowS
[WindowPosition] -> ShowS
WindowPosition -> String
(Int -> WindowPosition -> ShowS)
-> (WindowPosition -> String)
-> ([WindowPosition] -> ShowS)
-> Show WindowPosition
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [WindowPosition] -> ShowS
$cshowList :: [WindowPosition] -> ShowS
show :: WindowPosition -> String
$cshow :: WindowPosition -> String
showsPrec :: Int -> WindowPosition -> ShowS
$cshowsPrec :: Int -> WindowPosition -> ShowS
Show, WindowPosition -> WindowPosition -> Bool
(WindowPosition -> WindowPosition -> Bool)
-> (WindowPosition -> WindowPosition -> Bool) -> Eq WindowPosition
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: WindowPosition -> WindowPosition -> Bool
$c/= :: WindowPosition -> WindowPosition -> Bool
== :: WindowPosition -> WindowPosition -> Bool
$c== :: WindowPosition -> WindowPosition -> Bool
Eq)
instance P.Enum WindowPosition where
fromEnum :: WindowPosition -> Int
fromEnum WindowPosition
WindowPositionNone = Int
0
fromEnum WindowPosition
WindowPositionCenter = Int
1
fromEnum WindowPosition
WindowPositionMouse = Int
2
fromEnum WindowPosition
WindowPositionCenterAlways = Int
3
fromEnum WindowPosition
WindowPositionCenterOnParent = Int
4
fromEnum (AnotherWindowPosition Int
k) = Int
k
toEnum :: Int -> WindowPosition
toEnum Int
0 = WindowPosition
WindowPositionNone
toEnum Int
1 = WindowPosition
WindowPositionCenter
toEnum Int
2 = WindowPosition
WindowPositionMouse
toEnum Int
3 = WindowPosition
WindowPositionCenterAlways
toEnum Int
4 = WindowPosition
WindowPositionCenterOnParent
toEnum Int
k = Int -> WindowPosition
AnotherWindowPosition Int
k
instance P.Ord WindowPosition where
compare :: WindowPosition -> WindowPosition -> Ordering
compare WindowPosition
a WindowPosition
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (WindowPosition -> Int
forall a. Enum a => a -> Int
P.fromEnum WindowPosition
a) (WindowPosition -> Int
forall a. Enum a => a -> Int
P.fromEnum WindowPosition
b)
type instance O.ParentTypes WindowPosition = '[]
instance O.HasParentTypes WindowPosition
foreign import ccall "gtk_window_position_get_type" c_gtk_window_position_get_type ::
IO GType
instance B.Types.TypedObject WindowPosition where
glibType :: IO GType
glibType = IO GType
c_gtk_window_position_get_type
instance B.Types.BoxedEnum WindowPosition
data WidgetHelpType =
WidgetHelpTypeTooltip
| WidgetHelpTypeWhatsThis
| AnotherWidgetHelpType Int
deriving (Int -> WidgetHelpType -> ShowS
[WidgetHelpType] -> ShowS
WidgetHelpType -> String
(Int -> WidgetHelpType -> ShowS)
-> (WidgetHelpType -> String)
-> ([WidgetHelpType] -> ShowS)
-> Show WidgetHelpType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [WidgetHelpType] -> ShowS
$cshowList :: [WidgetHelpType] -> ShowS
show :: WidgetHelpType -> String
$cshow :: WidgetHelpType -> String
showsPrec :: Int -> WidgetHelpType -> ShowS
$cshowsPrec :: Int -> WidgetHelpType -> ShowS
Show, WidgetHelpType -> WidgetHelpType -> Bool
(WidgetHelpType -> WidgetHelpType -> Bool)
-> (WidgetHelpType -> WidgetHelpType -> Bool) -> Eq WidgetHelpType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: WidgetHelpType -> WidgetHelpType -> Bool
$c/= :: WidgetHelpType -> WidgetHelpType -> Bool
== :: WidgetHelpType -> WidgetHelpType -> Bool
$c== :: WidgetHelpType -> WidgetHelpType -> Bool
Eq)
instance P.Enum WidgetHelpType where
fromEnum :: WidgetHelpType -> Int
fromEnum WidgetHelpType
WidgetHelpTypeTooltip = Int
0
fromEnum WidgetHelpType
WidgetHelpTypeWhatsThis = Int
1
fromEnum (AnotherWidgetHelpType Int
k) = Int
k
toEnum :: Int -> WidgetHelpType
toEnum Int
0 = WidgetHelpType
WidgetHelpTypeTooltip
toEnum Int
1 = WidgetHelpType
WidgetHelpTypeWhatsThis
toEnum Int
k = Int -> WidgetHelpType
AnotherWidgetHelpType Int
k
instance P.Ord WidgetHelpType where
compare :: WidgetHelpType -> WidgetHelpType -> Ordering
compare WidgetHelpType
a WidgetHelpType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (WidgetHelpType -> Int
forall a. Enum a => a -> Int
P.fromEnum WidgetHelpType
a) (WidgetHelpType -> Int
forall a. Enum a => a -> Int
P.fromEnum WidgetHelpType
b)
type instance O.ParentTypes WidgetHelpType = '[]
instance O.HasParentTypes WidgetHelpType
foreign import ccall "gtk_widget_help_type_get_type" c_gtk_widget_help_type_get_type ::
IO GType
instance B.Types.TypedObject WidgetHelpType where
glibType :: IO GType
glibType = IO GType
c_gtk_widget_help_type_get_type
instance B.Types.BoxedEnum WidgetHelpType
data Unit =
UnitNone
| UnitPoints
| UnitInch
| UnitMm
| AnotherUnit Int
deriving (Int -> Unit -> ShowS
[Unit] -> ShowS
Unit -> String
(Int -> Unit -> ShowS)
-> (Unit -> String) -> ([Unit] -> ShowS) -> Show Unit
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Unit] -> ShowS
$cshowList :: [Unit] -> ShowS
show :: Unit -> String
$cshow :: Unit -> String
showsPrec :: Int -> Unit -> ShowS
$cshowsPrec :: Int -> Unit -> ShowS
Show, Unit -> Unit -> Bool
(Unit -> Unit -> Bool) -> (Unit -> Unit -> Bool) -> Eq Unit
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Unit -> Unit -> Bool
$c/= :: Unit -> Unit -> Bool
== :: Unit -> Unit -> Bool
$c== :: Unit -> Unit -> Bool
Eq)
instance P.Enum Unit where
fromEnum :: Unit -> Int
fromEnum Unit
UnitNone = Int
0
fromEnum Unit
UnitPoints = Int
1
fromEnum Unit
UnitInch = Int
2
fromEnum Unit
UnitMm = Int
3
fromEnum (AnotherUnit Int
k) = Int
k
toEnum :: Int -> Unit
toEnum Int
0 = Unit
UnitNone
toEnum Int
1 = Unit
UnitPoints
toEnum Int
2 = Unit
UnitInch
toEnum Int
3 = Unit
UnitMm
toEnum Int
k = Int -> Unit
AnotherUnit Int
k
instance P.Ord Unit where
compare :: Unit -> Unit -> Ordering
compare Unit
a Unit
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (Unit -> Int
forall a. Enum a => a -> Int
P.fromEnum Unit
a) (Unit -> Int
forall a. Enum a => a -> Int
P.fromEnum Unit
b)
type instance O.ParentTypes Unit = '[]
instance O.HasParentTypes Unit
foreign import ccall "gtk_unit_get_type" c_gtk_unit_get_type ::
IO GType
instance B.Types.TypedObject Unit where
glibType :: IO GType
glibType = IO GType
c_gtk_unit_get_type
instance B.Types.BoxedEnum Unit
data TreeViewGridLines =
TreeViewGridLinesNone
| TreeViewGridLinesHorizontal
| TreeViewGridLinesVertical
| TreeViewGridLinesBoth
| AnotherTreeViewGridLines Int
deriving (Int -> TreeViewGridLines -> ShowS
[TreeViewGridLines] -> ShowS
TreeViewGridLines -> String
(Int -> TreeViewGridLines -> ShowS)
-> (TreeViewGridLines -> String)
-> ([TreeViewGridLines] -> ShowS)
-> Show TreeViewGridLines
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TreeViewGridLines] -> ShowS
$cshowList :: [TreeViewGridLines] -> ShowS
show :: TreeViewGridLines -> String
$cshow :: TreeViewGridLines -> String
showsPrec :: Int -> TreeViewGridLines -> ShowS
$cshowsPrec :: Int -> TreeViewGridLines -> ShowS
Show, TreeViewGridLines -> TreeViewGridLines -> Bool
(TreeViewGridLines -> TreeViewGridLines -> Bool)
-> (TreeViewGridLines -> TreeViewGridLines -> Bool)
-> Eq TreeViewGridLines
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TreeViewGridLines -> TreeViewGridLines -> Bool
$c/= :: TreeViewGridLines -> TreeViewGridLines -> Bool
== :: TreeViewGridLines -> TreeViewGridLines -> Bool
$c== :: TreeViewGridLines -> TreeViewGridLines -> Bool
Eq)
instance P.Enum TreeViewGridLines where
fromEnum :: TreeViewGridLines -> Int
fromEnum TreeViewGridLines
TreeViewGridLinesNone = Int
0
fromEnum TreeViewGridLines
TreeViewGridLinesHorizontal = Int
1
fromEnum TreeViewGridLines
TreeViewGridLinesVertical = Int
2
fromEnum TreeViewGridLines
TreeViewGridLinesBoth = Int
3
fromEnum (AnotherTreeViewGridLines Int
k) = Int
k
toEnum :: Int -> TreeViewGridLines
toEnum Int
0 = TreeViewGridLines
TreeViewGridLinesNone
toEnum Int
1 = TreeViewGridLines
TreeViewGridLinesHorizontal
toEnum Int
2 = TreeViewGridLines
TreeViewGridLinesVertical
toEnum Int
3 = TreeViewGridLines
TreeViewGridLinesBoth
toEnum Int
k = Int -> TreeViewGridLines
AnotherTreeViewGridLines Int
k
instance P.Ord TreeViewGridLines where
compare :: TreeViewGridLines -> TreeViewGridLines -> Ordering
compare TreeViewGridLines
a TreeViewGridLines
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TreeViewGridLines -> Int
forall a. Enum a => a -> Int
P.fromEnum TreeViewGridLines
a) (TreeViewGridLines -> Int
forall a. Enum a => a -> Int
P.fromEnum TreeViewGridLines
b)
type instance O.ParentTypes TreeViewGridLines = '[]
instance O.HasParentTypes TreeViewGridLines
foreign import ccall "gtk_tree_view_grid_lines_get_type" c_gtk_tree_view_grid_lines_get_type ::
IO GType
instance B.Types.TypedObject TreeViewGridLines where
glibType :: IO GType
glibType = IO GType
c_gtk_tree_view_grid_lines_get_type
instance B.Types.BoxedEnum TreeViewGridLines
data TreeViewDropPosition =
TreeViewDropPositionBefore
| TreeViewDropPositionAfter
| TreeViewDropPositionIntoOrBefore
| TreeViewDropPositionIntoOrAfter
| AnotherTreeViewDropPosition Int
deriving (Int -> TreeViewDropPosition -> ShowS
[TreeViewDropPosition] -> ShowS
TreeViewDropPosition -> String
(Int -> TreeViewDropPosition -> ShowS)
-> (TreeViewDropPosition -> String)
-> ([TreeViewDropPosition] -> ShowS)
-> Show TreeViewDropPosition
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TreeViewDropPosition] -> ShowS
$cshowList :: [TreeViewDropPosition] -> ShowS
show :: TreeViewDropPosition -> String
$cshow :: TreeViewDropPosition -> String
showsPrec :: Int -> TreeViewDropPosition -> ShowS
$cshowsPrec :: Int -> TreeViewDropPosition -> ShowS
Show, TreeViewDropPosition -> TreeViewDropPosition -> Bool
(TreeViewDropPosition -> TreeViewDropPosition -> Bool)
-> (TreeViewDropPosition -> TreeViewDropPosition -> Bool)
-> Eq TreeViewDropPosition
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TreeViewDropPosition -> TreeViewDropPosition -> Bool
$c/= :: TreeViewDropPosition -> TreeViewDropPosition -> Bool
== :: TreeViewDropPosition -> TreeViewDropPosition -> Bool
$c== :: TreeViewDropPosition -> TreeViewDropPosition -> Bool
Eq)
instance P.Enum TreeViewDropPosition where
fromEnum :: TreeViewDropPosition -> Int
fromEnum TreeViewDropPosition
TreeViewDropPositionBefore = Int
0
fromEnum TreeViewDropPosition
TreeViewDropPositionAfter = Int
1
fromEnum TreeViewDropPosition
TreeViewDropPositionIntoOrBefore = Int
2
fromEnum TreeViewDropPosition
TreeViewDropPositionIntoOrAfter = Int
3
fromEnum (AnotherTreeViewDropPosition Int
k) = Int
k
toEnum :: Int -> TreeViewDropPosition
toEnum Int
0 = TreeViewDropPosition
TreeViewDropPositionBefore
toEnum Int
1 = TreeViewDropPosition
TreeViewDropPositionAfter
toEnum Int
2 = TreeViewDropPosition
TreeViewDropPositionIntoOrBefore
toEnum Int
3 = TreeViewDropPosition
TreeViewDropPositionIntoOrAfter
toEnum Int
k = Int -> TreeViewDropPosition
AnotherTreeViewDropPosition Int
k
instance P.Ord TreeViewDropPosition where
compare :: TreeViewDropPosition -> TreeViewDropPosition -> Ordering
compare TreeViewDropPosition
a TreeViewDropPosition
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TreeViewDropPosition -> Int
forall a. Enum a => a -> Int
P.fromEnum TreeViewDropPosition
a) (TreeViewDropPosition -> Int
forall a. Enum a => a -> Int
P.fromEnum TreeViewDropPosition
b)
type instance O.ParentTypes TreeViewDropPosition = '[]
instance O.HasParentTypes TreeViewDropPosition
foreign import ccall "gtk_tree_view_drop_position_get_type" c_gtk_tree_view_drop_position_get_type ::
IO GType
instance B.Types.TypedObject TreeViewDropPosition where
glibType :: IO GType
glibType = IO GType
c_gtk_tree_view_drop_position_get_type
instance B.Types.BoxedEnum TreeViewDropPosition
data TreeViewColumnSizing =
TreeViewColumnSizingGrowOnly
| TreeViewColumnSizingAutosize
| TreeViewColumnSizingFixed
| AnotherTreeViewColumnSizing Int
deriving (Int -> TreeViewColumnSizing -> ShowS
[TreeViewColumnSizing] -> ShowS
TreeViewColumnSizing -> String
(Int -> TreeViewColumnSizing -> ShowS)
-> (TreeViewColumnSizing -> String)
-> ([TreeViewColumnSizing] -> ShowS)
-> Show TreeViewColumnSizing
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TreeViewColumnSizing] -> ShowS
$cshowList :: [TreeViewColumnSizing] -> ShowS
show :: TreeViewColumnSizing -> String
$cshow :: TreeViewColumnSizing -> String
showsPrec :: Int -> TreeViewColumnSizing -> ShowS
$cshowsPrec :: Int -> TreeViewColumnSizing -> ShowS
Show, TreeViewColumnSizing -> TreeViewColumnSizing -> Bool
(TreeViewColumnSizing -> TreeViewColumnSizing -> Bool)
-> (TreeViewColumnSizing -> TreeViewColumnSizing -> Bool)
-> Eq TreeViewColumnSizing
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TreeViewColumnSizing -> TreeViewColumnSizing -> Bool
$c/= :: TreeViewColumnSizing -> TreeViewColumnSizing -> Bool
== :: TreeViewColumnSizing -> TreeViewColumnSizing -> Bool
$c== :: TreeViewColumnSizing -> TreeViewColumnSizing -> Bool
Eq)
instance P.Enum TreeViewColumnSizing where
fromEnum :: TreeViewColumnSizing -> Int
fromEnum TreeViewColumnSizing
TreeViewColumnSizingGrowOnly = Int
0
fromEnum TreeViewColumnSizing
TreeViewColumnSizingAutosize = Int
1
fromEnum TreeViewColumnSizing
TreeViewColumnSizingFixed = Int
2
fromEnum (AnotherTreeViewColumnSizing Int
k) = Int
k
toEnum :: Int -> TreeViewColumnSizing
toEnum Int
0 = TreeViewColumnSizing
TreeViewColumnSizingGrowOnly
toEnum Int
1 = TreeViewColumnSizing
TreeViewColumnSizingAutosize
toEnum Int
2 = TreeViewColumnSizing
TreeViewColumnSizingFixed
toEnum Int
k = Int -> TreeViewColumnSizing
AnotherTreeViewColumnSizing Int
k
instance P.Ord TreeViewColumnSizing where
compare :: TreeViewColumnSizing -> TreeViewColumnSizing -> Ordering
compare TreeViewColumnSizing
a TreeViewColumnSizing
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TreeViewColumnSizing -> Int
forall a. Enum a => a -> Int
P.fromEnum TreeViewColumnSizing
a) (TreeViewColumnSizing -> Int
forall a. Enum a => a -> Int
P.fromEnum TreeViewColumnSizing
b)
type instance O.ParentTypes TreeViewColumnSizing = '[]
instance O.HasParentTypes TreeViewColumnSizing
foreign import ccall "gtk_tree_view_column_sizing_get_type" c_gtk_tree_view_column_sizing_get_type ::
IO GType
instance B.Types.TypedObject TreeViewColumnSizing where
glibType :: IO GType
glibType = IO GType
c_gtk_tree_view_column_sizing_get_type
instance B.Types.BoxedEnum TreeViewColumnSizing
data ToolbarStyle =
ToolbarStyleIcons
| ToolbarStyleText
| ToolbarStyleBoth
| ToolbarStyleBothHoriz
| AnotherToolbarStyle Int
deriving (Int -> ToolbarStyle -> ShowS
[ToolbarStyle] -> ShowS
ToolbarStyle -> String
(Int -> ToolbarStyle -> ShowS)
-> (ToolbarStyle -> String)
-> ([ToolbarStyle] -> ShowS)
-> Show ToolbarStyle
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ToolbarStyle] -> ShowS
$cshowList :: [ToolbarStyle] -> ShowS
show :: ToolbarStyle -> String
$cshow :: ToolbarStyle -> String
showsPrec :: Int -> ToolbarStyle -> ShowS
$cshowsPrec :: Int -> ToolbarStyle -> ShowS
Show, ToolbarStyle -> ToolbarStyle -> Bool
(ToolbarStyle -> ToolbarStyle -> Bool)
-> (ToolbarStyle -> ToolbarStyle -> Bool) -> Eq ToolbarStyle
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ToolbarStyle -> ToolbarStyle -> Bool
$c/= :: ToolbarStyle -> ToolbarStyle -> Bool
== :: ToolbarStyle -> ToolbarStyle -> Bool
$c== :: ToolbarStyle -> ToolbarStyle -> Bool
Eq)
instance P.Enum ToolbarStyle where
fromEnum :: ToolbarStyle -> Int
fromEnum ToolbarStyle
ToolbarStyleIcons = Int
0
fromEnum ToolbarStyle
ToolbarStyleText = Int
1
fromEnum ToolbarStyle
ToolbarStyleBoth = Int
2
fromEnum ToolbarStyle
ToolbarStyleBothHoriz = Int
3
fromEnum (AnotherToolbarStyle Int
k) = Int
k
toEnum :: Int -> ToolbarStyle
toEnum Int
0 = ToolbarStyle
ToolbarStyleIcons
toEnum Int
1 = ToolbarStyle
ToolbarStyleText
toEnum Int
2 = ToolbarStyle
ToolbarStyleBoth
toEnum Int
3 = ToolbarStyle
ToolbarStyleBothHoriz
toEnum Int
k = Int -> ToolbarStyle
AnotherToolbarStyle Int
k
instance P.Ord ToolbarStyle where
compare :: ToolbarStyle -> ToolbarStyle -> Ordering
compare ToolbarStyle
a ToolbarStyle
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ToolbarStyle -> Int
forall a. Enum a => a -> Int
P.fromEnum ToolbarStyle
a) (ToolbarStyle -> Int
forall a. Enum a => a -> Int
P.fromEnum ToolbarStyle
b)
type instance O.ParentTypes ToolbarStyle = '[]
instance O.HasParentTypes ToolbarStyle
foreign import ccall "gtk_toolbar_style_get_type" c_gtk_toolbar_style_get_type ::
IO GType
instance B.Types.TypedObject ToolbarStyle where
glibType :: IO GType
glibType = IO GType
c_gtk_toolbar_style_get_type
instance B.Types.BoxedEnum ToolbarStyle
{-# DEPRECATED ToolbarSpaceStyle ["(Since version 3.20)"] #-}
data ToolbarSpaceStyle =
ToolbarSpaceStyleEmpty
| ToolbarSpaceStyleLine
| AnotherToolbarSpaceStyle Int
deriving (Int -> ToolbarSpaceStyle -> ShowS
[ToolbarSpaceStyle] -> ShowS
ToolbarSpaceStyle -> String
(Int -> ToolbarSpaceStyle -> ShowS)
-> (ToolbarSpaceStyle -> String)
-> ([ToolbarSpaceStyle] -> ShowS)
-> Show ToolbarSpaceStyle
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ToolbarSpaceStyle] -> ShowS
$cshowList :: [ToolbarSpaceStyle] -> ShowS
show :: ToolbarSpaceStyle -> String
$cshow :: ToolbarSpaceStyle -> String
showsPrec :: Int -> ToolbarSpaceStyle -> ShowS
$cshowsPrec :: Int -> ToolbarSpaceStyle -> ShowS
Show, ToolbarSpaceStyle -> ToolbarSpaceStyle -> Bool
(ToolbarSpaceStyle -> ToolbarSpaceStyle -> Bool)
-> (ToolbarSpaceStyle -> ToolbarSpaceStyle -> Bool)
-> Eq ToolbarSpaceStyle
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ToolbarSpaceStyle -> ToolbarSpaceStyle -> Bool
$c/= :: ToolbarSpaceStyle -> ToolbarSpaceStyle -> Bool
== :: ToolbarSpaceStyle -> ToolbarSpaceStyle -> Bool
$c== :: ToolbarSpaceStyle -> ToolbarSpaceStyle -> Bool
Eq)
instance P.Enum ToolbarSpaceStyle where
fromEnum :: ToolbarSpaceStyle -> Int
fromEnum ToolbarSpaceStyle
ToolbarSpaceStyleEmpty = Int
0
fromEnum ToolbarSpaceStyle
ToolbarSpaceStyleLine = Int
1
fromEnum (AnotherToolbarSpaceStyle Int
k) = Int
k
toEnum :: Int -> ToolbarSpaceStyle
toEnum Int
0 = ToolbarSpaceStyle
ToolbarSpaceStyleEmpty
toEnum Int
1 = ToolbarSpaceStyle
ToolbarSpaceStyleLine
toEnum Int
k = Int -> ToolbarSpaceStyle
AnotherToolbarSpaceStyle Int
k
instance P.Ord ToolbarSpaceStyle where
compare :: ToolbarSpaceStyle -> ToolbarSpaceStyle -> Ordering
compare ToolbarSpaceStyle
a ToolbarSpaceStyle
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ToolbarSpaceStyle -> Int
forall a. Enum a => a -> Int
P.fromEnum ToolbarSpaceStyle
a) (ToolbarSpaceStyle -> Int
forall a. Enum a => a -> Int
P.fromEnum ToolbarSpaceStyle
b)
type instance O.ParentTypes ToolbarSpaceStyle = '[]
instance O.HasParentTypes ToolbarSpaceStyle
foreign import ccall "gtk_toolbar_space_style_get_type" c_gtk_toolbar_space_style_get_type ::
IO GType
instance B.Types.TypedObject ToolbarSpaceStyle where
glibType :: IO GType
glibType = IO GType
c_gtk_toolbar_space_style_get_type
instance B.Types.BoxedEnum ToolbarSpaceStyle
data TextWindowType =
TextWindowTypePrivate
| TextWindowTypeWidget
| TextWindowTypeText
| TextWindowTypeLeft
| TextWindowTypeRight
| TextWindowTypeTop
| TextWindowTypeBottom
| AnotherTextWindowType Int
deriving (Int -> TextWindowType -> ShowS
[TextWindowType] -> ShowS
TextWindowType -> String
(Int -> TextWindowType -> ShowS)
-> (TextWindowType -> String)
-> ([TextWindowType] -> ShowS)
-> Show TextWindowType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TextWindowType] -> ShowS
$cshowList :: [TextWindowType] -> ShowS
show :: TextWindowType -> String
$cshow :: TextWindowType -> String
showsPrec :: Int -> TextWindowType -> ShowS
$cshowsPrec :: Int -> TextWindowType -> ShowS
Show, TextWindowType -> TextWindowType -> Bool
(TextWindowType -> TextWindowType -> Bool)
-> (TextWindowType -> TextWindowType -> Bool) -> Eq TextWindowType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TextWindowType -> TextWindowType -> Bool
$c/= :: TextWindowType -> TextWindowType -> Bool
== :: TextWindowType -> TextWindowType -> Bool
$c== :: TextWindowType -> TextWindowType -> Bool
Eq)
instance P.Enum TextWindowType where
fromEnum :: TextWindowType -> Int
fromEnum TextWindowType
TextWindowTypePrivate = Int
0
fromEnum TextWindowType
TextWindowTypeWidget = Int
1
fromEnum TextWindowType
TextWindowTypeText = Int
2
fromEnum TextWindowType
TextWindowTypeLeft = Int
3
fromEnum TextWindowType
TextWindowTypeRight = Int
4
fromEnum TextWindowType
TextWindowTypeTop = Int
5
fromEnum TextWindowType
TextWindowTypeBottom = Int
6
fromEnum (AnotherTextWindowType Int
k) = Int
k
toEnum :: Int -> TextWindowType
toEnum Int
0 = TextWindowType
TextWindowTypePrivate
toEnum Int
1 = TextWindowType
TextWindowTypeWidget
toEnum Int
2 = TextWindowType
TextWindowTypeText
toEnum Int
3 = TextWindowType
TextWindowTypeLeft
toEnum Int
4 = TextWindowType
TextWindowTypeRight
toEnum Int
5 = TextWindowType
TextWindowTypeTop
toEnum Int
6 = TextWindowType
TextWindowTypeBottom
toEnum Int
k = Int -> TextWindowType
AnotherTextWindowType Int
k
instance P.Ord TextWindowType where
compare :: TextWindowType -> TextWindowType -> Ordering
compare TextWindowType
a TextWindowType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TextWindowType -> Int
forall a. Enum a => a -> Int
P.fromEnum TextWindowType
a) (TextWindowType -> Int
forall a. Enum a => a -> Int
P.fromEnum TextWindowType
b)
type instance O.ParentTypes TextWindowType = '[]
instance O.HasParentTypes TextWindowType
foreign import ccall "gtk_text_window_type_get_type" c_gtk_text_window_type_get_type ::
IO GType
instance B.Types.TypedObject TextWindowType where
glibType :: IO GType
glibType = IO GType
c_gtk_text_window_type_get_type
instance B.Types.BoxedEnum TextWindowType
data TextViewLayer =
TextViewLayerBelow
| TextViewLayerAbove
| TextViewLayerBelowText
| TextViewLayerAboveText
| AnotherTextViewLayer Int
deriving (Int -> TextViewLayer -> ShowS
[TextViewLayer] -> ShowS
TextViewLayer -> String
(Int -> TextViewLayer -> ShowS)
-> (TextViewLayer -> String)
-> ([TextViewLayer] -> ShowS)
-> Show TextViewLayer
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TextViewLayer] -> ShowS
$cshowList :: [TextViewLayer] -> ShowS
show :: TextViewLayer -> String
$cshow :: TextViewLayer -> String
showsPrec :: Int -> TextViewLayer -> ShowS
$cshowsPrec :: Int -> TextViewLayer -> ShowS
Show, TextViewLayer -> TextViewLayer -> Bool
(TextViewLayer -> TextViewLayer -> Bool)
-> (TextViewLayer -> TextViewLayer -> Bool) -> Eq TextViewLayer
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TextViewLayer -> TextViewLayer -> Bool
$c/= :: TextViewLayer -> TextViewLayer -> Bool
== :: TextViewLayer -> TextViewLayer -> Bool
$c== :: TextViewLayer -> TextViewLayer -> Bool
Eq)
instance P.Enum TextViewLayer where
fromEnum :: TextViewLayer -> Int
fromEnum TextViewLayer
TextViewLayerBelow = Int
0
fromEnum TextViewLayer
TextViewLayerAbove = Int
1
fromEnum TextViewLayer
TextViewLayerBelowText = Int
2
fromEnum TextViewLayer
TextViewLayerAboveText = Int
3
fromEnum (AnotherTextViewLayer Int
k) = Int
k
toEnum :: Int -> TextViewLayer
toEnum Int
0 = TextViewLayer
TextViewLayerBelow
toEnum Int
1 = TextViewLayer
TextViewLayerAbove
toEnum Int
2 = TextViewLayer
TextViewLayerBelowText
toEnum Int
3 = TextViewLayer
TextViewLayerAboveText
toEnum Int
k = Int -> TextViewLayer
AnotherTextViewLayer Int
k
instance P.Ord TextViewLayer where
compare :: TextViewLayer -> TextViewLayer -> Ordering
compare TextViewLayer
a TextViewLayer
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TextViewLayer -> Int
forall a. Enum a => a -> Int
P.fromEnum TextViewLayer
a) (TextViewLayer -> Int
forall a. Enum a => a -> Int
P.fromEnum TextViewLayer
b)
type instance O.ParentTypes TextViewLayer = '[]
instance O.HasParentTypes TextViewLayer
foreign import ccall "gtk_text_view_layer_get_type" c_gtk_text_view_layer_get_type ::
IO GType
instance B.Types.TypedObject TextViewLayer where
glibType :: IO GType
glibType = IO GType
c_gtk_text_view_layer_get_type
instance B.Types.BoxedEnum TextViewLayer
data TextExtendSelection =
TextExtendSelectionWord
| TextExtendSelectionLine
| AnotherTextExtendSelection Int
deriving (Int -> TextExtendSelection -> ShowS
[TextExtendSelection] -> ShowS
TextExtendSelection -> String
(Int -> TextExtendSelection -> ShowS)
-> (TextExtendSelection -> String)
-> ([TextExtendSelection] -> ShowS)
-> Show TextExtendSelection
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TextExtendSelection] -> ShowS
$cshowList :: [TextExtendSelection] -> ShowS
show :: TextExtendSelection -> String
$cshow :: TextExtendSelection -> String
showsPrec :: Int -> TextExtendSelection -> ShowS
$cshowsPrec :: Int -> TextExtendSelection -> ShowS
Show, TextExtendSelection -> TextExtendSelection -> Bool
(TextExtendSelection -> TextExtendSelection -> Bool)
-> (TextExtendSelection -> TextExtendSelection -> Bool)
-> Eq TextExtendSelection
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TextExtendSelection -> TextExtendSelection -> Bool
$c/= :: TextExtendSelection -> TextExtendSelection -> Bool
== :: TextExtendSelection -> TextExtendSelection -> Bool
$c== :: TextExtendSelection -> TextExtendSelection -> Bool
Eq)
instance P.Enum TextExtendSelection where
fromEnum :: TextExtendSelection -> Int
fromEnum TextExtendSelection
TextExtendSelectionWord = Int
0
fromEnum TextExtendSelection
TextExtendSelectionLine = Int
1
fromEnum (AnotherTextExtendSelection Int
k) = Int
k
toEnum :: Int -> TextExtendSelection
toEnum Int
0 = TextExtendSelection
TextExtendSelectionWord
toEnum Int
1 = TextExtendSelection
TextExtendSelectionLine
toEnum Int
k = Int -> TextExtendSelection
AnotherTextExtendSelection Int
k
instance P.Ord TextExtendSelection where
compare :: TextExtendSelection -> TextExtendSelection -> Ordering
compare TextExtendSelection
a TextExtendSelection
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TextExtendSelection -> Int
forall a. Enum a => a -> Int
P.fromEnum TextExtendSelection
a) (TextExtendSelection -> Int
forall a. Enum a => a -> Int
P.fromEnum TextExtendSelection
b)
type instance O.ParentTypes TextExtendSelection = '[]
instance O.HasParentTypes TextExtendSelection
foreign import ccall "gtk_text_extend_selection_get_type" c_gtk_text_extend_selection_get_type ::
IO GType
instance B.Types.TypedObject TextExtendSelection where
glibType :: IO GType
glibType = IO GType
c_gtk_text_extend_selection_get_type
instance B.Types.BoxedEnum TextExtendSelection
data TextDirection =
TextDirectionNone
| TextDirectionLtr
| TextDirectionRtl
| AnotherTextDirection Int
deriving (Int -> TextDirection -> ShowS
[TextDirection] -> ShowS
TextDirection -> String
(Int -> TextDirection -> ShowS)
-> (TextDirection -> String)
-> ([TextDirection] -> ShowS)
-> Show TextDirection
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TextDirection] -> ShowS
$cshowList :: [TextDirection] -> ShowS
show :: TextDirection -> String
$cshow :: TextDirection -> String
showsPrec :: Int -> TextDirection -> ShowS
$cshowsPrec :: Int -> TextDirection -> ShowS
Show, TextDirection -> TextDirection -> Bool
(TextDirection -> TextDirection -> Bool)
-> (TextDirection -> TextDirection -> Bool) -> Eq TextDirection
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TextDirection -> TextDirection -> Bool
$c/= :: TextDirection -> TextDirection -> Bool
== :: TextDirection -> TextDirection -> Bool
$c== :: TextDirection -> TextDirection -> Bool
Eq)
instance P.Enum TextDirection where
fromEnum :: TextDirection -> Int
fromEnum TextDirection
TextDirectionNone = Int
0
fromEnum TextDirection
TextDirectionLtr = Int
1
fromEnum TextDirection
TextDirectionRtl = Int
2
fromEnum (AnotherTextDirection Int
k) = Int
k
toEnum :: Int -> TextDirection
toEnum Int
0 = TextDirection
TextDirectionNone
toEnum Int
1 = TextDirection
TextDirectionLtr
toEnum Int
2 = TextDirection
TextDirectionRtl
toEnum Int
k = Int -> TextDirection
AnotherTextDirection Int
k
instance P.Ord TextDirection where
compare :: TextDirection -> TextDirection -> Ordering
compare TextDirection
a TextDirection
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TextDirection -> Int
forall a. Enum a => a -> Int
P.fromEnum TextDirection
a) (TextDirection -> Int
forall a. Enum a => a -> Int
P.fromEnum TextDirection
b)
type instance O.ParentTypes TextDirection = '[]
instance O.HasParentTypes TextDirection
foreign import ccall "gtk_text_direction_get_type" c_gtk_text_direction_get_type ::
IO GType
instance B.Types.TypedObject TextDirection where
glibType :: IO GType
glibType = IO GType
c_gtk_text_direction_get_type
instance B.Types.BoxedEnum TextDirection
data TextBufferTargetInfo =
TextBufferTargetInfoBufferContents
| TextBufferTargetInfoRichText
| TextBufferTargetInfoText
| AnotherTextBufferTargetInfo Int
deriving (Int -> TextBufferTargetInfo -> ShowS
[TextBufferTargetInfo] -> ShowS
TextBufferTargetInfo -> String
(Int -> TextBufferTargetInfo -> ShowS)
-> (TextBufferTargetInfo -> String)
-> ([TextBufferTargetInfo] -> ShowS)
-> Show TextBufferTargetInfo
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TextBufferTargetInfo] -> ShowS
$cshowList :: [TextBufferTargetInfo] -> ShowS
show :: TextBufferTargetInfo -> String
$cshow :: TextBufferTargetInfo -> String
showsPrec :: Int -> TextBufferTargetInfo -> ShowS
$cshowsPrec :: Int -> TextBufferTargetInfo -> ShowS
Show, TextBufferTargetInfo -> TextBufferTargetInfo -> Bool
(TextBufferTargetInfo -> TextBufferTargetInfo -> Bool)
-> (TextBufferTargetInfo -> TextBufferTargetInfo -> Bool)
-> Eq TextBufferTargetInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TextBufferTargetInfo -> TextBufferTargetInfo -> Bool
$c/= :: TextBufferTargetInfo -> TextBufferTargetInfo -> Bool
== :: TextBufferTargetInfo -> TextBufferTargetInfo -> Bool
$c== :: TextBufferTargetInfo -> TextBufferTargetInfo -> Bool
Eq)
instance P.Enum TextBufferTargetInfo where
fromEnum :: TextBufferTargetInfo -> Int
fromEnum TextBufferTargetInfo
TextBufferTargetInfoBufferContents = Int
-1
fromEnum TextBufferTargetInfo
TextBufferTargetInfoRichText = Int
-2
fromEnum TextBufferTargetInfo
TextBufferTargetInfoText = Int
-3
fromEnum (AnotherTextBufferTargetInfo Int
k) = Int
k
toEnum :: Int -> TextBufferTargetInfo
toEnum Int
-1 = TextBufferTargetInfo
TextBufferTargetInfoBufferContents
toEnum Int
-2 = TextBufferTargetInfo
TextBufferTargetInfoRichText
toEnum Int
-3 = TextBufferTargetInfo
TextBufferTargetInfoText
toEnum Int
k = Int -> TextBufferTargetInfo
AnotherTextBufferTargetInfo Int
k
instance P.Ord TextBufferTargetInfo where
compare :: TextBufferTargetInfo -> TextBufferTargetInfo -> Ordering
compare TextBufferTargetInfo
a TextBufferTargetInfo
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TextBufferTargetInfo -> Int
forall a. Enum a => a -> Int
P.fromEnum TextBufferTargetInfo
a) (TextBufferTargetInfo -> Int
forall a. Enum a => a -> Int
P.fromEnum TextBufferTargetInfo
b)
type instance O.ParentTypes TextBufferTargetInfo = '[]
instance O.HasParentTypes TextBufferTargetInfo
foreign import ccall "gtk_text_buffer_target_info_get_type" c_gtk_text_buffer_target_info_get_type ::
IO GType
instance B.Types.TypedObject TextBufferTargetInfo where
glibType :: IO GType
glibType = IO GType
c_gtk_text_buffer_target_info_get_type
instance B.Types.BoxedEnum TextBufferTargetInfo
{-# DEPRECATED StateType ["(Since version 3.14)","All APIs that are using this enumeration have been deprecated"," in favor of alternatives using t'GI.Gtk.Flags.StateFlags'."] #-}
data StateType =
StateTypeNormal
| StateTypeActive
| StateTypePrelight
| StateTypeSelected
| StateTypeInsensitive
| StateTypeInconsistent
| StateTypeFocused
| AnotherStateType Int
deriving (Int -> StateType -> ShowS
[StateType] -> ShowS
StateType -> String
(Int -> StateType -> ShowS)
-> (StateType -> String)
-> ([StateType] -> ShowS)
-> Show StateType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StateType] -> ShowS
$cshowList :: [StateType] -> ShowS
show :: StateType -> String
$cshow :: StateType -> String
showsPrec :: Int -> StateType -> ShowS
$cshowsPrec :: Int -> StateType -> ShowS
Show, StateType -> StateType -> Bool
(StateType -> StateType -> Bool)
-> (StateType -> StateType -> Bool) -> Eq StateType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StateType -> StateType -> Bool
$c/= :: StateType -> StateType -> Bool
== :: StateType -> StateType -> Bool
$c== :: StateType -> StateType -> Bool
Eq)
instance P.Enum StateType where
fromEnum :: StateType -> Int
fromEnum StateType
StateTypeNormal = Int
0
fromEnum StateType
StateTypeActive = Int
1
fromEnum StateType
StateTypePrelight = Int
2
fromEnum StateType
StateTypeSelected = Int
3
fromEnum StateType
StateTypeInsensitive = Int
4
fromEnum StateType
StateTypeInconsistent = Int
5
fromEnum StateType
StateTypeFocused = Int
6
fromEnum (AnotherStateType Int
k) = Int
k
toEnum :: Int -> StateType
toEnum Int
0 = StateType
StateTypeNormal
toEnum Int
1 = StateType
StateTypeActive
toEnum Int
2 = StateType
StateTypePrelight
toEnum Int
3 = StateType
StateTypeSelected
toEnum Int
4 = StateType
StateTypeInsensitive
toEnum Int
5 = StateType
StateTypeInconsistent
toEnum Int
6 = StateType
StateTypeFocused
toEnum Int
k = Int -> StateType
AnotherStateType Int
k
instance P.Ord StateType where
compare :: StateType -> StateType -> Ordering
compare StateType
a StateType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (StateType -> Int
forall a. Enum a => a -> Int
P.fromEnum StateType
a) (StateType -> Int
forall a. Enum a => a -> Int
P.fromEnum StateType
b)
type instance O.ParentTypes StateType = '[]
instance O.HasParentTypes StateType
foreign import ccall "gtk_state_type_get_type" c_gtk_state_type_get_type ::
IO GType
instance B.Types.TypedObject StateType where
glibType :: IO GType
glibType = IO GType
c_gtk_state_type_get_type
instance B.Types.BoxedEnum StateType
data StackTransitionType =
StackTransitionTypeNone
| StackTransitionTypeCrossfade
| StackTransitionTypeSlideRight
| StackTransitionTypeSlideLeft
| StackTransitionTypeSlideUp
| StackTransitionTypeSlideDown
| StackTransitionTypeSlideLeftRight
| StackTransitionTypeSlideUpDown
| StackTransitionTypeOverUp
| StackTransitionTypeOverDown
| StackTransitionTypeOverLeft
| StackTransitionTypeOverRight
| StackTransitionTypeUnderUp
| StackTransitionTypeUnderDown
| StackTransitionTypeUnderLeft
| StackTransitionTypeUnderRight
| StackTransitionTypeOverUpDown
| StackTransitionTypeOverDownUp
| StackTransitionTypeOverLeftRight
| StackTransitionTypeOverRightLeft
| AnotherStackTransitionType Int
deriving (Int -> StackTransitionType -> ShowS
[StackTransitionType] -> ShowS
StackTransitionType -> String
(Int -> StackTransitionType -> ShowS)
-> (StackTransitionType -> String)
-> ([StackTransitionType] -> ShowS)
-> Show StackTransitionType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StackTransitionType] -> ShowS
$cshowList :: [StackTransitionType] -> ShowS
show :: StackTransitionType -> String
$cshow :: StackTransitionType -> String
showsPrec :: Int -> StackTransitionType -> ShowS
$cshowsPrec :: Int -> StackTransitionType -> ShowS
Show, StackTransitionType -> StackTransitionType -> Bool
(StackTransitionType -> StackTransitionType -> Bool)
-> (StackTransitionType -> StackTransitionType -> Bool)
-> Eq StackTransitionType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StackTransitionType -> StackTransitionType -> Bool
$c/= :: StackTransitionType -> StackTransitionType -> Bool
== :: StackTransitionType -> StackTransitionType -> Bool
$c== :: StackTransitionType -> StackTransitionType -> Bool
Eq)
instance P.Enum StackTransitionType where
fromEnum :: StackTransitionType -> Int
fromEnum StackTransitionType
StackTransitionTypeNone = Int
0
fromEnum StackTransitionType
StackTransitionTypeCrossfade = Int
1
fromEnum StackTransitionType
StackTransitionTypeSlideRight = Int
2
fromEnum StackTransitionType
StackTransitionTypeSlideLeft = Int
3
fromEnum StackTransitionType
StackTransitionTypeSlideUp = Int
4
fromEnum StackTransitionType
StackTransitionTypeSlideDown = Int
5
fromEnum StackTransitionType
StackTransitionTypeSlideLeftRight = Int
6
fromEnum StackTransitionType
StackTransitionTypeSlideUpDown = Int
7
fromEnum StackTransitionType
StackTransitionTypeOverUp = Int
8
fromEnum StackTransitionType
StackTransitionTypeOverDown = Int
9
fromEnum StackTransitionType
StackTransitionTypeOverLeft = Int
10
fromEnum StackTransitionType
StackTransitionTypeOverRight = Int
11
fromEnum StackTransitionType
StackTransitionTypeUnderUp = Int
12
fromEnum StackTransitionType
StackTransitionTypeUnderDown = Int
13
fromEnum StackTransitionType
StackTransitionTypeUnderLeft = Int
14
fromEnum StackTransitionType
StackTransitionTypeUnderRight = Int
15
fromEnum StackTransitionType
StackTransitionTypeOverUpDown = Int
16
fromEnum StackTransitionType
StackTransitionTypeOverDownUp = Int
17
fromEnum StackTransitionType
StackTransitionTypeOverLeftRight = Int
18
fromEnum StackTransitionType
StackTransitionTypeOverRightLeft = Int
19
fromEnum (AnotherStackTransitionType Int
k) = Int
k
toEnum :: Int -> StackTransitionType
toEnum Int
0 = StackTransitionType
StackTransitionTypeNone
toEnum Int
1 = StackTransitionType
StackTransitionTypeCrossfade
toEnum Int
2 = StackTransitionType
StackTransitionTypeSlideRight
toEnum Int
3 = StackTransitionType
StackTransitionTypeSlideLeft
toEnum Int
4 = StackTransitionType
StackTransitionTypeSlideUp
toEnum Int
5 = StackTransitionType
StackTransitionTypeSlideDown
toEnum Int
6 = StackTransitionType
StackTransitionTypeSlideLeftRight
toEnum Int
7 = StackTransitionType
StackTransitionTypeSlideUpDown
toEnum Int
8 = StackTransitionType
StackTransitionTypeOverUp
toEnum Int
9 = StackTransitionType
StackTransitionTypeOverDown
toEnum Int
10 = StackTransitionType
StackTransitionTypeOverLeft
toEnum Int
11 = StackTransitionType
StackTransitionTypeOverRight
toEnum Int
12 = StackTransitionType
StackTransitionTypeUnderUp
toEnum Int
13 = StackTransitionType
StackTransitionTypeUnderDown
toEnum Int
14 = StackTransitionType
StackTransitionTypeUnderLeft
toEnum Int
15 = StackTransitionType
StackTransitionTypeUnderRight
toEnum Int
16 = StackTransitionType
StackTransitionTypeOverUpDown
toEnum Int
17 = StackTransitionType
StackTransitionTypeOverDownUp
toEnum Int
18 = StackTransitionType
StackTransitionTypeOverLeftRight
toEnum Int
19 = StackTransitionType
StackTransitionTypeOverRightLeft
toEnum Int
k = Int -> StackTransitionType
AnotherStackTransitionType Int
k
instance P.Ord StackTransitionType where
compare :: StackTransitionType -> StackTransitionType -> Ordering
compare StackTransitionType
a StackTransitionType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (StackTransitionType -> Int
forall a. Enum a => a -> Int
P.fromEnum StackTransitionType
a) (StackTransitionType -> Int
forall a. Enum a => a -> Int
P.fromEnum StackTransitionType
b)
type instance O.ParentTypes StackTransitionType = '[]
instance O.HasParentTypes StackTransitionType
foreign import ccall "gtk_stack_transition_type_get_type" c_gtk_stack_transition_type_get_type ::
IO GType
instance B.Types.TypedObject StackTransitionType where
glibType :: IO GType
glibType = IO GType
c_gtk_stack_transition_type_get_type
instance B.Types.BoxedEnum StackTransitionType
data SpinType =
SpinTypeStepForward
| SpinTypeStepBackward
| SpinTypePageForward
| SpinTypePageBackward
| SpinTypeHome
| SpinTypeEnd
| SpinTypeUserDefined
| AnotherSpinType Int
deriving (Int -> SpinType -> ShowS
[SpinType] -> ShowS
SpinType -> String
(Int -> SpinType -> ShowS)
-> (SpinType -> String) -> ([SpinType] -> ShowS) -> Show SpinType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SpinType] -> ShowS
$cshowList :: [SpinType] -> ShowS
show :: SpinType -> String
$cshow :: SpinType -> String
showsPrec :: Int -> SpinType -> ShowS
$cshowsPrec :: Int -> SpinType -> ShowS
Show, SpinType -> SpinType -> Bool
(SpinType -> SpinType -> Bool)
-> (SpinType -> SpinType -> Bool) -> Eq SpinType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SpinType -> SpinType -> Bool
$c/= :: SpinType -> SpinType -> Bool
== :: SpinType -> SpinType -> Bool
$c== :: SpinType -> SpinType -> Bool
Eq)
instance P.Enum SpinType where
fromEnum :: SpinType -> Int
fromEnum SpinType
SpinTypeStepForward = Int
0
fromEnum SpinType
SpinTypeStepBackward = Int
1
fromEnum SpinType
SpinTypePageForward = Int
2
fromEnum SpinType
SpinTypePageBackward = Int
3
fromEnum SpinType
SpinTypeHome = Int
4
fromEnum SpinType
SpinTypeEnd = Int
5
fromEnum SpinType
SpinTypeUserDefined = Int
6
fromEnum (AnotherSpinType Int
k) = Int
k
toEnum :: Int -> SpinType
toEnum Int
0 = SpinType
SpinTypeStepForward
toEnum Int
1 = SpinType
SpinTypeStepBackward
toEnum Int
2 = SpinType
SpinTypePageForward
toEnum Int
3 = SpinType
SpinTypePageBackward
toEnum Int
4 = SpinType
SpinTypeHome
toEnum Int
5 = SpinType
SpinTypeEnd
toEnum Int
6 = SpinType
SpinTypeUserDefined
toEnum Int
k = Int -> SpinType
AnotherSpinType Int
k
instance P.Ord SpinType where
compare :: SpinType -> SpinType -> Ordering
compare SpinType
a SpinType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (SpinType -> Int
forall a. Enum a => a -> Int
P.fromEnum SpinType
a) (SpinType -> Int
forall a. Enum a => a -> Int
P.fromEnum SpinType
b)
type instance O.ParentTypes SpinType = '[]
instance O.HasParentTypes SpinType
foreign import ccall "gtk_spin_type_get_type" c_gtk_spin_type_get_type ::
IO GType
instance B.Types.TypedObject SpinType where
glibType :: IO GType
glibType = IO GType
c_gtk_spin_type_get_type
instance B.Types.BoxedEnum SpinType
data SpinButtonUpdatePolicy =
SpinButtonUpdatePolicyAlways
| SpinButtonUpdatePolicyIfValid
| AnotherSpinButtonUpdatePolicy Int
deriving (Int -> SpinButtonUpdatePolicy -> ShowS
[SpinButtonUpdatePolicy] -> ShowS
SpinButtonUpdatePolicy -> String
(Int -> SpinButtonUpdatePolicy -> ShowS)
-> (SpinButtonUpdatePolicy -> String)
-> ([SpinButtonUpdatePolicy] -> ShowS)
-> Show SpinButtonUpdatePolicy
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SpinButtonUpdatePolicy] -> ShowS
$cshowList :: [SpinButtonUpdatePolicy] -> ShowS
show :: SpinButtonUpdatePolicy -> String
$cshow :: SpinButtonUpdatePolicy -> String
showsPrec :: Int -> SpinButtonUpdatePolicy -> ShowS
$cshowsPrec :: Int -> SpinButtonUpdatePolicy -> ShowS
Show, SpinButtonUpdatePolicy -> SpinButtonUpdatePolicy -> Bool
(SpinButtonUpdatePolicy -> SpinButtonUpdatePolicy -> Bool)
-> (SpinButtonUpdatePolicy -> SpinButtonUpdatePolicy -> Bool)
-> Eq SpinButtonUpdatePolicy
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SpinButtonUpdatePolicy -> SpinButtonUpdatePolicy -> Bool
$c/= :: SpinButtonUpdatePolicy -> SpinButtonUpdatePolicy -> Bool
== :: SpinButtonUpdatePolicy -> SpinButtonUpdatePolicy -> Bool
$c== :: SpinButtonUpdatePolicy -> SpinButtonUpdatePolicy -> Bool
Eq)
instance P.Enum SpinButtonUpdatePolicy where
fromEnum :: SpinButtonUpdatePolicy -> Int
fromEnum SpinButtonUpdatePolicy
SpinButtonUpdatePolicyAlways = Int
0
fromEnum SpinButtonUpdatePolicy
SpinButtonUpdatePolicyIfValid = Int
1
fromEnum (AnotherSpinButtonUpdatePolicy Int
k) = Int
k
toEnum :: Int -> SpinButtonUpdatePolicy
toEnum Int
0 = SpinButtonUpdatePolicy
SpinButtonUpdatePolicyAlways
toEnum Int
1 = SpinButtonUpdatePolicy
SpinButtonUpdatePolicyIfValid
toEnum Int
k = Int -> SpinButtonUpdatePolicy
AnotherSpinButtonUpdatePolicy Int
k
instance P.Ord SpinButtonUpdatePolicy where
compare :: SpinButtonUpdatePolicy -> SpinButtonUpdatePolicy -> Ordering
compare SpinButtonUpdatePolicy
a SpinButtonUpdatePolicy
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (SpinButtonUpdatePolicy -> Int
forall a. Enum a => a -> Int
P.fromEnum SpinButtonUpdatePolicy
a) (SpinButtonUpdatePolicy -> Int
forall a. Enum a => a -> Int
P.fromEnum SpinButtonUpdatePolicy
b)
type instance O.ParentTypes SpinButtonUpdatePolicy = '[]
instance O.HasParentTypes SpinButtonUpdatePolicy
foreign import ccall "gtk_spin_button_update_policy_get_type" c_gtk_spin_button_update_policy_get_type ::
IO GType
instance B.Types.TypedObject SpinButtonUpdatePolicy where
glibType :: IO GType
glibType = IO GType
c_gtk_spin_button_update_policy_get_type
instance B.Types.BoxedEnum SpinButtonUpdatePolicy
data SortType =
SortTypeAscending
| SortTypeDescending
| AnotherSortType Int
deriving (Int -> SortType -> ShowS
[SortType] -> ShowS
SortType -> String
(Int -> SortType -> ShowS)
-> (SortType -> String) -> ([SortType] -> ShowS) -> Show SortType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SortType] -> ShowS
$cshowList :: [SortType] -> ShowS
show :: SortType -> String
$cshow :: SortType -> String
showsPrec :: Int -> SortType -> ShowS
$cshowsPrec :: Int -> SortType -> ShowS
Show, SortType -> SortType -> Bool
(SortType -> SortType -> Bool)
-> (SortType -> SortType -> Bool) -> Eq SortType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SortType -> SortType -> Bool
$c/= :: SortType -> SortType -> Bool
== :: SortType -> SortType -> Bool
$c== :: SortType -> SortType -> Bool
Eq)
instance P.Enum SortType where
fromEnum :: SortType -> Int
fromEnum SortType
SortTypeAscending = Int
0
fromEnum SortType
SortTypeDescending = Int
1
fromEnum (AnotherSortType Int
k) = Int
k
toEnum :: Int -> SortType
toEnum Int
0 = SortType
SortTypeAscending
toEnum Int
1 = SortType
SortTypeDescending
toEnum Int
k = Int -> SortType
AnotherSortType Int
k
instance P.Ord SortType where
compare :: SortType -> SortType -> Ordering
compare SortType
a SortType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (SortType -> Int
forall a. Enum a => a -> Int
P.fromEnum SortType
a) (SortType -> Int
forall a. Enum a => a -> Int
P.fromEnum SortType
b)
type instance O.ParentTypes SortType = '[]
instance O.HasParentTypes SortType
foreign import ccall "gtk_sort_type_get_type" c_gtk_sort_type_get_type ::
IO GType
instance B.Types.TypedObject SortType where
glibType :: IO GType
glibType = IO GType
c_gtk_sort_type_get_type
instance B.Types.BoxedEnum SortType
data SizeRequestMode =
SizeRequestModeHeightForWidth
| SizeRequestModeWidthForHeight
| SizeRequestModeConstantSize
| AnotherSizeRequestMode Int
deriving (Int -> SizeRequestMode -> ShowS
[SizeRequestMode] -> ShowS
SizeRequestMode -> String
(Int -> SizeRequestMode -> ShowS)
-> (SizeRequestMode -> String)
-> ([SizeRequestMode] -> ShowS)
-> Show SizeRequestMode
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SizeRequestMode] -> ShowS
$cshowList :: [SizeRequestMode] -> ShowS
show :: SizeRequestMode -> String
$cshow :: SizeRequestMode -> String
showsPrec :: Int -> SizeRequestMode -> ShowS
$cshowsPrec :: Int -> SizeRequestMode -> ShowS
Show, SizeRequestMode -> SizeRequestMode -> Bool
(SizeRequestMode -> SizeRequestMode -> Bool)
-> (SizeRequestMode -> SizeRequestMode -> Bool)
-> Eq SizeRequestMode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SizeRequestMode -> SizeRequestMode -> Bool
$c/= :: SizeRequestMode -> SizeRequestMode -> Bool
== :: SizeRequestMode -> SizeRequestMode -> Bool
$c== :: SizeRequestMode -> SizeRequestMode -> Bool
Eq)
instance P.Enum SizeRequestMode where
fromEnum :: SizeRequestMode -> Int
fromEnum SizeRequestMode
SizeRequestModeHeightForWidth = Int
0
fromEnum SizeRequestMode
SizeRequestModeWidthForHeight = Int
1
fromEnum SizeRequestMode
SizeRequestModeConstantSize = Int
2
fromEnum (AnotherSizeRequestMode Int
k) = Int
k
toEnum :: Int -> SizeRequestMode
toEnum Int
0 = SizeRequestMode
SizeRequestModeHeightForWidth
toEnum Int
1 = SizeRequestMode
SizeRequestModeWidthForHeight
toEnum Int
2 = SizeRequestMode
SizeRequestModeConstantSize
toEnum Int
k = Int -> SizeRequestMode
AnotherSizeRequestMode Int
k
instance P.Ord SizeRequestMode where
compare :: SizeRequestMode -> SizeRequestMode -> Ordering
compare SizeRequestMode
a SizeRequestMode
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (SizeRequestMode -> Int
forall a. Enum a => a -> Int
P.fromEnum SizeRequestMode
a) (SizeRequestMode -> Int
forall a. Enum a => a -> Int
P.fromEnum SizeRequestMode
b)
type instance O.ParentTypes SizeRequestMode = '[]
instance O.HasParentTypes SizeRequestMode
foreign import ccall "gtk_size_request_mode_get_type" c_gtk_size_request_mode_get_type ::
IO GType
instance B.Types.TypedObject SizeRequestMode where
glibType :: IO GType
glibType = IO GType
c_gtk_size_request_mode_get_type
instance B.Types.BoxedEnum SizeRequestMode
data SizeGroupMode =
SizeGroupModeNone
| SizeGroupModeHorizontal
| SizeGroupModeVertical
| SizeGroupModeBoth
| AnotherSizeGroupMode Int
deriving (Int -> SizeGroupMode -> ShowS
[SizeGroupMode] -> ShowS
SizeGroupMode -> String
(Int -> SizeGroupMode -> ShowS)
-> (SizeGroupMode -> String)
-> ([SizeGroupMode] -> ShowS)
-> Show SizeGroupMode
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SizeGroupMode] -> ShowS
$cshowList :: [SizeGroupMode] -> ShowS
show :: SizeGroupMode -> String
$cshow :: SizeGroupMode -> String
showsPrec :: Int -> SizeGroupMode -> ShowS
$cshowsPrec :: Int -> SizeGroupMode -> ShowS
Show, SizeGroupMode -> SizeGroupMode -> Bool
(SizeGroupMode -> SizeGroupMode -> Bool)
-> (SizeGroupMode -> SizeGroupMode -> Bool) -> Eq SizeGroupMode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SizeGroupMode -> SizeGroupMode -> Bool
$c/= :: SizeGroupMode -> SizeGroupMode -> Bool
== :: SizeGroupMode -> SizeGroupMode -> Bool
$c== :: SizeGroupMode -> SizeGroupMode -> Bool
Eq)
instance P.Enum SizeGroupMode where
fromEnum :: SizeGroupMode -> Int
fromEnum SizeGroupMode
SizeGroupModeNone = Int
0
fromEnum SizeGroupMode
SizeGroupModeHorizontal = Int
1
fromEnum SizeGroupMode
SizeGroupModeVertical = Int
2
fromEnum SizeGroupMode
SizeGroupModeBoth = Int
3
fromEnum (AnotherSizeGroupMode Int
k) = Int
k
toEnum :: Int -> SizeGroupMode
toEnum Int
0 = SizeGroupMode
SizeGroupModeNone
toEnum Int
1 = SizeGroupMode
SizeGroupModeHorizontal
toEnum Int
2 = SizeGroupMode
SizeGroupModeVertical
toEnum Int
3 = SizeGroupMode
SizeGroupModeBoth
toEnum Int
k = Int -> SizeGroupMode
AnotherSizeGroupMode Int
k
instance P.Ord SizeGroupMode where
compare :: SizeGroupMode -> SizeGroupMode -> Ordering
compare SizeGroupMode
a SizeGroupMode
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (SizeGroupMode -> Int
forall a. Enum a => a -> Int
P.fromEnum SizeGroupMode
a) (SizeGroupMode -> Int
forall a. Enum a => a -> Int
P.fromEnum SizeGroupMode
b)
type instance O.ParentTypes SizeGroupMode = '[]
instance O.HasParentTypes SizeGroupMode
foreign import ccall "gtk_size_group_mode_get_type" c_gtk_size_group_mode_get_type ::
IO GType
instance B.Types.TypedObject SizeGroupMode where
glibType :: IO GType
glibType = IO GType
c_gtk_size_group_mode_get_type
instance B.Types.BoxedEnum SizeGroupMode
data ShortcutType =
ShortcutTypeAccelerator
| ShortcutTypeGesturePinch
| ShortcutTypeGestureStretch
| ShortcutTypeGestureRotateClockwise
| ShortcutTypeGestureRotateCounterclockwise
| ShortcutTypeGestureTwoFingerSwipeLeft
| ShortcutTypeGestureTwoFingerSwipeRight
| ShortcutTypeGesture
| AnotherShortcutType Int
deriving (Int -> ShortcutType -> ShowS
[ShortcutType] -> ShowS
ShortcutType -> String
(Int -> ShortcutType -> ShowS)
-> (ShortcutType -> String)
-> ([ShortcutType] -> ShowS)
-> Show ShortcutType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ShortcutType] -> ShowS
$cshowList :: [ShortcutType] -> ShowS
show :: ShortcutType -> String
$cshow :: ShortcutType -> String
showsPrec :: Int -> ShortcutType -> ShowS
$cshowsPrec :: Int -> ShortcutType -> ShowS
Show, ShortcutType -> ShortcutType -> Bool
(ShortcutType -> ShortcutType -> Bool)
-> (ShortcutType -> ShortcutType -> Bool) -> Eq ShortcutType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ShortcutType -> ShortcutType -> Bool
$c/= :: ShortcutType -> ShortcutType -> Bool
== :: ShortcutType -> ShortcutType -> Bool
$c== :: ShortcutType -> ShortcutType -> Bool
Eq)
instance P.Enum ShortcutType where
fromEnum :: ShortcutType -> Int
fromEnum ShortcutType
ShortcutTypeAccelerator = Int
0
fromEnum ShortcutType
ShortcutTypeGesturePinch = Int
1
fromEnum ShortcutType
ShortcutTypeGestureStretch = Int
2
fromEnum ShortcutType
ShortcutTypeGestureRotateClockwise = Int
3
fromEnum ShortcutType
ShortcutTypeGestureRotateCounterclockwise = Int
4
fromEnum ShortcutType
ShortcutTypeGestureTwoFingerSwipeLeft = Int
5
fromEnum ShortcutType
ShortcutTypeGestureTwoFingerSwipeRight = Int
6
fromEnum ShortcutType
ShortcutTypeGesture = Int
7
fromEnum (AnotherShortcutType Int
k) = Int
k
toEnum :: Int -> ShortcutType
toEnum Int
0 = ShortcutType
ShortcutTypeAccelerator
toEnum Int
1 = ShortcutType
ShortcutTypeGesturePinch
toEnum Int
2 = ShortcutType
ShortcutTypeGestureStretch
toEnum Int
3 = ShortcutType
ShortcutTypeGestureRotateClockwise
toEnum Int
4 = ShortcutType
ShortcutTypeGestureRotateCounterclockwise
toEnum Int
5 = ShortcutType
ShortcutTypeGestureTwoFingerSwipeLeft
toEnum Int
6 = ShortcutType
ShortcutTypeGestureTwoFingerSwipeRight
toEnum Int
7 = ShortcutType
ShortcutTypeGesture
toEnum Int
k = Int -> ShortcutType
AnotherShortcutType Int
k
instance P.Ord ShortcutType where
compare :: ShortcutType -> ShortcutType -> Ordering
compare ShortcutType
a ShortcutType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ShortcutType -> Int
forall a. Enum a => a -> Int
P.fromEnum ShortcutType
a) (ShortcutType -> Int
forall a. Enum a => a -> Int
P.fromEnum ShortcutType
b)
type instance O.ParentTypes ShortcutType = '[]
instance O.HasParentTypes ShortcutType
foreign import ccall "gtk_shortcut_type_get_type" c_gtk_shortcut_type_get_type ::
IO GType
instance B.Types.TypedObject ShortcutType where
glibType :: IO GType
glibType = IO GType
c_gtk_shortcut_type_get_type
instance B.Types.BoxedEnum ShortcutType
data ShadowType =
ShadowTypeNone
| ShadowTypeIn
| ShadowTypeOut
| ShadowTypeEtchedIn
| ShadowTypeEtchedOut
| AnotherShadowType Int
deriving (Int -> ShadowType -> ShowS
[ShadowType] -> ShowS
ShadowType -> String
(Int -> ShadowType -> ShowS)
-> (ShadowType -> String)
-> ([ShadowType] -> ShowS)
-> Show ShadowType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ShadowType] -> ShowS
$cshowList :: [ShadowType] -> ShowS
show :: ShadowType -> String
$cshow :: ShadowType -> String
showsPrec :: Int -> ShadowType -> ShowS
$cshowsPrec :: Int -> ShadowType -> ShowS
Show, ShadowType -> ShadowType -> Bool
(ShadowType -> ShadowType -> Bool)
-> (ShadowType -> ShadowType -> Bool) -> Eq ShadowType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ShadowType -> ShadowType -> Bool
$c/= :: ShadowType -> ShadowType -> Bool
== :: ShadowType -> ShadowType -> Bool
$c== :: ShadowType -> ShadowType -> Bool
Eq)
instance P.Enum ShadowType where
fromEnum :: ShadowType -> Int
fromEnum ShadowType
ShadowTypeNone = Int
0
fromEnum ShadowType
ShadowTypeIn = Int
1
fromEnum ShadowType
ShadowTypeOut = Int
2
fromEnum ShadowType
ShadowTypeEtchedIn = Int
3
fromEnum ShadowType
ShadowTypeEtchedOut = Int
4
fromEnum (AnotherShadowType Int
k) = Int
k
toEnum :: Int -> ShadowType
toEnum Int
0 = ShadowType
ShadowTypeNone
toEnum Int
1 = ShadowType
ShadowTypeIn
toEnum Int
2 = ShadowType
ShadowTypeOut
toEnum Int
3 = ShadowType
ShadowTypeEtchedIn
toEnum Int
4 = ShadowType
ShadowTypeEtchedOut
toEnum Int
k = Int -> ShadowType
AnotherShadowType Int
k
instance P.Ord ShadowType where
compare :: ShadowType -> ShadowType -> Ordering
compare ShadowType
a ShadowType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ShadowType -> Int
forall a. Enum a => a -> Int
P.fromEnum ShadowType
a) (ShadowType -> Int
forall a. Enum a => a -> Int
P.fromEnum ShadowType
b)
type instance O.ParentTypes ShadowType = '[]
instance O.HasParentTypes ShadowType
foreign import ccall "gtk_shadow_type_get_type" c_gtk_shadow_type_get_type ::
IO GType
instance B.Types.TypedObject ShadowType where
glibType :: IO GType
glibType = IO GType
c_gtk_shadow_type_get_type
instance B.Types.BoxedEnum ShadowType
data SensitivityType =
SensitivityTypeAuto
| SensitivityTypeOn
| SensitivityTypeOff
| AnotherSensitivityType Int
deriving (Int -> SensitivityType -> ShowS
[SensitivityType] -> ShowS
SensitivityType -> String
(Int -> SensitivityType -> ShowS)
-> (SensitivityType -> String)
-> ([SensitivityType] -> ShowS)
-> Show SensitivityType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SensitivityType] -> ShowS
$cshowList :: [SensitivityType] -> ShowS
show :: SensitivityType -> String
$cshow :: SensitivityType -> String
showsPrec :: Int -> SensitivityType -> ShowS
$cshowsPrec :: Int -> SensitivityType -> ShowS
Show, SensitivityType -> SensitivityType -> Bool
(SensitivityType -> SensitivityType -> Bool)
-> (SensitivityType -> SensitivityType -> Bool)
-> Eq SensitivityType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SensitivityType -> SensitivityType -> Bool
$c/= :: SensitivityType -> SensitivityType -> Bool
== :: SensitivityType -> SensitivityType -> Bool
$c== :: SensitivityType -> SensitivityType -> Bool
Eq)
instance P.Enum SensitivityType where
fromEnum :: SensitivityType -> Int
fromEnum SensitivityType
SensitivityTypeAuto = Int
0
fromEnum SensitivityType
SensitivityTypeOn = Int
1
fromEnum SensitivityType
SensitivityTypeOff = Int
2
fromEnum (AnotherSensitivityType Int
k) = Int
k
toEnum :: Int -> SensitivityType
toEnum Int
0 = SensitivityType
SensitivityTypeAuto
toEnum Int
1 = SensitivityType
SensitivityTypeOn
toEnum Int
2 = SensitivityType
SensitivityTypeOff
toEnum Int
k = Int -> SensitivityType
AnotherSensitivityType Int
k
instance P.Ord SensitivityType where
compare :: SensitivityType -> SensitivityType -> Ordering
compare SensitivityType
a SensitivityType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (SensitivityType -> Int
forall a. Enum a => a -> Int
P.fromEnum SensitivityType
a) (SensitivityType -> Int
forall a. Enum a => a -> Int
P.fromEnum SensitivityType
b)
type instance O.ParentTypes SensitivityType = '[]
instance O.HasParentTypes SensitivityType
foreign import ccall "gtk_sensitivity_type_get_type" c_gtk_sensitivity_type_get_type ::
IO GType
instance B.Types.TypedObject SensitivityType where
glibType :: IO GType
glibType = IO GType
c_gtk_sensitivity_type_get_type
instance B.Types.BoxedEnum SensitivityType
data SelectionMode =
SelectionModeNone
| SelectionModeSingle
| SelectionModeBrowse
| SelectionModeMultiple
| AnotherSelectionMode Int
deriving (Int -> SelectionMode -> ShowS
[SelectionMode] -> ShowS
SelectionMode -> String
(Int -> SelectionMode -> ShowS)
-> (SelectionMode -> String)
-> ([SelectionMode] -> ShowS)
-> Show SelectionMode
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SelectionMode] -> ShowS
$cshowList :: [SelectionMode] -> ShowS
show :: SelectionMode -> String
$cshow :: SelectionMode -> String
showsPrec :: Int -> SelectionMode -> ShowS
$cshowsPrec :: Int -> SelectionMode -> ShowS
Show, SelectionMode -> SelectionMode -> Bool
(SelectionMode -> SelectionMode -> Bool)
-> (SelectionMode -> SelectionMode -> Bool) -> Eq SelectionMode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SelectionMode -> SelectionMode -> Bool
$c/= :: SelectionMode -> SelectionMode -> Bool
== :: SelectionMode -> SelectionMode -> Bool
$c== :: SelectionMode -> SelectionMode -> Bool
Eq)
instance P.Enum SelectionMode where
fromEnum :: SelectionMode -> Int
fromEnum SelectionMode
SelectionModeNone = Int
0
fromEnum SelectionMode
SelectionModeSingle = Int
1
fromEnum SelectionMode
SelectionModeBrowse = Int
2
fromEnum SelectionMode
SelectionModeMultiple = Int
3
fromEnum (AnotherSelectionMode Int
k) = Int
k
toEnum :: Int -> SelectionMode
toEnum Int
0 = SelectionMode
SelectionModeNone
toEnum Int
1 = SelectionMode
SelectionModeSingle
toEnum Int
2 = SelectionMode
SelectionModeBrowse
toEnum Int
3 = SelectionMode
SelectionModeMultiple
toEnum Int
k = Int -> SelectionMode
AnotherSelectionMode Int
k
instance P.Ord SelectionMode where
compare :: SelectionMode -> SelectionMode -> Ordering
compare SelectionMode
a SelectionMode
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (SelectionMode -> Int
forall a. Enum a => a -> Int
P.fromEnum SelectionMode
a) (SelectionMode -> Int
forall a. Enum a => a -> Int
P.fromEnum SelectionMode
b)
type instance O.ParentTypes SelectionMode = '[]
instance O.HasParentTypes SelectionMode
foreign import ccall "gtk_selection_mode_get_type" c_gtk_selection_mode_get_type ::
IO GType
instance B.Types.TypedObject SelectionMode where
glibType :: IO GType
glibType = IO GType
c_gtk_selection_mode_get_type
instance B.Types.BoxedEnum SelectionMode
data ScrollablePolicy =
ScrollablePolicyMinimum
| ScrollablePolicyNatural
| AnotherScrollablePolicy Int
deriving (Int -> ScrollablePolicy -> ShowS
[ScrollablePolicy] -> ShowS
ScrollablePolicy -> String
(Int -> ScrollablePolicy -> ShowS)
-> (ScrollablePolicy -> String)
-> ([ScrollablePolicy] -> ShowS)
-> Show ScrollablePolicy
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ScrollablePolicy] -> ShowS
$cshowList :: [ScrollablePolicy] -> ShowS
show :: ScrollablePolicy -> String
$cshow :: ScrollablePolicy -> String
showsPrec :: Int -> ScrollablePolicy -> ShowS
$cshowsPrec :: Int -> ScrollablePolicy -> ShowS
Show, ScrollablePolicy -> ScrollablePolicy -> Bool
(ScrollablePolicy -> ScrollablePolicy -> Bool)
-> (ScrollablePolicy -> ScrollablePolicy -> Bool)
-> Eq ScrollablePolicy
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ScrollablePolicy -> ScrollablePolicy -> Bool
$c/= :: ScrollablePolicy -> ScrollablePolicy -> Bool
== :: ScrollablePolicy -> ScrollablePolicy -> Bool
$c== :: ScrollablePolicy -> ScrollablePolicy -> Bool
Eq)
instance P.Enum ScrollablePolicy where
fromEnum :: ScrollablePolicy -> Int
fromEnum ScrollablePolicy
ScrollablePolicyMinimum = Int
0
fromEnum ScrollablePolicy
ScrollablePolicyNatural = Int
1
fromEnum (AnotherScrollablePolicy Int
k) = Int
k
toEnum :: Int -> ScrollablePolicy
toEnum Int
0 = ScrollablePolicy
ScrollablePolicyMinimum
toEnum Int
1 = ScrollablePolicy
ScrollablePolicyNatural
toEnum Int
k = Int -> ScrollablePolicy
AnotherScrollablePolicy Int
k
instance P.Ord ScrollablePolicy where
compare :: ScrollablePolicy -> ScrollablePolicy -> Ordering
compare ScrollablePolicy
a ScrollablePolicy
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ScrollablePolicy -> Int
forall a. Enum a => a -> Int
P.fromEnum ScrollablePolicy
a) (ScrollablePolicy -> Int
forall a. Enum a => a -> Int
P.fromEnum ScrollablePolicy
b)
type instance O.ParentTypes ScrollablePolicy = '[]
instance O.HasParentTypes ScrollablePolicy
foreign import ccall "gtk_scrollable_policy_get_type" c_gtk_scrollable_policy_get_type ::
IO GType
instance B.Types.TypedObject ScrollablePolicy where
glibType :: IO GType
glibType = IO GType
c_gtk_scrollable_policy_get_type
instance B.Types.BoxedEnum ScrollablePolicy
data ScrollType =
ScrollTypeNone
| ScrollTypeJump
| ScrollTypeStepBackward
| ScrollTypeStepForward
| ScrollTypePageBackward
| ScrollTypePageForward
| ScrollTypeStepUp
| ScrollTypeStepDown
| ScrollTypePageUp
| ScrollTypePageDown
| ScrollTypeStepLeft
| ScrollTypeStepRight
| ScrollTypePageLeft
|
| ScrollTypeStart
| ScrollTypeEnd
| AnotherScrollType Int
deriving (Int -> ScrollType -> ShowS
[ScrollType] -> ShowS
ScrollType -> String
(Int -> ScrollType -> ShowS)
-> (ScrollType -> String)
-> ([ScrollType] -> ShowS)
-> Show ScrollType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ScrollType] -> ShowS
$cshowList :: [ScrollType] -> ShowS
show :: ScrollType -> String
$cshow :: ScrollType -> String
showsPrec :: Int -> ScrollType -> ShowS
$cshowsPrec :: Int -> ScrollType -> ShowS
Show, ScrollType -> ScrollType -> Bool
(ScrollType -> ScrollType -> Bool)
-> (ScrollType -> ScrollType -> Bool) -> Eq ScrollType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ScrollType -> ScrollType -> Bool
$c/= :: ScrollType -> ScrollType -> Bool
== :: ScrollType -> ScrollType -> Bool
$c== :: ScrollType -> ScrollType -> Bool
Eq)
instance P.Enum ScrollType where
fromEnum :: ScrollType -> Int
fromEnum ScrollType
ScrollTypeNone = Int
0
fromEnum ScrollType
ScrollTypeJump = Int
1
fromEnum ScrollType
ScrollTypeStepBackward = Int
2
fromEnum ScrollType
ScrollTypeStepForward = Int
3
fromEnum ScrollType
ScrollTypePageBackward = Int
4
fromEnum ScrollType
ScrollTypePageForward = Int
5
fromEnum ScrollType
ScrollTypeStepUp = Int
6
fromEnum ScrollType
ScrollTypeStepDown = Int
7
fromEnum ScrollType
ScrollTypePageUp = Int
8
fromEnum ScrollType
ScrollTypePageDown = Int
9
fromEnum ScrollType
ScrollTypeStepLeft = Int
10
fromEnum ScrollType
ScrollTypeStepRight = Int
11
fromEnum ScrollType
ScrollTypePageLeft = Int
12
fromEnum ScrollType
ScrollTypePageRight = Int
13
fromEnum ScrollType
ScrollTypeStart = Int
14
fromEnum ScrollType
ScrollTypeEnd = Int
15
fromEnum (AnotherScrollType Int
k) = Int
k
toEnum :: Int -> ScrollType
toEnum Int
0 = ScrollType
ScrollTypeNone
toEnum Int
1 = ScrollType
ScrollTypeJump
toEnum Int
2 = ScrollType
ScrollTypeStepBackward
toEnum Int
3 = ScrollType
ScrollTypeStepForward
toEnum Int
4 = ScrollType
ScrollTypePageBackward
toEnum Int
5 = ScrollType
ScrollTypePageForward
toEnum Int
6 = ScrollType
ScrollTypeStepUp
toEnum Int
7 = ScrollType
ScrollTypeStepDown
toEnum Int
8 = ScrollType
ScrollTypePageUp
toEnum Int
9 = ScrollType
ScrollTypePageDown
toEnum Int
10 = ScrollType
ScrollTypeStepLeft
toEnum Int
11 = ScrollType
ScrollTypeStepRight
toEnum Int
12 = ScrollType
ScrollTypePageLeft
toEnum Int
13 = ScrollType
ScrollTypePageRight
toEnum Int
14 = ScrollType
ScrollTypeStart
toEnum Int
15 = ScrollType
ScrollTypeEnd
toEnum Int
k = Int -> ScrollType
AnotherScrollType Int
k
instance P.Ord ScrollType where
compare :: ScrollType -> ScrollType -> Ordering
compare ScrollType
a ScrollType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ScrollType -> Int
forall a. Enum a => a -> Int
P.fromEnum ScrollType
a) (ScrollType -> Int
forall a. Enum a => a -> Int
P.fromEnum ScrollType
b)
type instance O.ParentTypes ScrollType = '[]
instance O.HasParentTypes ScrollType
foreign import ccall "gtk_scroll_type_get_type" c_gtk_scroll_type_get_type ::
IO GType
instance B.Types.TypedObject ScrollType where
glibType :: IO GType
glibType = IO GType
c_gtk_scroll_type_get_type
instance B.Types.BoxedEnum ScrollType
data ScrollStep =
ScrollStepSteps
| ScrollStepPages
| ScrollStepEnds
| ScrollStepHorizontalSteps
| ScrollStepHorizontalPages
| ScrollStepHorizontalEnds
| AnotherScrollStep Int
deriving (Int -> ScrollStep -> ShowS
[ScrollStep] -> ShowS
ScrollStep -> String
(Int -> ScrollStep -> ShowS)
-> (ScrollStep -> String)
-> ([ScrollStep] -> ShowS)
-> Show ScrollStep
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ScrollStep] -> ShowS
$cshowList :: [ScrollStep] -> ShowS
show :: ScrollStep -> String
$cshow :: ScrollStep -> String
showsPrec :: Int -> ScrollStep -> ShowS
$cshowsPrec :: Int -> ScrollStep -> ShowS
Show, ScrollStep -> ScrollStep -> Bool
(ScrollStep -> ScrollStep -> Bool)
-> (ScrollStep -> ScrollStep -> Bool) -> Eq ScrollStep
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ScrollStep -> ScrollStep -> Bool
$c/= :: ScrollStep -> ScrollStep -> Bool
== :: ScrollStep -> ScrollStep -> Bool
$c== :: ScrollStep -> ScrollStep -> Bool
Eq)
instance P.Enum ScrollStep where
fromEnum :: ScrollStep -> Int
fromEnum ScrollStep
ScrollStepSteps = Int
0
fromEnum ScrollStep
ScrollStepPages = Int
1
fromEnum ScrollStep
ScrollStepEnds = Int
2
fromEnum ScrollStep
ScrollStepHorizontalSteps = Int
3
fromEnum ScrollStep
ScrollStepHorizontalPages = Int
4
fromEnum ScrollStep
ScrollStepHorizontalEnds = Int
5
fromEnum (AnotherScrollStep Int
k) = Int
k
toEnum :: Int -> ScrollStep
toEnum Int
0 = ScrollStep
ScrollStepSteps
toEnum Int
1 = ScrollStep
ScrollStepPages
toEnum Int
2 = ScrollStep
ScrollStepEnds
toEnum Int
3 = ScrollStep
ScrollStepHorizontalSteps
toEnum Int
4 = ScrollStep
ScrollStepHorizontalPages
toEnum Int
5 = ScrollStep
ScrollStepHorizontalEnds
toEnum Int
k = Int -> ScrollStep
AnotherScrollStep Int
k
instance P.Ord ScrollStep where
compare :: ScrollStep -> ScrollStep -> Ordering
compare ScrollStep
a ScrollStep
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ScrollStep -> Int
forall a. Enum a => a -> Int
P.fromEnum ScrollStep
a) (ScrollStep -> Int
forall a. Enum a => a -> Int
P.fromEnum ScrollStep
b)
type instance O.ParentTypes ScrollStep = '[]
instance O.HasParentTypes ScrollStep
foreign import ccall "gtk_scroll_step_get_type" c_gtk_scroll_step_get_type ::
IO GType
instance B.Types.TypedObject ScrollStep where
glibType :: IO GType
glibType = IO GType
c_gtk_scroll_step_get_type
instance B.Types.BoxedEnum ScrollStep
data RevealerTransitionType =
RevealerTransitionTypeNone
| RevealerTransitionTypeCrossfade
| RevealerTransitionTypeSlideRight
| RevealerTransitionTypeSlideLeft
| RevealerTransitionTypeSlideUp
| RevealerTransitionTypeSlideDown
| AnotherRevealerTransitionType Int
deriving (Int -> RevealerTransitionType -> ShowS
[RevealerTransitionType] -> ShowS
RevealerTransitionType -> String
(Int -> RevealerTransitionType -> ShowS)
-> (RevealerTransitionType -> String)
-> ([RevealerTransitionType] -> ShowS)
-> Show RevealerTransitionType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RevealerTransitionType] -> ShowS
$cshowList :: [RevealerTransitionType] -> ShowS
show :: RevealerTransitionType -> String
$cshow :: RevealerTransitionType -> String
showsPrec :: Int -> RevealerTransitionType -> ShowS
$cshowsPrec :: Int -> RevealerTransitionType -> ShowS
Show, RevealerTransitionType -> RevealerTransitionType -> Bool
(RevealerTransitionType -> RevealerTransitionType -> Bool)
-> (RevealerTransitionType -> RevealerTransitionType -> Bool)
-> Eq RevealerTransitionType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RevealerTransitionType -> RevealerTransitionType -> Bool
$c/= :: RevealerTransitionType -> RevealerTransitionType -> Bool
== :: RevealerTransitionType -> RevealerTransitionType -> Bool
$c== :: RevealerTransitionType -> RevealerTransitionType -> Bool
Eq)
instance P.Enum RevealerTransitionType where
fromEnum :: RevealerTransitionType -> Int
fromEnum RevealerTransitionType
RevealerTransitionTypeNone = Int
0
fromEnum RevealerTransitionType
RevealerTransitionTypeCrossfade = Int
1
fromEnum RevealerTransitionType
RevealerTransitionTypeSlideRight = Int
2
fromEnum RevealerTransitionType
RevealerTransitionTypeSlideLeft = Int
3
fromEnum RevealerTransitionType
RevealerTransitionTypeSlideUp = Int
4
fromEnum RevealerTransitionType
RevealerTransitionTypeSlideDown = Int
5
fromEnum (AnotherRevealerTransitionType Int
k) = Int
k
toEnum :: Int -> RevealerTransitionType
toEnum Int
0 = RevealerTransitionType
RevealerTransitionTypeNone
toEnum Int
1 = RevealerTransitionType
RevealerTransitionTypeCrossfade
toEnum Int
2 = RevealerTransitionType
RevealerTransitionTypeSlideRight
toEnum Int
3 = RevealerTransitionType
RevealerTransitionTypeSlideLeft
toEnum Int
4 = RevealerTransitionType
RevealerTransitionTypeSlideUp
toEnum Int
5 = RevealerTransitionType
RevealerTransitionTypeSlideDown
toEnum Int
k = Int -> RevealerTransitionType
AnotherRevealerTransitionType Int
k
instance P.Ord RevealerTransitionType where
compare :: RevealerTransitionType -> RevealerTransitionType -> Ordering
compare RevealerTransitionType
a RevealerTransitionType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (RevealerTransitionType -> Int
forall a. Enum a => a -> Int
P.fromEnum RevealerTransitionType
a) (RevealerTransitionType -> Int
forall a. Enum a => a -> Int
P.fromEnum RevealerTransitionType
b)
type instance O.ParentTypes RevealerTransitionType = '[]
instance O.HasParentTypes RevealerTransitionType
foreign import ccall "gtk_revealer_transition_type_get_type" c_gtk_revealer_transition_type_get_type ::
IO GType
instance B.Types.TypedObject RevealerTransitionType where
glibType :: IO GType
glibType = IO GType
c_gtk_revealer_transition_type_get_type
instance B.Types.BoxedEnum RevealerTransitionType
data ResponseType =
ResponseTypeNone
| ResponseTypeReject
| ResponseTypeAccept
| ResponseTypeDeleteEvent
| ResponseTypeOk
| ResponseTypeCancel
| ResponseTypeClose
| ResponseTypeYes
| ResponseTypeNo
| ResponseTypeApply
| ResponseTypeHelp
| AnotherResponseType Int
deriving (Int -> ResponseType -> ShowS
[ResponseType] -> ShowS
ResponseType -> String
(Int -> ResponseType -> ShowS)
-> (ResponseType -> String)
-> ([ResponseType] -> ShowS)
-> Show ResponseType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ResponseType] -> ShowS
$cshowList :: [ResponseType] -> ShowS
show :: ResponseType -> String
$cshow :: ResponseType -> String
showsPrec :: Int -> ResponseType -> ShowS
$cshowsPrec :: Int -> ResponseType -> ShowS
Show, ResponseType -> ResponseType -> Bool
(ResponseType -> ResponseType -> Bool)
-> (ResponseType -> ResponseType -> Bool) -> Eq ResponseType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ResponseType -> ResponseType -> Bool
$c/= :: ResponseType -> ResponseType -> Bool
== :: ResponseType -> ResponseType -> Bool
$c== :: ResponseType -> ResponseType -> Bool
Eq)
instance P.Enum ResponseType where
fromEnum :: ResponseType -> Int
fromEnum ResponseType
ResponseTypeNone = Int
-1
fromEnum ResponseType
ResponseTypeReject = Int
-2
fromEnum ResponseType
ResponseTypeAccept = Int
-3
fromEnum ResponseType
ResponseTypeDeleteEvent = Int
-4
fromEnum ResponseType
ResponseTypeOk = Int
-5
fromEnum ResponseType
ResponseTypeCancel = Int
-6
fromEnum ResponseType
ResponseTypeClose = Int
-7
fromEnum ResponseType
ResponseTypeYes = Int
-8
fromEnum ResponseType
ResponseTypeNo = Int
-9
fromEnum ResponseType
ResponseTypeApply = Int
-10
fromEnum ResponseType
ResponseTypeHelp = Int
-11
fromEnum (AnotherResponseType Int
k) = Int
k
toEnum :: Int -> ResponseType
toEnum Int
-1 = ResponseType
ResponseTypeNone
toEnum Int
-2 = ResponseType
ResponseTypeReject
toEnum Int
-3 = ResponseType
ResponseTypeAccept
toEnum Int
-4 = ResponseType
ResponseTypeDeleteEvent
toEnum Int
-5 = ResponseType
ResponseTypeOk
toEnum Int
-6 = ResponseType
ResponseTypeCancel
toEnum Int
-7 = ResponseType
ResponseTypeClose
toEnum Int
-8 = ResponseType
ResponseTypeYes
toEnum Int
-9 = ResponseType
ResponseTypeNo
toEnum Int
-10 = ResponseType
ResponseTypeApply
toEnum Int
-11 = ResponseType
ResponseTypeHelp
toEnum Int
k = Int -> ResponseType
AnotherResponseType Int
k
instance P.Ord ResponseType where
compare :: ResponseType -> ResponseType -> Ordering
compare ResponseType
a ResponseType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ResponseType -> Int
forall a. Enum a => a -> Int
P.fromEnum ResponseType
a) (ResponseType -> Int
forall a. Enum a => a -> Int
P.fromEnum ResponseType
b)
type instance O.ParentTypes ResponseType = '[]
instance O.HasParentTypes ResponseType
foreign import ccall "gtk_response_type_get_type" c_gtk_response_type_get_type ::
IO GType
instance B.Types.TypedObject ResponseType where
glibType :: IO GType
glibType = IO GType
c_gtk_response_type_get_type
instance B.Types.BoxedEnum ResponseType
data ResizeMode =
ResizeModeParent
| ResizeModeQueue
| ResizeModeImmediate
| AnotherResizeMode Int
deriving (Int -> ResizeMode -> ShowS
[ResizeMode] -> ShowS
ResizeMode -> String
(Int -> ResizeMode -> ShowS)
-> (ResizeMode -> String)
-> ([ResizeMode] -> ShowS)
-> Show ResizeMode
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ResizeMode] -> ShowS
$cshowList :: [ResizeMode] -> ShowS
show :: ResizeMode -> String
$cshow :: ResizeMode -> String
showsPrec :: Int -> ResizeMode -> ShowS
$cshowsPrec :: Int -> ResizeMode -> ShowS
Show, ResizeMode -> ResizeMode -> Bool
(ResizeMode -> ResizeMode -> Bool)
-> (ResizeMode -> ResizeMode -> Bool) -> Eq ResizeMode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ResizeMode -> ResizeMode -> Bool
$c/= :: ResizeMode -> ResizeMode -> Bool
== :: ResizeMode -> ResizeMode -> Bool
$c== :: ResizeMode -> ResizeMode -> Bool
Eq)
instance P.Enum ResizeMode where
fromEnum :: ResizeMode -> Int
fromEnum ResizeMode
ResizeModeParent = Int
0
fromEnum ResizeMode
ResizeModeQueue = Int
1
fromEnum ResizeMode
ResizeModeImmediate = Int
2
fromEnum (AnotherResizeMode Int
k) = Int
k
toEnum :: Int -> ResizeMode
toEnum Int
0 = ResizeMode
ResizeModeParent
toEnum Int
1 = ResizeMode
ResizeModeQueue
toEnum Int
2 = ResizeMode
ResizeModeImmediate
toEnum Int
k = Int -> ResizeMode
AnotherResizeMode Int
k
instance P.Ord ResizeMode where
compare :: ResizeMode -> ResizeMode -> Ordering
compare ResizeMode
a ResizeMode
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ResizeMode -> Int
forall a. Enum a => a -> Int
P.fromEnum ResizeMode
a) (ResizeMode -> Int
forall a. Enum a => a -> Int
P.fromEnum ResizeMode
b)
type instance O.ParentTypes ResizeMode = '[]
instance O.HasParentTypes ResizeMode
foreign import ccall "gtk_resize_mode_get_type" c_gtk_resize_mode_get_type ::
IO GType
instance B.Types.TypedObject ResizeMode where
glibType :: IO GType
glibType = IO GType
c_gtk_resize_mode_get_type
instance B.Types.BoxedEnum ResizeMode
data ReliefStyle =
ReliefStyleNormal
| ReliefStyleHalf
| ReliefStyleNone
| AnotherReliefStyle Int
deriving (Int -> ReliefStyle -> ShowS
[ReliefStyle] -> ShowS
ReliefStyle -> String
(Int -> ReliefStyle -> ShowS)
-> (ReliefStyle -> String)
-> ([ReliefStyle] -> ShowS)
-> Show ReliefStyle
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ReliefStyle] -> ShowS
$cshowList :: [ReliefStyle] -> ShowS
show :: ReliefStyle -> String
$cshow :: ReliefStyle -> String
showsPrec :: Int -> ReliefStyle -> ShowS
$cshowsPrec :: Int -> ReliefStyle -> ShowS
Show, ReliefStyle -> ReliefStyle -> Bool
(ReliefStyle -> ReliefStyle -> Bool)
-> (ReliefStyle -> ReliefStyle -> Bool) -> Eq ReliefStyle
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ReliefStyle -> ReliefStyle -> Bool
$c/= :: ReliefStyle -> ReliefStyle -> Bool
== :: ReliefStyle -> ReliefStyle -> Bool
$c== :: ReliefStyle -> ReliefStyle -> Bool
Eq)
instance P.Enum ReliefStyle where
fromEnum :: ReliefStyle -> Int
fromEnum ReliefStyle
ReliefStyleNormal = Int
0
fromEnum ReliefStyle
ReliefStyleHalf = Int
1
fromEnum ReliefStyle
ReliefStyleNone = Int
2
fromEnum (AnotherReliefStyle Int
k) = Int
k
toEnum :: Int -> ReliefStyle
toEnum Int
0 = ReliefStyle
ReliefStyleNormal
toEnum Int
1 = ReliefStyle
ReliefStyleHalf
toEnum Int
2 = ReliefStyle
ReliefStyleNone
toEnum Int
k = Int -> ReliefStyle
AnotherReliefStyle Int
k
instance P.Ord ReliefStyle where
compare :: ReliefStyle -> ReliefStyle -> Ordering
compare ReliefStyle
a ReliefStyle
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ReliefStyle -> Int
forall a. Enum a => a -> Int
P.fromEnum ReliefStyle
a) (ReliefStyle -> Int
forall a. Enum a => a -> Int
P.fromEnum ReliefStyle
b)
type instance O.ParentTypes ReliefStyle = '[]
instance O.HasParentTypes ReliefStyle
foreign import ccall "gtk_relief_style_get_type" c_gtk_relief_style_get_type ::
IO GType
instance B.Types.TypedObject ReliefStyle where
glibType :: IO GType
glibType = IO GType
c_gtk_relief_style_get_type
instance B.Types.BoxedEnum ReliefStyle
data RecentSortType =
RecentSortTypeNone
| RecentSortTypeMru
| RecentSortTypeLru
| RecentSortTypeCustom
| AnotherRecentSortType Int
deriving (Int -> RecentSortType -> ShowS
[RecentSortType] -> ShowS
RecentSortType -> String
(Int -> RecentSortType -> ShowS)
-> (RecentSortType -> String)
-> ([RecentSortType] -> ShowS)
-> Show RecentSortType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RecentSortType] -> ShowS
$cshowList :: [RecentSortType] -> ShowS
show :: RecentSortType -> String
$cshow :: RecentSortType -> String
showsPrec :: Int -> RecentSortType -> ShowS
$cshowsPrec :: Int -> RecentSortType -> ShowS
Show, RecentSortType -> RecentSortType -> Bool
(RecentSortType -> RecentSortType -> Bool)
-> (RecentSortType -> RecentSortType -> Bool) -> Eq RecentSortType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RecentSortType -> RecentSortType -> Bool
$c/= :: RecentSortType -> RecentSortType -> Bool
== :: RecentSortType -> RecentSortType -> Bool
$c== :: RecentSortType -> RecentSortType -> Bool
Eq)
instance P.Enum RecentSortType where
fromEnum :: RecentSortType -> Int
fromEnum RecentSortType
RecentSortTypeNone = Int
0
fromEnum RecentSortType
RecentSortTypeMru = Int
1
fromEnum RecentSortType
RecentSortTypeLru = Int
2
fromEnum RecentSortType
RecentSortTypeCustom = Int
3
fromEnum (AnotherRecentSortType Int
k) = Int
k
toEnum :: Int -> RecentSortType
toEnum Int
0 = RecentSortType
RecentSortTypeNone
toEnum Int
1 = RecentSortType
RecentSortTypeMru
toEnum Int
2 = RecentSortType
RecentSortTypeLru
toEnum Int
3 = RecentSortType
RecentSortTypeCustom
toEnum Int
k = Int -> RecentSortType
AnotherRecentSortType Int
k
instance P.Ord RecentSortType where
compare :: RecentSortType -> RecentSortType -> Ordering
compare RecentSortType
a RecentSortType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (RecentSortType -> Int
forall a. Enum a => a -> Int
P.fromEnum RecentSortType
a) (RecentSortType -> Int
forall a. Enum a => a -> Int
P.fromEnum RecentSortType
b)
type instance O.ParentTypes RecentSortType = '[]
instance O.HasParentTypes RecentSortType
foreign import ccall "gtk_recent_sort_type_get_type" c_gtk_recent_sort_type_get_type ::
IO GType
instance B.Types.TypedObject RecentSortType where
glibType :: IO GType
glibType = IO GType
c_gtk_recent_sort_type_get_type
instance B.Types.BoxedEnum RecentSortType
data RecentManagerError =
RecentManagerErrorNotFound
| RecentManagerErrorInvalidUri
| RecentManagerErrorInvalidEncoding
| RecentManagerErrorNotRegistered
| RecentManagerErrorRead
| RecentManagerErrorWrite
| RecentManagerErrorUnknown
| AnotherRecentManagerError Int
deriving (Int -> RecentManagerError -> ShowS
[RecentManagerError] -> ShowS
RecentManagerError -> String
(Int -> RecentManagerError -> ShowS)
-> (RecentManagerError -> String)
-> ([RecentManagerError] -> ShowS)
-> Show RecentManagerError
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RecentManagerError] -> ShowS
$cshowList :: [RecentManagerError] -> ShowS
show :: RecentManagerError -> String
$cshow :: RecentManagerError -> String
showsPrec :: Int -> RecentManagerError -> ShowS
$cshowsPrec :: Int -> RecentManagerError -> ShowS
Show, RecentManagerError -> RecentManagerError -> Bool
(RecentManagerError -> RecentManagerError -> Bool)
-> (RecentManagerError -> RecentManagerError -> Bool)
-> Eq RecentManagerError
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RecentManagerError -> RecentManagerError -> Bool
$c/= :: RecentManagerError -> RecentManagerError -> Bool
== :: RecentManagerError -> RecentManagerError -> Bool
$c== :: RecentManagerError -> RecentManagerError -> Bool
Eq)
instance P.Enum RecentManagerError where
fromEnum :: RecentManagerError -> Int
fromEnum RecentManagerError
RecentManagerErrorNotFound = Int
0
fromEnum RecentManagerError
RecentManagerErrorInvalidUri = Int
1
fromEnum RecentManagerError
RecentManagerErrorInvalidEncoding = Int
2
fromEnum RecentManagerError
RecentManagerErrorNotRegistered = Int
3
fromEnum RecentManagerError
RecentManagerErrorRead = Int
4
fromEnum RecentManagerError
RecentManagerErrorWrite = Int
5
fromEnum RecentManagerError
RecentManagerErrorUnknown = Int
6
fromEnum (AnotherRecentManagerError Int
k) = Int
k
toEnum :: Int -> RecentManagerError
toEnum Int
0 = RecentManagerError
RecentManagerErrorNotFound
toEnum Int
1 = RecentManagerError
RecentManagerErrorInvalidUri
toEnum Int
2 = RecentManagerError
RecentManagerErrorInvalidEncoding
toEnum Int
3 = RecentManagerError
RecentManagerErrorNotRegistered
toEnum Int
4 = RecentManagerError
RecentManagerErrorRead
toEnum Int
5 = RecentManagerError
RecentManagerErrorWrite
toEnum Int
6 = RecentManagerError
RecentManagerErrorUnknown
toEnum Int
k = Int -> RecentManagerError
AnotherRecentManagerError Int
k
instance P.Ord RecentManagerError where
compare :: RecentManagerError -> RecentManagerError -> Ordering
compare RecentManagerError
a RecentManagerError
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (RecentManagerError -> Int
forall a. Enum a => a -> Int
P.fromEnum RecentManagerError
a) (RecentManagerError -> Int
forall a. Enum a => a -> Int
P.fromEnum RecentManagerError
b)
instance GErrorClass RecentManagerError where
gerrorClassDomain :: RecentManagerError -> Text
gerrorClassDomain RecentManagerError
_ = Text
"gtk-recent-manager-error-quark"
catchRecentManagerError ::
IO a ->
(RecentManagerError -> GErrorMessage -> IO a) ->
IO a
catchRecentManagerError :: IO a -> (RecentManagerError -> Text -> IO a) -> IO a
catchRecentManagerError = IO a -> (RecentManagerError -> Text -> IO a) -> IO a
forall err a.
GErrorClass err =>
IO a -> (err -> Text -> IO a) -> IO a
catchGErrorJustDomain
handleRecentManagerError ::
(RecentManagerError -> GErrorMessage -> IO a) ->
IO a ->
IO a
handleRecentManagerError :: (RecentManagerError -> Text -> IO a) -> IO a -> IO a
handleRecentManagerError = (RecentManagerError -> Text -> IO a) -> IO a -> IO a
forall err a.
GErrorClass err =>
(err -> Text -> IO a) -> IO a -> IO a
handleGErrorJustDomain
type instance O.ParentTypes RecentManagerError = '[]
instance O.HasParentTypes RecentManagerError
foreign import ccall "gtk_recent_manager_error_get_type" c_gtk_recent_manager_error_get_type ::
IO GType
instance B.Types.TypedObject RecentManagerError where
glibType :: IO GType
glibType = IO GType
c_gtk_recent_manager_error_get_type
instance B.Types.BoxedEnum RecentManagerError
data RecentChooserError =
RecentChooserErrorNotFound
| RecentChooserErrorInvalidUri
| AnotherRecentChooserError Int
deriving (Int -> RecentChooserError -> ShowS
[RecentChooserError] -> ShowS
RecentChooserError -> String
(Int -> RecentChooserError -> ShowS)
-> (RecentChooserError -> String)
-> ([RecentChooserError] -> ShowS)
-> Show RecentChooserError
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RecentChooserError] -> ShowS
$cshowList :: [RecentChooserError] -> ShowS
show :: RecentChooserError -> String
$cshow :: RecentChooserError -> String
showsPrec :: Int -> RecentChooserError -> ShowS
$cshowsPrec :: Int -> RecentChooserError -> ShowS
Show, RecentChooserError -> RecentChooserError -> Bool
(RecentChooserError -> RecentChooserError -> Bool)
-> (RecentChooserError -> RecentChooserError -> Bool)
-> Eq RecentChooserError
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RecentChooserError -> RecentChooserError -> Bool
$c/= :: RecentChooserError -> RecentChooserError -> Bool
== :: RecentChooserError -> RecentChooserError -> Bool
$c== :: RecentChooserError -> RecentChooserError -> Bool
Eq)
instance P.Enum RecentChooserError where
fromEnum :: RecentChooserError -> Int
fromEnum RecentChooserError
RecentChooserErrorNotFound = Int
0
fromEnum RecentChooserError
RecentChooserErrorInvalidUri = Int
1
fromEnum (AnotherRecentChooserError Int
k) = Int
k
toEnum :: Int -> RecentChooserError
toEnum Int
0 = RecentChooserError
RecentChooserErrorNotFound
toEnum Int
1 = RecentChooserError
RecentChooserErrorInvalidUri
toEnum Int
k = Int -> RecentChooserError
AnotherRecentChooserError Int
k
instance P.Ord RecentChooserError where
compare :: RecentChooserError -> RecentChooserError -> Ordering
compare RecentChooserError
a RecentChooserError
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (RecentChooserError -> Int
forall a. Enum a => a -> Int
P.fromEnum RecentChooserError
a) (RecentChooserError -> Int
forall a. Enum a => a -> Int
P.fromEnum RecentChooserError
b)
instance GErrorClass RecentChooserError where
gerrorClassDomain :: RecentChooserError -> Text
gerrorClassDomain RecentChooserError
_ = Text
"gtk-recent-chooser-error-quark"
catchRecentChooserError ::
IO a ->
(RecentChooserError -> GErrorMessage -> IO a) ->
IO a
catchRecentChooserError :: IO a -> (RecentChooserError -> Text -> IO a) -> IO a
catchRecentChooserError = IO a -> (RecentChooserError -> Text -> IO a) -> IO a
forall err a.
GErrorClass err =>
IO a -> (err -> Text -> IO a) -> IO a
catchGErrorJustDomain
handleRecentChooserError ::
(RecentChooserError -> GErrorMessage -> IO a) ->
IO a ->
IO a
handleRecentChooserError :: (RecentChooserError -> Text -> IO a) -> IO a -> IO a
handleRecentChooserError = (RecentChooserError -> Text -> IO a) -> IO a -> IO a
forall err a.
GErrorClass err =>
(err -> Text -> IO a) -> IO a -> IO a
handleGErrorJustDomain
type instance O.ParentTypes RecentChooserError = '[]
instance O.HasParentTypes RecentChooserError
foreign import ccall "gtk_recent_chooser_error_get_type" c_gtk_recent_chooser_error_get_type ::
IO GType
instance B.Types.TypedObject RecentChooserError where
glibType :: IO GType
glibType = IO GType
c_gtk_recent_chooser_error_get_type
instance B.Types.BoxedEnum RecentChooserError
{-# DEPRECATED RcTokenType ["(Since version 3.0)","Use t'GI.Gtk.Objects.CssProvider.CssProvider' instead."] #-}
data RcTokenType =
RcTokenTypeInvalid
| RcTokenTypeInclude
| RcTokenTypeNormal
| RcTokenTypeActive
| RcTokenTypePrelight
| RcTokenTypeSelected
| RcTokenTypeInsensitive
| RcTokenTypeFg
| RcTokenTypeBg
| RcTokenTypeText
| RcTokenTypeBase
| RcTokenTypeXthickness
| RcTokenTypeYthickness
| RcTokenTypeFont
| RcTokenTypeFontset
| RcTokenTypeFontName
| RcTokenTypeBgPixmap
| RcTokenTypePixmapPath
| RcTokenTypeStyle
| RcTokenTypeBinding
| RcTokenTypeBind
| RcTokenTypeWidget
| RcTokenTypeWidgetClass
| RcTokenTypeClass
| RcTokenTypeLowest
| RcTokenTypeGtk
| RcTokenTypeApplication
| RcTokenTypeTheme
| RcTokenTypeRc
| RcTokenTypeHighest
| RcTokenTypeEngine
| RcTokenTypeModulePath
| RcTokenTypeImModulePath
| RcTokenTypeImModuleFile
| RcTokenTypeStock
| RcTokenTypeLtr
| RcTokenTypeRtl
| RcTokenTypeColor
| RcTokenTypeUnbind
| RcTokenTypeLast
| AnotherRcTokenType Int
deriving (Int -> RcTokenType -> ShowS
[RcTokenType] -> ShowS
RcTokenType -> String
(Int -> RcTokenType -> ShowS)
-> (RcTokenType -> String)
-> ([RcTokenType] -> ShowS)
-> Show RcTokenType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RcTokenType] -> ShowS
$cshowList :: [RcTokenType] -> ShowS
show :: RcTokenType -> String
$cshow :: RcTokenType -> String
showsPrec :: Int -> RcTokenType -> ShowS
$cshowsPrec :: Int -> RcTokenType -> ShowS
Show, RcTokenType -> RcTokenType -> Bool
(RcTokenType -> RcTokenType -> Bool)
-> (RcTokenType -> RcTokenType -> Bool) -> Eq RcTokenType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RcTokenType -> RcTokenType -> Bool
$c/= :: RcTokenType -> RcTokenType -> Bool
== :: RcTokenType -> RcTokenType -> Bool
$c== :: RcTokenType -> RcTokenType -> Bool
Eq)
instance P.Enum RcTokenType where
fromEnum :: RcTokenType -> Int
fromEnum RcTokenType
RcTokenTypeInvalid = Int
270
fromEnum RcTokenType
RcTokenTypeInclude = Int
271
fromEnum RcTokenType
RcTokenTypeNormal = Int
272
fromEnum RcTokenType
RcTokenTypeActive = Int
273
fromEnum RcTokenType
RcTokenTypePrelight = Int
274
fromEnum RcTokenType
RcTokenTypeSelected = Int
275
fromEnum RcTokenType
RcTokenTypeInsensitive = Int
276
fromEnum RcTokenType
RcTokenTypeFg = Int
277
fromEnum RcTokenType
RcTokenTypeBg = Int
278
fromEnum RcTokenType
RcTokenTypeText = Int
279
fromEnum RcTokenType
RcTokenTypeBase = Int
280
fromEnum RcTokenType
RcTokenTypeXthickness = Int
281
fromEnum RcTokenType
RcTokenTypeYthickness = Int
282
fromEnum RcTokenType
RcTokenTypeFont = Int
283
fromEnum RcTokenType
RcTokenTypeFontset = Int
284
fromEnum RcTokenType
RcTokenTypeFontName = Int
285
fromEnum RcTokenType
RcTokenTypeBgPixmap = Int
286
fromEnum RcTokenType
RcTokenTypePixmapPath = Int
287
fromEnum RcTokenType
RcTokenTypeStyle = Int
288
fromEnum RcTokenType
RcTokenTypeBinding = Int
289
fromEnum RcTokenType
RcTokenTypeBind = Int
290
fromEnum RcTokenType
RcTokenTypeWidget = Int
291
fromEnum RcTokenType
RcTokenTypeWidgetClass = Int
292
fromEnum RcTokenType
RcTokenTypeClass = Int
293
fromEnum RcTokenType
RcTokenTypeLowest = Int
294
fromEnum RcTokenType
RcTokenTypeGtk = Int
295
fromEnum RcTokenType
RcTokenTypeApplication = Int
296
fromEnum RcTokenType
RcTokenTypeTheme = Int
297
fromEnum RcTokenType
RcTokenTypeRc = Int
298
fromEnum RcTokenType
RcTokenTypeHighest = Int
299
fromEnum RcTokenType
RcTokenTypeEngine = Int
300
fromEnum RcTokenType
RcTokenTypeModulePath = Int
301
fromEnum RcTokenType
RcTokenTypeImModulePath = Int
302
fromEnum RcTokenType
RcTokenTypeImModuleFile = Int
303
fromEnum RcTokenType
RcTokenTypeStock = Int
304
fromEnum RcTokenType
RcTokenTypeLtr = Int
305
fromEnum RcTokenType
RcTokenTypeRtl = Int
306
fromEnum RcTokenType
RcTokenTypeColor = Int
307
fromEnum RcTokenType
RcTokenTypeUnbind = Int
308
fromEnum RcTokenType
RcTokenTypeLast = Int
309
fromEnum (AnotherRcTokenType Int
k) = Int
k
toEnum :: Int -> RcTokenType
toEnum Int
270 = RcTokenType
RcTokenTypeInvalid
toEnum Int
271 = RcTokenType
RcTokenTypeInclude
toEnum Int
272 = RcTokenType
RcTokenTypeNormal
toEnum Int
273 = RcTokenType
RcTokenTypeActive
toEnum Int
274 = RcTokenType
RcTokenTypePrelight
toEnum Int
275 = RcTokenType
RcTokenTypeSelected
toEnum Int
276 = RcTokenType
RcTokenTypeInsensitive
toEnum Int
277 = RcTokenType
RcTokenTypeFg
toEnum Int
278 = RcTokenType
RcTokenTypeBg
toEnum Int
279 = RcTokenType
RcTokenTypeText
toEnum Int
280 = RcTokenType
RcTokenTypeBase
toEnum Int
281 = RcTokenType
RcTokenTypeXthickness
toEnum Int
282 = RcTokenType
RcTokenTypeYthickness
toEnum Int
283 = RcTokenType
RcTokenTypeFont
toEnum Int
284 = RcTokenType
RcTokenTypeFontset
toEnum Int
285 = RcTokenType
RcTokenTypeFontName
toEnum Int
286 = RcTokenType
RcTokenTypeBgPixmap
toEnum Int
287 = RcTokenType
RcTokenTypePixmapPath
toEnum Int
288 = RcTokenType
RcTokenTypeStyle
toEnum Int
289 = RcTokenType
RcTokenTypeBinding
toEnum Int
290 = RcTokenType
RcTokenTypeBind
toEnum Int
291 = RcTokenType
RcTokenTypeWidget
toEnum Int
292 = RcTokenType
RcTokenTypeWidgetClass
toEnum Int
293 = RcTokenType
RcTokenTypeClass
toEnum Int
294 = RcTokenType
RcTokenTypeLowest
toEnum Int
295 = RcTokenType
RcTokenTypeGtk
toEnum Int
296 = RcTokenType
RcTokenTypeApplication
toEnum Int
297 = RcTokenType
RcTokenTypeTheme
toEnum Int
298 = RcTokenType
RcTokenTypeRc
toEnum Int
299 = RcTokenType
RcTokenTypeHighest
toEnum Int
300 = RcTokenType
RcTokenTypeEngine
toEnum Int
301 = RcTokenType
RcTokenTypeModulePath
toEnum Int
302 = RcTokenType
RcTokenTypeImModulePath
toEnum Int
303 = RcTokenType
RcTokenTypeImModuleFile
toEnum Int
304 = RcTokenType
RcTokenTypeStock
toEnum Int
305 = RcTokenType
RcTokenTypeLtr
toEnum Int
306 = RcTokenType
RcTokenTypeRtl
toEnum Int
307 = RcTokenType
RcTokenTypeColor
toEnum Int
308 = RcTokenType
RcTokenTypeUnbind
toEnum Int
309 = RcTokenType
RcTokenTypeLast
toEnum Int
k = Int -> RcTokenType
AnotherRcTokenType Int
k
instance P.Ord RcTokenType where
compare :: RcTokenType -> RcTokenType -> Ordering
compare RcTokenType
a RcTokenType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (RcTokenType -> Int
forall a. Enum a => a -> Int
P.fromEnum RcTokenType
a) (RcTokenType -> Int
forall a. Enum a => a -> Int
P.fromEnum RcTokenType
b)
type instance O.ParentTypes RcTokenType = '[]
instance O.HasParentTypes RcTokenType
foreign import ccall "gtk_rc_token_type_get_type" c_gtk_rc_token_type_get_type ::
IO GType
instance B.Types.TypedObject RcTokenType where
glibType :: IO GType
glibType = IO GType
c_gtk_rc_token_type_get_type
instance B.Types.BoxedEnum RcTokenType
data PropagationPhase =
PropagationPhaseNone
| PropagationPhaseCapture
| PropagationPhaseBubble
| PropagationPhaseTarget
| AnotherPropagationPhase Int
deriving (Int -> PropagationPhase -> ShowS
[PropagationPhase] -> ShowS
PropagationPhase -> String
(Int -> PropagationPhase -> ShowS)
-> (PropagationPhase -> String)
-> ([PropagationPhase] -> ShowS)
-> Show PropagationPhase
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PropagationPhase] -> ShowS
$cshowList :: [PropagationPhase] -> ShowS
show :: PropagationPhase -> String
$cshow :: PropagationPhase -> String
showsPrec :: Int -> PropagationPhase -> ShowS
$cshowsPrec :: Int -> PropagationPhase -> ShowS
Show, PropagationPhase -> PropagationPhase -> Bool
(PropagationPhase -> PropagationPhase -> Bool)
-> (PropagationPhase -> PropagationPhase -> Bool)
-> Eq PropagationPhase
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PropagationPhase -> PropagationPhase -> Bool
$c/= :: PropagationPhase -> PropagationPhase -> Bool
== :: PropagationPhase -> PropagationPhase -> Bool
$c== :: PropagationPhase -> PropagationPhase -> Bool
Eq)
instance P.Enum PropagationPhase where
fromEnum :: PropagationPhase -> Int
fromEnum PropagationPhase
PropagationPhaseNone = Int
0
fromEnum PropagationPhase
PropagationPhaseCapture = Int
1
fromEnum PropagationPhase
PropagationPhaseBubble = Int
2
fromEnum PropagationPhase
PropagationPhaseTarget = Int
3
fromEnum (AnotherPropagationPhase Int
k) = Int
k
toEnum :: Int -> PropagationPhase
toEnum Int
0 = PropagationPhase
PropagationPhaseNone
toEnum Int
1 = PropagationPhase
PropagationPhaseCapture
toEnum Int
2 = PropagationPhase
PropagationPhaseBubble
toEnum Int
3 = PropagationPhase
PropagationPhaseTarget
toEnum Int
k = Int -> PropagationPhase
AnotherPropagationPhase Int
k
instance P.Ord PropagationPhase where
compare :: PropagationPhase -> PropagationPhase -> Ordering
compare PropagationPhase
a PropagationPhase
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (PropagationPhase -> Int
forall a. Enum a => a -> Int
P.fromEnum PropagationPhase
a) (PropagationPhase -> Int
forall a. Enum a => a -> Int
P.fromEnum PropagationPhase
b)
type instance O.ParentTypes PropagationPhase = '[]
instance O.HasParentTypes PropagationPhase
foreign import ccall "gtk_propagation_phase_get_type" c_gtk_propagation_phase_get_type ::
IO GType
instance B.Types.TypedObject PropagationPhase where
glibType :: IO GType
glibType = IO GType
c_gtk_propagation_phase_get_type
instance B.Types.BoxedEnum PropagationPhase
data PrintStatus =
PrintStatusInitial
| PrintStatusPreparing
| PrintStatusGeneratingData
| PrintStatusSendingData
| PrintStatusPending
| PrintStatusPendingIssue
| PrintStatusPrinting
| PrintStatusFinished
| PrintStatusFinishedAborted
| AnotherPrintStatus Int
deriving (Int -> PrintStatus -> ShowS
[PrintStatus] -> ShowS
PrintStatus -> String
(Int -> PrintStatus -> ShowS)
-> (PrintStatus -> String)
-> ([PrintStatus] -> ShowS)
-> Show PrintStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PrintStatus] -> ShowS
$cshowList :: [PrintStatus] -> ShowS
show :: PrintStatus -> String
$cshow :: PrintStatus -> String
showsPrec :: Int -> PrintStatus -> ShowS
$cshowsPrec :: Int -> PrintStatus -> ShowS
Show, PrintStatus -> PrintStatus -> Bool
(PrintStatus -> PrintStatus -> Bool)
-> (PrintStatus -> PrintStatus -> Bool) -> Eq PrintStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PrintStatus -> PrintStatus -> Bool
$c/= :: PrintStatus -> PrintStatus -> Bool
== :: PrintStatus -> PrintStatus -> Bool
$c== :: PrintStatus -> PrintStatus -> Bool
Eq)
instance P.Enum PrintStatus where
fromEnum :: PrintStatus -> Int
fromEnum PrintStatus
PrintStatusInitial = Int
0
fromEnum PrintStatus
PrintStatusPreparing = Int
1
fromEnum PrintStatus
PrintStatusGeneratingData = Int
2
fromEnum PrintStatus
PrintStatusSendingData = Int
3
fromEnum PrintStatus
PrintStatusPending = Int
4
fromEnum PrintStatus
PrintStatusPendingIssue = Int
5
fromEnum PrintStatus
PrintStatusPrinting = Int
6
fromEnum PrintStatus
PrintStatusFinished = Int
7
fromEnum PrintStatus
PrintStatusFinishedAborted = Int
8
fromEnum (AnotherPrintStatus Int
k) = Int
k
toEnum :: Int -> PrintStatus
toEnum Int
0 = PrintStatus
PrintStatusInitial
toEnum Int
1 = PrintStatus
PrintStatusPreparing
toEnum Int
2 = PrintStatus
PrintStatusGeneratingData
toEnum Int
3 = PrintStatus
PrintStatusSendingData
toEnum Int
4 = PrintStatus
PrintStatusPending
toEnum Int
5 = PrintStatus
PrintStatusPendingIssue
toEnum Int
6 = PrintStatus
PrintStatusPrinting
toEnum Int
7 = PrintStatus
PrintStatusFinished
toEnum Int
8 = PrintStatus
PrintStatusFinishedAborted
toEnum Int
k = Int -> PrintStatus
AnotherPrintStatus Int
k
instance P.Ord PrintStatus where
compare :: PrintStatus -> PrintStatus -> Ordering
compare PrintStatus
a PrintStatus
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (PrintStatus -> Int
forall a. Enum a => a -> Int
P.fromEnum PrintStatus
a) (PrintStatus -> Int
forall a. Enum a => a -> Int
P.fromEnum PrintStatus
b)
type instance O.ParentTypes PrintStatus = '[]
instance O.HasParentTypes PrintStatus
foreign import ccall "gtk_print_status_get_type" c_gtk_print_status_get_type ::
IO GType
instance B.Types.TypedObject PrintStatus where
glibType :: IO GType
glibType = IO GType
c_gtk_print_status_get_type
instance B.Types.BoxedEnum PrintStatus
data PrintQuality =
PrintQualityLow
| PrintQualityNormal
| PrintQualityHigh
| PrintQualityDraft
| AnotherPrintQuality Int
deriving (Int -> PrintQuality -> ShowS
[PrintQuality] -> ShowS
PrintQuality -> String
(Int -> PrintQuality -> ShowS)
-> (PrintQuality -> String)
-> ([PrintQuality] -> ShowS)
-> Show PrintQuality
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PrintQuality] -> ShowS
$cshowList :: [PrintQuality] -> ShowS
show :: PrintQuality -> String
$cshow :: PrintQuality -> String
showsPrec :: Int -> PrintQuality -> ShowS
$cshowsPrec :: Int -> PrintQuality -> ShowS
Show, PrintQuality -> PrintQuality -> Bool
(PrintQuality -> PrintQuality -> Bool)
-> (PrintQuality -> PrintQuality -> Bool) -> Eq PrintQuality
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PrintQuality -> PrintQuality -> Bool
$c/= :: PrintQuality -> PrintQuality -> Bool
== :: PrintQuality -> PrintQuality -> Bool
$c== :: PrintQuality -> PrintQuality -> Bool
Eq)
instance P.Enum PrintQuality where
fromEnum :: PrintQuality -> Int
fromEnum PrintQuality
PrintQualityLow = Int
0
fromEnum PrintQuality
PrintQualityNormal = Int
1
fromEnum PrintQuality
PrintQualityHigh = Int
2
fromEnum PrintQuality
PrintQualityDraft = Int
3
fromEnum (AnotherPrintQuality Int
k) = Int
k
toEnum :: Int -> PrintQuality
toEnum Int
0 = PrintQuality
PrintQualityLow
toEnum Int
1 = PrintQuality
PrintQualityNormal
toEnum Int
2 = PrintQuality
PrintQualityHigh
toEnum Int
3 = PrintQuality
PrintQualityDraft
toEnum Int
k = Int -> PrintQuality
AnotherPrintQuality Int
k
instance P.Ord PrintQuality where
compare :: PrintQuality -> PrintQuality -> Ordering
compare PrintQuality
a PrintQuality
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (PrintQuality -> Int
forall a. Enum a => a -> Int
P.fromEnum PrintQuality
a) (PrintQuality -> Int
forall a. Enum a => a -> Int
P.fromEnum PrintQuality
b)
type instance O.ParentTypes PrintQuality = '[]
instance O.HasParentTypes PrintQuality
foreign import ccall "gtk_print_quality_get_type" c_gtk_print_quality_get_type ::
IO GType
instance B.Types.TypedObject PrintQuality where
glibType :: IO GType
glibType = IO GType
c_gtk_print_quality_get_type
instance B.Types.BoxedEnum PrintQuality
data PrintPages =
PrintPagesAll
| PrintPagesCurrent
| PrintPagesRanges
| PrintPagesSelection
| AnotherPrintPages Int
deriving (Int -> PrintPages -> ShowS
[PrintPages] -> ShowS
PrintPages -> String
(Int -> PrintPages -> ShowS)
-> (PrintPages -> String)
-> ([PrintPages] -> ShowS)
-> Show PrintPages
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PrintPages] -> ShowS
$cshowList :: [PrintPages] -> ShowS
show :: PrintPages -> String
$cshow :: PrintPages -> String
showsPrec :: Int -> PrintPages -> ShowS
$cshowsPrec :: Int -> PrintPages -> ShowS
Show, PrintPages -> PrintPages -> Bool
(PrintPages -> PrintPages -> Bool)
-> (PrintPages -> PrintPages -> Bool) -> Eq PrintPages
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PrintPages -> PrintPages -> Bool
$c/= :: PrintPages -> PrintPages -> Bool
== :: PrintPages -> PrintPages -> Bool
$c== :: PrintPages -> PrintPages -> Bool
Eq)
instance P.Enum PrintPages where
fromEnum :: PrintPages -> Int
fromEnum PrintPages
PrintPagesAll = Int
0
fromEnum PrintPages
PrintPagesCurrent = Int
1
fromEnum PrintPages
PrintPagesRanges = Int
2
fromEnum PrintPages
PrintPagesSelection = Int
3
fromEnum (AnotherPrintPages Int
k) = Int
k
toEnum :: Int -> PrintPages
toEnum Int
0 = PrintPages
PrintPagesAll
toEnum Int
1 = PrintPages
PrintPagesCurrent
toEnum Int
2 = PrintPages
PrintPagesRanges
toEnum Int
3 = PrintPages
PrintPagesSelection
toEnum Int
k = Int -> PrintPages
AnotherPrintPages Int
k
instance P.Ord PrintPages where
compare :: PrintPages -> PrintPages -> Ordering
compare PrintPages
a PrintPages
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (PrintPages -> Int
forall a. Enum a => a -> Int
P.fromEnum PrintPages
a) (PrintPages -> Int
forall a. Enum a => a -> Int
P.fromEnum PrintPages
b)
type instance O.ParentTypes PrintPages = '[]
instance O.HasParentTypes PrintPages
foreign import ccall "gtk_print_pages_get_type" c_gtk_print_pages_get_type ::
IO GType
instance B.Types.TypedObject PrintPages where
glibType :: IO GType
glibType = IO GType
c_gtk_print_pages_get_type
instance B.Types.BoxedEnum PrintPages
data PrintOperationResult =
PrintOperationResultError
| PrintOperationResultApply
| PrintOperationResultCancel
| PrintOperationResultInProgress
| AnotherPrintOperationResult Int
deriving (Int -> PrintOperationResult -> ShowS
[PrintOperationResult] -> ShowS
PrintOperationResult -> String
(Int -> PrintOperationResult -> ShowS)
-> (PrintOperationResult -> String)
-> ([PrintOperationResult] -> ShowS)
-> Show PrintOperationResult
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PrintOperationResult] -> ShowS
$cshowList :: [PrintOperationResult] -> ShowS
show :: PrintOperationResult -> String
$cshow :: PrintOperationResult -> String
showsPrec :: Int -> PrintOperationResult -> ShowS
$cshowsPrec :: Int -> PrintOperationResult -> ShowS
Show, PrintOperationResult -> PrintOperationResult -> Bool
(PrintOperationResult -> PrintOperationResult -> Bool)
-> (PrintOperationResult -> PrintOperationResult -> Bool)
-> Eq PrintOperationResult
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PrintOperationResult -> PrintOperationResult -> Bool
$c/= :: PrintOperationResult -> PrintOperationResult -> Bool
== :: PrintOperationResult -> PrintOperationResult -> Bool
$c== :: PrintOperationResult -> PrintOperationResult -> Bool
Eq)
instance P.Enum PrintOperationResult where
fromEnum :: PrintOperationResult -> Int
fromEnum PrintOperationResult
PrintOperationResultError = Int
0
fromEnum PrintOperationResult
PrintOperationResultApply = Int
1
fromEnum PrintOperationResult
PrintOperationResultCancel = Int
2
fromEnum PrintOperationResult
PrintOperationResultInProgress = Int
3
fromEnum (AnotherPrintOperationResult Int
k) = Int
k
toEnum :: Int -> PrintOperationResult
toEnum Int
0 = PrintOperationResult
PrintOperationResultError
toEnum Int
1 = PrintOperationResult
PrintOperationResultApply
toEnum Int
2 = PrintOperationResult
PrintOperationResultCancel
toEnum Int
3 = PrintOperationResult
PrintOperationResultInProgress
toEnum Int
k = Int -> PrintOperationResult
AnotherPrintOperationResult Int
k
instance P.Ord PrintOperationResult where
compare :: PrintOperationResult -> PrintOperationResult -> Ordering
compare PrintOperationResult
a PrintOperationResult
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (PrintOperationResult -> Int
forall a. Enum a => a -> Int
P.fromEnum PrintOperationResult
a) (PrintOperationResult -> Int
forall a. Enum a => a -> Int
P.fromEnum PrintOperationResult
b)
type instance O.ParentTypes PrintOperationResult = '[]
instance O.HasParentTypes PrintOperationResult
foreign import ccall "gtk_print_operation_result_get_type" c_gtk_print_operation_result_get_type ::
IO GType
instance B.Types.TypedObject PrintOperationResult where
glibType :: IO GType
glibType = IO GType
c_gtk_print_operation_result_get_type
instance B.Types.BoxedEnum PrintOperationResult
data PrintOperationAction =
PrintOperationActionPrintDialog
| PrintOperationActionPrint
| PrintOperationActionPreview
| PrintOperationActionExport
| AnotherPrintOperationAction Int
deriving (Int -> PrintOperationAction -> ShowS
[PrintOperationAction] -> ShowS
PrintOperationAction -> String
(Int -> PrintOperationAction -> ShowS)
-> (PrintOperationAction -> String)
-> ([PrintOperationAction] -> ShowS)
-> Show PrintOperationAction
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PrintOperationAction] -> ShowS
$cshowList :: [PrintOperationAction] -> ShowS
show :: PrintOperationAction -> String
$cshow :: PrintOperationAction -> String
showsPrec :: Int -> PrintOperationAction -> ShowS
$cshowsPrec :: Int -> PrintOperationAction -> ShowS
Show, PrintOperationAction -> PrintOperationAction -> Bool
(PrintOperationAction -> PrintOperationAction -> Bool)
-> (PrintOperationAction -> PrintOperationAction -> Bool)
-> Eq PrintOperationAction
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PrintOperationAction -> PrintOperationAction -> Bool
$c/= :: PrintOperationAction -> PrintOperationAction -> Bool
== :: PrintOperationAction -> PrintOperationAction -> Bool
$c== :: PrintOperationAction -> PrintOperationAction -> Bool
Eq)
instance P.Enum PrintOperationAction where
fromEnum :: PrintOperationAction -> Int
fromEnum PrintOperationAction
PrintOperationActionPrintDialog = Int
0
fromEnum PrintOperationAction
PrintOperationActionPrint = Int
1
fromEnum PrintOperationAction
PrintOperationActionPreview = Int
2
fromEnum PrintOperationAction
PrintOperationActionExport = Int
3
fromEnum (AnotherPrintOperationAction Int
k) = Int
k
toEnum :: Int -> PrintOperationAction
toEnum Int
0 = PrintOperationAction
PrintOperationActionPrintDialog
toEnum Int
1 = PrintOperationAction
PrintOperationActionPrint
toEnum Int
2 = PrintOperationAction
PrintOperationActionPreview
toEnum Int
3 = PrintOperationAction
PrintOperationActionExport
toEnum Int
k = Int -> PrintOperationAction
AnotherPrintOperationAction Int
k
instance P.Ord PrintOperationAction where
compare :: PrintOperationAction -> PrintOperationAction -> Ordering
compare PrintOperationAction
a PrintOperationAction
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (PrintOperationAction -> Int
forall a. Enum a => a -> Int
P.fromEnum PrintOperationAction
a) (PrintOperationAction -> Int
forall a. Enum a => a -> Int
P.fromEnum PrintOperationAction
b)
type instance O.ParentTypes PrintOperationAction = '[]
instance O.HasParentTypes PrintOperationAction
foreign import ccall "gtk_print_operation_action_get_type" c_gtk_print_operation_action_get_type ::
IO GType
instance B.Types.TypedObject PrintOperationAction where
glibType :: IO GType
glibType = IO GType
c_gtk_print_operation_action_get_type
instance B.Types.BoxedEnum PrintOperationAction
data PrintError =
PrintErrorGeneral
| PrintErrorInternalError
| PrintErrorNomem
| PrintErrorInvalidFile
| AnotherPrintError Int
deriving (Int -> PrintError -> ShowS
[PrintError] -> ShowS
PrintError -> String
(Int -> PrintError -> ShowS)
-> (PrintError -> String)
-> ([PrintError] -> ShowS)
-> Show PrintError
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PrintError] -> ShowS
$cshowList :: [PrintError] -> ShowS
show :: PrintError -> String
$cshow :: PrintError -> String
showsPrec :: Int -> PrintError -> ShowS
$cshowsPrec :: Int -> PrintError -> ShowS
Show, PrintError -> PrintError -> Bool
(PrintError -> PrintError -> Bool)
-> (PrintError -> PrintError -> Bool) -> Eq PrintError
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PrintError -> PrintError -> Bool
$c/= :: PrintError -> PrintError -> Bool
== :: PrintError -> PrintError -> Bool
$c== :: PrintError -> PrintError -> Bool
Eq)
instance P.Enum PrintError where
fromEnum :: PrintError -> Int
fromEnum PrintError
PrintErrorGeneral = Int
0
fromEnum PrintError
PrintErrorInternalError = Int
1
fromEnum PrintError
PrintErrorNomem = Int
2
fromEnum PrintError
PrintErrorInvalidFile = Int
3
fromEnum (AnotherPrintError Int
k) = Int
k
toEnum :: Int -> PrintError
toEnum Int
0 = PrintError
PrintErrorGeneral
toEnum Int
1 = PrintError
PrintErrorInternalError
toEnum Int
2 = PrintError
PrintErrorNomem
toEnum Int
3 = PrintError
PrintErrorInvalidFile
toEnum Int
k = Int -> PrintError
AnotherPrintError Int
k
instance P.Ord PrintError where
compare :: PrintError -> PrintError -> Ordering
compare PrintError
a PrintError
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (PrintError -> Int
forall a. Enum a => a -> Int
P.fromEnum PrintError
a) (PrintError -> Int
forall a. Enum a => a -> Int
P.fromEnum PrintError
b)
instance GErrorClass PrintError where
gerrorClassDomain :: PrintError -> Text
gerrorClassDomain PrintError
_ = Text
"gtk-print-error-quark"
catchPrintError ::
IO a ->
(PrintError -> GErrorMessage -> IO a) ->
IO a
catchPrintError :: IO a -> (PrintError -> Text -> IO a) -> IO a
catchPrintError = IO a -> (PrintError -> Text -> IO a) -> IO a
forall err a.
GErrorClass err =>
IO a -> (err -> Text -> IO a) -> IO a
catchGErrorJustDomain
handlePrintError ::
(PrintError -> GErrorMessage -> IO a) ->
IO a ->
IO a
handlePrintError :: (PrintError -> Text -> IO a) -> IO a -> IO a
handlePrintError = (PrintError -> Text -> IO a) -> IO a -> IO a
forall err a.
GErrorClass err =>
(err -> Text -> IO a) -> IO a -> IO a
handleGErrorJustDomain
type instance O.ParentTypes PrintError = '[]
instance O.HasParentTypes PrintError
foreign import ccall "gtk_print_error_get_type" c_gtk_print_error_get_type ::
IO GType
instance B.Types.TypedObject PrintError where
glibType :: IO GType
glibType = IO GType
c_gtk_print_error_get_type
instance B.Types.BoxedEnum PrintError
data PrintDuplex =
PrintDuplexSimplex
| PrintDuplexHorizontal
| PrintDuplexVertical
| AnotherPrintDuplex Int
deriving (Int -> PrintDuplex -> ShowS
[PrintDuplex] -> ShowS
PrintDuplex -> String
(Int -> PrintDuplex -> ShowS)
-> (PrintDuplex -> String)
-> ([PrintDuplex] -> ShowS)
-> Show PrintDuplex
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PrintDuplex] -> ShowS
$cshowList :: [PrintDuplex] -> ShowS
show :: PrintDuplex -> String
$cshow :: PrintDuplex -> String
showsPrec :: Int -> PrintDuplex -> ShowS
$cshowsPrec :: Int -> PrintDuplex -> ShowS
Show, PrintDuplex -> PrintDuplex -> Bool
(PrintDuplex -> PrintDuplex -> Bool)
-> (PrintDuplex -> PrintDuplex -> Bool) -> Eq PrintDuplex
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PrintDuplex -> PrintDuplex -> Bool
$c/= :: PrintDuplex -> PrintDuplex -> Bool
== :: PrintDuplex -> PrintDuplex -> Bool
$c== :: PrintDuplex -> PrintDuplex -> Bool
Eq)
instance P.Enum PrintDuplex where
fromEnum :: PrintDuplex -> Int
fromEnum PrintDuplex
PrintDuplexSimplex = Int
0
fromEnum PrintDuplex
PrintDuplexHorizontal = Int
1
fromEnum PrintDuplex
PrintDuplexVertical = Int
2
fromEnum (AnotherPrintDuplex Int
k) = Int
k
toEnum :: Int -> PrintDuplex
toEnum Int
0 = PrintDuplex
PrintDuplexSimplex
toEnum Int
1 = PrintDuplex
PrintDuplexHorizontal
toEnum Int
2 = PrintDuplex
PrintDuplexVertical
toEnum Int
k = Int -> PrintDuplex
AnotherPrintDuplex Int
k
instance P.Ord PrintDuplex where
compare :: PrintDuplex -> PrintDuplex -> Ordering
compare PrintDuplex
a PrintDuplex
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (PrintDuplex -> Int
forall a. Enum a => a -> Int
P.fromEnum PrintDuplex
a) (PrintDuplex -> Int
forall a. Enum a => a -> Int
P.fromEnum PrintDuplex
b)
type instance O.ParentTypes PrintDuplex = '[]
instance O.HasParentTypes PrintDuplex
foreign import ccall "gtk_print_duplex_get_type" c_gtk_print_duplex_get_type ::
IO GType
instance B.Types.TypedObject PrintDuplex where
glibType :: IO GType
glibType = IO GType
c_gtk_print_duplex_get_type
instance B.Types.BoxedEnum PrintDuplex
data PositionType =
PositionTypeLeft
| PositionTypeRight
| PositionTypeTop
| PositionTypeBottom
| AnotherPositionType Int
deriving (Int -> PositionType -> ShowS
[PositionType] -> ShowS
PositionType -> String
(Int -> PositionType -> ShowS)
-> (PositionType -> String)
-> ([PositionType] -> ShowS)
-> Show PositionType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PositionType] -> ShowS
$cshowList :: [PositionType] -> ShowS
show :: PositionType -> String
$cshow :: PositionType -> String
showsPrec :: Int -> PositionType -> ShowS
$cshowsPrec :: Int -> PositionType -> ShowS
Show, PositionType -> PositionType -> Bool
(PositionType -> PositionType -> Bool)
-> (PositionType -> PositionType -> Bool) -> Eq PositionType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PositionType -> PositionType -> Bool
$c/= :: PositionType -> PositionType -> Bool
== :: PositionType -> PositionType -> Bool
$c== :: PositionType -> PositionType -> Bool
Eq)
instance P.Enum PositionType where
fromEnum :: PositionType -> Int
fromEnum PositionType
PositionTypeLeft = Int
0
fromEnum PositionType
PositionTypeRight = Int
1
fromEnum PositionType
PositionTypeTop = Int
2
fromEnum PositionType
PositionTypeBottom = Int
3
fromEnum (AnotherPositionType Int
k) = Int
k
toEnum :: Int -> PositionType
toEnum Int
0 = PositionType
PositionTypeLeft
toEnum Int
1 = PositionType
PositionTypeRight
toEnum Int
2 = PositionType
PositionTypeTop
toEnum Int
3 = PositionType
PositionTypeBottom
toEnum Int
k = Int -> PositionType
AnotherPositionType Int
k
instance P.Ord PositionType where
compare :: PositionType -> PositionType -> Ordering
compare PositionType
a PositionType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (PositionType -> Int
forall a. Enum a => a -> Int
P.fromEnum PositionType
a) (PositionType -> Int
forall a. Enum a => a -> Int
P.fromEnum PositionType
b)
type instance O.ParentTypes PositionType = '[]
instance O.HasParentTypes PositionType
foreign import ccall "gtk_position_type_get_type" c_gtk_position_type_get_type ::
IO GType
instance B.Types.TypedObject PositionType where
glibType :: IO GType
glibType = IO GType
c_gtk_position_type_get_type
instance B.Types.BoxedEnum PositionType
data PopoverConstraint =
PopoverConstraintNone
| PopoverConstraintWindow
| AnotherPopoverConstraint Int
deriving (Int -> PopoverConstraint -> ShowS
[PopoverConstraint] -> ShowS
PopoverConstraint -> String
(Int -> PopoverConstraint -> ShowS)
-> (PopoverConstraint -> String)
-> ([PopoverConstraint] -> ShowS)
-> Show PopoverConstraint
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PopoverConstraint] -> ShowS
$cshowList :: [PopoverConstraint] -> ShowS
show :: PopoverConstraint -> String
$cshow :: PopoverConstraint -> String
showsPrec :: Int -> PopoverConstraint -> ShowS
$cshowsPrec :: Int -> PopoverConstraint -> ShowS
Show, PopoverConstraint -> PopoverConstraint -> Bool
(PopoverConstraint -> PopoverConstraint -> Bool)
-> (PopoverConstraint -> PopoverConstraint -> Bool)
-> Eq PopoverConstraint
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PopoverConstraint -> PopoverConstraint -> Bool
$c/= :: PopoverConstraint -> PopoverConstraint -> Bool
== :: PopoverConstraint -> PopoverConstraint -> Bool
$c== :: PopoverConstraint -> PopoverConstraint -> Bool
Eq)
instance P.Enum PopoverConstraint where
fromEnum :: PopoverConstraint -> Int
fromEnum PopoverConstraint
PopoverConstraintNone = Int
0
fromEnum PopoverConstraint
PopoverConstraintWindow = Int
1
fromEnum (AnotherPopoverConstraint Int
k) = Int
k
toEnum :: Int -> PopoverConstraint
toEnum Int
0 = PopoverConstraint
PopoverConstraintNone
toEnum Int
1 = PopoverConstraint
PopoverConstraintWindow
toEnum Int
k = Int -> PopoverConstraint
AnotherPopoverConstraint Int
k
instance P.Ord PopoverConstraint where
compare :: PopoverConstraint -> PopoverConstraint -> Ordering
compare PopoverConstraint
a PopoverConstraint
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (PopoverConstraint -> Int
forall a. Enum a => a -> Int
P.fromEnum PopoverConstraint
a) (PopoverConstraint -> Int
forall a. Enum a => a -> Int
P.fromEnum PopoverConstraint
b)
type instance O.ParentTypes PopoverConstraint = '[]
instance O.HasParentTypes PopoverConstraint
foreign import ccall "gtk_popover_constraint_get_type" c_gtk_popover_constraint_get_type ::
IO GType
instance B.Types.TypedObject PopoverConstraint where
glibType :: IO GType
glibType = IO GType
c_gtk_popover_constraint_get_type
instance B.Types.BoxedEnum PopoverConstraint
data PolicyType =
PolicyTypeAlways
| PolicyTypeAutomatic
| PolicyTypeNever
| PolicyTypeExternal
| AnotherPolicyType Int
deriving (Int -> PolicyType -> ShowS
[PolicyType] -> ShowS
PolicyType -> String
(Int -> PolicyType -> ShowS)
-> (PolicyType -> String)
-> ([PolicyType] -> ShowS)
-> Show PolicyType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PolicyType] -> ShowS
$cshowList :: [PolicyType] -> ShowS
show :: PolicyType -> String
$cshow :: PolicyType -> String
showsPrec :: Int -> PolicyType -> ShowS
$cshowsPrec :: Int -> PolicyType -> ShowS
Show, PolicyType -> PolicyType -> Bool
(PolicyType -> PolicyType -> Bool)
-> (PolicyType -> PolicyType -> Bool) -> Eq PolicyType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PolicyType -> PolicyType -> Bool
$c/= :: PolicyType -> PolicyType -> Bool
== :: PolicyType -> PolicyType -> Bool
$c== :: PolicyType -> PolicyType -> Bool
Eq)
instance P.Enum PolicyType where
fromEnum :: PolicyType -> Int
fromEnum PolicyType
PolicyTypeAlways = Int
0
fromEnum PolicyType
PolicyTypeAutomatic = Int
1
fromEnum PolicyType
PolicyTypeNever = Int
2
fromEnum PolicyType
PolicyTypeExternal = Int
3
fromEnum (AnotherPolicyType Int
k) = Int
k
toEnum :: Int -> PolicyType
toEnum Int
0 = PolicyType
PolicyTypeAlways
toEnum Int
1 = PolicyType
PolicyTypeAutomatic
toEnum Int
2 = PolicyType
PolicyTypeNever
toEnum Int
3 = PolicyType
PolicyTypeExternal
toEnum Int
k = Int -> PolicyType
AnotherPolicyType Int
k
instance P.Ord PolicyType where
compare :: PolicyType -> PolicyType -> Ordering
compare PolicyType
a PolicyType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (PolicyType -> Int
forall a. Enum a => a -> Int
P.fromEnum PolicyType
a) (PolicyType -> Int
forall a. Enum a => a -> Int
P.fromEnum PolicyType
b)
type instance O.ParentTypes PolicyType = '[]
instance O.HasParentTypes PolicyType
foreign import ccall "gtk_policy_type_get_type" c_gtk_policy_type_get_type ::
IO GType
instance B.Types.TypedObject PolicyType where
glibType :: IO GType
glibType = IO GType
c_gtk_policy_type_get_type
instance B.Types.BoxedEnum PolicyType
{-# DEPRECATED PathType ["(Since version 3.0)"] #-}
data PathType =
PathTypeWidget
| PathTypeWidgetClass
| PathTypeClass
| AnotherPathType Int
deriving (Int -> PathType -> ShowS
[PathType] -> ShowS
PathType -> String
(Int -> PathType -> ShowS)
-> (PathType -> String) -> ([PathType] -> ShowS) -> Show PathType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PathType] -> ShowS
$cshowList :: [PathType] -> ShowS
show :: PathType -> String
$cshow :: PathType -> String
showsPrec :: Int -> PathType -> ShowS
$cshowsPrec :: Int -> PathType -> ShowS
Show, PathType -> PathType -> Bool
(PathType -> PathType -> Bool)
-> (PathType -> PathType -> Bool) -> Eq PathType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PathType -> PathType -> Bool
$c/= :: PathType -> PathType -> Bool
== :: PathType -> PathType -> Bool
$c== :: PathType -> PathType -> Bool
Eq)
instance P.Enum PathType where
fromEnum :: PathType -> Int
fromEnum PathType
PathTypeWidget = Int
0
fromEnum PathType
PathTypeWidgetClass = Int
1
fromEnum PathType
PathTypeClass = Int
2
fromEnum (AnotherPathType Int
k) = Int
k
toEnum :: Int -> PathType
toEnum Int
0 = PathType
PathTypeWidget
toEnum Int
1 = PathType
PathTypeWidgetClass
toEnum Int
2 = PathType
PathTypeClass
toEnum Int
k = Int -> PathType
AnotherPathType Int
k
instance P.Ord PathType where
compare :: PathType -> PathType -> Ordering
compare PathType
a PathType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (PathType -> Int
forall a. Enum a => a -> Int
P.fromEnum PathType
a) (PathType -> Int
forall a. Enum a => a -> Int
P.fromEnum PathType
b)
type instance O.ParentTypes PathType = '[]
instance O.HasParentTypes PathType
foreign import ccall "gtk_path_type_get_type" c_gtk_path_type_get_type ::
IO GType
instance B.Types.TypedObject PathType where
glibType :: IO GType
glibType = IO GType
c_gtk_path_type_get_type
instance B.Types.BoxedEnum PathType
{-# DEPRECATED PathPriorityType ["(Since version 3.0)"] #-}
data PathPriorityType =
PathPriorityTypeLowest
| PathPriorityTypeGtk
| PathPriorityTypeApplication
| PathPriorityTypeTheme
| PathPriorityTypeRc
| PathPriorityTypeHighest
| AnotherPathPriorityType Int
deriving (Int -> PathPriorityType -> ShowS
[PathPriorityType] -> ShowS
PathPriorityType -> String
(Int -> PathPriorityType -> ShowS)
-> (PathPriorityType -> String)
-> ([PathPriorityType] -> ShowS)
-> Show PathPriorityType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PathPriorityType] -> ShowS
$cshowList :: [PathPriorityType] -> ShowS
show :: PathPriorityType -> String
$cshow :: PathPriorityType -> String
showsPrec :: Int -> PathPriorityType -> ShowS
$cshowsPrec :: Int -> PathPriorityType -> ShowS
Show, PathPriorityType -> PathPriorityType -> Bool
(PathPriorityType -> PathPriorityType -> Bool)
-> (PathPriorityType -> PathPriorityType -> Bool)
-> Eq PathPriorityType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PathPriorityType -> PathPriorityType -> Bool
$c/= :: PathPriorityType -> PathPriorityType -> Bool
== :: PathPriorityType -> PathPriorityType -> Bool
$c== :: PathPriorityType -> PathPriorityType -> Bool
Eq)
instance P.Enum PathPriorityType where
fromEnum :: PathPriorityType -> Int
fromEnum PathPriorityType
PathPriorityTypeLowest = Int
0
fromEnum PathPriorityType
PathPriorityTypeGtk = Int
4
fromEnum PathPriorityType
PathPriorityTypeApplication = Int
8
fromEnum PathPriorityType
PathPriorityTypeTheme = Int
10
fromEnum PathPriorityType
PathPriorityTypeRc = Int
12
fromEnum PathPriorityType
PathPriorityTypeHighest = Int
15
fromEnum (AnotherPathPriorityType Int
k) = Int
k
toEnum :: Int -> PathPriorityType
toEnum Int
0 = PathPriorityType
PathPriorityTypeLowest
toEnum Int
4 = PathPriorityType
PathPriorityTypeGtk
toEnum Int
8 = PathPriorityType
PathPriorityTypeApplication
toEnum Int
10 = PathPriorityType
PathPriorityTypeTheme
toEnum Int
12 = PathPriorityType
PathPriorityTypeRc
toEnum Int
15 = PathPriorityType
PathPriorityTypeHighest
toEnum Int
k = Int -> PathPriorityType
AnotherPathPriorityType Int
k
instance P.Ord PathPriorityType where
compare :: PathPriorityType -> PathPriorityType -> Ordering
compare PathPriorityType
a PathPriorityType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (PathPriorityType -> Int
forall a. Enum a => a -> Int
P.fromEnum PathPriorityType
a) (PathPriorityType -> Int
forall a. Enum a => a -> Int
P.fromEnum PathPriorityType
b)
type instance O.ParentTypes PathPriorityType = '[]
instance O.HasParentTypes PathPriorityType
foreign import ccall "gtk_path_priority_type_get_type" c_gtk_path_priority_type_get_type ::
IO GType
instance B.Types.TypedObject PathPriorityType where
glibType :: IO GType
glibType = IO GType
c_gtk_path_priority_type_get_type
instance B.Types.BoxedEnum PathPriorityType
data PanDirection =
PanDirectionLeft
| PanDirectionRight
| PanDirectionUp
| PanDirectionDown
| AnotherPanDirection Int
deriving (Int -> PanDirection -> ShowS
[PanDirection] -> ShowS
PanDirection -> String
(Int -> PanDirection -> ShowS)
-> (PanDirection -> String)
-> ([PanDirection] -> ShowS)
-> Show PanDirection
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PanDirection] -> ShowS
$cshowList :: [PanDirection] -> ShowS
show :: PanDirection -> String
$cshow :: PanDirection -> String
showsPrec :: Int -> PanDirection -&g