gi-gtk-3.0.36: Gtk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Enums

Description

 
Synopsis

Enumerations

Align

data Align Source #

Controls how a widget deals with extra space in a single (x or y) dimension.

Alignment only matters if the widget receives a “too large” allocation, for example if you packed the widget with the Widget:expand flag inside a Box, then the widget might get extra space. If you have for example a 16x16 icon inside a 32x32 space, the icon could be scaled and stretched, it could be centered, or it could be positioned to one side of the space.

Note that in horizontal context gTKALIGNSTART and gTKALIGNEND are interpreted relative to text direction.

GTK_ALIGN_BASELINE support for it is optional for containers and widgets, and it is only supported for vertical alignment. When its not supported by a child or a container it is treated as gTKALIGNFILL.

Constructors

AlignFill

stretch to fill all space if possible, center if no meaningful way to stretch

AlignStart

snap to left or top side, leaving space on right or bottom

AlignEnd

snap to right or bottom side, leaving space on left or top

AlignCenter

center natural width of widget inside the allocation

AlignBaseline

align the widget according to the baseline. Since 3.10.

AnotherAlign Int

Catch-all for unknown values

Instances

Instances details
Enum Align Source # 
Instance details

Defined in GI.Gtk.Enums

Eq Align Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

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

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

Ord Align Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

compare :: Align -> Align -> Ordering

(<) :: Align -> Align -> Bool

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

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

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

max :: Align -> Align -> Align

min :: Align -> Align -> Align

Show Align Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> Align -> ShowS #

show :: Align -> String #

showList :: [Align] -> ShowS #

TypedObject Align Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum Align Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes Align Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes Align Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes Align = '[] :: [Type]

ArrowPlacement

data ArrowPlacement Source #

Used to specify the placement of scroll arrows in scrolling menus.

Constructors

ArrowPlacementBoth

Place one arrow on each end of the menu.

ArrowPlacementStart

Place both arrows at the top of the menu.

ArrowPlacementEnd

Place both arrows at the bottom of the menu.

AnotherArrowPlacement Int

Catch-all for unknown values

Instances

Instances details
Enum ArrowPlacement Source # 
Instance details

Defined in GI.Gtk.Enums

Eq ArrowPlacement Source # 
Instance details

Defined in GI.Gtk.Enums

Ord ArrowPlacement Source # 
Instance details

Defined in GI.Gtk.Enums

Show ArrowPlacement Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> ArrowPlacement -> ShowS #

show :: ArrowPlacement -> String #

showList :: [ArrowPlacement] -> ShowS #

TypedObject ArrowPlacement Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum ArrowPlacement Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes ArrowPlacement Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes ArrowPlacement Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes ArrowPlacement = '[] :: [Type]

ArrowType

data ArrowType Source #

Used to indicate the direction in which an arrow should point.

Constructors

ArrowTypeUp

Represents an upward pointing arrow.

ArrowTypeDown

Represents a downward pointing arrow.

ArrowTypeLeft

Represents a left pointing arrow.

ArrowTypeRight

Represents a right pointing arrow.

ArrowTypeNone

No arrow. Since 2.10.

AnotherArrowType Int

Catch-all for unknown values

Instances

Instances details
Enum ArrowType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq ArrowType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord ArrowType Source # 
Instance details

Defined in GI.Gtk.Enums

Show ArrowType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> ArrowType -> ShowS #

show :: ArrowType -> String #

showList :: [ArrowType] -> ShowS #

TypedObject ArrowType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum ArrowType Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes ArrowType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes ArrowType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes ArrowType = '[] :: [Type]

AssistantPageType

data AssistantPageType Source #

An enum for determining the page role inside the Assistant. It's used to handle buttons sensitivity and visibility.

Note that an assistant needs to end its page flow with a page of type AssistantPageTypeConfirm, AssistantPageTypeSummary or AssistantPageTypeProgress to be correct.

The Cancel button will only be shown if the page isn’t “committed”. See assistantCommit for details.

Constructors

AssistantPageTypeContent

The page has regular contents. Both the Back and forward buttons will be shown.

AssistantPageTypeIntro

The page contains an introduction to the assistant task. Only the Forward button will be shown if there is a next page.

AssistantPageTypeConfirm

The page lets the user confirm or deny the changes. The Back and Apply buttons will be shown.

AssistantPageTypeSummary

The page informs the user of the changes done. Only the Close button will be shown.

AssistantPageTypeProgress

Used for tasks that take a long time to complete, blocks the assistant until the page is marked as complete. Only the back button will be shown.

AssistantPageTypeCustom

Used for when other page types are not appropriate. No buttons will be shown, and the application must add its own buttons through assistantAddActionWidget.

AnotherAssistantPageType Int

Catch-all for unknown values

Instances

Instances details
Enum AssistantPageType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq AssistantPageType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord AssistantPageType Source # 
Instance details

Defined in GI.Gtk.Enums

Show AssistantPageType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> AssistantPageType -> ShowS #

show :: AssistantPageType -> String #

showList :: [AssistantPageType] -> ShowS #

TypedObject AssistantPageType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum AssistantPageType Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes AssistantPageType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes AssistantPageType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes AssistantPageType = '[] :: [Type]

BaselinePosition

data BaselinePosition Source #

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

Since: 3.10

Constructors

BaselinePositionTop

Align the baseline at the top

BaselinePositionCenter

Center the baseline

BaselinePositionBottom

Align the baseline at the bottom

AnotherBaselinePosition Int

Catch-all for unknown values

Instances

Instances details
Enum BaselinePosition Source # 
Instance details

Defined in GI.Gtk.Enums

Eq BaselinePosition Source # 
Instance details

Defined in GI.Gtk.Enums

Ord BaselinePosition Source # 
Instance details

Defined in GI.Gtk.Enums

Show BaselinePosition Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> BaselinePosition -> ShowS #

show :: BaselinePosition -> String #

showList :: [BaselinePosition] -> ShowS #

TypedObject BaselinePosition Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum BaselinePosition Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes BaselinePosition Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes BaselinePosition Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes BaselinePosition = '[] :: [Type]

BorderStyle

data BorderStyle Source #

Describes how the border of a UI element should be rendered.

Constructors

BorderStyleNone

No visible border

BorderStyleSolid

A single line segment

BorderStyleInset

Looks as if the content is sunken into the canvas

BorderStyleOutset

Looks as if the content is coming out of the canvas

BorderStyleHidden

Same as gTKBORDERSTYLENONE

BorderStyleDotted

A series of round dots

BorderStyleDashed

A series of square-ended dashes

BorderStyleDouble

Two parallel lines with some space between them

BorderStyleGroove

Looks as if it were carved in the canvas

BorderStyleRidge

Looks as if it were coming out of the canvas

AnotherBorderStyle Int

Catch-all for unknown values

Instances

Instances details
Enum BorderStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Eq BorderStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Ord BorderStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Show BorderStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> BorderStyle -> ShowS #

show :: BorderStyle -> String #

showList :: [BorderStyle] -> ShowS #

TypedObject BorderStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum BorderStyle Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes BorderStyle Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes BorderStyle Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes BorderStyle = '[] :: [Type]

BuilderError

data BuilderError Source #

Error codes that identify various errors that can occur while using Builder.

Constructors

BuilderErrorInvalidTypeFunction

A type-func attribute didn’t name a function that returns a GType.

BuilderErrorUnhandledTag

The input contained a tag that Builder can’t handle.

BuilderErrorMissingAttribute

An attribute that is required by Builder was missing.

BuilderErrorInvalidAttribute

Builder found an attribute that it doesn’t understand.

BuilderErrorInvalidTag

Builder found a tag that it doesn’t understand.

BuilderErrorMissingPropertyValue

A required property value was missing.

BuilderErrorInvalidValue

Builder couldn’t parse some attribute value.

BuilderErrorVersionMismatch

The input file requires a newer version of GTK+.

BuilderErrorDuplicateId

An object id occurred twice.

BuilderErrorObjectTypeRefused

A specified object type is of the same type or derived from the type of the composite class being extended with builder XML.

