gi-gtk-3.0.31: Gtk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Enums

Contents

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
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 #

BoxedEnum Align Source # 
Instance details

Defined in GI.Gtk.Enums

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

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

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
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

BoxedEnum AssistantPageType Source # 
Instance details

Defined in GI.Gtk.Enums

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
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

BoxedEnum BaselinePosition Source # 
Instance details

Defined in GI.Gtk.Enums

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

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

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

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

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

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
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

BoxedEnum CellRendererAccelMode Source # 
Instance details

Defined in GI.Gtk.Enums

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
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

BoxedEnum CellRendererMode Source # 
Instance details

Defined in GI.Gtk.Enums

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

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
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

GErrorClass CssProviderError Source # 
Instance details

Defined in GI.Gtk.Enums

BoxedEnum CssProviderError Source # 
Instance details

Defined in GI.Gtk.Enums

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

DeleteType

data DeleteType Source #

See also: Entry::delete-from-cursor.

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

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

DragResult

data DragResult Source #

Gives an indication why a drag operation failed. The value can by obtained by connecting to the Widget::drag-failed 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

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
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

BoxedEnum EntryIconPosition Source # 
Instance details

Defined in GI.Gtk.Enums

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
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

BoxedEnum EventSequenceState Source # 
Instance details

Defined in GI.Gtk.Enums

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

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
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

BoxedEnum FileChooserAction Source # 
Instance details

Defined in GI.Gtk.Enums

FileChooserConfirmation

data FileChooserConfirmation Source #

Used as a return value of handlers for the FileChooser::confirm-overwrite 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
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

BoxedEnum 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
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

GErrorClass FileChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

BoxedEnum FileChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

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

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

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

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
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

GErrorClass IconThemeError Source # 
Instance details

Defined in GI.Gtk.Enums

BoxedEnum IconThemeError Source # 
Instance details

Defined in GI.Gtk.Enums

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
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

BoxedEnum IconViewDropPosition Source # 
Instance details

Defined in GI.Gtk.Enums

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

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

AnotherInputPurpose Int

Catch-all for unknown values

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

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

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.

AnotherLicense Int

Catch-all for unknown values

Instances
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

BoxedEnum License Source # 
Instance details

Defined in GI.Gtk.Enums

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
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

BoxedEnum MenuDirectionType Source # 
Instance details

Defined in GI.Gtk.Enums

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

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

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

NumberUpLayout

data NumberUpLayout Source #

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

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

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

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

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

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
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

BoxedEnum PageOrientation Source # 
Instance details

Defined in GI.Gtk.Enums

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
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

BoxedEnum PageSet Source # 
Instance details

Defined in GI.Gtk.Enums

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

PathPriorityType

data PathPriorityType Source #

Deprecated: (Since version 3.0)

Priorities for path lookups. See also bindingSetAddPath.

Instances
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

BoxedEnum PathPriorityType Source # 
Instance details

Defined in GI.Gtk.Enums

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

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

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
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

BoxedEnum PopoverConstraint Source # 
Instance details

Defined in GI.Gtk.Enums

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

PrintDuplex

data PrintDuplex Source #

Constructors

PrintDuplexSimplex

No duplex.

PrintDuplexHorizontal

Horizontal duplex.

PrintDuplexVertical

Vertical duplex.

AnotherPrintDuplex Int

Catch-all for unknown values

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

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
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

BoxedEnum PrintOperationAction Source # 
Instance details

Defined in GI.Gtk.Enums

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
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

BoxedEnum PrintOperationResult Source # 
Instance details

Defined in GI.Gtk.Enums

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

PrintQuality

data PrintQuality Source #

Constructors

PrintQualityLow

Low quality.

PrintQualityNormal

Normal quality.

PrintQualityHigh

High quality.

PrintQualityDraft

Draft quality.

AnotherPrintQuality Int

Catch-all for unknown values

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

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
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

BoxedEnum PropagationPhase Source # 
Instance details

