gi-vte-2.91.19: Vte bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Vte.Enums

Contents

Description

 
Synopsis

Enumerations

CursorBlinkMode

data CursorBlinkMode Source #

An enumerated type which can be used to indicate the cursor blink mode for the terminal.

Constructors

CursorBlinkModeSystem

Follow GTK+ settings for cursor blinking.

CursorBlinkModeOn

Cursor blinks.

CursorBlinkModeOff

Cursor does not blink.

AnotherCursorBlinkMode Int

Catch-all for unknown values

Instances
Enum CursorBlinkMode Source # 
Instance details

Defined in GI.Vte.Enums

Eq CursorBlinkMode Source # 
Instance details

Defined in GI.Vte.Enums

Ord CursorBlinkMode Source # 
Instance details

Defined in GI.Vte.Enums

Show CursorBlinkMode Source # 
Instance details

Defined in GI.Vte.Enums

BoxedEnum CursorBlinkMode Source # 
Instance details

Defined in GI.Vte.Enums

CursorShape

data CursorShape Source #

An enumerated type which can be used to indicate what should the terminal draw at the cursor position.

Constructors

CursorShapeBlock

Draw a block cursor. This is the default.

CursorShapeIbeam

Draw a vertical bar on the left side of character. This is similar to the default cursor for other GTK+ widgets.

CursorShapeUnderline

Draw a horizontal bar below the character.

AnotherCursorShape Int

Catch-all for unknown values

EraseBinding

data EraseBinding Source #

An enumerated type which can be used to indicate which string the terminal should send to an application when the user presses the Delete or Backspace keys.

Constructors

EraseBindingAuto

For backspace, attempt to determine the right value from the terminal's IO settings. For delete, use the control sequence.

EraseBindingAsciiBackspace

Send an ASCII backspace character (0x08).

EraseBindingAsciiDelete

Send an ASCII delete character (0x7F).

EraseBindingDeleteSequence

Send the "@7" control sequence.

EraseBindingTty

Send terminal's "erase" setting.

AnotherEraseBinding Int

Catch-all for unknown values

Format

data Format Source #

An enumeratio type that can be used to specify the format the selection should be copied to the clipboard in.

Since: 0.50

Constructors

FormatText

Export as plain text

FormatHtml

Export as HTML formatted text

AnotherFormat Int

Catch-all for unknown values

Instances
Enum Format Source # 
Instance details

Defined in GI.Vte.Enums

Eq Format Source # 
Instance details

Defined in GI.Vte.Enums

Methods

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

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

Ord Format Source # 
Instance details

Defined in GI.Vte.Enums

Show Format Source # 
Instance details

Defined in GI.Vte.Enums

BoxedEnum Format Source # 
Instance details

Defined in GI.Vte.Enums

PtyError

data PtyError Source #

No description available in the introspection data.

Constructors

PtyErrorPtyHelperFailed

Obsolete. Deprecated: 0.42

PtyErrorPty98Failed

failure when using PTY98 to allocate the PTY

AnotherPtyError Int

Catch-all for unknown values

catchPtyError :: IO a -> (PtyError -> GErrorMessage -> IO a) -> IO a Source #

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

handlePtyError :: (PtyError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

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

RegexError

data RegexError Source #

An enum type for regex errors. In addition to the values listed above, any PCRE2 error values may occur.

Since: 0.46

Constructors

RegexErrorIncompatible

The PCRE2 library was built without Unicode support which is required for VTE

RegexErrorNotSupported

Regexes are not supported because VTE was built without PCRE2 support

AnotherRegexError Int

Catch-all for unknown values

catchRegexError :: IO a -> (RegexError -> GErrorMessage -> IO a) -> IO a Source #

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

handleRegexError :: (RegexError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

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

TextBlinkMode

data TextBlinkMode Source #

An enumerated type which can be used to indicate whether the terminal allows the text contents to be blinked.

Since: 0.52

Constructors

TextBlinkModeNever

Do not blink the text.

TextBlinkModeFocused

Allow blinking text only if the terminal is focused.

TextBlinkModeUnfocused

Allow blinking text only if the terminal is unfocused.

TextBlinkModeAlways

Allow blinking text. This is the default.

AnotherTextBlinkMode Int

Catch-all for unknown values

WriteFlags

data WriteFlags Source #

A flag type to determine how terminal contents should be written to an output stream.

Constructors

WriteFlagsDefault

Write contents as UTF-8 text. This is the default.

AnotherWriteFlags Int

Catch-all for unknown values