BuilderErrorTemplateMismatch

The wrong type was specified in a composite class’s template XML

BuilderErrorInvalidProperty

The specified property is unknown for the object class.

BuilderErrorInvalidSignal

The specified signal is unknown for the object class.

BuilderErrorInvalidId

An object id is unknown

AnotherBuilderError Int

Catch-all for unknown values

Instances

Instances details
Enum BuilderError Source # 
Instance details

Defined in GI.Gtk.Enums

Eq BuilderError Source # 
Instance details

Defined in GI.Gtk.Enums

Ord BuilderError Source # 
Instance details

Defined in GI.Gtk.Enums

Show BuilderError Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> BuilderError -> ShowS #

show :: BuilderError -> String #

showList :: [BuilderError] -> ShowS #

GErrorClass BuilderError Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

gerrorClassDomain :: BuilderError -> Text #

TypedObject BuilderError Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum BuilderError Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes BuilderError Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes BuilderError Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes BuilderError = '[] :: [Type]

catchBuilderError :: IO a -> (BuilderError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type BuilderError. This is a specialized version of catchGErrorJustDomain.

handleBuilderError :: (BuilderError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type BuilderError. This is a specialized version of handleGErrorJustDomain.

ButtonBoxStyle

data ButtonBoxStyle Source #

Used to dictate the style that a ButtonBox uses to layout the buttons it contains.

Constructors

ButtonBoxStyleSpread

Buttons are evenly spread across the box.

ButtonBoxStyleEdge

Buttons are placed at the edges of the box.

ButtonBoxStyleStart

Buttons are grouped towards the start of the box, (on the left for a HBox, or the top for a VBox).

ButtonBoxStyleEnd

Buttons are grouped towards the end of the box, (on the right for a HBox, or the bottom for a VBox).

ButtonBoxStyleCenter

Buttons are centered in the box. Since 2.12.

ButtonBoxStyleExpand

Buttons expand to fill the box. This entails giving buttons a "linked" appearance, making button sizes homogeneous, and setting spacing to 0 (same as calling boxSetHomogeneous and boxSetSpacing manually). Since 3.12.

AnotherButtonBoxStyle Int

Catch-all for unknown values

Instances

Instances details
Enum ButtonBoxStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Eq ButtonBoxStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Ord ButtonBoxStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Show ButtonBoxStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> ButtonBoxStyle -> ShowS #

show :: ButtonBoxStyle -> String #

showList :: [ButtonBoxStyle] -> ShowS #

TypedObject ButtonBoxStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum ButtonBoxStyle Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes ButtonBoxStyle Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes ButtonBoxStyle Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes ButtonBoxStyle = '[] :: [Type]

ButtonRole

data ButtonRole Source #

The role specifies the desired appearance of a ModelButton.

Constructors

ButtonRoleNormal

A plain button

ButtonRoleCheck

A check button

ButtonRoleRadio

A radio button

AnotherButtonRole Int

Catch-all for unknown values

Instances

Instances details
Enum ButtonRole Source # 
Instance details

Defined in GI.Gtk.Enums

Eq ButtonRole Source # 
Instance details

Defined in GI.Gtk.Enums

Ord ButtonRole Source # 
Instance details

Defined in GI.Gtk.Enums

Show ButtonRole Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> ButtonRole -> ShowS #

show :: ButtonRole -> String #

showList :: [ButtonRole] -> ShowS #

TypedObject ButtonRole Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum ButtonRole Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes ButtonRole Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes ButtonRole Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes ButtonRole = '[] :: [Type]

ButtonsType

data ButtonsType Source #

Prebuilt sets of buttons for the dialog. If none of these choices are appropriate, simply use ButtonsTypeNone then call gtk_dialog_add_buttons().

Please note that 'GI.Gtk.Enums.ButtonsTypeOk', 'GI.Gtk.Enums.ButtonsTypeYesNo'
and 'GI.Gtk.Enums.ButtonsTypeOkCancel' are discouraged by the
<http://library.gnome.org/devel/hig-book/stable/ GNOME Human Interface Guidelines>.

Constructors

ButtonsTypeNone

no buttons at all

ButtonsTypeOk

an OK button

ButtonsTypeClose

a Close button

ButtonsTypeCancel

a Cancel button

ButtonsTypeYesNo

Yes and No buttons

ButtonsTypeOkCancel

OK and Cancel buttons

AnotherButtonsType Int

Catch-all for unknown values

Instances

Instances details
Enum ButtonsType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq ButtonsType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord ButtonsType Source # 
Instance details

Defined in GI.Gtk.Enums

Show ButtonsType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> ButtonsType -> ShowS #

show :: ButtonsType -> String #

showList :: [ButtonsType] -> ShowS #

TypedObject ButtonsType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum ButtonsType Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes ButtonsType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes ButtonsType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes ButtonsType = '[] :: [Type]

CellRendererAccelMode

data CellRendererAccelMode Source #

Determines if the edited accelerators are GTK+ accelerators. If they are, consumed modifiers are suppressed, only accelerators accepted by GTK+ are allowed, and the accelerators are rendered in the same way as they are in menus.

Constructors

CellRendererAccelModeGtk

GTK+ accelerators mode

CellRendererAccelModeOther

Other accelerator mode

AnotherCellRendererAccelMode Int

Catch-all for unknown values

Instances

Instances details
Enum CellRendererAccelMode Source # 
Instance details

Defined in GI.Gtk.Enums

Eq CellRendererAccelMode Source # 
Instance details

Defined in GI.Gtk.Enums

Ord CellRendererAccelMode Source # 
Instance details

Defined in GI.Gtk.Enums

Show CellRendererAccelMode Source # 
Instance details

Defined in GI.Gtk.Enums

TypedObject CellRendererAccelMode Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum CellRendererAccelMode Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes CellRendererAccelMode Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes CellRendererAccelMode Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes CellRendererAccelMode = '[] :: [Type]

CellRendererMode

data CellRendererMode Source #

Identifies how the user can interact with a particular cell.

Constructors

CellRendererModeInert

The cell is just for display and cannot be interacted with. Note that this doesn’t mean that eg. the row being drawn can’t be selected -- just that a particular element of it cannot be individually modified.

CellRendererModeActivatable

The cell can be clicked.

CellRendererModeEditable

The cell can be edited or otherwise modified.

AnotherCellRendererMode Int

Catch-all for unknown values

Instances

Instances details
Enum CellRendererMode Source # 
Instance details

Defined in GI.Gtk.Enums

Eq CellRendererMode Source # 
Instance details

Defined in GI.Gtk.Enums

Ord CellRendererMode Source # 
Instance details

Defined in GI.Gtk.Enums

Show CellRendererMode Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> CellRendererMode -> ShowS #

show :: CellRendererMode -> String #

showList :: [CellRendererMode] -> ShowS #

TypedObject CellRendererMode Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum CellRendererMode Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes CellRendererMode Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes CellRendererMode Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes CellRendererMode = '[] :: [Type]

CornerType

data CornerType Source #

Specifies which corner a child widget should be placed in when packed into a ScrolledWindow. This is effectively the opposite of where the scroll bars are placed.

Constructors

CornerTypeTopLeft

Place the scrollbars on the right and bottom of the widget (default behaviour).

CornerTypeBottomLeft

Place the scrollbars on the top and right of the widget.

CornerTypeTopRight

Place the scrollbars on the left and bottom of the widget.

CornerTypeBottomRight

Place the scrollbars on the top and left of the widget.

AnotherCornerType Int

Catch-all for unknown values

Instances

Instances details
Enum CornerType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq CornerType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord CornerType Source # 
Instance details

Defined in GI.Gtk.Enums

Show CornerType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> CornerType -> ShowS #

show :: CornerType -> String #

showList :: [CornerType] -> ShowS #

TypedObject CornerType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum CornerType Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes CornerType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes CornerType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes CornerType = '[] :: [Type]

CssProviderError

data CssProviderError Source #

Error codes for GTK_CSS_PROVIDER_ERROR.

Constructors

CssProviderErrorFailed

Failed.

CssProviderErrorSyntax

Syntax error.

CssProviderErrorImport

Import error.

CssProviderErrorName

Name error.

CssProviderErrorDeprecated

Deprecation error.

CssProviderErrorUnknownValue

Unknown value.

AnotherCssProviderError Int

Catch-all for unknown values

Instances

Instances details
Enum CssProviderError Source # 
Instance details

Defined in GI.Gtk.Enums

Eq CssProviderError Source # 
Instance details

Defined in GI.Gtk.Enums

Ord CssProviderError Source # 
Instance details

Defined in GI.Gtk.Enums

Show CssProviderError Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> CssProviderError -> ShowS #

show :: CssProviderError -> String #

showList :: [CssProviderError] -> ShowS #

GErrorClass CssProviderError Source # 
Instance details

Defined in GI.Gtk.Enums

TypedObject CssProviderError Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum CssProviderError Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes CssProviderError Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes CssProviderError Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes CssProviderError = '[] :: [Type]

catchCssProviderError :: IO a -> (CssProviderError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type CssProviderError. This is a specialized version of catchGErrorJustDomain.

handleCssProviderError :: (CssProviderError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type CssProviderError. This is a specialized version of handleGErrorJustDomain.

CssSectionType

data CssSectionType Source #

The different types of sections indicate parts of a CSS document as parsed by GTK’s CSS parser. They are oriented towards the CSS Grammar, but may contain extensions.

More types might be added in the future as the parser incorporates more features.

Since: 3.2

Constructors

CssSectionTypeDocument

The section describes a complete document. This section time is the only one where cssSectionGetParent might return Nothing.

CssSectionTypeImport

The section defines an import rule.

CssSectionTypeColorDefinition

The section defines a color. This is a GTK extension to CSS.

CssSectionTypeBindingSet

The section defines a binding set. This is a GTK extension to CSS.

CssSectionTypeRuleset

The section defines a CSS ruleset.

CssSectionTypeSelector

The section defines a CSS selector.

CssSectionTypeDeclaration

The section defines the declaration of a CSS variable.

CssSectionTypeValue

The section defines the value of a CSS declaration.

CssSectionTypeKeyframes

The section defines keyframes. See <http://dev.w3.org/csswg/css3-animations/#keyframes CSS Animations> for details. Since 3.6

AnotherCssSectionType Int

Catch-all for unknown values

Instances

Instances details
Enum CssSectionType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq CssSectionType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord CssSectionType Source # 
Instance details

Defined in GI.Gtk.Enums

Show CssSectionType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> CssSectionType -> ShowS #

show :: CssSectionType -> String #

showList :: [CssSectionType] -> ShowS #

TypedObject CssSectionType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum CssSectionType Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes CssSectionType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes CssSectionType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes CssSectionType = '[] :: [Type]

DeleteType

data DeleteType Source #

See also: deleteFromCursor.

Constructors

DeleteTypeChars

Delete characters.

DeleteTypeWordEnds

Delete only the portion of the word to the left/right of cursor if we’re in the middle of a word.

DeleteTypeWords

Delete words.

DeleteTypeDisplayLines

Delete display-lines. Display-lines refers to the visible lines, with respect to to the current line breaks. As opposed to paragraphs, which are defined by line breaks in the input.

DeleteTypeDisplayLineEnds

Delete only the portion of the display-line to the left/right of cursor.

DeleteTypeParagraphEnds

Delete to the end of the paragraph. Like C-k in Emacs (or its reverse).

DeleteTypeParagraphs

Delete entire line. Like C-k in pico.

DeleteTypeWhitespace

Delete only whitespace. Like M-\ in Emacs.

AnotherDeleteType Int

Catch-all for unknown values

Instances

Instances details
Enum DeleteType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq DeleteType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord DeleteType Source # 
Instance details

Defined in GI.Gtk.Enums

Show DeleteType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> DeleteType -> ShowS #

show :: DeleteType -> String #

showList :: [DeleteType] -> ShowS #

TypedObject DeleteType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum DeleteType Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes DeleteType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes DeleteType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes DeleteType = '[] :: [Type]

DirectionType

data DirectionType Source #

Focus movement types.

Constructors

DirectionTypeTabForward

Move forward.

DirectionTypeTabBackward

Move backward.

DirectionTypeUp

Move up.

DirectionTypeDown

Move down.

DirectionTypeLeft

Move left.

DirectionTypeRight

Move right.

AnotherDirectionType Int

Catch-all for unknown values

Instances

Instances details
Enum DirectionType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq DirectionType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord DirectionType Source # 
Instance details

Defined in GI.Gtk.Enums

Show DirectionType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> DirectionType -> ShowS #

show :: DirectionType -> String #

showList :: [DirectionType] -> ShowS #

TypedObject DirectionType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum DirectionType Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes DirectionType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes DirectionType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes DirectionType = '[] :: [Type]

DragResult

data DragResult Source #

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

Constructors

DragResultSuccess

The drag operation was successful.

DragResultNoTarget

No suitable drag target.

DragResultUserCancelled

The user cancelled the drag operation.

DragResultTimeoutExpired

The drag operation timed out.

DragResultGrabBroken

The pointer or keyboard grab used for the drag operation was broken.

DragResultError

The drag operation failed due to some unspecified error.

AnotherDragResult Int

Catch-all for unknown values

Instances

Instances details
Enum DragResult Source # 
Instance details

Defined in GI.Gtk.Enums

Eq DragResult Source # 
Instance details

Defined in GI.Gtk.Enums

Ord DragResult Source # 
Instance details

Defined in GI.Gtk.Enums

Show DragResult Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> DragResult -> ShowS #

show :: DragResult -> String #

showList :: [DragResult] -> ShowS #

TypedObject DragResult Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum DragResult Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes DragResult Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes DragResult Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes DragResult = '[] :: [Type]

EntryIconPosition

data EntryIconPosition Source #

Specifies the side of the entry at which an icon is placed.

Since: 2.16

Constructors

EntryIconPositionPrimary

At the beginning of the entry (depending on the text direction).

EntryIconPositionSecondary

At the end of the entry (depending on the text direction).

AnotherEntryIconPosition Int

Catch-all for unknown values

Instances

Instances details
Enum EntryIconPosition Source # 
Instance details

Defined in GI.Gtk.Enums

Eq EntryIconPosition Source # 
Instance details

Defined in GI.Gtk.Enums

Ord EntryIconPosition Source # 
Instance details

Defined in GI.Gtk.Enums

Show EntryIconPosition Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> EntryIconPosition -> ShowS #

show :: EntryIconPosition -> String #

showList :: [EntryIconPosition] -> ShowS #

TypedObject EntryIconPosition Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum EntryIconPosition Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes EntryIconPosition Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes EntryIconPosition Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes EntryIconPosition = '[] :: [Type]

EventSequenceState

data EventSequenceState Source #

Describes the state of a EventSequence in a Gesture.

Since: 3.14

Constructors

EventSequenceStateNone

The sequence is handled, but not grabbed.

EventSequenceStateClaimed

The sequence is handled and grabbed.

EventSequenceStateDenied

The sequence is denied.

AnotherEventSequenceState Int

Catch-all for unknown values

Instances

Instances details
Enum EventSequenceState Source # 
Instance details

Defined in GI.Gtk.Enums

Eq EventSequenceState Source # 
Instance details

Defined in GI.Gtk.Enums

Ord EventSequenceState Source # 
Instance details

Defined in GI.Gtk.Enums

Show EventSequenceState Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> EventSequenceState -> ShowS #

show :: EventSequenceState -> String #

showList :: [EventSequenceState] -> ShowS #

TypedObject EventSequenceState Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum EventSequenceState Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes EventSequenceState Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes EventSequenceState Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes EventSequenceState = '[] :: [Type]

ExpanderStyle

data ExpanderStyle Source #

Used to specify the style of the expanders drawn by a TreeView.

Constructors

ExpanderStyleCollapsed

The style used for a collapsed subtree.

ExpanderStyleSemiCollapsed

Intermediate style used during animation.

ExpanderStyleSemiExpanded

Intermediate style used during animation.

ExpanderStyleExpanded

The style used for an expanded subtree.

AnotherExpanderStyle Int

Catch-all for unknown values

Instances

Instances details
Enum ExpanderStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Eq ExpanderStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Ord ExpanderStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Show ExpanderStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> ExpanderStyle -> ShowS #

show :: ExpanderStyle -> String #

showList :: [ExpanderStyle] -> ShowS #

TypedObject ExpanderStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum ExpanderStyle Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes ExpanderStyle Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes ExpanderStyle Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes ExpanderStyle = '[] :: [Type]

FileChooserAction

data FileChooserAction Source #

Describes whether a FileChooser is being used to open existing files or to save to a possibly new file.

Constructors

FileChooserActionOpen

Indicates open mode. The file chooser will only let the user pick an existing file.

FileChooserActionSave

Indicates save mode. The file chooser will let the user pick an existing file, or type in a new filename.

FileChooserActionSelectFolder

Indicates an Open mode for selecting folders. The file chooser will let the user pick an existing folder.

FileChooserActionCreateFolder

Indicates a mode for creating a new folder. The file chooser will let the user name an existing or new folder.

AnotherFileChooserAction Int

Catch-all for unknown values

Instances

Instances details
Enum FileChooserAction Source # 
Instance details

Defined in GI.Gtk.Enums

Eq FileChooserAction Source # 
Instance details

Defined in GI.Gtk.Enums

Ord FileChooserAction Source # 
Instance details

Defined in GI.Gtk.Enums

Show FileChooserAction Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> FileChooserAction -> ShowS #

show :: FileChooserAction -> String #

showList :: [FileChooserAction] -> ShowS #

TypedObject FileChooserAction Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum FileChooserAction Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes FileChooserAction Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes FileChooserAction Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes FileChooserAction = '[] :: [Type]

FileChooserConfirmation

data FileChooserConfirmation Source #

Used as a return value of handlers for the confirmOverwrite signal of a FileChooser. This value determines whether the file chooser will present the stock confirmation dialog, accept the user’s choice of a filename, or let the user choose another filename.

Since: 2.8

Constructors

FileChooserConfirmationConfirm

The file chooser will present its stock dialog to confirm about overwriting an existing file.

FileChooserConfirmationAcceptFilename

The file chooser will terminate and accept the user’s choice of a file name.

FileChooserConfirmationSelectAgain

The file chooser will continue running, so as to let the user select another file name.

AnotherFileChooserConfirmation Int

Catch-all for unknown values

Instances

Instances details
Enum FileChooserConfirmation Source # 
Instance details

Defined in GI.Gtk.Enums

Eq FileChooserConfirmation Source # 
Instance details

Defined in GI.Gtk.Enums

Ord FileChooserConfirmation Source # 
Instance details

Defined in GI.Gtk.Enums

Show FileChooserConfirmation Source # 
Instance details

Defined in GI.Gtk.Enums

TypedObject FileChooserConfirmation Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum FileChooserConfirmation Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes FileChooserConfirmation Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes FileChooserConfirmation Source # 
Instance details

Defined in GI.Gtk.Enums

FileChooserError

data FileChooserError Source #

These identify the various errors that can occur while calling FileChooser functions.

Constructors

FileChooserErrorNonexistent

Indicates that a file does not exist.

FileChooserErrorBadFilename

Indicates a malformed filename.

FileChooserErrorAlreadyExists

Indicates a duplicate path (e.g. when adding a bookmark).

FileChooserErrorIncompleteHostname

Indicates an incomplete hostname (e.g. "http://foo" without a slash after that).

AnotherFileChooserError Int

Catch-all for unknown values

Instances

Instances details
Enum FileChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

Eq FileChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

Ord FileChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

Show FileChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> FileChooserError -> ShowS #

show :: FileChooserError -> String #

showList :: [FileChooserError] -> ShowS #

GErrorClass FileChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

TypedObject FileChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum FileChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes FileChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes FileChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes FileChooserError = '[] :: [Type]

catchFileChooserError :: IO a -> (FileChooserError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type FileChooserError. This is a specialized version of catchGErrorJustDomain.

handleFileChooserError :: (FileChooserError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type FileChooserError. This is a specialized version of handleGErrorJustDomain.

IMPreeditStyle

data IMPreeditStyle Source #

Deprecated: (Since version 3.10)

Style for input method preedit. See also Settings:gtk-im-preedit-style

Constructors

IMPreeditStyleNothing

Deprecated

IMPreeditStyleCallback

Deprecated

IMPreeditStyleNone

Deprecated

AnotherIMPreeditStyle Int

Catch-all for unknown values

Instances

Instances details
Enum IMPreeditStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Eq IMPreeditStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Ord IMPreeditStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Show IMPreeditStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> IMPreeditStyle -> ShowS #

show :: IMPreeditStyle -> String #

showList :: [IMPreeditStyle] -> ShowS #

TypedObject IMPreeditStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum IMPreeditStyle Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes IMPreeditStyle Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes IMPreeditStyle Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes IMPreeditStyle = '[] :: [Type]

IMStatusStyle

data IMStatusStyle Source #

Deprecated: (Since version 3.10)

Style for input method status. See also Settings:gtk-im-status-style

Constructors

IMStatusStyleNothing

Deprecated

IMStatusStyleCallback

Deprecated

IMStatusStyleNone

Deprecated

AnotherIMStatusStyle Int

Catch-all for unknown values

Instances

Instances details
Enum IMStatusStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Eq IMStatusStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Ord IMStatusStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Show IMStatusStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> IMStatusStyle -> ShowS #

show :: IMStatusStyle -> String #

showList :: [IMStatusStyle] -> ShowS #

TypedObject IMStatusStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum IMStatusStyle Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes IMStatusStyle Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes IMStatusStyle Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes IMStatusStyle = '[] :: [Type]

IconSize

data IconSize Source #

Built-in stock icon sizes.

Constructors

IconSizeInvalid

Invalid size.

IconSizeMenu

Size appropriate for menus (16px).

IconSizeSmallToolbar

Size appropriate for small toolbars (16px).

IconSizeLargeToolbar

Size appropriate for large toolbars (24px)

IconSizeButton

Size appropriate for buttons (16px)

IconSizeDnd

Size appropriate for drag and drop (32px)

IconSizeDialog

Size appropriate for dialogs (48px)

AnotherIconSize Int

Catch-all for unknown values

Instances

Instances details
Enum IconSize Source # 
Instance details

Defined in GI.Gtk.Enums

Eq IconSize Source # 
Instance details

Defined in GI.Gtk.Enums

Ord IconSize Source # 
Instance details

Defined in GI.Gtk.Enums

Show IconSize Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> IconSize -> ShowS #

show :: IconSize -> String #

showList :: [IconSize] -> ShowS #

TypedObject IconSize Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum IconSize Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes IconSize Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes IconSize Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes IconSize = '[] :: [Type]

IconThemeError

data IconThemeError Source #

Error codes for GtkIconTheme operations.

Constructors

IconThemeErrorNotFound

The icon specified does not exist in the theme

IconThemeErrorFailed

An unspecified error occurred.

AnotherIconThemeError Int

Catch-all for unknown values

Instances

Instances details
Enum IconThemeError Source # 
Instance details

Defined in GI.Gtk.Enums

Eq IconThemeError Source # 
Instance details

Defined in GI.Gtk.Enums

Ord IconThemeError Source # 
Instance details

Defined in GI.Gtk.Enums

Show IconThemeError Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> IconThemeError -> ShowS #

show :: IconThemeError -> String #

showList :: [IconThemeError] -> ShowS #

GErrorClass IconThemeError Source # 
Instance details

Defined in GI.Gtk.Enums

TypedObject IconThemeError Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum IconThemeError Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes IconThemeError Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes IconThemeError Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes IconThemeError = '[] :: [Type]

catchIconThemeError :: IO a -> (IconThemeError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type IconThemeError. This is a specialized version of catchGErrorJustDomain.

handleIconThemeError :: (IconThemeError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type IconThemeError. This is a specialized version of handleGErrorJustDomain.

IconViewDropPosition

data IconViewDropPosition Source #

An enum for determining where a dropped item goes.

Constructors

IconViewDropPositionNoDrop

no drop possible

IconViewDropPositionDropInto

dropped item replaces the item

IconViewDropPositionDropLeft

droppped item is inserted to the left

IconViewDropPositionDropRight

dropped item is inserted to the right

IconViewDropPositionDropAbove

dropped item is inserted above

IconViewDropPositionDropBelow

dropped item is inserted below

AnotherIconViewDropPosition Int

Catch-all for unknown values

Instances

Instances details
Enum IconViewDropPosition Source # 
Instance details

Defined in GI.Gtk.Enums

Eq IconViewDropPosition Source # 
Instance details

Defined in GI.Gtk.Enums

Ord IconViewDropPosition Source # 
Instance details

Defined in GI.Gtk.Enums

Show IconViewDropPosition Source # 
Instance details

Defined in GI.Gtk.Enums

TypedObject IconViewDropPosition Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum IconViewDropPosition Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes IconViewDropPosition Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes IconViewDropPosition Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes IconViewDropPosition = '[] :: [Type]

ImageType

data ImageType Source #

Describes the image data representation used by a Image. If you want to get the image from the widget, you can only get the currently-stored representation. e.g. if the imageGetStorageType returns GTK_IMAGE_PIXBUF, then you can call imageGetPixbuf but not imageGetStock. For empty images, you can request any storage type (call any of the "get" functions), but they will all return Nothing values.

Constructors

ImageTypeEmpty

there is no image displayed by the widget

ImageTypePixbuf

the widget contains a Pixbuf

ImageTypeStock

the widget contains a [stock item name][gtkstock]

ImageTypeIconSet

the widget contains a IconSet

ImageTypeAnimation

the widget contains a PixbufAnimation

ImageTypeIconName

the widget contains a named icon. This image type was added in GTK+ 2.6

ImageTypeGicon

the widget contains a Icon. This image type was added in GTK+ 2.14

ImageTypeSurface

the widget contains a Surface. This image type was added in GTK+ 3.10

AnotherImageType Int

Catch-all for unknown values

Instances

Instances details
Enum ImageType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq ImageType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord ImageType Source # 
Instance details

Defined in GI.Gtk.Enums

Show ImageType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> ImageType -> ShowS #

show :: ImageType -> String #

showList :: [ImageType] -> ShowS #

TypedObject ImageType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum ImageType Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes ImageType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes ImageType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes ImageType = '[] :: [Type]

InputPurpose

data InputPurpose Source #

Describes primary purpose of the input widget. This information is useful for on-screen keyboards and similar input methods to decide which keys should be presented to the user.

Note that the purpose is not meant to impose a totally strict rule about allowed characters, and does not replace input validation. It is fine for an on-screen keyboard to let the user override the character set restriction that is expressed by the purpose. The application is expected to validate the entry contents, even if it specified a purpose.

The difference between gTKINPUTPURPOSEDIGITS and gTKINPUTPURPOSENUMBER is that the former accepts only digits while the latter also some punctuation (like commas or points, plus, minus) and “e” or “E” as in 3.14E+000.

This enumeration may be extended in the future; input methods should interpret unknown values as “free form”.

Since: 3.6

Constructors

InputPurposeFreeForm

Allow any character

InputPurposeAlpha

Allow only alphabetic characters

InputPurposeDigits

Allow only digits

InputPurposeNumber

Edited field expects numbers

InputPurposePhone

Edited field expects phone number

InputPurposeUrl

Edited field expects URL

InputPurposeEmail

Edited field expects email address

InputPurposeName

Edited field expects the name of a person

InputPurposePassword

Like gTKINPUTPURPOSEFREEFORM, but characters are hidden

InputPurposePin

Like gTKINPUTPURPOSEDIGITS, but characters are hidden

InputPurposeTerminal

Allow any character, in addition to control codes

AnotherInputPurpose Int

Catch-all for unknown values

Instances

Instances details
Enum InputPurpose Source # 
Instance details

Defined in GI.Gtk.Enums

Eq InputPurpose Source # 
Instance details

Defined in GI.Gtk.Enums

Ord InputPurpose Source # 
Instance details

Defined in GI.Gtk.Enums

Show InputPurpose Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> InputPurpose -> ShowS #

show :: InputPurpose -> String #

showList :: [InputPurpose] -> ShowS #

TypedObject InputPurpose Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum InputPurpose Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes InputPurpose Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes InputPurpose Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes InputPurpose = '[] :: [Type]

Justification

data Justification Source #

Used for justifying the text inside a Label widget. (See also Alignment).

Constructors

JustificationLeft

The text is placed at the left edge of the label.

JustificationRight

The text is placed at the right edge of the label.

JustificationCenter

The text is placed in the center of the label.

JustificationFill

The text is placed is distributed across the label.

AnotherJustification Int

Catch-all for unknown values

Instances

Instances details
Enum Justification Source # 
Instance details

Defined in GI.Gtk.Enums

Eq Justification Source # 
Instance details

Defined in GI.Gtk.Enums

Ord Justification Source # 
Instance details

Defined in GI.Gtk.Enums

Show Justification Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> Justification -> ShowS #

show :: Justification -> String #

showList :: [Justification] -> ShowS #

TypedObject Justification Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum Justification Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes Justification Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes Justification Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes Justification = '[] :: [Type]

LevelBarMode

data LevelBarMode Source #

Describes how LevelBar contents should be rendered. Note that this enumeration could be extended with additional modes in the future.

Since: 3.6

Constructors

LevelBarModeContinuous

the bar has a continuous mode

LevelBarModeDiscrete

the bar has a discrete mode

AnotherLevelBarMode Int

Catch-all for unknown values

Instances

Instances details
Enum LevelBarMode Source # 
Instance details

Defined in GI.Gtk.Enums

Eq LevelBarMode Source # 
Instance details

Defined in GI.Gtk.Enums

Ord LevelBarMode Source # 
Instance details

Defined in GI.Gtk.Enums

Show LevelBarMode Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> LevelBarMode -> ShowS #

show :: LevelBarMode -> String #

showList :: [LevelBarMode] -> ShowS #

TypedObject LevelBarMode Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum LevelBarMode Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes LevelBarMode Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes LevelBarMode Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes LevelBarMode = '[] :: [Type]

License

data License Source #

The type of license for an application.

This enumeration can be expanded at later date.

Since: 3.0

Constructors

LicenseUnknown

No license specified

LicenseCustom

A license text is going to be specified by the developer

LicenseGpl20

The GNU General Public License, version 2.0 or later

LicenseGpl30

The GNU General Public License, version 3.0 or later

LicenseLgpl21

The GNU Lesser General Public License, version 2.1 or later

LicenseLgpl30

The GNU Lesser General Public License, version 3.0 or later

LicenseBsd

The BSD standard license

LicenseMitX11

The MIT/X11 standard license

LicenseArtistic

The Artistic License, version 2.0

LicenseGpl20Only

The GNU General Public License, version 2.0 only. Since 3.12.

LicenseGpl30Only

The GNU General Public License, version 3.0 only. Since 3.12.

LicenseLgpl21Only

The GNU Lesser General Public License, version 2.1 only. Since 3.12.

LicenseLgpl30Only

The GNU Lesser General Public License, version 3.0 only. Since 3.12.

LicenseAgpl30

The GNU Affero General Public License, version 3.0 or later. Since: 3.22.

LicenseAgpl30Only

The GNU Affero General Public License, version 3.0 only. Since: 3.22.27.

LicenseBsd3

The 3-clause BSD licence. Since: 3.24.20.

LicenseApache20

The Apache License, version 2.0. Since: 3.24.20.

LicenseMpl20

The Mozilla Public License, version 2.0. Since: 3.24.20.

AnotherLicense Int

Catch-all for unknown values

Instances

Instances details
Enum License Source # 
Instance details

Defined in GI.Gtk.Enums

Eq License Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

(==) :: License -> License -> Bool #

(/=) :: License -> License -> Bool #

Ord License Source # 
Instance details

Defined in GI.Gtk.Enums

Show License Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> License -> ShowS #

show :: License -> String #

showList :: [License] -> ShowS #

TypedObject License Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum License Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes License Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes License Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes License = '[] :: [Type]

MenuDirectionType

data MenuDirectionType Source #

An enumeration representing directional movements within a menu.

Constructors

MenuDirectionTypeParent

To the parent menu shell

MenuDirectionTypeChild

To the submenu, if any, associated with the item

MenuDirectionTypeNext

To the next menu item

MenuDirectionTypePrev

To the previous menu item

AnotherMenuDirectionType Int

Catch-all for unknown values

Instances

Instances details
Enum MenuDirectionType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq MenuDirectionType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord MenuDirectionType Source # 
Instance details

Defined in GI.Gtk.Enums

Show MenuDirectionType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> MenuDirectionType -> ShowS #

show :: MenuDirectionType -> String #

showList :: [MenuDirectionType] -> ShowS #

TypedObject MenuDirectionType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum MenuDirectionType Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes MenuDirectionType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes MenuDirectionType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes MenuDirectionType = '[] :: [Type]

MessageType

data MessageType Source #

The type of message being displayed in the dialog.

Constructors

MessageTypeInfo

Informational message

MessageTypeWarning

Non-fatal warning message

MessageTypeQuestion

Question requiring a choice

MessageTypeError

Fatal error message

MessageTypeOther

None of the above

AnotherMessageType Int

Catch-all for unknown values

Instances

Instances details
Enum MessageType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq MessageType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord MessageType Source # 
Instance details

Defined in GI.Gtk.Enums

Show MessageType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> MessageType -> ShowS #

show :: MessageType -> String #

showList :: [MessageType] -> ShowS #

TypedObject MessageType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum MessageType Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes MessageType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes MessageType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes MessageType = '[] :: [Type]

MovementStep

data MovementStep Source #

No description available in the introspection data.

Constructors

MovementStepLogicalPositions

Move forward or back by graphemes

MovementStepVisualPositions

Move left or right by graphemes

MovementStepWords

Move forward or back by words

MovementStepDisplayLines

Move up or down lines (wrapped lines)

MovementStepDisplayLineEnds

Move to either end of a line

MovementStepParagraphs

Move up or down paragraphs (newline-ended lines)

MovementStepParagraphEnds

Move to either end of a paragraph

MovementStepPages

Move by pages

MovementStepBufferEnds

Move to ends of the buffer

MovementStepHorizontalPages

Move horizontally by pages

AnotherMovementStep Int

Catch-all for unknown values

Instances

Instances details
Enum MovementStep Source # 
Instance details

Defined in GI.Gtk.Enums

Eq MovementStep Source # 
Instance details

Defined in GI.Gtk.Enums

Ord MovementStep Source # 
Instance details

Defined in GI.Gtk.Enums

Show MovementStep Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> MovementStep -> ShowS #

show :: MovementStep -> String #

showList :: [MovementStep] -> ShowS #

TypedObject MovementStep Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum MovementStep Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes MovementStep Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes MovementStep Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes MovementStep = '[] :: [Type]

NotebookTab

data NotebookTab Source #

No description available in the introspection data.

Constructors

NotebookTabFirst

No description available in the introspection data.

NotebookTabLast

No description available in the introspection data.

AnotherNotebookTab Int

Catch-all for unknown values

Instances

Instances details
Enum NotebookTab Source # 
Instance details

Defined in GI.Gtk.Enums

Eq NotebookTab Source # 
Instance details

Defined in GI.Gtk.Enums

Ord NotebookTab Source # 
Instance details

Defined in GI.Gtk.Enums

Show NotebookTab Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> NotebookTab -> ShowS #

show :: NotebookTab -> String #

showList :: [NotebookTab] -> ShowS #

TypedObject NotebookTab Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum NotebookTab Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes NotebookTab Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes NotebookTab Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes NotebookTab = '[] :: [Type]

NumberUpLayout

data NumberUpLayout Source #

Used to determine the layout of pages on a sheet when printing multiple pages per sheet.

Instances

Instances details
Enum NumberUpLayout Source # 
Instance details

Defined in GI.Gtk.Enums

Eq NumberUpLayout Source # 
Instance details

Defined in GI.Gtk.Enums

Ord NumberUpLayout Source # 
Instance details

Defined in GI.Gtk.Enums

Show NumberUpLayout Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> NumberUpLayout -> ShowS #

show :: NumberUpLayout -> String #

showList :: [NumberUpLayout] -> ShowS #

TypedObject NumberUpLayout Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum NumberUpLayout Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes NumberUpLayout Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes NumberUpLayout Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes NumberUpLayout = '[] :: [Type]

Orientation

data Orientation Source #

Represents the orientation of widgets and other objects which can be switched between horizontal and vertical orientation on the fly, like Toolbar or GesturePan.

Constructors

OrientationHorizontal

The element is in horizontal orientation.

OrientationVertical

The element is in vertical orientation.

AnotherOrientation Int

Catch-all for unknown values

Instances

Instances details
Enum Orientation Source # 
Instance details

Defined in GI.Gtk.Enums

Eq Orientation Source # 
Instance details

Defined in GI.Gtk.Enums

Ord Orientation Source # 
Instance details

Defined in GI.Gtk.Enums

Show Orientation Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> Orientation -> ShowS #

show :: Orientation -> String #

showList :: [Orientation] -> ShowS #

TypedObject Orientation Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum Orientation Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes Orientation Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes Orientation Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes Orientation = '[] :: [Type]

PackDirection

data PackDirection Source #

Determines how widgets should be packed inside menubars and menuitems contained in menubars.

Constructors

PackDirectionLtr

Widgets are packed left-to-right

PackDirectionRtl

Widgets are packed right-to-left

PackDirectionTtb

Widgets are packed top-to-bottom

PackDirectionBtt

Widgets are packed bottom-to-top

AnotherPackDirection Int

Catch-all for unknown values

Instances

Instances details
Enum PackDirection Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PackDirection Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PackDirection Source # 
Instance details

Defined in GI.Gtk.Enums

Show PackDirection Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> PackDirection -> ShowS #

show :: PackDirection -> String #

showList :: [PackDirection] -> ShowS #

TypedObject PackDirection Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PackDirection Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PackDirection Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PackDirection Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PackDirection = '[] :: [Type]

PackType

data PackType Source #

Represents the packing location Box children. (See: VBox, HBox, and ButtonBox).

Constructors

PackTypeStart

The child is packed into the start of the box

PackTypeEnd

The child is packed into the end of the box

AnotherPackType Int

Catch-all for unknown values

Instances

Instances details
Enum PackType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PackType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PackType Source # 
Instance details

Defined in GI.Gtk.Enums

Show PackType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> PackType -> ShowS #

show :: PackType -> String #

showList :: [PackType] -> ShowS #

TypedObject PackType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PackType Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PackType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PackType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PackType = '[] :: [Type]

PadActionType

data PadActionType Source #

The type of a pad action.

Constructors

PadActionTypeButton

Action is triggered by a pad button

PadActionTypeRing

Action is triggered by a pad ring

PadActionTypeStrip

Action is triggered by a pad strip

AnotherPadActionType Int

Catch-all for unknown values

Instances

Instances details
Enum PadActionType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PadActionType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PadActionType Source # 
Instance details

Defined in GI.Gtk.Enums

Show PadActionType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> PadActionType -> ShowS #

show :: PadActionType -> String #

showList :: [PadActionType] -> ShowS #

TypedObject PadActionType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PadActionType Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PadActionType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PadActionType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PadActionType = '[] :: [Type]

PageOrientation

data PageOrientation Source #

Constructors

PageOrientationPortrait

Portrait mode.

PageOrientationLandscape

Landscape mode.

PageOrientationReversePortrait

Reverse portrait mode.

PageOrientationReverseLandscape

Reverse landscape mode.

AnotherPageOrientation Int

Catch-all for unknown values

Instances

Instances details
Enum PageOrientation Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PageOrientation Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PageOrientation Source # 
Instance details

Defined in GI.Gtk.Enums

Show PageOrientation Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> PageOrientation -> ShowS #

show :: PageOrientation -> String #

showList :: [PageOrientation] -> ShowS #

TypedObject PageOrientation Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PageOrientation Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PageOrientation Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PageOrientation Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PageOrientation = '[] :: [Type]

PageSet

data PageSet Source #

See also gtk_print_job_set_page_set().

Constructors

PageSetAll

All pages.

PageSetEven

Even pages.

PageSetOdd

Odd pages.

AnotherPageSet Int

Catch-all for unknown values

Instances

Instances details
Enum PageSet Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PageSet Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

(==) :: PageSet -> PageSet -> Bool #

(/=) :: PageSet -> PageSet -> Bool #

Ord PageSet Source # 
Instance details

Defined in GI.Gtk.Enums

Show PageSet Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> PageSet -> ShowS #

show :: PageSet -> String #

showList :: [PageSet] -> ShowS #

TypedObject PageSet Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PageSet Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PageSet Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PageSet Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PageSet = '[] :: [Type]

PanDirection

data PanDirection Source #

Describes the panning direction of a GesturePan

Since: 3.14

Constructors

PanDirectionLeft

panned towards the left

PanDirectionRight

panned towards the right

PanDirectionUp

panned upwards

PanDirectionDown

panned downwards

AnotherPanDirection Int

Catch-all for unknown values

Instances

Instances details
Enum PanDirection Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PanDirection Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PanDirection Source # 
Instance details

Defined in GI.Gtk.Enums

Show PanDirection Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> PanDirection -> ShowS #

show :: PanDirection -> String #

showList :: [PanDirection] -> ShowS #

TypedObject PanDirection Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PanDirection Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PanDirection Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PanDirection Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PanDirection = '[] :: [Type]

PathPriorityType

data PathPriorityType Source #

Deprecated: (Since version 3.0)

Priorities for path lookups. See also bindingSetAddPath.

Instances

Instances details
Enum PathPriorityType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PathPriorityType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PathPriorityType Source # 
Instance details

Defined in GI.Gtk.Enums

Show PathPriorityType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> PathPriorityType -> ShowS #

show :: PathPriorityType -> String #

showList :: [PathPriorityType] -> ShowS #

TypedObject PathPriorityType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PathPriorityType Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PathPriorityType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PathPriorityType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PathPriorityType = '[] :: [Type]

PathType

data PathType Source #

Deprecated: (Since version 3.0)

Widget path types. See also bindingSetAddPath.

Constructors

PathTypeWidget

Deprecated

PathTypeWidgetClass

Deprecated

PathTypeClass

Deprecated

AnotherPathType Int

Catch-all for unknown values

Instances

Instances details
Enum PathType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PathType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PathType Source # 
Instance details

Defined in GI.Gtk.Enums

Show PathType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> PathType -> ShowS #

show :: PathType -> String #

showList :: [PathType] -> ShowS #

TypedObject PathType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PathType Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PathType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PathType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PathType = '[] :: [Type]

PolicyType

data PolicyType Source #

Determines how the size should be computed to achieve the one of the visibility mode for the scrollbars.

Constructors

PolicyTypeAlways

The scrollbar is always visible. The view size is independent of the content.

PolicyTypeAutomatic

The scrollbar will appear and disappear as necessary. For example, when all of a TreeView can not be seen.

PolicyTypeNever

The scrollbar should never appear. In this mode the content determines the size.

PolicyTypeExternal

Don't show a scrollbar, but don't force the size to follow the content. This can be used e.g. to make multiple scrolled windows share a scrollbar. Since: 3.16

AnotherPolicyType Int

Catch-all for unknown values

Instances

Instances details
Enum PolicyType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PolicyType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PolicyType Source # 
Instance details

Defined in GI.Gtk.Enums

Show PolicyType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> PolicyType -> ShowS #

show :: PolicyType -> String #

showList :: [PolicyType] -> ShowS #

TypedObject PolicyType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PolicyType Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PolicyType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PolicyType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PolicyType = '[] :: [Type]

PopoverConstraint

data PopoverConstraint Source #

Describes constraints to positioning of popovers. More values may be added to this enumeration in the future.

Since: 3.20

Constructors

PopoverConstraintNone

Don't constrain the popover position beyond what is imposed by the implementation

PopoverConstraintWindow

Constrain the popover to the boundaries of the window that it is attached to

AnotherPopoverConstraint Int

Catch-all for unknown values

Instances

Instances details
Enum PopoverConstraint Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PopoverConstraint Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PopoverConstraint Source # 
Instance details

Defined in GI.Gtk.Enums

Show PopoverConstraint Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> PopoverConstraint -> ShowS #

show :: PopoverConstraint -> String #

showList :: [PopoverConstraint] -> ShowS #

TypedObject PopoverConstraint Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PopoverConstraint Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PopoverConstraint Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PopoverConstraint Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PopoverConstraint = '[] :: [Type]

PositionType

data PositionType Source #

Describes which edge of a widget a certain feature is positioned at, e.g. the tabs of a Notebook, the handle of a HandleBox or the label of a Scale.

Constructors

PositionTypeLeft

The feature is at the left edge.

PositionTypeRight

The feature is at the right edge.

PositionTypeTop

The feature is at the top edge.

PositionTypeBottom

The feature is at the bottom edge.

AnotherPositionType Int

Catch-all for unknown values

Instances

Instances details
Enum PositionType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PositionType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PositionType Source # 
Instance details

Defined in GI.Gtk.Enums

Show PositionType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> PositionType -> ShowS #

show :: PositionType -> String #

showList :: [PositionType] -> ShowS #

TypedObject PositionType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PositionType Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PositionType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PositionType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PositionType = '[] :: [Type]

PrintDuplex

data PrintDuplex Source #

Constructors

PrintDuplexSimplex

No duplex.

PrintDuplexHorizontal

Horizontal duplex.

PrintDuplexVertical

Vertical duplex.

AnotherPrintDuplex Int

Catch-all for unknown values

Instances

Instances details
Enum PrintDuplex Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PrintDuplex Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PrintDuplex Source # 
Instance details

Defined in GI.Gtk.Enums

Show PrintDuplex Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> PrintDuplex -> ShowS #

show :: PrintDuplex -> String #

showList :: [PrintDuplex] -> ShowS #

TypedObject PrintDuplex Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PrintDuplex Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PrintDuplex Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PrintDuplex Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PrintDuplex = '[] :: [Type]

PrintError

data PrintError Source #

Error codes that identify various errors that can occur while using the GTK+ printing support.

Constructors

PrintErrorGeneral

An unspecified error occurred.

PrintErrorInternalError

An internal error occurred.

PrintErrorNomem

A memory allocation failed.

PrintErrorInvalidFile

An error occurred while loading a page setup or paper size from a key file.

AnotherPrintError Int

Catch-all for unknown values

Instances

Instances details
Enum PrintError Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PrintError Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PrintError Source # 
Instance details

Defined in GI.Gtk.Enums

Show PrintError Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> PrintError -> ShowS #

show :: PrintError -> String #

showList :: [PrintError] -> ShowS #

GErrorClass PrintError Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

gerrorClassDomain :: PrintError -> Text #

TypedObject PrintError Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PrintError Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PrintError Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PrintError Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PrintError = '[] :: [Type]

catchPrintError :: IO a -> (PrintError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type PrintError. This is a specialized version of catchGErrorJustDomain.

handlePrintError :: (PrintError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type PrintError. This is a specialized version of handleGErrorJustDomain.

PrintOperationAction

data PrintOperationAction Source #

The action parameter to printOperationRun determines what action the print operation should perform.

Constructors

PrintOperationActionPrintDialog

Show the print dialog.

PrintOperationActionPrint

Start to print without showing the print dialog, based on the current print settings.

PrintOperationActionPreview

Show the print preview.

PrintOperationActionExport

Export to a file. This requires the export-filename property to be set.

AnotherPrintOperationAction Int

Catch-all for unknown values

Instances

Instances details
Enum PrintOperationAction Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PrintOperationAction Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PrintOperationAction Source # 
Instance details

Defined in GI.Gtk.Enums

Show PrintOperationAction Source # 
Instance details

Defined in GI.Gtk.Enums

TypedObject PrintOperationAction Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PrintOperationAction Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PrintOperationAction Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PrintOperationAction Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PrintOperationAction = '[] :: [Type]

PrintOperationResult

data PrintOperationResult Source #

A value of this type is returned by printOperationRun.

Constructors

PrintOperationResultError

An error has occurred.

PrintOperationResultApply

The print settings should be stored.

PrintOperationResultCancel

The print operation has been canceled, the print settings should not be stored.

PrintOperationResultInProgress

The print operation is not complete yet. This value will only be returned when running asynchronously.

AnotherPrintOperationResult Int

Catch-all for unknown values

Instances

Instances details
Enum PrintOperationResult Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PrintOperationResult Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PrintOperationResult Source # 
Instance details

Defined in GI.Gtk.Enums

Show PrintOperationResult Source # 
Instance details

Defined in GI.Gtk.Enums

TypedObject PrintOperationResult Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PrintOperationResult Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PrintOperationResult Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PrintOperationResult Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PrintOperationResult = '[] :: [Type]

PrintPages

data PrintPages Source #

See also gtk_print_job_set_pages()

Constructors

PrintPagesAll

All pages.

PrintPagesCurrent

Current page.

PrintPagesRanges

Range of pages.

PrintPagesSelection

Selected pages.

AnotherPrintPages Int

Catch-all for unknown values

Instances

Instances details
Enum PrintPages Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PrintPages Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PrintPages Source # 
Instance details

Defined in GI.Gtk.Enums

Show PrintPages Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> PrintPages -> ShowS #

show :: PrintPages -> String #

showList :: [PrintPages] -> ShowS #

TypedObject PrintPages Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PrintPages Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PrintPages Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PrintPages Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PrintPages = '[] :: [Type]

PrintQuality

data PrintQuality Source #

Constructors

PrintQualityLow

Low quality.

PrintQualityNormal

Normal quality.

PrintQualityHigh

High quality.

PrintQualityDraft

Draft quality.

AnotherPrintQuality Int

Catch-all for unknown values

Instances

Instances details
Enum PrintQuality Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PrintQuality Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PrintQuality Source # 
Instance details

Defined in GI.Gtk.Enums

Show PrintQuality Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> PrintQuality -> ShowS #

show :: PrintQuality -> String #

showList :: [PrintQuality] -> ShowS #

TypedObject PrintQuality Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PrintQuality Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PrintQuality Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PrintQuality Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PrintQuality = '[] :: [Type]

PrintStatus

data PrintStatus Source #

The status gives a rough indication of the completion of a running print operation.

Constructors

PrintStatusInitial

The printing has not started yet; this status is set initially, and while the print dialog is shown.

PrintStatusPreparing

This status is set while the begin-print signal is emitted and during pagination.

PrintStatusGeneratingData

This status is set while the pages are being rendered.

PrintStatusSendingData

The print job is being sent off to the printer.

PrintStatusPending

The print job has been sent to the printer, but is not printed for some reason, e.g. the printer may be stopped.

PrintStatusPendingIssue

Some problem has occurred during printing, e.g. a paper jam.

PrintStatusPrinting

The printer is processing the print job.

PrintStatusFinished

The printing has been completed successfully.

PrintStatusFinishedAborted

The printing has been aborted.

AnotherPrintStatus Int

Catch-all for unknown values

Instances

Instances details
Enum PrintStatus Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PrintStatus Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PrintStatus Source # 
Instance details

Defined in GI.Gtk.Enums

Show PrintStatus Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> PrintStatus -> ShowS #

show :: PrintStatus -> String #

showList :: [PrintStatus] -> ShowS #

TypedObject PrintStatus Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PrintStatus Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PrintStatus Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PrintStatus Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PrintStatus = '[] :: [Type]

PropagationPhase

data PropagationPhase Source #

Describes the stage at which events are fed into a EventController.

Since: 3.14

Constructors

PropagationPhaseNone

Events are not delivered automatically. Those can be manually fed through eventControllerHandleEvent. This should only be used when full control about when, or whether the controller handles the event is needed.

PropagationPhaseCapture

Events are delivered in the capture phase. The capture phase happens before the bubble phase, runs from the toplevel down to the event widget. This option should only be used on containers that might possibly handle events before their children do.

PropagationPhaseBubble

Events are delivered in the bubble phase. The bubble phase happens after the capture phase, and before the default handlers are run. This phase runs from the event widget, up to the toplevel.

PropagationPhaseTarget

Events are delivered in the default widget event handlers, note that widget implementations must chain up on button, motion, touch and grab broken handlers for controllers in this phase to be run.

AnotherPropagationPhase Int

Catch-all for unknown values

Instances

Instances details
Enum PropagationPhase Source # 
Instance details

Defined in GI.Gtk.Enums

Eq PropagationPhase Source # 
Instance details

Defined in GI.Gtk.Enums

Ord PropagationPhase Source # 
Instance details

Defined in GI.Gtk.Enums

Show PropagationPhase Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> PropagationPhase -> ShowS #

show :: PropagationPhase -> String #

showList :: [PropagationPhase] -> ShowS #

TypedObject PropagationPhase Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum PropagationPhase Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes PropagationPhase Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PropagationPhase Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes PropagationPhase = '[] :: [Type]

RcTokenType

data RcTokenType Source #

Deprecated: (Since version 3.0)Use CssProvider instead.

The RcTokenType enumeration represents the tokens in the RC file. It is exposed so that theme engines can reuse these tokens when parsing the theme-engine specific portions of a RC file.

Instances

Instances details
Enum RcTokenType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq RcTokenType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord RcTokenType Source # 
Instance details

Defined in GI.Gtk.Enums

Show RcTokenType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> RcTokenType -> ShowS #

show :: RcTokenType -> String #

showList :: [RcTokenType] -> ShowS #

TypedObject RcTokenType Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum RcTokenType Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes RcTokenType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes RcTokenType Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes RcTokenType = '[] :: [Type]

RecentChooserError

data RecentChooserError Source #

These identify the various errors that can occur while calling RecentChooser functions.

Since: 2.10

Constructors

RecentChooserErrorNotFound

Indicates that a file does not exist

RecentChooserErrorInvalidUri

Indicates a malformed URI

AnotherRecentChooserError Int

Catch-all for unknown values

Instances

Instances details
Enum RecentChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

Eq RecentChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

Ord RecentChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

Show RecentChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> RecentChooserError -> ShowS #

show :: RecentChooserError -> String #

showList :: [RecentChooserError] -> ShowS #

GErrorClass RecentChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

TypedObject RecentChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

glibType :: IO GType #

BoxedEnum RecentChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

HasParentTypes RecentChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes RecentChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

type ParentTypes RecentChooserError = '[] :: [Type]

catchRecentChooserError :: IO a -> (RecentChooserError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type RecentChooserError. This is a specialized version of catchGErrorJustDomain.

handleRecentChooserError :: (RecentChooserError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type RecentChooserError. This is a specialized version of handleGErrorJustDomain.

RecentManagerError

data RecentManagerError Source #

Error codes for RecentManager operations

Since: 2.10

Constructors

RecentManagerErrorNotFound

the URI specified does not exists in the recently used resources list.

RecentManagerErrorInvalidUri

the URI specified is not valid.

RecentManagerErrorInvalidEncoding

the supplied string is not UTF-8 encoded.

RecentManagerErrorNotRegistered

no application has registered the specified item.

RecentManagerErrorRead

failure while reading the recently used resources file.

RecentManagerErrorWrite

failure while writing the recently used resources file.

RecentManagerErrorUnknown

unspecified error.

AnotherRecentManagerError Int

Catch-all for unknown values