Defined in GI.Gtk.Enums

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.

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
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

GErrorClass RecentChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

BoxedEnum RecentChooserError Source # 
Instance details

Defined in GI.Gtk.Enums

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

Instances
Enum RecentManagerError Source # 
Instance details

Defined in GI.Gtk.Enums

Eq RecentManagerError Source # 
Instance details

Defined in GI.Gtk.Enums

Ord RecentManagerError Source # 
Instance details

Defined in GI.Gtk.Enums

Show RecentManagerError Source # 
Instance details

Defined in GI.Gtk.Enums

GErrorClass RecentManagerError Source # 
Instance details

Defined in GI.Gtk.Enums

BoxedEnum RecentManagerError Source # 
Instance details

Defined in GI.Gtk.Enums

catchRecentManagerError :: IO a -> (RecentManagerError -> GErrorMessage -> IO a) -> IO a Source #

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

handleRecentManagerError :: (RecentManagerError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

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

RecentSortType

data RecentSortType Source #

Used to specify the sorting method to be applyed to the recently used resource list.

Since: 2.10

Constructors

RecentSortTypeNone

Do not sort the returned list of recently used resources.

RecentSortTypeMru

Sort the returned list with the most recently used items first.

RecentSortTypeLru

Sort the returned list with the least recently used items first.

RecentSortTypeCustom

Sort the returned list using a custom sorting function passed using recentChooserSetSortFunc.

AnotherRecentSortType Int

Catch-all for unknown values

ReliefStyle

data ReliefStyle Source #

Indicated the relief to be drawn around a Button.

Constructors

ReliefStyleNormal

Draw a normal relief.

ReliefStyleHalf

A half relief. Deprecated in 3.14, does the same as gTKRELIEFNORMAL

ReliefStyleNone

No relief.

AnotherReliefStyle Int

Catch-all for unknown values

ResizeMode

data ResizeMode Source #

No description available in the introspection data.

Constructors

ResizeModeParent

Pass resize request to the parent

ResizeModeQueue

Queue resizes on this widget

ResizeModeImmediate

Resize immediately. Deprecated.

AnotherResizeMode Int

Catch-all for unknown values

ResponseType

data ResponseType Source #

Predefined values for use as response ids in dialogAddButton. All predefined values are negative; GTK+ leaves values of 0 or greater for application-defined response ids.

Constructors

ResponseTypeNone

Returned if an action widget has no response id, or if the dialog gets programmatically hidden or destroyed

ResponseTypeReject

Generic response id, not used by GTK+ dialogs

ResponseTypeAccept

Generic response id, not used by GTK+ dialogs

ResponseTypeDeleteEvent

Returned if the dialog is deleted

ResponseTypeOk

Returned by OK buttons in GTK+ dialogs

ResponseTypeCancel

Returned by Cancel buttons in GTK+ dialogs

ResponseTypeClose

Returned by Close buttons in GTK+ dialogs

ResponseTypeYes

Returned by Yes buttons in GTK+ dialogs

ResponseTypeNo

Returned by No buttons in GTK+ dialogs

ResponseTypeApply

Returned by Apply buttons in GTK+ dialogs

ResponseTypeHelp

Returned by Help buttons in GTK+ dialogs

AnotherResponseType Int

Catch-all for unknown values

RevealerTransitionType

data RevealerTransitionType Source #

These enumeration values describe the possible transitions when the child of a Revealer widget is shown or hidden.

Constructors

RevealerTransitionTypeNone

No transition

RevealerTransitionTypeCrossfade

Fade in

RevealerTransitionTypeSlideRight

Slide in from the left

RevealerTransitionTypeSlideLeft

Slide in from the right

RevealerTransitionTypeSlideUp

Slide in from the bottom

RevealerTransitionTypeSlideDown

Slide in from the top

AnotherRevealerTransitionType Int

Catch-all for unknown values

Instances
Enum RevealerTransitionType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq RevealerTransitionType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord RevealerTransitionType Source # 
Instance details

Defined in GI.Gtk.Enums

Show RevealerTransitionType Source # 
Instance details

Defined in GI.Gtk.Enums

BoxedEnum RevealerTransitionType Source # 
Instance details

Defined in GI.Gtk.Enums

ScrollStep

data ScrollStep Source #

No description available in the introspection data.

Constructors

ScrollStepSteps

Scroll in steps.

ScrollStepPages

Scroll by pages.

ScrollStepEnds

Scroll to ends.

ScrollStepHorizontalSteps

Scroll in horizontal steps.

ScrollStepHorizontalPages

Scroll by horizontal pages.

ScrollStepHorizontalEnds

Scroll to the horizontal ends.

AnotherScrollStep Int

Catch-all for unknown values

ScrollType

data ScrollType Source #

Scrolling types.

Constructors

ScrollTypeNone

No scrolling.

ScrollTypeJump

Jump to new location.

ScrollTypeStepBackward

Step backward.

ScrollTypeStepForward

Step forward.

ScrollTypePageBackward

Page backward.

ScrollTypePageForward

Page forward.

ScrollTypeStepUp

Step up.

ScrollTypeStepDown

Step down.

ScrollTypePageUp

Page up.

ScrollTypePageDown

Page down.

ScrollTypeStepLeft

Step to the left.

ScrollTypeStepRight

Step to the right.

ScrollTypePageLeft

Page to the left.

ScrollTypePageRight

Page to the right.

ScrollTypeStart

Scroll to start.

ScrollTypeEnd

Scroll to end.

AnotherScrollType Int

Catch-all for unknown values

ScrollablePolicy

data ScrollablePolicy Source #

Defines the policy to be used in a scrollable widget when updating the scrolled window adjustments in a given orientation.

Constructors

ScrollablePolicyMinimum

Scrollable adjustments are based on the minimum size

ScrollablePolicyNatural

Scrollable adjustments are based on the natural size

AnotherScrollablePolicy Int

Catch-all for unknown values

Instances
Enum ScrollablePolicy Source # 
Instance details

Defined in GI.Gtk.Enums

Eq ScrollablePolicy Source # 
Instance details

Defined in GI.Gtk.Enums

Ord ScrollablePolicy Source # 
Instance details

Defined in GI.Gtk.Enums

Show ScrollablePolicy Source # 
Instance details

Defined in GI.Gtk.Enums

BoxedEnum ScrollablePolicy Source # 
Instance details

Defined in GI.Gtk.Enums

SelectionMode

data SelectionMode Source #

Used to control what selections users are allowed to make.

Constructors

SelectionModeNone

No selection is possible.

SelectionModeSingle

Zero or one element may be selected.

SelectionModeBrowse

Exactly one element is selected. In some circumstances, such as initially or during a search operation, it’s possible for no element to be selected with SelectionModeBrowse. What is really enforced is that the user can’t deselect a currently selected element except by selecting another element.

SelectionModeMultiple

Any number of elements may be selected. The Ctrl key may be used to enlarge the selection, and Shift key to select between the focus and the child pointed to. Some widgets may also allow Click-drag to select a range of elements.

AnotherSelectionMode Int

Catch-all for unknown values

SensitivityType

data SensitivityType Source #

Determines how GTK+ handles the sensitivity of stepper arrows at the end of range widgets.

Constructors

SensitivityTypeAuto

The arrow is made insensitive if the thumb is at the end

SensitivityTypeOn

The arrow is always sensitive

SensitivityTypeOff

The arrow is always insensitive

AnotherSensitivityType Int

Catch-all for unknown values

Instances
Enum SensitivityType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq SensitivityType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord SensitivityType Source # 
Instance details

Defined in GI.Gtk.Enums

Show SensitivityType Source # 
Instance details

Defined in GI.Gtk.Enums

BoxedEnum SensitivityType Source # 
Instance details

Defined in GI.Gtk.Enums

ShadowType

data ShadowType Source #

Used to change the appearance of an outline typically provided by a Frame.

Note that many themes do not differentiate the appearance of the various shadow types: Either their is no visible shadow (gTKSHADOWNONE), or there is (any other value).

Constructors

ShadowTypeNone

No outline.

ShadowTypeIn

The outline is bevelled inwards.

ShadowTypeOut

The outline is bevelled outwards like a button.

ShadowTypeEtchedIn

The outline has a sunken 3d appearance.

ShadowTypeEtchedOut

The outline has a raised 3d appearance.

AnotherShadowType Int

Catch-all for unknown values

ShortcutType

data ShortcutType Source #

GtkShortcutType specifies the kind of shortcut that is being described. More values may be added to this enumeration over time.

Since: 3.20

Constructors

ShortcutTypeAccelerator

The shortcut is a keyboard accelerator. The ShortcutsShortcut:accelerator property will be used.

ShortcutTypeGesturePinch

The shortcut is a pinch gesture. GTK+ provides an icon and subtitle.

ShortcutTypeGestureStretch

The shortcut is a stretch gesture. GTK+ provides an icon and subtitle.

ShortcutTypeGestureRotateClockwise

The shortcut is a clockwise rotation gesture. GTK+ provides an icon and subtitle.

ShortcutTypeGestureRotateCounterclockwise

The shortcut is a counterclockwise rotation gesture. GTK+ provides an icon and subtitle.

ShortcutTypeGestureTwoFingerSwipeLeft

The shortcut is a two-finger swipe gesture. GTK+ provides an icon and subtitle.

ShortcutTypeGestureTwoFingerSwipeRight

The shortcut is a two-finger swipe gesture. GTK+ provides an icon and subtitle.

ShortcutTypeGesture

The shortcut is a gesture. The ShortcutsShortcut:icon property will be used.

AnotherShortcutType Int

Catch-all for unknown values

SizeGroupMode

data SizeGroupMode Source #

The mode of the size group determines the directions in which the size group affects the requested sizes of its component widgets.

Constructors

SizeGroupModeNone

group has no effect

SizeGroupModeHorizontal

group affects horizontal requisition

SizeGroupModeVertical

group affects vertical requisition

SizeGroupModeBoth

group affects both horizontal and vertical requisition

AnotherSizeGroupMode Int

Catch-all for unknown values

SizeRequestMode

data SizeRequestMode Source #

Specifies a preference for height-for-width or width-for-height geometry management.

Constructors

SizeRequestModeHeightForWidth

Prefer height-for-width geometry management

SizeRequestModeWidthForHeight

Prefer width-for-height geometry management

SizeRequestModeConstantSize

Don’t trade height-for-width or width-for-height

AnotherSizeRequestMode Int

Catch-all for unknown values

Instances
Enum SizeRequestMode Source # 
Instance details

Defined in GI.Gtk.Enums

Eq SizeRequestMode Source # 
Instance details

Defined in GI.Gtk.Enums

Ord SizeRequestMode Source # 
Instance details

Defined in GI.Gtk.Enums

Show SizeRequestMode Source # 
Instance details

Defined in GI.Gtk.Enums

BoxedEnum SizeRequestMode Source # 
Instance details

Defined in GI.Gtk.Enums

SortType

data SortType Source #

Determines the direction of a sort.

Constructors

SortTypeAscending

Sorting is in ascending order.

SortTypeDescending

Sorting is in descending order.

AnotherSortType Int

Catch-all for unknown values

SpinButtonUpdatePolicy

data SpinButtonUpdatePolicy Source #

The spin button update policy determines whether the spin button displays values even if they are outside the bounds of its adjustment. See spinButtonSetUpdatePolicy.

Constructors

SpinButtonUpdatePolicyAlways

When refreshing your SpinButton, the value is always displayed

SpinButtonUpdatePolicyIfValid

When refreshing your SpinButton, the value is only displayed if it is valid within the bounds of the spin button's adjustment

AnotherSpinButtonUpdatePolicy Int

Catch-all for unknown values

Instances
Enum SpinButtonUpdatePolicy Source # 
Instance details

Defined in GI.Gtk.Enums

Eq SpinButtonUpdatePolicy Source # 
Instance details

Defined in GI.Gtk.Enums

Ord SpinButtonUpdatePolicy Source # 
Instance details

Defined in GI.Gtk.Enums

Show SpinButtonUpdatePolicy Source # 
Instance details

Defined in GI.Gtk.Enums

BoxedEnum SpinButtonUpdatePolicy Source # 
Instance details

Defined in GI.Gtk.Enums

SpinType

data SpinType Source #

The values of the GtkSpinType enumeration are used to specify the change to make in spinButtonSpin.

Constructors

SpinTypeStepForward

Increment by the adjustments step increment.

SpinTypeStepBackward

Decrement by the adjustments step increment.

SpinTypePageForward

Increment by the adjustments page increment.

SpinTypePageBackward

Decrement by the adjustments page increment.

SpinTypeHome

Go to the adjustments lower bound.

SpinTypeEnd

Go to the adjustments upper bound.

SpinTypeUserDefined

Change by a specified amount.

AnotherSpinType Int

Catch-all for unknown values

StackTransitionType

data StackTransitionType Source #

These enumeration values describe the possible transitions between pages in a Stack widget.

New values may be added to this enumeration over time.

Constructors

StackTransitionTypeNone

No transition

StackTransitionTypeCrossfade

A cross-fade

StackTransitionTypeSlideRight

Slide from left to right

StackTransitionTypeSlideLeft

Slide from right to left

StackTransitionTypeSlideUp

Slide from bottom up

StackTransitionTypeSlideDown

Slide from top down

StackTransitionTypeSlideLeftRight

Slide from left or right according to the children order

StackTransitionTypeSlideUpDown

Slide from top down or bottom up according to the order

StackTransitionTypeOverUp

Cover the old page by sliding up. Since 3.12

StackTransitionTypeOverDown

Cover the old page by sliding down. Since: 3.12

StackTransitionTypeOverLeft

Cover the old page by sliding to the left. Since: 3.12

StackTransitionTypeOverRight

Cover the old page by sliding to the right. Since: 3.12

StackTransitionTypeUnderUp

Uncover the new page by sliding up. Since 3.12

StackTransitionTypeUnderDown

Uncover the new page by sliding down. Since: 3.12

StackTransitionTypeUnderLeft

Uncover the new page by sliding to the left. Since: 3.12

StackTransitionTypeUnderRight

Uncover the new page by sliding to the right. Since: 3.12

StackTransitionTypeOverUpDown

Cover the old page sliding up or uncover the new page sliding down, according to order. Since: 3.12

StackTransitionTypeOverDownUp

Cover the old page sliding down or uncover the new page sliding up, according to order. Since: 3.14

StackTransitionTypeOverLeftRight

Cover the old page sliding left or uncover the new page sliding right, according to order. Since: 3.14

StackTransitionTypeOverRightLeft

Cover the old page sliding right or uncover the new page sliding left, according to order. Since: 3.14

AnotherStackTransitionType Int

Catch-all for unknown values

Instances
Enum StackTransitionType Source # 
Instance details

Defined in GI.Gtk.Enums

Eq StackTransitionType Source # 
Instance details

Defined in GI.Gtk.Enums

Ord StackTransitionType Source # 
Instance details

Defined in GI.Gtk.Enums

Show StackTransitionType Source # 
Instance details

Defined in GI.Gtk.Enums

BoxedEnum StackTransitionType Source # 
Instance details

Defined in GI.Gtk.Enums

StateType

data StateType Source #

Deprecated: (Since version 3.14)All APIs that are using this enumeration have been deprecated in favor of alternatives using StateFlags.

This type indicates the current state of a widget; the state determines how the widget is drawn. The StateType enumeration is also used to identify different colors in a Style for drawing, so states can be used for subparts of a widget as well as entire widgets.

Constructors

StateTypeNormal

State during normal operation.

StateTypeActive

State of a currently active widget, such as a depressed button.

StateTypePrelight

State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks.

StateTypeSelected

State of a selected item, such the selected row in a list.

StateTypeInsensitive

State indicating that the widget is unresponsive to user actions.

StateTypeInconsistent

The widget is inconsistent, such as checkbuttons or radiobuttons that aren’t either set to True nor False, or buttons requiring the user attention.

StateTypeFocused

The widget has the keyboard focus.

AnotherStateType Int

Catch-all for unknown values

TextBufferTargetInfo

data TextBufferTargetInfo Source #

These values are used as “info” for the targets contained in the lists returned by textBufferGetCopyTargetList and textBufferGetPasteTargetList.

The values counts down from -1 to avoid clashes with application added drag destinations which usually start at 0.

Instances
Enum TextBufferTargetInfo Source # 
Instance details

Defined in GI.Gtk.Enums

Eq TextBufferTargetInfo Source # 
Instance details

Defined in GI.Gtk.Enums

Ord TextBufferTargetInfo Source # 
Instance details

Defined in GI.Gtk.Enums

Show TextBufferTargetInfo Source # 
Instance details

Defined in GI.Gtk.Enums

BoxedEnum TextBufferTargetInfo Source # 
Instance details

Defined in GI.Gtk.Enums

TextDirection

data TextDirection Source #

Reading directions for text.

Constructors

TextDirectionNone

No direction.

TextDirectionLtr

Left to right text direction.

TextDirectionRtl

Right to left text direction.

AnotherTextDirection Int

Catch-all for unknown values

TextExtendSelection

data TextExtendSelection Source #

Granularity types that extend the text selection. Use the TextView::extend-selection signal to customize the selection.

Since: 3.16

Constructors

TextExtendSelectionWord

Selects the current word. It is triggered by a double-click for example.

TextExtendSelectionLine

Selects the current line. It is triggered by a triple-click for example.

AnotherTextExtendSelection Int

Catch-all for unknown values

Instances
Enum TextExtendSelection Source # 
Instance details

Defined in GI.Gtk.Enums

Eq TextExtendSelection Source # 
Instance details

Defined in GI.Gtk.Enums

Ord TextExtendSelection Source # 
Instance details

Defined in GI.Gtk.Enums

Show TextExtendSelection Source # 
Instance details

Defined in GI.Gtk.Enums

BoxedEnum TextExtendSelection Source # 
Instance details

Defined in GI.Gtk.Enums

TextViewLayer

data TextViewLayer Source #

Used to reference the layers of TextView for the purpose of customized drawing with the ::draw_layer vfunc.

Constructors

TextViewLayerBelow

Old deprecated layer, use TextViewLayerBelowText instead

TextViewLayerAbove

Old deprecated layer, use TextViewLayerAboveText instead

TextViewLayerBelowText

The layer rendered below the text (but above the background). Since: 3.20

TextViewLayerAboveText

The layer rendered above the text. Since: 3.20

AnotherTextViewLayer Int

Catch-all for unknown values

TextWindowType

data TextWindowType Source #

Used to reference the parts of TextView.

Constructors

TextWindowTypePrivate

Invalid value, used as a marker

TextWindowTypeWidget

Window that floats over scrolling areas.

TextWindowTypeText

Scrollable text window.

TextWindowTypeLeft

Left side border window.

TextWindowTypeRight

Right side border window.

TextWindowTypeTop

Top border window.

TextWindowTypeBottom

Bottom border window.

AnotherTextWindowType Int

Catch-all for unknown values

ToolbarSpaceStyle

data ToolbarSpaceStyle Source #

Deprecated: (Since version 3.20)

Whether spacers are vertical lines or just blank.

Constructors

ToolbarSpaceStyleEmpty

Use blank spacers.

ToolbarSpaceStyleLine

Use vertical lines for spacers.

AnotherToolbarSpaceStyle Int

Catch-all for unknown values

Instances
Enum ToolbarSpaceStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Eq ToolbarSpaceStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Ord ToolbarSpaceStyle Source # 
Instance details

Defined in GI.Gtk.Enums

Show ToolbarSpaceStyle Source # 
Instance details

Defined in GI.Gtk.Enums

BoxedEnum ToolbarSpaceStyle Source # 
Instance details

Defined in GI.Gtk.Enums

ToolbarStyle

data ToolbarStyle Source #

Used to customize the appearance of a Toolbar. Note that setting the toolbar style overrides the user’s preferences for the default toolbar style. Note that if the button has only a label set and GTK_TOOLBAR_ICONS is used, the label will be visible, and vice versa.

Constructors

ToolbarStyleIcons

Buttons display only icons in the toolbar.

ToolbarStyleText

Buttons display only text labels in the toolbar.

ToolbarStyleBoth

Buttons display text and icons in the toolbar.

ToolbarStyleBothHoriz

Buttons display icons and text alongside each other, rather than vertically stacked

AnotherToolbarStyle Int

Catch-all for unknown values

TreeViewColumnSizing

data TreeViewColumnSizing Source #

The sizing method the column uses to determine its width. Please note that gTKTREEVIEWCOLUMNAUTOSIZE are inefficient for large views, and can make columns appear choppy.

Constructors

TreeViewColumnSizingGrowOnly

Columns only get bigger in reaction to changes in the model

TreeViewColumnSizingAutosize

Columns resize to be the optimal size everytime the model changes.

TreeViewColumnSizingFixed

Columns are a fixed numbers of pixels wide.

AnotherTreeViewColumnSizing Int

Catch-all for unknown values

Instances
Enum TreeViewColumnSizing Source # 
Instance details

Defined in GI.Gtk.Enums

Eq TreeViewColumnSizing Source # 
Instance details

Defined in GI.Gtk.Enums

Ord TreeViewColumnSizing Source # 
Instance details

Defined in GI.Gtk.Enums

Show TreeViewColumnSizing Source # 
Instance details

Defined in GI.Gtk.Enums

BoxedEnum TreeViewColumnSizing Source # 
Instance details

Defined in GI.Gtk.Enums

TreeViewDropPosition

data TreeViewDropPosition Source #

An enum for determining where a dropped row goes.

Constructors

TreeViewDropPositionBefore

dropped row is inserted before

TreeViewDropPositionAfter

dropped row is inserted after

TreeViewDropPositionIntoOrBefore

dropped row becomes a child or is inserted before

TreeViewDropPositionIntoOrAfter

dropped row becomes a child or is inserted after

AnotherTreeViewDropPosition Int

Catch-all for unknown values

Instances
Enum TreeViewDropPosition Source # 
Instance details

Defined in GI.Gtk.Enums

Eq TreeViewDropPosition Source # 
Instance details

Defined in GI.Gtk.Enums

Ord TreeViewDropPosition Source # 
Instance details

Defined in GI.Gtk.Enums

Show TreeViewDropPosition Source # 
Instance details

Defined in GI.Gtk.Enums

BoxedEnum TreeViewDropPosition Source # 
Instance details

Defined in GI.Gtk.Enums

TreeViewGridLines

data TreeViewGridLines Source #

Used to indicate which grid lines to draw in a tree view.

Constructors

TreeViewGridLinesNone

No grid lines.

TreeViewGridLinesHorizontal

Horizontal grid lines.

TreeViewGridLinesVertical

Vertical grid lines.

TreeViewGridLinesBoth

Horizontal and vertical grid lines.

AnotherTreeViewGridLines Int

Catch-all for unknown values

Instances
Enum TreeViewGridLines Source # 
Instance details

Defined in GI.Gtk.Enums

Eq TreeViewGridLines Source # 
Instance details

Defined in GI.Gtk.Enums

Ord TreeViewGridLines Source # 
Instance details

Defined in GI.Gtk.Enums

Show TreeViewGridLines Source # 
Instance details

Defined in GI.Gtk.Enums

BoxedEnum TreeViewGridLines Source # 
Instance details

Defined in GI.Gtk.Enums

Unit

data Unit Source #

Constructors

UnitNone

No units.

UnitPoints

Dimensions in points.

UnitInch

Dimensions in inches.

UnitMm

Dimensions in millimeters

AnotherUnit Int

Catch-all for unknown values

Instances
Enum Unit Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

succ :: Unit -> Unit #

pred :: Unit -> Unit #

toEnum :: Int -> Unit #

fromEnum :: Unit -> Int #

enumFrom :: Unit -> [Unit] #

enumFromThen :: Unit -> Unit -> [Unit] #

enumFromTo :: Unit -> Unit -> [Unit] #

enumFromThenTo :: Unit -> Unit -> Unit -> [Unit] #

Eq Unit Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

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

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

Ord Unit Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

compare :: Unit -> Unit -> Ordering #

(<) :: Unit -> Unit -> Bool #

(<=) :: Unit -> Unit -> Bool #

(>) :: Unit -> Unit -> Bool #

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

max :: Unit -> Unit -> Unit #

min :: Unit -> Unit -> Unit #

Show Unit Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

showsPrec :: Int -> Unit -> ShowS #

show :: Unit -> String #

showList :: [Unit] -> ShowS #

BoxedEnum Unit Source # 
Instance details

Defined in GI.Gtk.Enums

Methods

boxedEnumType :: Unit -> IO GType #

WidgetHelpType

data WidgetHelpType Source #

Kinds of widget-specific help. Used by the ::show-help signal.

Constructors

WidgetHelpTypeTooltip

Tooltip.

WidgetHelpTypeWhatsThis

What’s this.

AnotherWidgetHelpType Int

Catch-all for unknown values

WindowPosition

data WindowPosition Source #

Window placement can be influenced using this enumeration. Note that using GTK_WIN_POS_CENTER_ALWAYS is almost always a bad idea. It won’t necessarily work well with all window managers or on all windowing systems.

Constructors

WindowPositionNone

No influence is made on placement.

WindowPositionCenter

Windows should be placed in the center of the screen.

WindowPositionMouse

Windows should be placed at the current mouse position.

WindowPositionCenterAlways

Keep window centered as it changes size, etc.

WindowPositionCenterOnParent

Center the window on its transient parent (see windowSetTransientFor).

AnotherWindowPosition Int

Catch-all for unknown values

WindowType

data WindowType Source #

A Window can be one of these types. Most things you’d consider a “window” should have type GTK_WINDOW_TOPLEVEL; windows with this type are managed by the window manager and have a frame by default (call windowSetDecorated to toggle the frame). Windows with type GTK_WINDOW_POPUP are ignored by the window manager; window manager keybindings won’t work on them, the window manager won’t decorate the window with a frame, many GTK+ features that rely on the window manager will not work (e.g. resize grips and maximization/minimization). GTK_WINDOW_POPUP is used to implement widgets such as Menu or tooltips that you normally don’t think of as windows per se. Nearly all windows should be GTK_WINDOW_TOPLEVEL. In particular, do not use GTK_WINDOW_POPUP just to turn off the window borders; use windowSetDecorated for that.

Constructors

WindowTypeToplevel

A regular window, such as a dialog.

WindowTypePopup

A special window such as a tooltip.

AnotherWindowType Int

Catch-all for unknown values

WrapMode

data WrapMode Source #

Describes a type of line wrapping.

Constructors

WrapModeNone

do not wrap lines; just make the text area wider

WrapModeChar

wrap text, breaking lines anywhere the cursor can appear (between characters, usually - if you want to be technical, between graphemes, see getLogAttrs)

WrapModeWord

wrap text, breaking lines in between words

WrapModeWordChar

wrap text, breaking lines in between words, or if that is not enough, also between graphemes

AnotherWrapMode Int

Catch-all for unknown values