#define ENABLE_OVERLOADING (MIN_VERSION_haskell_gi_overloading(1,0,0) \
&& !defined(__HADDOCK_VERSION__))
module GI.Vte.Objects.Terminal
(
#if ENABLE_OVERLOADING
TerminalGetTextMethodInfo ,
#endif
#if ENABLE_OVERLOADING
TerminalGetTextIncludeTrailingSpacesMethodInfo,
#endif
#if ENABLE_OVERLOADING
TerminalGetTextRangeMethodInfo ,
#endif
Terminal(..) ,
IsTerminal ,
toTerminal ,
noTerminal ,
#if ENABLE_OVERLOADING
TerminalCopyClipboardMethodInfo ,
#endif
terminalCopyClipboard ,
#if ENABLE_OVERLOADING
TerminalCopyClipboardFormatMethodInfo ,
#endif
terminalCopyClipboardFormat ,
#if ENABLE_OVERLOADING
TerminalCopyPrimaryMethodInfo ,
#endif
terminalCopyPrimary ,
#if ENABLE_OVERLOADING
TerminalFeedMethodInfo ,
#endif
terminalFeed ,
#if ENABLE_OVERLOADING
TerminalFeedChildMethodInfo ,
#endif
terminalFeedChild ,
#if ENABLE_OVERLOADING
TerminalFeedChildBinaryMethodInfo ,
#endif
terminalFeedChildBinary ,
#if ENABLE_OVERLOADING
TerminalGetAllowBoldMethodInfo ,
#endif
terminalGetAllowBold ,
#if ENABLE_OVERLOADING
TerminalGetAllowHyperlinkMethodInfo ,
#endif
terminalGetAllowHyperlink ,
#if ENABLE_OVERLOADING
TerminalGetAudibleBellMethodInfo ,
#endif
terminalGetAudibleBell ,
#if ENABLE_OVERLOADING
TerminalGetBoldIsBrightMethodInfo ,
#endif
terminalGetBoldIsBright ,
#if ENABLE_OVERLOADING
TerminalGetCellHeightScaleMethodInfo ,
#endif
terminalGetCellHeightScale ,
#if ENABLE_OVERLOADING
TerminalGetCellWidthScaleMethodInfo ,
#endif
terminalGetCellWidthScale ,
#if ENABLE_OVERLOADING
TerminalGetCharHeightMethodInfo ,
#endif
terminalGetCharHeight ,
#if ENABLE_OVERLOADING
TerminalGetCharWidthMethodInfo ,
#endif
terminalGetCharWidth ,
#if ENABLE_OVERLOADING
TerminalGetCjkAmbiguousWidthMethodInfo ,
#endif
terminalGetCjkAmbiguousWidth ,
#if ENABLE_OVERLOADING
TerminalGetColumnCountMethodInfo ,
#endif
terminalGetColumnCount ,
#if ENABLE_OVERLOADING
TerminalGetCurrentDirectoryUriMethodInfo,
#endif
terminalGetCurrentDirectoryUri ,
#if ENABLE_OVERLOADING
TerminalGetCurrentFileUriMethodInfo ,
#endif
terminalGetCurrentFileUri ,
#if ENABLE_OVERLOADING
TerminalGetCursorBlinkModeMethodInfo ,
#endif
terminalGetCursorBlinkMode ,
#if ENABLE_OVERLOADING
TerminalGetCursorPositionMethodInfo ,
#endif
terminalGetCursorPosition ,
#if ENABLE_OVERLOADING
TerminalGetCursorShapeMethodInfo ,
#endif
terminalGetCursorShape ,
#if ENABLE_OVERLOADING
TerminalGetEncodingMethodInfo ,
#endif
terminalGetEncoding ,
#if ENABLE_OVERLOADING
TerminalGetFontMethodInfo ,
#endif
terminalGetFont ,
#if ENABLE_OVERLOADING
TerminalGetFontScaleMethodInfo ,
#endif
terminalGetFontScale ,
#if ENABLE_OVERLOADING
TerminalGetGeometryHintsMethodInfo ,
#endif
terminalGetGeometryHints ,
#if ENABLE_OVERLOADING
TerminalGetHasSelectionMethodInfo ,
#endif
terminalGetHasSelection ,
#if ENABLE_OVERLOADING
TerminalGetIconTitleMethodInfo ,
#endif
terminalGetIconTitle ,
#if ENABLE_OVERLOADING
TerminalGetInputEnabledMethodInfo ,
#endif
terminalGetInputEnabled ,
#if ENABLE_OVERLOADING
TerminalGetMouseAutohideMethodInfo ,
#endif
terminalGetMouseAutohide ,
#if ENABLE_OVERLOADING
TerminalGetPtyMethodInfo ,
#endif
terminalGetPty ,
#if ENABLE_OVERLOADING
TerminalGetRewrapOnResizeMethodInfo ,
#endif
terminalGetRewrapOnResize ,
#if ENABLE_OVERLOADING
TerminalGetRowCountMethodInfo ,
#endif
terminalGetRowCount ,
#if ENABLE_OVERLOADING
TerminalGetScrollOnKeystrokeMethodInfo ,
#endif
terminalGetScrollOnKeystroke ,
#if ENABLE_OVERLOADING
TerminalGetScrollOnOutputMethodInfo ,
#endif
terminalGetScrollOnOutput ,
#if ENABLE_OVERLOADING
TerminalGetScrollbackLinesMethodInfo ,
#endif
terminalGetScrollbackLines ,
#if ENABLE_OVERLOADING
TerminalGetTextBlinkModeMethodInfo ,
#endif
terminalGetTextBlinkMode ,
#if ENABLE_OVERLOADING
TerminalGetWindowTitleMethodInfo ,
#endif
terminalGetWindowTitle ,
#if ENABLE_OVERLOADING
TerminalGetWordCharExceptionsMethodInfo ,
#endif
terminalGetWordCharExceptions ,
#if ENABLE_OVERLOADING
TerminalHyperlinkCheckEventMethodInfo ,
#endif
terminalHyperlinkCheckEvent ,
#if ENABLE_OVERLOADING
TerminalMatchAddGregexMethodInfo ,
#endif
terminalMatchAddGregex ,
#if ENABLE_OVERLOADING
TerminalMatchAddRegexMethodInfo ,
#endif
terminalMatchAddRegex ,
#if ENABLE_OVERLOADING
TerminalMatchCheckMethodInfo ,
#endif
terminalMatchCheck ,
#if ENABLE_OVERLOADING
TerminalMatchCheckEventMethodInfo ,
#endif
terminalMatchCheckEvent ,
#if ENABLE_OVERLOADING
TerminalMatchRemoveMethodInfo ,
#endif
terminalMatchRemove ,
#if ENABLE_OVERLOADING
TerminalMatchRemoveAllMethodInfo ,
#endif
terminalMatchRemoveAll ,
#if ENABLE_OVERLOADING
TerminalMatchSetCursorMethodInfo ,
#endif
terminalMatchSetCursor ,
#if ENABLE_OVERLOADING
TerminalMatchSetCursorNameMethodInfo ,
#endif
terminalMatchSetCursorName ,
#if ENABLE_OVERLOADING
TerminalMatchSetCursorTypeMethodInfo ,
#endif
terminalMatchSetCursorType ,
terminalNew ,
#if ENABLE_OVERLOADING
TerminalPasteClipboardMethodInfo ,
#endif
terminalPasteClipboard ,
#if ENABLE_OVERLOADING
TerminalPastePrimaryMethodInfo ,
#endif
terminalPastePrimary ,
#if ENABLE_OVERLOADING
TerminalPtyNewSyncMethodInfo ,
#endif
terminalPtyNewSync ,
#if ENABLE_OVERLOADING
TerminalResetMethodInfo ,
#endif
terminalReset ,
#if ENABLE_OVERLOADING
TerminalSearchFindNextMethodInfo ,
#endif
terminalSearchFindNext ,
#if ENABLE_OVERLOADING
TerminalSearchFindPreviousMethodInfo ,
#endif
terminalSearchFindPrevious ,
#if ENABLE_OVERLOADING
TerminalSearchGetGregexMethodInfo ,
#endif
terminalSearchGetGregex ,
#if ENABLE_OVERLOADING
TerminalSearchGetRegexMethodInfo ,
#endif
terminalSearchGetRegex ,
#if ENABLE_OVERLOADING
TerminalSearchGetWrapAroundMethodInfo ,
#endif
terminalSearchGetWrapAround ,
#if ENABLE_OVERLOADING
TerminalSearchSetGregexMethodInfo ,
#endif
terminalSearchSetGregex ,
#if ENABLE_OVERLOADING
TerminalSearchSetRegexMethodInfo ,
#endif
terminalSearchSetRegex ,
#if ENABLE_OVERLOADING
TerminalSearchSetWrapAroundMethodInfo ,
#endif
terminalSearchSetWrapAround ,
#if ENABLE_OVERLOADING
TerminalSelectAllMethodInfo ,
#endif
terminalSelectAll ,
#if ENABLE_OVERLOADING
TerminalSetAllowBoldMethodInfo ,
#endif
terminalSetAllowBold ,
#if ENABLE_OVERLOADING
TerminalSetAllowHyperlinkMethodInfo ,
#endif
terminalSetAllowHyperlink ,
#if ENABLE_OVERLOADING
TerminalSetAudibleBellMethodInfo ,
#endif
terminalSetAudibleBell ,
#if ENABLE_OVERLOADING
TerminalSetBackspaceBindingMethodInfo ,
#endif
terminalSetBackspaceBinding ,
#if ENABLE_OVERLOADING
TerminalSetBoldIsBrightMethodInfo ,
#endif
terminalSetBoldIsBright ,
#if ENABLE_OVERLOADING
TerminalSetCellHeightScaleMethodInfo ,
#endif
terminalSetCellHeightScale ,
#if ENABLE_OVERLOADING
TerminalSetCellWidthScaleMethodInfo ,
#endif
terminalSetCellWidthScale ,
#if ENABLE_OVERLOADING
TerminalSetCjkAmbiguousWidthMethodInfo ,
#endif
terminalSetCjkAmbiguousWidth ,
#if ENABLE_OVERLOADING
TerminalSetClearBackgroundMethodInfo ,
#endif
terminalSetClearBackground ,
#if ENABLE_OVERLOADING
TerminalSetColorBackgroundMethodInfo ,
#endif
terminalSetColorBackground ,
#if ENABLE_OVERLOADING
TerminalSetColorBoldMethodInfo ,
#endif
terminalSetColorBold ,
#if ENABLE_OVERLOADING
TerminalSetColorCursorMethodInfo ,
#endif
terminalSetColorCursor ,
#if ENABLE_OVERLOADING
TerminalSetColorCursorForegroundMethodInfo,
#endif
terminalSetColorCursorForeground ,
#if ENABLE_OVERLOADING
TerminalSetColorForegroundMethodInfo ,
#endif
terminalSetColorForeground ,
#if ENABLE_OVERLOADING
TerminalSetColorHighlightMethodInfo ,
#endif
terminalSetColorHighlight ,
#if ENABLE_OVERLOADING
TerminalSetColorHighlightForegroundMethodInfo,
#endif
terminalSetColorHighlightForeground ,
#if ENABLE_OVERLOADING
TerminalSetColorsMethodInfo ,
#endif
terminalSetColors ,
#if ENABLE_OVERLOADING
TerminalSetCursorBlinkModeMethodInfo ,
#endif
terminalSetCursorBlinkMode ,
#if ENABLE_OVERLOADING
TerminalSetCursorShapeMethodInfo ,
#endif
terminalSetCursorShape ,
#if ENABLE_OVERLOADING
TerminalSetDefaultColorsMethodInfo ,
#endif
terminalSetDefaultColors ,
#if ENABLE_OVERLOADING
TerminalSetDeleteBindingMethodInfo ,
#endif
terminalSetDeleteBinding ,
#if ENABLE_OVERLOADING
TerminalSetEncodingMethodInfo ,
#endif
terminalSetEncoding ,
#if ENABLE_OVERLOADING
TerminalSetFontMethodInfo ,
#endif
terminalSetFont ,
#if ENABLE_OVERLOADING
TerminalSetFontScaleMethodInfo ,
#endif
terminalSetFontScale ,
#if ENABLE_OVERLOADING
TerminalSetGeometryHintsForWindowMethodInfo,
#endif
terminalSetGeometryHintsForWindow ,
#if ENABLE_OVERLOADING
TerminalSetInputEnabledMethodInfo ,
#endif
terminalSetInputEnabled ,
#if ENABLE_OVERLOADING
TerminalSetMouseAutohideMethodInfo ,
#endif
terminalSetMouseAutohide ,
#if ENABLE_OVERLOADING
TerminalSetPtyMethodInfo ,
#endif
terminalSetPty ,
#if ENABLE_OVERLOADING
TerminalSetRewrapOnResizeMethodInfo ,
#endif
terminalSetRewrapOnResize ,
#if ENABLE_OVERLOADING
TerminalSetScrollOnKeystrokeMethodInfo ,
#endif
terminalSetScrollOnKeystroke ,
#if ENABLE_OVERLOADING
TerminalSetScrollOnOutputMethodInfo ,
#endif
terminalSetScrollOnOutput ,
#if ENABLE_OVERLOADING
TerminalSetScrollSpeedMethodInfo ,
#endif
terminalSetScrollSpeed ,
#if ENABLE_OVERLOADING
TerminalSetScrollbackLinesMethodInfo ,
#endif
terminalSetScrollbackLines ,
#if ENABLE_OVERLOADING
TerminalSetSizeMethodInfo ,
#endif
terminalSetSize ,
#if ENABLE_OVERLOADING
TerminalSetTextBlinkModeMethodInfo ,
#endif
terminalSetTextBlinkMode ,
#if ENABLE_OVERLOADING
TerminalSetWordCharExceptionsMethodInfo ,
#endif
terminalSetWordCharExceptions ,
#if ENABLE_OVERLOADING
TerminalSpawnSyncMethodInfo ,
#endif
terminalSpawnSync ,
#if ENABLE_OVERLOADING
TerminalUnselectAllMethodInfo ,
#endif
terminalUnselectAll ,
#if ENABLE_OVERLOADING
TerminalWatchChildMethodInfo ,
#endif
terminalWatchChild ,
#if ENABLE_OVERLOADING
TerminalWriteContentsSyncMethodInfo ,
#endif
terminalWriteContentsSync ,
#if ENABLE_OVERLOADING
TerminalAllowBoldPropertyInfo ,
#endif
constructTerminalAllowBold ,
getTerminalAllowBold ,
setTerminalAllowBold ,
#if ENABLE_OVERLOADING
terminalAllowBold ,
#endif
#if ENABLE_OVERLOADING
TerminalAllowHyperlinkPropertyInfo ,
#endif
constructTerminalAllowHyperlink ,
getTerminalAllowHyperlink ,
setTerminalAllowHyperlink ,
#if ENABLE_OVERLOADING
terminalAllowHyperlink ,
#endif
#if ENABLE_OVERLOADING
TerminalAudibleBellPropertyInfo ,
#endif
constructTerminalAudibleBell ,
getTerminalAudibleBell ,
setTerminalAudibleBell ,
#if ENABLE_OVERLOADING
terminalAudibleBell ,
#endif
#if ENABLE_OVERLOADING
TerminalBackspaceBindingPropertyInfo ,
#endif
constructTerminalBackspaceBinding ,
getTerminalBackspaceBinding ,
setTerminalBackspaceBinding ,
#if ENABLE_OVERLOADING
terminalBackspaceBinding ,
#endif
#if ENABLE_OVERLOADING
TerminalBoldIsBrightPropertyInfo ,
#endif
constructTerminalBoldIsBright ,
getTerminalBoldIsBright ,
setTerminalBoldIsBright ,
#if ENABLE_OVERLOADING
terminalBoldIsBright ,
#endif
#if ENABLE_OVERLOADING
TerminalCellHeightScalePropertyInfo ,
#endif
constructTerminalCellHeightScale ,
getTerminalCellHeightScale ,
setTerminalCellHeightScale ,
#if ENABLE_OVERLOADING
terminalCellHeightScale ,
#endif
#if ENABLE_OVERLOADING
TerminalCellWidthScalePropertyInfo ,
#endif
constructTerminalCellWidthScale ,
getTerminalCellWidthScale ,
setTerminalCellWidthScale ,
#if ENABLE_OVERLOADING
terminalCellWidthScale ,
#endif
#if ENABLE_OVERLOADING
TerminalCjkAmbiguousWidthPropertyInfo ,
#endif
constructTerminalCjkAmbiguousWidth ,
getTerminalCjkAmbiguousWidth ,
setTerminalCjkAmbiguousWidth ,
#if ENABLE_OVERLOADING
terminalCjkAmbiguousWidth ,
#endif
#if ENABLE_OVERLOADING
TerminalCurrentDirectoryUriPropertyInfo ,
#endif
getTerminalCurrentDirectoryUri ,
#if ENABLE_OVERLOADING
terminalCurrentDirectoryUri ,
#endif
#if ENABLE_OVERLOADING
TerminalCurrentFileUriPropertyInfo ,
#endif
getTerminalCurrentFileUri ,
#if ENABLE_OVERLOADING
terminalCurrentFileUri ,
#endif
#if ENABLE_OVERLOADING
TerminalCursorBlinkModePropertyInfo ,
#endif
constructTerminalCursorBlinkMode ,
getTerminalCursorBlinkMode ,
setTerminalCursorBlinkMode ,
#if ENABLE_OVERLOADING
terminalCursorBlinkMode ,
#endif
#if ENABLE_OVERLOADING
TerminalCursorShapePropertyInfo ,
#endif
constructTerminalCursorShape ,
getTerminalCursorShape ,
setTerminalCursorShape ,
#if ENABLE_OVERLOADING
terminalCursorShape ,
#endif
#if ENABLE_OVERLOADING
TerminalDeleteBindingPropertyInfo ,
#endif
constructTerminalDeleteBinding ,
getTerminalDeleteBinding ,
setTerminalDeleteBinding ,
#if ENABLE_OVERLOADING
terminalDeleteBinding ,
#endif
#if ENABLE_OVERLOADING
TerminalEncodingPropertyInfo ,
#endif
clearTerminalEncoding ,
constructTerminalEncoding ,
getTerminalEncoding ,
setTerminalEncoding ,
#if ENABLE_OVERLOADING
terminalEncoding ,
#endif
#if ENABLE_OVERLOADING
TerminalFontDescPropertyInfo ,
#endif
clearTerminalFontDesc ,
constructTerminalFontDesc ,
getTerminalFontDesc ,
setTerminalFontDesc ,
#if ENABLE_OVERLOADING
terminalFontDesc ,
#endif
#if ENABLE_OVERLOADING
TerminalFontScalePropertyInfo ,
#endif
constructTerminalFontScale ,
getTerminalFontScale ,
setTerminalFontScale ,
#if ENABLE_OVERLOADING
terminalFontScale ,
#endif
#if ENABLE_OVERLOADING
TerminalHyperlinkHoverUriPropertyInfo ,
#endif
getTerminalHyperlinkHoverUri ,
#if ENABLE_OVERLOADING
terminalHyperlinkHoverUri ,
#endif
#if ENABLE_OVERLOADING
TerminalIconTitlePropertyInfo ,
#endif
getTerminalIconTitle ,
#if ENABLE_OVERLOADING
terminalIconTitle ,
#endif
#if ENABLE_OVERLOADING
TerminalInputEnabledPropertyInfo ,
#endif
constructTerminalInputEnabled ,
getTerminalInputEnabled ,
setTerminalInputEnabled ,
#if ENABLE_OVERLOADING
terminalInputEnabled ,
#endif
#if ENABLE_OVERLOADING
TerminalPointerAutohidePropertyInfo ,
#endif
constructTerminalPointerAutohide ,
getTerminalPointerAutohide ,
setTerminalPointerAutohide ,
#if ENABLE_OVERLOADING
terminalPointerAutohide ,
#endif
#if ENABLE_OVERLOADING
TerminalPtyPropertyInfo ,
#endif
clearTerminalPty ,
constructTerminalPty ,
getTerminalPty ,
setTerminalPty ,
#if ENABLE_OVERLOADING
terminalPty ,
#endif
#if ENABLE_OVERLOADING
TerminalRewrapOnResizePropertyInfo ,
#endif
constructTerminalRewrapOnResize ,
getTerminalRewrapOnResize ,
setTerminalRewrapOnResize ,
#if ENABLE_OVERLOADING
terminalRewrapOnResize ,
#endif
#if ENABLE_OVERLOADING
TerminalScrollOnKeystrokePropertyInfo ,
#endif
constructTerminalScrollOnKeystroke ,
getTerminalScrollOnKeystroke ,
setTerminalScrollOnKeystroke ,
#if ENABLE_OVERLOADING
terminalScrollOnKeystroke ,
#endif
#if ENABLE_OVERLOADING
TerminalScrollOnOutputPropertyInfo ,
#endif
constructTerminalScrollOnOutput ,
getTerminalScrollOnOutput ,
setTerminalScrollOnOutput ,
#if ENABLE_OVERLOADING
terminalScrollOnOutput ,
#endif
#if ENABLE_OVERLOADING
TerminalScrollSpeedPropertyInfo ,
#endif
constructTerminalScrollSpeed ,
getTerminalScrollSpeed ,
setTerminalScrollSpeed ,
#if ENABLE_OVERLOADING
terminalScrollSpeed ,
#endif
#if ENABLE_OVERLOADING
TerminalScrollbackLinesPropertyInfo ,
#endif
constructTerminalScrollbackLines ,
getTerminalScrollbackLines ,
setTerminalScrollbackLines ,
#if ENABLE_OVERLOADING
terminalScrollbackLines ,
#endif
#if ENABLE_OVERLOADING
TerminalTextBlinkModePropertyInfo ,
#endif
constructTerminalTextBlinkMode ,
getTerminalTextBlinkMode ,
setTerminalTextBlinkMode ,
#if ENABLE_OVERLOADING
terminalTextBlinkMode ,
#endif
#if ENABLE_OVERLOADING
TerminalWindowTitlePropertyInfo ,
#endif
getTerminalWindowTitle ,
#if ENABLE_OVERLOADING
terminalWindowTitle ,
#endif
#if ENABLE_OVERLOADING
TerminalWordCharExceptionsPropertyInfo ,
#endif
getTerminalWordCharExceptions ,
#if ENABLE_OVERLOADING
terminalWordCharExceptions ,
#endif
C_TerminalBellCallback ,
TerminalBellCallback ,
#if ENABLE_OVERLOADING
TerminalBellSignalInfo ,
#endif
afterTerminalBell ,
genClosure_TerminalBell ,
mk_TerminalBellCallback ,
noTerminalBellCallback ,
onTerminalBell ,
wrap_TerminalBellCallback ,
C_TerminalCharSizeChangedCallback ,
TerminalCharSizeChangedCallback ,
#if ENABLE_OVERLOADING
TerminalCharSizeChangedSignalInfo ,
#endif
afterTerminalCharSizeChanged ,
genClosure_TerminalCharSizeChanged ,
mk_TerminalCharSizeChangedCallback ,
noTerminalCharSizeChangedCallback ,
onTerminalCharSizeChanged ,
wrap_TerminalCharSizeChangedCallback ,
C_TerminalChildExitedCallback ,
TerminalChildExitedCallback ,
#if ENABLE_OVERLOADING
TerminalChildExitedSignalInfo ,
#endif
afterTerminalChildExited ,
genClosure_TerminalChildExited ,
mk_TerminalChildExitedCallback ,
noTerminalChildExitedCallback ,
onTerminalChildExited ,
wrap_TerminalChildExitedCallback ,
C_TerminalCommitCallback ,
TerminalCommitCallback ,
#if ENABLE_OVERLOADING
TerminalCommitSignalInfo ,
#endif
afterTerminalCommit ,
genClosure_TerminalCommit ,
mk_TerminalCommitCallback ,
noTerminalCommitCallback ,
onTerminalCommit ,
wrap_TerminalCommitCallback ,
C_TerminalContentsChangedCallback ,
TerminalContentsChangedCallback ,
#if ENABLE_OVERLOADING
TerminalContentsChangedSignalInfo ,
#endif
afterTerminalContentsChanged ,
genClosure_TerminalContentsChanged ,
mk_TerminalContentsChangedCallback ,
noTerminalContentsChangedCallback ,
onTerminalContentsChanged ,
wrap_TerminalContentsChangedCallback ,
C_TerminalCopyClipboardCallback ,
TerminalCopyClipboardCallback ,
#if ENABLE_OVERLOADING
TerminalCopyClipboardSignalInfo ,
#endif
afterTerminalCopyClipboard ,
genClosure_TerminalCopyClipboard ,
mk_TerminalCopyClipboardCallback ,
noTerminalCopyClipboardCallback ,
onTerminalCopyClipboard ,
wrap_TerminalCopyClipboardCallback ,
C_TerminalCurrentDirectoryUriChangedCallback,
TerminalCurrentDirectoryUriChangedCallback,
#if ENABLE_OVERLOADING
TerminalCurrentDirectoryUriChangedSignalInfo,
#endif
afterTerminalCurrentDirectoryUriChanged ,
genClosure_TerminalCurrentDirectoryUriChanged,
mk_TerminalCurrentDirectoryUriChangedCallback,
noTerminalCurrentDirectoryUriChangedCallback,
onTerminalCurrentDirectoryUriChanged ,
wrap_TerminalCurrentDirectoryUriChangedCallback,
C_TerminalCurrentFileUriChangedCallback ,
TerminalCurrentFileUriChangedCallback ,
#if ENABLE_OVERLOADING
TerminalCurrentFileUriChangedSignalInfo ,
#endif
afterTerminalCurrentFileUriChanged ,
genClosure_TerminalCurrentFileUriChanged,
mk_TerminalCurrentFileUriChangedCallback,
noTerminalCurrentFileUriChangedCallback ,
onTerminalCurrentFileUriChanged ,
wrap_TerminalCurrentFileUriChangedCallback,
C_TerminalCursorMovedCallback ,
TerminalCursorMovedCallback ,
#if ENABLE_OVERLOADING
TerminalCursorMovedSignalInfo ,
#endif
afterTerminalCursorMoved ,
genClosure_TerminalCursorMoved ,
mk_TerminalCursorMovedCallback ,
noTerminalCursorMovedCallback ,
onTerminalCursorMoved ,
wrap_TerminalCursorMovedCallback ,
C_TerminalDecreaseFontSizeCallback ,
TerminalDecreaseFontSizeCallback ,
#if ENABLE_OVERLOADING
TerminalDecreaseFontSizeSignalInfo ,
#endif
afterTerminalDecreaseFontSize ,
genClosure_TerminalDecreaseFontSize ,
mk_TerminalDecreaseFontSizeCallback ,
noTerminalDecreaseFontSizeCallback ,
onTerminalDecreaseFontSize ,
wrap_TerminalDecreaseFontSizeCallback ,
C_TerminalDeiconifyWindowCallback ,
TerminalDeiconifyWindowCallback ,
#if ENABLE_OVERLOADING
TerminalDeiconifyWindowSignalInfo ,
#endif
afterTerminalDeiconifyWindow ,
genClosure_TerminalDeiconifyWindow ,
mk_TerminalDeiconifyWindowCallback ,
noTerminalDeiconifyWindowCallback ,
onTerminalDeiconifyWindow ,
wrap_TerminalDeiconifyWindowCallback ,
C_TerminalEncodingChangedCallback ,
TerminalEncodingChangedCallback ,
#if ENABLE_OVERLOADING
TerminalEncodingChangedSignalInfo ,
#endif
afterTerminalEncodingChanged ,
genClosure_TerminalEncodingChanged ,
mk_TerminalEncodingChangedCallback ,
noTerminalEncodingChangedCallback ,
onTerminalEncodingChanged ,
wrap_TerminalEncodingChangedCallback ,
C_TerminalEofCallback ,
TerminalEofCallback ,
#if ENABLE_OVERLOADING
TerminalEofSignalInfo ,
#endif
afterTerminalEof ,
genClosure_TerminalEof ,
mk_TerminalEofCallback ,
noTerminalEofCallback ,
onTerminalEof ,
wrap_TerminalEofCallback ,
C_TerminalHyperlinkHoverUriChangedCallback,
TerminalHyperlinkHoverUriChangedCallback,
#if ENABLE_OVERLOADING
TerminalHyperlinkHoverUriChangedSignalInfo,
#endif
afterTerminalHyperlinkHoverUriChanged ,
genClosure_TerminalHyperlinkHoverUriChanged,
mk_TerminalHyperlinkHoverUriChangedCallback,
noTerminalHyperlinkHoverUriChangedCallback,
onTerminalHyperlinkHoverUriChanged ,
wrap_TerminalHyperlinkHoverUriChangedCallback,
C_TerminalIconTitleChangedCallback ,
TerminalIconTitleChangedCallback ,
#if ENABLE_OVERLOADING
TerminalIconTitleChangedSignalInfo ,
#endif
afterTerminalIconTitleChanged ,
genClosure_TerminalIconTitleChanged ,
mk_TerminalIconTitleChangedCallback ,
noTerminalIconTitleChangedCallback ,
onTerminalIconTitleChanged ,
wrap_TerminalIconTitleChangedCallback ,
C_TerminalIconifyWindowCallback ,
TerminalIconifyWindowCallback ,
#if ENABLE_OVERLOADING
TerminalIconifyWindowSignalInfo ,
#endif
afterTerminalIconifyWindow ,
genClosure_TerminalIconifyWindow ,
mk_TerminalIconifyWindowCallback ,
noTerminalIconifyWindowCallback ,
onTerminalIconifyWindow ,
wrap_TerminalIconifyWindowCallback ,
C_TerminalIncreaseFontSizeCallback ,
TerminalIncreaseFontSizeCallback ,
#if ENABLE_OVERLOADING
TerminalIncreaseFontSizeSignalInfo ,
#endif
afterTerminalIncreaseFontSize ,
genClosure_TerminalIncreaseFontSize ,
mk_TerminalIncreaseFontSizeCallback ,
noTerminalIncreaseFontSizeCallback ,
onTerminalIncreaseFontSize ,
wrap_TerminalIncreaseFontSizeCallback ,
C_TerminalLowerWindowCallback ,
TerminalLowerWindowCallback ,
#if ENABLE_OVERLOADING
TerminalLowerWindowSignalInfo ,
#endif
afterTerminalLowerWindow ,
genClosure_TerminalLowerWindow ,
mk_TerminalLowerWindowCallback ,
noTerminalLowerWindowCallback ,
onTerminalLowerWindow ,
wrap_TerminalLowerWindowCallback ,
C_TerminalMaximizeWindowCallback ,
TerminalMaximizeWindowCallback ,
#if ENABLE_OVERLOADING
TerminalMaximizeWindowSignalInfo ,
#endif
afterTerminalMaximizeWindow ,
genClosure_TerminalMaximizeWindow ,
mk_TerminalMaximizeWindowCallback ,
noTerminalMaximizeWindowCallback ,
onTerminalMaximizeWindow ,
wrap_TerminalMaximizeWindowCallback ,
C_TerminalMoveWindowCallback ,
TerminalMoveWindowCallback ,
#if ENABLE_OVERLOADING
TerminalMoveWindowSignalInfo ,
#endif
afterTerminalMoveWindow ,
genClosure_TerminalMoveWindow ,
mk_TerminalMoveWindowCallback ,
noTerminalMoveWindowCallback ,
onTerminalMoveWindow ,
wrap_TerminalMoveWindowCallback ,
C_TerminalNotificationReceivedCallback ,
TerminalNotificationReceivedCallback ,
#if ENABLE_OVERLOADING
TerminalNotificationReceivedSignalInfo ,
#endif
afterTerminalNotificationReceived ,
genClosure_TerminalNotificationReceived ,
mk_TerminalNotificationReceivedCallback ,
noTerminalNotificationReceivedCallback ,
onTerminalNotificationReceived ,
wrap_TerminalNotificationReceivedCallback,
C_TerminalPasteClipboardCallback ,
TerminalPasteClipboardCallback ,
#if ENABLE_OVERLOADING
TerminalPasteClipboardSignalInfo ,
#endif
afterTerminalPasteClipboard ,
genClosure_TerminalPasteClipboard ,
mk_TerminalPasteClipboardCallback ,
noTerminalPasteClipboardCallback ,
onTerminalPasteClipboard ,
wrap_TerminalPasteClipboardCallback ,
C_TerminalRaiseWindowCallback ,
TerminalRaiseWindowCallback ,
#if ENABLE_OVERLOADING
TerminalRaiseWindowSignalInfo ,
#endif
afterTerminalRaiseWindow ,
genClosure_TerminalRaiseWindow ,
mk_TerminalRaiseWindowCallback ,
noTerminalRaiseWindowCallback ,
onTerminalRaiseWindow ,
wrap_TerminalRaiseWindowCallback ,
C_TerminalRefreshWindowCallback ,
TerminalRefreshWindowCallback ,
#if ENABLE_OVERLOADING
TerminalRefreshWindowSignalInfo ,
#endif
afterTerminalRefreshWindow ,
genClosure_TerminalRefreshWindow ,
mk_TerminalRefreshWindowCallback ,
noTerminalRefreshWindowCallback ,
onTerminalRefreshWindow ,
wrap_TerminalRefreshWindowCallback ,
C_TerminalResizeWindowCallback ,
TerminalResizeWindowCallback ,
#if ENABLE_OVERLOADING
TerminalResizeWindowSignalInfo ,
#endif
afterTerminalResizeWindow ,
genClosure_TerminalResizeWindow ,
mk_TerminalResizeWindowCallback ,
noTerminalResizeWindowCallback ,
onTerminalResizeWindow ,
wrap_TerminalResizeWindowCallback ,
C_TerminalRestoreWindowCallback ,
TerminalRestoreWindowCallback ,
#if ENABLE_OVERLOADING
TerminalRestoreWindowSignalInfo ,
#endif
afterTerminalRestoreWindow ,
genClosure_TerminalRestoreWindow ,
mk_TerminalRestoreWindowCallback ,
noTerminalRestoreWindowCallback ,
onTerminalRestoreWindow ,
wrap_TerminalRestoreWindowCallback ,
C_TerminalSelectionChangedCallback ,
TerminalSelectionChangedCallback ,
#if ENABLE_OVERLOADING
TerminalSelectionChangedSignalInfo ,
#endif
afterTerminalSelectionChanged ,
genClosure_TerminalSelectionChanged ,
mk_TerminalSelectionChangedCallback ,
noTerminalSelectionChangedCallback ,
onTerminalSelectionChanged ,
wrap_TerminalSelectionChangedCallback ,
C_TerminalTextDeletedCallback ,
TerminalTextDeletedCallback ,
#if ENABLE_OVERLOADING
TerminalTextDeletedSignalInfo ,
#endif
afterTerminalTextDeleted ,
genClosure_TerminalTextDeleted ,
mk_TerminalTextDeletedCallback ,
noTerminalTextDeletedCallback ,
onTerminalTextDeleted ,
wrap_TerminalTextDeletedCallback ,
C_TerminalTextInsertedCallback ,
TerminalTextInsertedCallback ,
#if ENABLE_OVERLOADING
TerminalTextInsertedSignalInfo ,
#endif
afterTerminalTextInserted ,
genClosure_TerminalTextInserted ,
mk_TerminalTextInsertedCallback ,
noTerminalTextInsertedCallback ,
onTerminalTextInserted ,
wrap_TerminalTextInsertedCallback ,
C_TerminalTextModifiedCallback ,
TerminalTextModifiedCallback ,
#if ENABLE_OVERLOADING
TerminalTextModifiedSignalInfo ,
#endif
afterTerminalTextModified ,
genClosure_TerminalTextModified ,
mk_TerminalTextModifiedCallback ,
noTerminalTextModifiedCallback ,
onTerminalTextModified ,
wrap_TerminalTextModifiedCallback ,
C_TerminalTextScrolledCallback ,
TerminalTextScrolledCallback ,
#if ENABLE_OVERLOADING
TerminalTextScrolledSignalInfo ,
#endif
afterTerminalTextScrolled ,
genClosure_TerminalTextScrolled ,
mk_TerminalTextScrolledCallback ,
noTerminalTextScrolledCallback ,
onTerminalTextScrolled ,
wrap_TerminalTextScrolledCallback ,
C_TerminalWindowTitleChangedCallback ,
TerminalWindowTitleChangedCallback ,
#if ENABLE_OVERLOADING
TerminalWindowTitleChangedSignalInfo ,
#endif
afterTerminalWindowTitleChanged ,
genClosure_TerminalWindowTitleChanged ,
mk_TerminalWindowTitleChangedCallback ,
noTerminalWindowTitleChangedCallback ,
onTerminalWindowTitleChanged ,
wrap_TerminalWindowTitleChangedCallback ,
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GI.Atk.Interfaces.ImplementorIface as Atk.ImplementorIface
import qualified GI.GLib.Callbacks as GLib.Callbacks
import qualified GI.GLib.Flags as GLib.Flags
import qualified GI.GLib.Structs.Regex as GLib.Regex
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gdk.Enums as Gdk.Enums
import qualified GI.Gdk.Objects.Cursor as Gdk.Cursor
import qualified GI.Gdk.Structs.Geometry as Gdk.Geometry
import qualified GI.Gdk.Structs.RGBA as Gdk.RGBA
import qualified GI.Gdk.Structs.Rectangle as Gdk.Rectangle
import qualified GI.Gdk.Unions.Event as Gdk.Event
import qualified GI.Gio.Objects.Cancellable as Gio.Cancellable
import qualified GI.Gio.Objects.OutputStream as Gio.OutputStream
import qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
import qualified GI.Gtk.Interfaces.Scrollable as Gtk.Scrollable
import qualified GI.Gtk.Objects.Widget as Gtk.Widget
import qualified GI.Gtk.Objects.Window as Gtk.Window
import qualified GI.Pango.Structs.FontDescription as Pango.FontDescription
import {-# SOURCE #-} qualified GI.Vte.Enums as Vte.Enums
import {-# SOURCE #-} qualified GI.Vte.Flags as Vte.Flags
import {-# SOURCE #-} qualified GI.Vte.Objects.Pty as Vte.Pty
import {-# SOURCE #-} qualified GI.Vte.Structs.Regex as Vte.Regex
newtype Terminal = Terminal (ManagedPtr Terminal)
foreign import ccall "vte_terminal_get_type"
c_vte_terminal_get_type :: IO GType
instance GObject Terminal where
gobjectType _ = c_vte_terminal_get_type
class GObject o => IsTerminal o
#if MIN_VERSION_base(4,9,0)
instance {-# OVERLAPPABLE #-} (GObject a, O.UnknownAncestorError Terminal a) =>
IsTerminal a
#endif
instance IsTerminal Terminal
instance Gtk.Widget.IsWidget Terminal
instance GObject.Object.IsObject Terminal
instance Atk.ImplementorIface.IsImplementorIface Terminal
instance Gtk.Buildable.IsBuildable Terminal
instance Gtk.Scrollable.IsScrollable Terminal
toTerminal :: (MonadIO m, IsTerminal o) => o -> m Terminal
toTerminal = liftIO . unsafeCastTo Terminal
noTerminal :: Maybe Terminal
noTerminal = Nothing
#if ENABLE_OVERLOADING
type family ResolveTerminalMethod (t :: Symbol) (o :: *) :: * where
ResolveTerminalMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
ResolveTerminalMethod "addAccelerator" o = Gtk.Widget.WidgetAddAcceleratorMethodInfo
ResolveTerminalMethod "addChild" o = Gtk.Buildable.BuildableAddChildMethodInfo
ResolveTerminalMethod "addDeviceEvents" o = Gtk.Widget.WidgetAddDeviceEventsMethodInfo
ResolveTerminalMethod "addEvents" o = Gtk.Widget.WidgetAddEventsMethodInfo
ResolveTerminalMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
ResolveTerminalMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
ResolveTerminalMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveTerminalMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveTerminalMethod "canActivateAccel" o = Gtk.Widget.WidgetCanActivateAccelMethodInfo
ResolveTerminalMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
ResolveTerminalMethod "childNotify" o = Gtk.Widget.WidgetChildNotifyMethodInfo
ResolveTerminalMethod "classPath" o = Gtk.Widget.WidgetClassPathMethodInfo
ResolveTerminalMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
ResolveTerminalMethod "constructChild" o = Gtk.Buildable.BuildableConstructChildMethodInfo
ResolveTerminalMethod "copyClipboard" o = TerminalCopyClipboardMethodInfo
ResolveTerminalMethod "copyClipboardFormat" o = TerminalCopyClipboardFormatMethodInfo
ResolveTerminalMethod "copyPrimary" o = TerminalCopyPrimaryMethodInfo
ResolveTerminalMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
ResolveTerminalMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
ResolveTerminalMethod "customFinished" o = Gtk.Buildable.BuildableCustomFinishedMethodInfo
ResolveTerminalMethod "customTagEnd" o = Gtk.Buildable.BuildableCustomTagEndMethodInfo
ResolveTerminalMethod "customTagStart" o = Gtk.Buildable.BuildableCustomTagStartMethodInfo
ResolveTerminalMethod "destroy" o = Gtk.Widget.WidgetDestroyMethodInfo
ResolveTerminalMethod "destroyed" o = Gtk.Widget.WidgetDestroyedMethodInfo
ResolveTerminalMethod "deviceIsShadowed" o = Gtk.Widget.WidgetDeviceIsShadowedMethodInfo
ResolveTerminalMethod "dragBegin" o = Gtk.Widget.WidgetDragBeginMethodInfo
ResolveTerminalMethod "dragBeginWithCoordinates" o = Gtk.Widget.WidgetDragBeginWithCoordinatesMethodInfo
ResolveTerminalMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
ResolveTerminalMethod "dragDestAddImageTargets" o = Gtk.Widget.WidgetDragDestAddImageTargetsMethodInfo
ResolveTerminalMethod "dragDestAddTextTargets" o = Gtk.Widget.WidgetDragDestAddTextTargetsMethodInfo
ResolveTerminalMethod "dragDestAddUriTargets" o = Gtk.Widget.WidgetDragDestAddUriTargetsMethodInfo
ResolveTerminalMethod "dragDestFindTarget" o = Gtk.Widget.WidgetDragDestFindTargetMethodInfo
ResolveTerminalMethod "dragDestGetTargetList" o = Gtk.Widget.WidgetDragDestGetTargetListMethodInfo
ResolveTerminalMethod "dragDestGetTrackMotion" o = Gtk.Widget.WidgetDragDestGetTrackMotionMethodInfo
ResolveTerminalMethod "dragDestSet" o = Gtk.Widget.WidgetDragDestSetMethodInfo
ResolveTerminalMethod "dragDestSetProxy" o = Gtk.Widget.WidgetDragDestSetProxyMethodInfo
ResolveTerminalMethod "dragDestSetTargetList" o = Gtk.Widget.WidgetDragDestSetTargetListMethodInfo
ResolveTerminalMethod "dragDestSetTrackMotion" o = Gtk.Widget.WidgetDragDestSetTrackMotionMethodInfo
ResolveTerminalMethod "dragDestUnset" o = Gtk.Widget.WidgetDragDestUnsetMethodInfo
ResolveTerminalMethod "dragGetData" o = Gtk.Widget.WidgetDragGetDataMethodInfo
ResolveTerminalMethod "dragHighlight" o = Gtk.Widget.WidgetDragHighlightMethodInfo
ResolveTerminalMethod "dragSourceAddImageTargets" o = Gtk.Widget.WidgetDragSourceAddImageTargetsMethodInfo
ResolveTerminalMethod "dragSourceAddTextTargets" o = Gtk.Widget.WidgetDragSourceAddTextTargetsMethodInfo
ResolveTerminalMethod "dragSourceAddUriTargets" o = Gtk.Widget.WidgetDragSourceAddUriTargetsMethodInfo
ResolveTerminalMethod "dragSourceGetTargetList" o = Gtk.Widget.WidgetDragSourceGetTargetListMethodInfo
ResolveTerminalMethod "dragSourceSet" o = Gtk.Widget.WidgetDragSourceSetMethodInfo
ResolveTerminalMethod "dragSourceSetIconGicon" o = Gtk.Widget.WidgetDragSourceSetIconGiconMethodInfo
ResolveTerminalMethod "dragSourceSetIconName" o = Gtk.Widget.WidgetDragSourceSetIconNameMethodInfo
ResolveTerminalMethod "dragSourceSetIconPixbuf" o = Gtk.Widget.WidgetDragSourceSetIconPixbufMethodInfo
ResolveTerminalMethod "dragSourceSetIconStock" o = Gtk.Widget.WidgetDragSourceSetIconStockMethodInfo
ResolveTerminalMethod "dragSourceSetTargetList" o = Gtk.Widget.WidgetDragSourceSetTargetListMethodInfo
ResolveTerminalMethod "dragSourceUnset" o = Gtk.Widget.WidgetDragSourceUnsetMethodInfo
ResolveTerminalMethod "dragUnhighlight" o = Gtk.Widget.WidgetDragUnhighlightMethodInfo
ResolveTerminalMethod "draw" o = Gtk.Widget.WidgetDrawMethodInfo
ResolveTerminalMethod "ensureStyle" o = Gtk.Widget.WidgetEnsureStyleMethodInfo
ResolveTerminalMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
ResolveTerminalMethod "event" o = Gtk.Widget.WidgetEventMethodInfo
ResolveTerminalMethod "feed" o = TerminalFeedMethodInfo
ResolveTerminalMethod "feedChild" o = TerminalFeedChildMethodInfo
ResolveTerminalMethod "feedChildBinary" o = TerminalFeedChildBinaryMethodInfo
ResolveTerminalMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveTerminalMethod "freezeChildNotify" o = Gtk.Widget.WidgetFreezeChildNotifyMethodInfo
ResolveTerminalMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveTerminalMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveTerminalMethod "grabAdd" o = Gtk.Widget.WidgetGrabAddMethodInfo
ResolveTerminalMethod "grabDefault" o = Gtk.Widget.WidgetGrabDefaultMethodInfo
ResolveTerminalMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
ResolveTerminalMethod "grabRemove" o = Gtk.Widget.WidgetGrabRemoveMethodInfo
ResolveTerminalMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
ResolveTerminalMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
ResolveTerminalMethod "hasGrab" o = Gtk.Widget.WidgetHasGrabMethodInfo
ResolveTerminalMethod "hasRcStyle" o = Gtk.Widget.WidgetHasRcStyleMethodInfo
ResolveTerminalMethod "hasScreen" o = Gtk.Widget.WidgetHasScreenMethodInfo
ResolveTerminalMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
ResolveTerminalMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
ResolveTerminalMethod "hideOnDelete" o = Gtk.Widget.WidgetHideOnDeleteMethodInfo
ResolveTerminalMethod "hyperlinkCheckEvent" o = TerminalHyperlinkCheckEventMethodInfo
ResolveTerminalMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
ResolveTerminalMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
ResolveTerminalMethod "inputShapeCombineRegion" o = Gtk.Widget.WidgetInputShapeCombineRegionMethodInfo
ResolveTerminalMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
ResolveTerminalMethod "intersect" o = Gtk.Widget.WidgetIntersectMethodInfo
ResolveTerminalMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
ResolveTerminalMethod "isComposited" o = Gtk.Widget.WidgetIsCompositedMethodInfo
ResolveTerminalMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
ResolveTerminalMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveTerminalMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
ResolveTerminalMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
ResolveTerminalMethod "isToplevel" o = Gtk.Widget.WidgetIsToplevelMethodInfo
ResolveTerminalMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
ResolveTerminalMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
ResolveTerminalMethod "listAccelClosures" o = Gtk.Widget.WidgetListAccelClosuresMethodInfo
ResolveTerminalMethod "listActionPrefixes" o = Gtk.Widget.WidgetListActionPrefixesMethodInfo
ResolveTerminalMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
ResolveTerminalMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
ResolveTerminalMethod "matchAddGregex" o = TerminalMatchAddGregexMethodInfo
ResolveTerminalMethod "matchAddRegex" o = TerminalMatchAddRegexMethodInfo
ResolveTerminalMethod "matchCheck" o = TerminalMatchCheckMethodInfo
ResolveTerminalMethod "matchCheckEvent" o = TerminalMatchCheckEventMethodInfo
ResolveTerminalMethod "matchRemove" o = TerminalMatchRemoveMethodInfo
ResolveTerminalMethod "matchRemoveAll" o = TerminalMatchRemoveAllMethodInfo
ResolveTerminalMethod "matchSetCursor" o = TerminalMatchSetCursorMethodInfo
ResolveTerminalMethod "matchSetCursorName" o = TerminalMatchSetCursorNameMethodInfo
ResolveTerminalMethod "matchSetCursorType" o = TerminalMatchSetCursorTypeMethodInfo
ResolveTerminalMethod "mnemonicActivate" o = Gtk.Widget.WidgetMnemonicActivateMethodInfo
ResolveTerminalMethod "modifyBase" o = Gtk.Widget.WidgetModifyBaseMethodInfo
ResolveTerminalMethod "modifyBg" o = Gtk.Widget.WidgetModifyBgMethodInfo
ResolveTerminalMethod "modifyCursor" o = Gtk.Widget.WidgetModifyCursorMethodInfo
ResolveTerminalMethod "modifyFg" o = Gtk.Widget.WidgetModifyFgMethodInfo
ResolveTerminalMethod "modifyFont" o = Gtk.Widget.WidgetModifyFontMethodInfo
ResolveTerminalMethod "modifyStyle" o = Gtk.Widget.WidgetModifyStyleMethodInfo
ResolveTerminalMethod "modifyText" o = Gtk.Widget.WidgetModifyTextMethodInfo
ResolveTerminalMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveTerminalMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveTerminalMethod "overrideBackgroundColor" o = Gtk.Widget.WidgetOverrideBackgroundColorMethodInfo
ResolveTerminalMethod "overrideColor" o = Gtk.Widget.WidgetOverrideColorMethodInfo
ResolveTerminalMethod "overrideCursor" o = Gtk.Widget.WidgetOverrideCursorMethodInfo
ResolveTerminalMethod "overrideFont" o = Gtk.Widget.WidgetOverrideFontMethodInfo
ResolveTerminalMethod "overrideSymbolicColor" o = Gtk.Widget.WidgetOverrideSymbolicColorMethodInfo
ResolveTerminalMethod "parserFinished" o = Gtk.Buildable.BuildableParserFinishedMethodInfo
ResolveTerminalMethod "pasteClipboard" o = TerminalPasteClipboardMethodInfo
ResolveTerminalMethod "pastePrimary" o = TerminalPastePrimaryMethodInfo
ResolveTerminalMethod "path" o = Gtk.Widget.WidgetPathMethodInfo
ResolveTerminalMethod "ptyNewSync" o = TerminalPtyNewSyncMethodInfo
ResolveTerminalMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
ResolveTerminalMethod "queueComputeExpand" o = Gtk.Widget.WidgetQueueComputeExpandMethodInfo
ResolveTerminalMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
ResolveTerminalMethod "queueDrawArea" o = Gtk.Widget.WidgetQueueDrawAreaMethodInfo
ResolveTerminalMethod "queueDrawRegion" o = Gtk.Widget.WidgetQueueDrawRegionMethodInfo
ResolveTerminalMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
ResolveTerminalMethod "queueResizeNoRedraw" o = Gtk.Widget.WidgetQueueResizeNoRedrawMethodInfo
ResolveTerminalMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
ResolveTerminalMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveTerminalMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveTerminalMethod "regionIntersect" o = Gtk.Widget.WidgetRegionIntersectMethodInfo
ResolveTerminalMethod "registerWindow" o = Gtk.Widget.WidgetRegisterWindowMethodInfo
ResolveTerminalMethod "removeAccelerator" o = Gtk.Widget.WidgetRemoveAcceleratorMethodInfo
ResolveTerminalMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
ResolveTerminalMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
ResolveTerminalMethod "renderIcon" o = Gtk.Widget.WidgetRenderIconMethodInfo
ResolveTerminalMethod "renderIconPixbuf" o = Gtk.Widget.WidgetRenderIconPixbufMethodInfo
ResolveTerminalMethod "reparent" o = Gtk.Widget.WidgetReparentMethodInfo
ResolveTerminalMethod "reset" o = TerminalResetMethodInfo
ResolveTerminalMethod "resetRcStyles" o = Gtk.Widget.WidgetResetRcStylesMethodInfo
ResolveTerminalMethod "resetStyle" o = Gtk.Widget.WidgetResetStyleMethodInfo
ResolveTerminalMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveTerminalMethod "searchFindNext" o = TerminalSearchFindNextMethodInfo
ResolveTerminalMethod "searchFindPrevious" o = TerminalSearchFindPreviousMethodInfo
ResolveTerminalMethod "searchGetGregex" o = TerminalSearchGetGregexMethodInfo
ResolveTerminalMethod "searchGetRegex" o = TerminalSearchGetRegexMethodInfo
ResolveTerminalMethod "searchGetWrapAround" o = TerminalSearchGetWrapAroundMethodInfo
ResolveTerminalMethod "searchSetGregex" o = TerminalSearchSetGregexMethodInfo
ResolveTerminalMethod "searchSetRegex" o = TerminalSearchSetRegexMethodInfo
ResolveTerminalMethod "searchSetWrapAround" o = TerminalSearchSetWrapAroundMethodInfo
ResolveTerminalMethod "selectAll" o = TerminalSelectAllMethodInfo
ResolveTerminalMethod "sendExpose" o = Gtk.Widget.WidgetSendExposeMethodInfo
ResolveTerminalMethod "sendFocusChange" o = Gtk.Widget.WidgetSendFocusChangeMethodInfo
ResolveTerminalMethod "shapeCombineRegion" o = Gtk.Widget.WidgetShapeCombineRegionMethodInfo
ResolveTerminalMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
ResolveTerminalMethod "showAll" o = Gtk.Widget.WidgetShowAllMethodInfo
ResolveTerminalMethod "showNow" o = Gtk.Widget.WidgetShowNowMethodInfo
ResolveTerminalMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
ResolveTerminalMethod "sizeAllocateWithBaseline" o = Gtk.Widget.WidgetSizeAllocateWithBaselineMethodInfo
ResolveTerminalMethod "sizeRequest" o = Gtk.Widget.WidgetSizeRequestMethodInfo
ResolveTerminalMethod "spawnSync" o = TerminalSpawnSyncMethodInfo
ResolveTerminalMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveTerminalMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveTerminalMethod "styleAttach" o = Gtk.Widget.WidgetStyleAttachMethodInfo
ResolveTerminalMethod "styleGetProperty" o = Gtk.Widget.WidgetStyleGetPropertyMethodInfo
ResolveTerminalMethod "thawChildNotify" o = Gtk.Widget.WidgetThawChildNotifyMethodInfo
ResolveTerminalMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveTerminalMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
ResolveTerminalMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
ResolveTerminalMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
ResolveTerminalMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
ResolveTerminalMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
ResolveTerminalMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveTerminalMethod "unregisterWindow" o = Gtk.Widget.WidgetUnregisterWindowMethodInfo
ResolveTerminalMethod "unselectAll" o = TerminalUnselectAllMethodInfo
ResolveTerminalMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
ResolveTerminalMethod "watchChild" o = TerminalWatchChildMethodInfo
ResolveTerminalMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveTerminalMethod "writeContentsSync" o = TerminalWriteContentsSyncMethodInfo
ResolveTerminalMethod "getAccessible" o = Gtk.Widget.WidgetGetAccessibleMethodInfo
ResolveTerminalMethod "getActionGroup" o = Gtk.Widget.WidgetGetActionGroupMethodInfo
ResolveTerminalMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
ResolveTerminalMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
ResolveTerminalMethod "getAllocatedSize" o = Gtk.Widget.WidgetGetAllocatedSizeMethodInfo
ResolveTerminalMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
ResolveTerminalMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
ResolveTerminalMethod "getAllowBold" o = TerminalGetAllowBoldMethodInfo
ResolveTerminalMethod "getAllowHyperlink" o = TerminalGetAllowHyperlinkMethodInfo
ResolveTerminalMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
ResolveTerminalMethod "getAppPaintable" o = Gtk.Widget.WidgetGetAppPaintableMethodInfo
ResolveTerminalMethod "getAudibleBell" o = TerminalGetAudibleBellMethodInfo
ResolveTerminalMethod "getBoldIsBright" o = TerminalGetBoldIsBrightMethodInfo
ResolveTerminalMethod "getBorder" o = Gtk.Scrollable.ScrollableGetBorderMethodInfo
ResolveTerminalMethod "getCanDefault" o = Gtk.Widget.WidgetGetCanDefaultMethodInfo
ResolveTerminalMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
ResolveTerminalMethod "getCellHeightScale" o = TerminalGetCellHeightScaleMethodInfo
ResolveTerminalMethod "getCellWidthScale" o = TerminalGetCellWidthScaleMethodInfo
ResolveTerminalMethod "getCharHeight" o = TerminalGetCharHeightMethodInfo
ResolveTerminalMethod "getCharWidth" o = TerminalGetCharWidthMethodInfo
ResolveTerminalMethod "getChildRequisition" o = Gtk.Widget.WidgetGetChildRequisitionMethodInfo
ResolveTerminalMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
ResolveTerminalMethod "getCjkAmbiguousWidth" o = TerminalGetCjkAmbiguousWidthMethodInfo
ResolveTerminalMethod "getClip" o = Gtk.Widget.WidgetGetClipMethodInfo
ResolveTerminalMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
ResolveTerminalMethod "getColumnCount" o = TerminalGetColumnCountMethodInfo
ResolveTerminalMethod "getCompositeName" o = Gtk.Widget.WidgetGetCompositeNameMethodInfo
ResolveTerminalMethod "getCurrentDirectoryUri" o = TerminalGetCurrentDirectoryUriMethodInfo
ResolveTerminalMethod "getCurrentFileUri" o = TerminalGetCurrentFileUriMethodInfo
ResolveTerminalMethod "getCursorBlinkMode" o = TerminalGetCursorBlinkModeMethodInfo
ResolveTerminalMethod "getCursorPosition" o = TerminalGetCursorPositionMethodInfo
ResolveTerminalMethod "getCursorShape" o = TerminalGetCursorShapeMethodInfo
ResolveTerminalMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveTerminalMethod "getDeviceEnabled" o = Gtk.Widget.WidgetGetDeviceEnabledMethodInfo
ResolveTerminalMethod "getDeviceEvents" o = Gtk.Widget.WidgetGetDeviceEventsMethodInfo
ResolveTerminalMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
ResolveTerminalMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
ResolveTerminalMethod "getDoubleBuffered" o = Gtk.Widget.WidgetGetDoubleBufferedMethodInfo
ResolveTerminalMethod "getEncoding" o = TerminalGetEncodingMethodInfo
ResolveTerminalMethod "getEvents" o = Gtk.Widget.WidgetGetEventsMethodInfo
ResolveTerminalMethod "getFocusOnClick" o = Gtk.Widget.WidgetGetFocusOnClickMethodInfo
ResolveTerminalMethod "getFont" o = TerminalGetFontMethodInfo
ResolveTerminalMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
ResolveTerminalMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
ResolveTerminalMethod "getFontScale" o = TerminalGetFontScaleMethodInfo
ResolveTerminalMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
ResolveTerminalMethod "getGeometryHints" o = TerminalGetGeometryHintsMethodInfo
ResolveTerminalMethod "getHadjustment" o = Gtk.Scrollable.ScrollableGetHadjustmentMethodInfo
ResolveTerminalMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
ResolveTerminalMethod "getHasSelection" o = TerminalGetHasSelectionMethodInfo
ResolveTerminalMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
ResolveTerminalMethod "getHasWindow" o = Gtk.Widget.WidgetGetHasWindowMethodInfo
ResolveTerminalMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
ResolveTerminalMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
ResolveTerminalMethod "getHscrollPolicy" o = Gtk.Scrollable.ScrollableGetHscrollPolicyMethodInfo
ResolveTerminalMethod "getIconTitle" o = TerminalGetIconTitleMethodInfo
ResolveTerminalMethod "getInputEnabled" o = TerminalGetInputEnabledMethodInfo
ResolveTerminalMethod "getInternalChild" o = Gtk.Buildable.BuildableGetInternalChildMethodInfo
ResolveTerminalMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
ResolveTerminalMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
ResolveTerminalMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
ResolveTerminalMethod "getMarginLeft" o = Gtk.Widget.WidgetGetMarginLeftMethodInfo
ResolveTerminalMethod "getMarginRight" o = Gtk.Widget.WidgetGetMarginRightMethodInfo
ResolveTerminalMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
ResolveTerminalMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
ResolveTerminalMethod "getModifierMask" o = Gtk.Widget.WidgetGetModifierMaskMethodInfo
ResolveTerminalMethod "getModifierStyle" o = Gtk.Widget.WidgetGetModifierStyleMethodInfo
ResolveTerminalMethod "getMouseAutohide" o = TerminalGetMouseAutohideMethodInfo
ResolveTerminalMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
ResolveTerminalMethod "getNoShowAll" o = Gtk.Widget.WidgetGetNoShowAllMethodInfo
ResolveTerminalMethod "getOpacity" o = Gtk.Widget.WidgetGetOpacityMethodInfo
ResolveTerminalMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
ResolveTerminalMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
ResolveTerminalMethod "getParentWindow" o = Gtk.Widget.WidgetGetParentWindowMethodInfo
ResolveTerminalMethod "getPath" o = Gtk.Widget.WidgetGetPathMethodInfo
ResolveTerminalMethod "getPointer" o = Gtk.Widget.WidgetGetPointerMethodInfo
ResolveTerminalMethod "getPreferredHeight" o = Gtk.Widget.WidgetGetPreferredHeightMethodInfo
ResolveTerminalMethod "getPreferredHeightAndBaselineForWidth" o = Gtk.Widget.WidgetGetPreferredHeightAndBaselineForWidthMethodInfo
ResolveTerminalMethod "getPreferredHeightForWidth" o = Gtk.Widget.WidgetGetPreferredHeightForWidthMethodInfo
ResolveTerminalMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
ResolveTerminalMethod "getPreferredWidth" o = Gtk.Widget.WidgetGetPreferredWidthMethodInfo
ResolveTerminalMethod "getPreferredWidthForHeight" o = Gtk.Widget.WidgetGetPreferredWidthForHeightMethodInfo
ResolveTerminalMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveTerminalMethod "getPty" o = TerminalGetPtyMethodInfo
ResolveTerminalMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveTerminalMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
ResolveTerminalMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
ResolveTerminalMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
ResolveTerminalMethod "getRequisition" o = Gtk.Widget.WidgetGetRequisitionMethodInfo
ResolveTerminalMethod "getRewrapOnResize" o = TerminalGetRewrapOnResizeMethodInfo
ResolveTerminalMethod "getRootWindow" o = Gtk.Widget.WidgetGetRootWindowMethodInfo
ResolveTerminalMethod "getRowCount" o = TerminalGetRowCountMethodInfo
ResolveTerminalMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
ResolveTerminalMethod "getScreen" o = Gtk.Widget.WidgetGetScreenMethodInfo
ResolveTerminalMethod "getScrollOnKeystroke" o = TerminalGetScrollOnKeystrokeMethodInfo
ResolveTerminalMethod "getScrollOnOutput" o = TerminalGetScrollOnOutputMethodInfo
ResolveTerminalMethod "getScrollbackLines" o = TerminalGetScrollbackLinesMethodInfo
ResolveTerminalMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
ResolveTerminalMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
ResolveTerminalMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
ResolveTerminalMethod "getState" o = Gtk.Widget.WidgetGetStateMethodInfo
ResolveTerminalMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
ResolveTerminalMethod "getStyle" o = Gtk.Widget.WidgetGetStyleMethodInfo
ResolveTerminalMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
ResolveTerminalMethod "getSupportMultidevice" o = Gtk.Widget.WidgetGetSupportMultideviceMethodInfo
ResolveTerminalMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
ResolveTerminalMethod "getText" o = TerminalGetTextMethodInfo
ResolveTerminalMethod "getTextBlinkMode" o = TerminalGetTextBlinkModeMethodInfo
ResolveTerminalMethod "getTextIncludeTrailingSpaces" o = TerminalGetTextIncludeTrailingSpacesMethodInfo
ResolveTerminalMethod "getTextRange" o = TerminalGetTextRangeMethodInfo
ResolveTerminalMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
ResolveTerminalMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
ResolveTerminalMethod "getTooltipWindow" o = Gtk.Widget.WidgetGetTooltipWindowMethodInfo
ResolveTerminalMethod "getToplevel" o = Gtk.Widget.WidgetGetToplevelMethodInfo
ResolveTerminalMethod "getVadjustment" o = Gtk.Scrollable.ScrollableGetVadjustmentMethodInfo
ResolveTerminalMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
ResolveTerminalMethod "getValignWithBaseline" o = Gtk.Widget.WidgetGetValignWithBaselineMethodInfo
ResolveTerminalMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
ResolveTerminalMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
ResolveTerminalMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
ResolveTerminalMethod "getVisual" o = Gtk.Widget.WidgetGetVisualMethodInfo
ResolveTerminalMethod "getVscrollPolicy" o = Gtk.Scrollable.ScrollableGetVscrollPolicyMethodInfo
ResolveTerminalMethod "getWindow" o = Gtk.Widget.WidgetGetWindowMethodInfo
ResolveTerminalMethod "getWindowTitle" o = TerminalGetWindowTitleMethodInfo
ResolveTerminalMethod "getWordCharExceptions" o = TerminalGetWordCharExceptionsMethodInfo
ResolveTerminalMethod "setAccelPath" o = Gtk.Widget.WidgetSetAccelPathMethodInfo
ResolveTerminalMethod "setAllocation" o = Gtk.Widget.WidgetSetAllocationMethodInfo
ResolveTerminalMethod "setAllowBold" o = TerminalSetAllowBoldMethodInfo
ResolveTerminalMethod "setAllowHyperlink" o = TerminalSetAllowHyperlinkMethodInfo
ResolveTerminalMethod "setAppPaintable" o = Gtk.Widget.WidgetSetAppPaintableMethodInfo
ResolveTerminalMethod "setAudibleBell" o = TerminalSetAudibleBellMethodInfo
ResolveTerminalMethod "setBackspaceBinding" o = TerminalSetBackspaceBindingMethodInfo
ResolveTerminalMethod "setBoldIsBright" o = TerminalSetBoldIsBrightMethodInfo
ResolveTerminalMethod "setBuildableProperty" o = Gtk.Buildable.BuildableSetBuildablePropertyMethodInfo
ResolveTerminalMethod "setCanDefault" o = Gtk.Widget.WidgetSetCanDefaultMethodInfo
ResolveTerminalMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
ResolveTerminalMethod "setCellHeightScale" o = TerminalSetCellHeightScaleMethodInfo
ResolveTerminalMethod "setCellWidthScale" o = TerminalSetCellWidthScaleMethodInfo
ResolveTerminalMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
ResolveTerminalMethod "setCjkAmbiguousWidth" o = TerminalSetCjkAmbiguousWidthMethodInfo
ResolveTerminalMethod "setClearBackground" o = TerminalSetClearBackgroundMethodInfo
ResolveTerminalMethod "setClip" o = Gtk.Widget.WidgetSetClipMethodInfo
ResolveTerminalMethod "setColorBackground" o = TerminalSetColorBackgroundMethodInfo
ResolveTerminalMethod "setColorBold" o = TerminalSetColorBoldMethodInfo
ResolveTerminalMethod "setColorCursor" o = TerminalSetColorCursorMethodInfo
ResolveTerminalMethod "setColorCursorForeground" o = TerminalSetColorCursorForegroundMethodInfo
ResolveTerminalMethod "setColorForeground" o = TerminalSetColorForegroundMethodInfo
ResolveTerminalMethod "setColorHighlight" o = TerminalSetColorHighlightMethodInfo
ResolveTerminalMethod "setColorHighlightForeground" o = TerminalSetColorHighlightForegroundMethodInfo
ResolveTerminalMethod "setColors" o = TerminalSetColorsMethodInfo
ResolveTerminalMethod "setCompositeName" o = Gtk.Widget.WidgetSetCompositeNameMethodInfo
ResolveTerminalMethod "setCursorBlinkMode" o = TerminalSetCursorBlinkModeMethodInfo
ResolveTerminalMethod "setCursorShape" o = TerminalSetCursorShapeMethodInfo
ResolveTerminalMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveTerminalMethod "setDefaultColors" o = TerminalSetDefaultColorsMethodInfo
ResolveTerminalMethod "setDeleteBinding" o = TerminalSetDeleteBindingMethodInfo
ResolveTerminalMethod "setDeviceEnabled" o = Gtk.Widget.WidgetSetDeviceEnabledMethodInfo
ResolveTerminalMethod "setDeviceEvents" o = Gtk.Widget.WidgetSetDeviceEventsMethodInfo
ResolveTerminalMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
ResolveTerminalMethod "setDoubleBuffered" o = Gtk.Widget.WidgetSetDoubleBufferedMethodInfo
ResolveTerminalMethod "setEncoding" o = TerminalSetEncodingMethodInfo
ResolveTerminalMethod "setEvents" o = Gtk.Widget.WidgetSetEventsMethodInfo
ResolveTerminalMethod "setFocusOnClick" o = Gtk.Widget.WidgetSetFocusOnClickMethodInfo
ResolveTerminalMethod "setFont" o = TerminalSetFontMethodInfo
ResolveTerminalMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
ResolveTerminalMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
ResolveTerminalMethod "setFontScale" o = TerminalSetFontScaleMethodInfo
ResolveTerminalMethod "setGeometryHintsForWindow" o = TerminalSetGeometryHintsForWindowMethodInfo
ResolveTerminalMethod "setHadjustment" o = Gtk.Scrollable.ScrollableSetHadjustmentMethodInfo
ResolveTerminalMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
ResolveTerminalMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
ResolveTerminalMethod "setHasWindow" o = Gtk.Widget.WidgetSetHasWindowMethodInfo
ResolveTerminalMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
ResolveTerminalMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
ResolveTerminalMethod "setHscrollPolicy" o = Gtk.Scrollable.ScrollableSetHscrollPolicyMethodInfo
ResolveTerminalMethod "setInputEnabled" o = TerminalSetInputEnabledMethodInfo
ResolveTerminalMethod "setMapped" o = Gtk.Widget.WidgetSetMappedMethodInfo
ResolveTerminalMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
ResolveTerminalMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
ResolveTerminalMethod "setMarginLeft" o = Gtk.Widget.WidgetSetMarginLeftMethodInfo
ResolveTerminalMethod "setMarginRight" o = Gtk.Widget.WidgetSetMarginRightMethodInfo
ResolveTerminalMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
ResolveTerminalMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
ResolveTerminalMethod "setMouseAutohide" o = TerminalSetMouseAutohideMethodInfo
ResolveTerminalMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
ResolveTerminalMethod "setNoShowAll" o = Gtk.Widget.WidgetSetNoShowAllMethodInfo
ResolveTerminalMethod "setOpacity" o = Gtk.Widget.WidgetSetOpacityMethodInfo
ResolveTerminalMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
ResolveTerminalMethod "setParentWindow" o = Gtk.Widget.WidgetSetParentWindowMethodInfo
ResolveTerminalMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveTerminalMethod "setPty" o = TerminalSetPtyMethodInfo
ResolveTerminalMethod "setRealized" o = Gtk.Widget.WidgetSetRealizedMethodInfo
ResolveTerminalMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
ResolveTerminalMethod "setRedrawOnAllocate" o = Gtk.Widget.WidgetSetRedrawOnAllocateMethodInfo
ResolveTerminalMethod "setRewrapOnResize" o = TerminalSetRewrapOnResizeMethodInfo
ResolveTerminalMethod "setScrollOnKeystroke" o = TerminalSetScrollOnKeystrokeMethodInfo
ResolveTerminalMethod "setScrollOnOutput" o = TerminalSetScrollOnOutputMethodInfo
ResolveTerminalMethod "setScrollSpeed" o = TerminalSetScrollSpeedMethodInfo
ResolveTerminalMethod "setScrollbackLines" o = TerminalSetScrollbackLinesMethodInfo
ResolveTerminalMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
ResolveTerminalMethod "setSize" o = TerminalSetSizeMethodInfo
ResolveTerminalMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
ResolveTerminalMethod "setState" o = Gtk.Widget.WidgetSetStateMethodInfo
ResolveTerminalMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
ResolveTerminalMethod "setStyle" o = Gtk.Widget.WidgetSetStyleMethodInfo
ResolveTerminalMethod "setSupportMultidevice" o = Gtk.Widget.WidgetSetSupportMultideviceMethodInfo
ResolveTerminalMethod "setTextBlinkMode" o = TerminalSetTextBlinkModeMethodInfo
ResolveTerminalMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
ResolveTerminalMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
ResolveTerminalMethod "setTooltipWindow" o = Gtk.Widget.WidgetSetTooltipWindowMethodInfo
ResolveTerminalMethod "setVadjustment" o = Gtk.Scrollable.ScrollableSetVadjustmentMethodInfo
ResolveTerminalMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
ResolveTerminalMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
ResolveTerminalMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
ResolveTerminalMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
ResolveTerminalMethod "setVisual" o = Gtk.Widget.WidgetSetVisualMethodInfo
ResolveTerminalMethod "setVscrollPolicy" o = Gtk.Scrollable.ScrollableSetVscrollPolicyMethodInfo
ResolveTerminalMethod "setWindow" o = Gtk.Widget.WidgetSetWindowMethodInfo
ResolveTerminalMethod "setWordCharExceptions" o = TerminalSetWordCharExceptionsMethodInfo
ResolveTerminalMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveTerminalMethod t Terminal, O.MethodInfo info Terminal p) => O.IsLabelProxy t (Terminal -> p) where
fromLabelProxy _ = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#if MIN_VERSION_base(4,9,0)
instance (info ~ ResolveTerminalMethod t Terminal, O.MethodInfo info Terminal p) => O.IsLabel t (Terminal -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#else
fromLabel _ = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#endif
#endif
#endif
type TerminalBellCallback =
IO ()
noTerminalBellCallback :: Maybe TerminalBellCallback
noTerminalBellCallback = Nothing
type C_TerminalBellCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalBellCallback :: C_TerminalBellCallback -> IO (FunPtr C_TerminalBellCallback)
genClosure_TerminalBell :: TerminalBellCallback -> IO Closure
genClosure_TerminalBell cb = do
let cb' = wrap_TerminalBellCallback cb
mk_TerminalBellCallback cb' >>= newCClosure
wrap_TerminalBellCallback ::
TerminalBellCallback ->
C_TerminalBellCallback
wrap_TerminalBellCallback _cb _ _ = do
_cb
onTerminalBell :: (IsTerminal a, MonadIO m) => a -> TerminalBellCallback -> m SignalHandlerId
onTerminalBell obj cb = liftIO $ do
let cb' = wrap_TerminalBellCallback cb
cb'' <- mk_TerminalBellCallback cb'
connectSignalFunPtr obj "bell" cb'' SignalConnectBefore
afterTerminalBell :: (IsTerminal a, MonadIO m) => a -> TerminalBellCallback -> m SignalHandlerId
afterTerminalBell obj cb = liftIO $ do
let cb' = wrap_TerminalBellCallback cb
cb'' <- mk_TerminalBellCallback cb'
connectSignalFunPtr obj "bell" cb'' SignalConnectAfter
type TerminalCharSizeChangedCallback =
Word32
-> Word32
-> IO ()
noTerminalCharSizeChangedCallback :: Maybe TerminalCharSizeChangedCallback
noTerminalCharSizeChangedCallback = Nothing
type C_TerminalCharSizeChangedCallback =
Ptr () ->
Word32 ->
Word32 ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalCharSizeChangedCallback :: C_TerminalCharSizeChangedCallback -> IO (FunPtr C_TerminalCharSizeChangedCallback)
genClosure_TerminalCharSizeChanged :: TerminalCharSizeChangedCallback -> IO Closure
genClosure_TerminalCharSizeChanged cb = do
let cb' = wrap_TerminalCharSizeChangedCallback cb
mk_TerminalCharSizeChangedCallback cb' >>= newCClosure
wrap_TerminalCharSizeChangedCallback ::
TerminalCharSizeChangedCallback ->
C_TerminalCharSizeChangedCallback
wrap_TerminalCharSizeChangedCallback _cb _ width height _ = do
_cb width height
onTerminalCharSizeChanged :: (IsTerminal a, MonadIO m) => a -> TerminalCharSizeChangedCallback -> m SignalHandlerId
onTerminalCharSizeChanged obj cb = liftIO $ do
let cb' = wrap_TerminalCharSizeChangedCallback cb
cb'' <- mk_TerminalCharSizeChangedCallback cb'
connectSignalFunPtr obj "char-size-changed" cb'' SignalConnectBefore
afterTerminalCharSizeChanged :: (IsTerminal a, MonadIO m) => a -> TerminalCharSizeChangedCallback -> m SignalHandlerId
afterTerminalCharSizeChanged obj cb = liftIO $ do
let cb' = wrap_TerminalCharSizeChangedCallback cb
cb'' <- mk_TerminalCharSizeChangedCallback cb'
connectSignalFunPtr obj "char-size-changed" cb'' SignalConnectAfter
type TerminalChildExitedCallback =
Int32
-> IO ()
noTerminalChildExitedCallback :: Maybe TerminalChildExitedCallback
noTerminalChildExitedCallback = Nothing
type C_TerminalChildExitedCallback =
Ptr () ->
Int32 ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalChildExitedCallback :: C_TerminalChildExitedCallback -> IO (FunPtr C_TerminalChildExitedCallback)
genClosure_TerminalChildExited :: TerminalChildExitedCallback -> IO Closure
genClosure_TerminalChildExited cb = do
let cb' = wrap_TerminalChildExitedCallback cb
mk_TerminalChildExitedCallback cb' >>= newCClosure
wrap_TerminalChildExitedCallback ::
TerminalChildExitedCallback ->
C_TerminalChildExitedCallback
wrap_TerminalChildExitedCallback _cb _ status _ = do
_cb status
onTerminalChildExited :: (IsTerminal a, MonadIO m) => a -> TerminalChildExitedCallback -> m SignalHandlerId
onTerminalChildExited obj cb = liftIO $ do
let cb' = wrap_TerminalChildExitedCallback cb
cb'' <- mk_TerminalChildExitedCallback cb'
connectSignalFunPtr obj "child-exited" cb'' SignalConnectBefore
afterTerminalChildExited :: (IsTerminal a, MonadIO m) => a -> TerminalChildExitedCallback -> m SignalHandlerId
afterTerminalChildExited obj cb = liftIO $ do
let cb' = wrap_TerminalChildExitedCallback cb
cb'' <- mk_TerminalChildExitedCallback cb'
connectSignalFunPtr obj "child-exited" cb'' SignalConnectAfter
type TerminalCommitCallback =
T.Text
-> Word32
-> IO ()
noTerminalCommitCallback :: Maybe TerminalCommitCallback
noTerminalCommitCallback = Nothing
type C_TerminalCommitCallback =
Ptr () ->
CString ->
Word32 ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalCommitCallback :: C_TerminalCommitCallback -> IO (FunPtr C_TerminalCommitCallback)
genClosure_TerminalCommit :: TerminalCommitCallback -> IO Closure
genClosure_TerminalCommit cb = do
let cb' = wrap_TerminalCommitCallback cb
mk_TerminalCommitCallback cb' >>= newCClosure
wrap_TerminalCommitCallback ::
TerminalCommitCallback ->
C_TerminalCommitCallback
wrap_TerminalCommitCallback _cb _ text size _ = do
text' <- cstringToText text
_cb text' size
onTerminalCommit :: (IsTerminal a, MonadIO m) => a -> TerminalCommitCallback -> m SignalHandlerId
onTerminalCommit obj cb = liftIO $ do
let cb' = wrap_TerminalCommitCallback cb
cb'' <- mk_TerminalCommitCallback cb'
connectSignalFunPtr obj "commit" cb'' SignalConnectBefore
afterTerminalCommit :: (IsTerminal a, MonadIO m) => a -> TerminalCommitCallback -> m SignalHandlerId
afterTerminalCommit obj cb = liftIO $ do
let cb' = wrap_TerminalCommitCallback cb
cb'' <- mk_TerminalCommitCallback cb'
connectSignalFunPtr obj "commit" cb'' SignalConnectAfter
type TerminalContentsChangedCallback =
IO ()
noTerminalContentsChangedCallback :: Maybe TerminalContentsChangedCallback
noTerminalContentsChangedCallback = Nothing
type C_TerminalContentsChangedCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalContentsChangedCallback :: C_TerminalContentsChangedCallback -> IO (FunPtr C_TerminalContentsChangedCallback)
genClosure_TerminalContentsChanged :: TerminalContentsChangedCallback -> IO Closure
genClosure_TerminalContentsChanged cb = do
let cb' = wrap_TerminalContentsChangedCallback cb
mk_TerminalContentsChangedCallback cb' >>= newCClosure
wrap_TerminalContentsChangedCallback ::
TerminalContentsChangedCallback ->
C_TerminalContentsChangedCallback
wrap_TerminalContentsChangedCallback _cb _ _ = do
_cb
onTerminalContentsChanged :: (IsTerminal a, MonadIO m) => a -> TerminalContentsChangedCallback -> m SignalHandlerId
onTerminalContentsChanged obj cb = liftIO $ do
let cb' = wrap_TerminalContentsChangedCallback cb
cb'' <- mk_TerminalContentsChangedCallback cb'
connectSignalFunPtr obj "contents-changed" cb'' SignalConnectBefore
afterTerminalContentsChanged :: (IsTerminal a, MonadIO m) => a -> TerminalContentsChangedCallback -> m SignalHandlerId
afterTerminalContentsChanged obj cb = liftIO $ do
let cb' = wrap_TerminalContentsChangedCallback cb
cb'' <- mk_TerminalContentsChangedCallback cb'
connectSignalFunPtr obj "contents-changed" cb'' SignalConnectAfter
type TerminalCopyClipboardCallback =
IO ()
noTerminalCopyClipboardCallback :: Maybe TerminalCopyClipboardCallback
noTerminalCopyClipboardCallback = Nothing
type C_TerminalCopyClipboardCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalCopyClipboardCallback :: C_TerminalCopyClipboardCallback -> IO (FunPtr C_TerminalCopyClipboardCallback)
genClosure_TerminalCopyClipboard :: TerminalCopyClipboardCallback -> IO Closure
genClosure_TerminalCopyClipboard cb = do
let cb' = wrap_TerminalCopyClipboardCallback cb
mk_TerminalCopyClipboardCallback cb' >>= newCClosure
wrap_TerminalCopyClipboardCallback ::
TerminalCopyClipboardCallback ->
C_TerminalCopyClipboardCallback
wrap_TerminalCopyClipboardCallback _cb _ _ = do
_cb
onTerminalCopyClipboard :: (IsTerminal a, MonadIO m) => a -> TerminalCopyClipboardCallback -> m SignalHandlerId
onTerminalCopyClipboard obj cb = liftIO $ do
let cb' = wrap_TerminalCopyClipboardCallback cb
cb'' <- mk_TerminalCopyClipboardCallback cb'
connectSignalFunPtr obj "copy-clipboard" cb'' SignalConnectBefore
afterTerminalCopyClipboard :: (IsTerminal a, MonadIO m) => a -> TerminalCopyClipboardCallback -> m SignalHandlerId
afterTerminalCopyClipboard obj cb = liftIO $ do
let cb' = wrap_TerminalCopyClipboardCallback cb
cb'' <- mk_TerminalCopyClipboardCallback cb'
connectSignalFunPtr obj "copy-clipboard" cb'' SignalConnectAfter
type TerminalCurrentDirectoryUriChangedCallback =
IO ()
noTerminalCurrentDirectoryUriChangedCallback :: Maybe TerminalCurrentDirectoryUriChangedCallback
noTerminalCurrentDirectoryUriChangedCallback = Nothing
type C_TerminalCurrentDirectoryUriChangedCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalCurrentDirectoryUriChangedCallback :: C_TerminalCurrentDirectoryUriChangedCallback -> IO (FunPtr C_TerminalCurrentDirectoryUriChangedCallback)
genClosure_TerminalCurrentDirectoryUriChanged :: TerminalCurrentDirectoryUriChangedCallback -> IO Closure
genClosure_TerminalCurrentDirectoryUriChanged cb = do
let cb' = wrap_TerminalCurrentDirectoryUriChangedCallback cb
mk_TerminalCurrentDirectoryUriChangedCallback cb' >>= newCClosure
wrap_TerminalCurrentDirectoryUriChangedCallback ::
TerminalCurrentDirectoryUriChangedCallback ->
C_TerminalCurrentDirectoryUriChangedCallback
wrap_TerminalCurrentDirectoryUriChangedCallback _cb _ _ = do
_cb
onTerminalCurrentDirectoryUriChanged :: (IsTerminal a, MonadIO m) => a -> TerminalCurrentDirectoryUriChangedCallback -> m SignalHandlerId
onTerminalCurrentDirectoryUriChanged obj cb = liftIO $ do
let cb' = wrap_TerminalCurrentDirectoryUriChangedCallback cb
cb'' <- mk_TerminalCurrentDirectoryUriChangedCallback cb'
connectSignalFunPtr obj "current-directory-uri-changed" cb'' SignalConnectBefore
afterTerminalCurrentDirectoryUriChanged :: (IsTerminal a, MonadIO m) => a -> TerminalCurrentDirectoryUriChangedCallback -> m SignalHandlerId
afterTerminalCurrentDirectoryUriChanged obj cb = liftIO $ do
let cb' = wrap_TerminalCurrentDirectoryUriChangedCallback cb
cb'' <- mk_TerminalCurrentDirectoryUriChangedCallback cb'
connectSignalFunPtr obj "current-directory-uri-changed" cb'' SignalConnectAfter
type TerminalCurrentFileUriChangedCallback =
IO ()
noTerminalCurrentFileUriChangedCallback :: Maybe TerminalCurrentFileUriChangedCallback
noTerminalCurrentFileUriChangedCallback = Nothing
type C_TerminalCurrentFileUriChangedCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalCurrentFileUriChangedCallback :: C_TerminalCurrentFileUriChangedCallback -> IO (FunPtr C_TerminalCurrentFileUriChangedCallback)
genClosure_TerminalCurrentFileUriChanged :: TerminalCurrentFileUriChangedCallback -> IO Closure
genClosure_TerminalCurrentFileUriChanged cb = do
let cb' = wrap_TerminalCurrentFileUriChangedCallback cb
mk_TerminalCurrentFileUriChangedCallback cb' >>= newCClosure
wrap_TerminalCurrentFileUriChangedCallback ::
TerminalCurrentFileUriChangedCallback ->
C_TerminalCurrentFileUriChangedCallback
wrap_TerminalCurrentFileUriChangedCallback _cb _ _ = do
_cb
onTerminalCurrentFileUriChanged :: (IsTerminal a, MonadIO m) => a -> TerminalCurrentFileUriChangedCallback -> m SignalHandlerId
onTerminalCurrentFileUriChanged obj cb = liftIO $ do
let cb' = wrap_TerminalCurrentFileUriChangedCallback cb
cb'' <- mk_TerminalCurrentFileUriChangedCallback cb'
connectSignalFunPtr obj "current-file-uri-changed" cb'' SignalConnectBefore
afterTerminalCurrentFileUriChanged :: (IsTerminal a, MonadIO m) => a -> TerminalCurrentFileUriChangedCallback -> m SignalHandlerId
afterTerminalCurrentFileUriChanged obj cb = liftIO $ do
let cb' = wrap_TerminalCurrentFileUriChangedCallback cb
cb'' <- mk_TerminalCurrentFileUriChangedCallback cb'
connectSignalFunPtr obj "current-file-uri-changed" cb'' SignalConnectAfter
type TerminalCursorMovedCallback =
IO ()
noTerminalCursorMovedCallback :: Maybe TerminalCursorMovedCallback
noTerminalCursorMovedCallback = Nothing
type C_TerminalCursorMovedCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalCursorMovedCallback :: C_TerminalCursorMovedCallback -> IO (FunPtr C_TerminalCursorMovedCallback)
genClosure_TerminalCursorMoved :: TerminalCursorMovedCallback -> IO Closure
genClosure_TerminalCursorMoved cb = do
let cb' = wrap_TerminalCursorMovedCallback cb
mk_TerminalCursorMovedCallback cb' >>= newCClosure
wrap_TerminalCursorMovedCallback ::
TerminalCursorMovedCallback ->
C_TerminalCursorMovedCallback
wrap_TerminalCursorMovedCallback _cb _ _ = do
_cb
onTerminalCursorMoved :: (IsTerminal a, MonadIO m) => a -> TerminalCursorMovedCallback -> m SignalHandlerId
onTerminalCursorMoved obj cb = liftIO $ do
let cb' = wrap_TerminalCursorMovedCallback cb
cb'' <- mk_TerminalCursorMovedCallback cb'
connectSignalFunPtr obj "cursor-moved" cb'' SignalConnectBefore
afterTerminalCursorMoved :: (IsTerminal a, MonadIO m) => a -> TerminalCursorMovedCallback -> m SignalHandlerId
afterTerminalCursorMoved obj cb = liftIO $ do
let cb' = wrap_TerminalCursorMovedCallback cb
cb'' <- mk_TerminalCursorMovedCallback cb'
connectSignalFunPtr obj "cursor-moved" cb'' SignalConnectAfter
type TerminalDecreaseFontSizeCallback =
IO ()
noTerminalDecreaseFontSizeCallback :: Maybe TerminalDecreaseFontSizeCallback
noTerminalDecreaseFontSizeCallback = Nothing
type C_TerminalDecreaseFontSizeCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalDecreaseFontSizeCallback :: C_TerminalDecreaseFontSizeCallback -> IO (FunPtr C_TerminalDecreaseFontSizeCallback)
genClosure_TerminalDecreaseFontSize :: TerminalDecreaseFontSizeCallback -> IO Closure
genClosure_TerminalDecreaseFontSize cb = do
let cb' = wrap_TerminalDecreaseFontSizeCallback cb
mk_TerminalDecreaseFontSizeCallback cb' >>= newCClosure
wrap_TerminalDecreaseFontSizeCallback ::
TerminalDecreaseFontSizeCallback ->
C_TerminalDecreaseFontSizeCallback
wrap_TerminalDecreaseFontSizeCallback _cb _ _ = do
_cb
onTerminalDecreaseFontSize :: (IsTerminal a, MonadIO m) => a -> TerminalDecreaseFontSizeCallback -> m SignalHandlerId
onTerminalDecreaseFontSize obj cb = liftIO $ do
let cb' = wrap_TerminalDecreaseFontSizeCallback cb
cb'' <- mk_TerminalDecreaseFontSizeCallback cb'
connectSignalFunPtr obj "decrease-font-size" cb'' SignalConnectBefore
afterTerminalDecreaseFontSize :: (IsTerminal a, MonadIO m) => a -> TerminalDecreaseFontSizeCallback -> m SignalHandlerId
afterTerminalDecreaseFontSize obj cb = liftIO $ do
let cb' = wrap_TerminalDecreaseFontSizeCallback cb
cb'' <- mk_TerminalDecreaseFontSizeCallback cb'
connectSignalFunPtr obj "decrease-font-size" cb'' SignalConnectAfter
type TerminalDeiconifyWindowCallback =
IO ()
noTerminalDeiconifyWindowCallback :: Maybe TerminalDeiconifyWindowCallback
noTerminalDeiconifyWindowCallback = Nothing
type C_TerminalDeiconifyWindowCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalDeiconifyWindowCallback :: C_TerminalDeiconifyWindowCallback -> IO (FunPtr C_TerminalDeiconifyWindowCallback)
genClosure_TerminalDeiconifyWindow :: TerminalDeiconifyWindowCallback -> IO Closure
genClosure_TerminalDeiconifyWindow cb = do
let cb' = wrap_TerminalDeiconifyWindowCallback cb
mk_TerminalDeiconifyWindowCallback cb' >>= newCClosure
wrap_TerminalDeiconifyWindowCallback ::
TerminalDeiconifyWindowCallback ->
C_TerminalDeiconifyWindowCallback
wrap_TerminalDeiconifyWindowCallback _cb _ _ = do
_cb
onTerminalDeiconifyWindow :: (IsTerminal a, MonadIO m) => a -> TerminalDeiconifyWindowCallback -> m SignalHandlerId
onTerminalDeiconifyWindow obj cb = liftIO $ do
let cb' = wrap_TerminalDeiconifyWindowCallback cb
cb'' <- mk_TerminalDeiconifyWindowCallback cb'
connectSignalFunPtr obj "deiconify-window" cb'' SignalConnectBefore
afterTerminalDeiconifyWindow :: (IsTerminal a, MonadIO m) => a -> TerminalDeiconifyWindowCallback -> m SignalHandlerId
afterTerminalDeiconifyWindow obj cb = liftIO $ do
let cb' = wrap_TerminalDeiconifyWindowCallback cb
cb'' <- mk_TerminalDeiconifyWindowCallback cb'
connectSignalFunPtr obj "deiconify-window" cb'' SignalConnectAfter
type TerminalEncodingChangedCallback =
IO ()
noTerminalEncodingChangedCallback :: Maybe TerminalEncodingChangedCallback
noTerminalEncodingChangedCallback = Nothing
type C_TerminalEncodingChangedCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalEncodingChangedCallback :: C_TerminalEncodingChangedCallback -> IO (FunPtr C_TerminalEncodingChangedCallback)
genClosure_TerminalEncodingChanged :: TerminalEncodingChangedCallback -> IO Closure
genClosure_TerminalEncodingChanged cb = do
let cb' = wrap_TerminalEncodingChangedCallback cb
mk_TerminalEncodingChangedCallback cb' >>= newCClosure
wrap_TerminalEncodingChangedCallback ::
TerminalEncodingChangedCallback ->
C_TerminalEncodingChangedCallback
wrap_TerminalEncodingChangedCallback _cb _ _ = do
_cb
onTerminalEncodingChanged :: (IsTerminal a, MonadIO m) => a -> TerminalEncodingChangedCallback -> m SignalHandlerId
onTerminalEncodingChanged obj cb = liftIO $ do
let cb' = wrap_TerminalEncodingChangedCallback cb
cb'' <- mk_TerminalEncodingChangedCallback cb'
connectSignalFunPtr obj "encoding-changed" cb'' SignalConnectBefore
afterTerminalEncodingChanged :: (IsTerminal a, MonadIO m) => a -> TerminalEncodingChangedCallback -> m SignalHandlerId
afterTerminalEncodingChanged obj cb = liftIO $ do
let cb' = wrap_TerminalEncodingChangedCallback cb
cb'' <- mk_TerminalEncodingChangedCallback cb'
connectSignalFunPtr obj "encoding-changed" cb'' SignalConnectAfter
type TerminalEofCallback =
IO ()
noTerminalEofCallback :: Maybe TerminalEofCallback
noTerminalEofCallback = Nothing
type C_TerminalEofCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalEofCallback :: C_TerminalEofCallback -> IO (FunPtr C_TerminalEofCallback)
genClosure_TerminalEof :: TerminalEofCallback -> IO Closure
genClosure_TerminalEof cb = do
let cb' = wrap_TerminalEofCallback cb
mk_TerminalEofCallback cb' >>= newCClosure
wrap_TerminalEofCallback ::
TerminalEofCallback ->
C_TerminalEofCallback
wrap_TerminalEofCallback _cb _ _ = do
_cb
onTerminalEof :: (IsTerminal a, MonadIO m) => a -> TerminalEofCallback -> m SignalHandlerId
onTerminalEof obj cb = liftIO $ do
let cb' = wrap_TerminalEofCallback cb
cb'' <- mk_TerminalEofCallback cb'
connectSignalFunPtr obj "eof" cb'' SignalConnectBefore
afterTerminalEof :: (IsTerminal a, MonadIO m) => a -> TerminalEofCallback -> m SignalHandlerId
afterTerminalEof obj cb = liftIO $ do
let cb' = wrap_TerminalEofCallback cb
cb'' <- mk_TerminalEofCallback cb'
connectSignalFunPtr obj "eof" cb'' SignalConnectAfter
type TerminalHyperlinkHoverUriChangedCallback =
T.Text
-> Gdk.Rectangle.Rectangle
-> IO ()
noTerminalHyperlinkHoverUriChangedCallback :: Maybe TerminalHyperlinkHoverUriChangedCallback
noTerminalHyperlinkHoverUriChangedCallback = Nothing
type C_TerminalHyperlinkHoverUriChangedCallback =
Ptr () ->
CString ->
Ptr Gdk.Rectangle.Rectangle ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalHyperlinkHoverUriChangedCallback :: C_TerminalHyperlinkHoverUriChangedCallback -> IO (FunPtr C_TerminalHyperlinkHoverUriChangedCallback)
genClosure_TerminalHyperlinkHoverUriChanged :: TerminalHyperlinkHoverUriChangedCallback -> IO Closure
genClosure_TerminalHyperlinkHoverUriChanged cb = do
let cb' = wrap_TerminalHyperlinkHoverUriChangedCallback cb
mk_TerminalHyperlinkHoverUriChangedCallback cb' >>= newCClosure
wrap_TerminalHyperlinkHoverUriChangedCallback ::
TerminalHyperlinkHoverUriChangedCallback ->
C_TerminalHyperlinkHoverUriChangedCallback
wrap_TerminalHyperlinkHoverUriChangedCallback _cb _ uri bbox _ = do
uri' <- cstringToText uri
B.ManagedPtr.withTransient Gdk.Rectangle.Rectangle bbox $ \bbox' -> do
_cb uri' bbox'
onTerminalHyperlinkHoverUriChanged :: (IsTerminal a, MonadIO m) => a -> TerminalHyperlinkHoverUriChangedCallback -> m SignalHandlerId
onTerminalHyperlinkHoverUriChanged obj cb = liftIO $ do
let cb' = wrap_TerminalHyperlinkHoverUriChangedCallback cb
cb'' <- mk_TerminalHyperlinkHoverUriChangedCallback cb'
connectSignalFunPtr obj "hyperlink-hover-uri-changed" cb'' SignalConnectBefore
afterTerminalHyperlinkHoverUriChanged :: (IsTerminal a, MonadIO m) => a -> TerminalHyperlinkHoverUriChangedCallback -> m SignalHandlerId
afterTerminalHyperlinkHoverUriChanged obj cb = liftIO $ do
let cb' = wrap_TerminalHyperlinkHoverUriChangedCallback cb
cb'' <- mk_TerminalHyperlinkHoverUriChangedCallback cb'
connectSignalFunPtr obj "hyperlink-hover-uri-changed" cb'' SignalConnectAfter
type TerminalIconTitleChangedCallback =
IO ()
noTerminalIconTitleChangedCallback :: Maybe TerminalIconTitleChangedCallback
noTerminalIconTitleChangedCallback = Nothing
type C_TerminalIconTitleChangedCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalIconTitleChangedCallback :: C_TerminalIconTitleChangedCallback -> IO (FunPtr C_TerminalIconTitleChangedCallback)
genClosure_TerminalIconTitleChanged :: TerminalIconTitleChangedCallback -> IO Closure
genClosure_TerminalIconTitleChanged cb = do
let cb' = wrap_TerminalIconTitleChangedCallback cb
mk_TerminalIconTitleChangedCallback cb' >>= newCClosure
wrap_TerminalIconTitleChangedCallback ::
TerminalIconTitleChangedCallback ->
C_TerminalIconTitleChangedCallback
wrap_TerminalIconTitleChangedCallback _cb _ _ = do
_cb
onTerminalIconTitleChanged :: (IsTerminal a, MonadIO m) => a -> TerminalIconTitleChangedCallback -> m SignalHandlerId
onTerminalIconTitleChanged obj cb = liftIO $ do
let cb' = wrap_TerminalIconTitleChangedCallback cb
cb'' <- mk_TerminalIconTitleChangedCallback cb'
connectSignalFunPtr obj "icon-title-changed" cb'' SignalConnectBefore
afterTerminalIconTitleChanged :: (IsTerminal a, MonadIO m) => a -> TerminalIconTitleChangedCallback -> m SignalHandlerId
afterTerminalIconTitleChanged obj cb = liftIO $ do
let cb' = wrap_TerminalIconTitleChangedCallback cb
cb'' <- mk_TerminalIconTitleChangedCallback cb'
connectSignalFunPtr obj "icon-title-changed" cb'' SignalConnectAfter
type TerminalIconifyWindowCallback =
IO ()
noTerminalIconifyWindowCallback :: Maybe TerminalIconifyWindowCallback
noTerminalIconifyWindowCallback = Nothing
type C_TerminalIconifyWindowCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalIconifyWindowCallback :: C_TerminalIconifyWindowCallback -> IO (FunPtr C_TerminalIconifyWindowCallback)
genClosure_TerminalIconifyWindow :: TerminalIconifyWindowCallback -> IO Closure
genClosure_TerminalIconifyWindow cb = do
let cb' = wrap_TerminalIconifyWindowCallback cb
mk_TerminalIconifyWindowCallback cb' >>= newCClosure
wrap_TerminalIconifyWindowCallback ::
TerminalIconifyWindowCallback ->
C_TerminalIconifyWindowCallback
wrap_TerminalIconifyWindowCallback _cb _ _ = do
_cb
onTerminalIconifyWindow :: (IsTerminal a, MonadIO m) => a -> TerminalIconifyWindowCallback -> m SignalHandlerId
onTerminalIconifyWindow obj cb = liftIO $ do
let cb' = wrap_TerminalIconifyWindowCallback cb
cb'' <- mk_TerminalIconifyWindowCallback cb'
connectSignalFunPtr obj "iconify-window" cb'' SignalConnectBefore
afterTerminalIconifyWindow :: (IsTerminal a, MonadIO m) => a -> TerminalIconifyWindowCallback -> m SignalHandlerId
afterTerminalIconifyWindow obj cb = liftIO $ do
let cb' = wrap_TerminalIconifyWindowCallback cb
cb'' <- mk_TerminalIconifyWindowCallback cb'
connectSignalFunPtr obj "iconify-window" cb'' SignalConnectAfter
type TerminalIncreaseFontSizeCallback =
IO ()
noTerminalIncreaseFontSizeCallback :: Maybe TerminalIncreaseFontSizeCallback
noTerminalIncreaseFontSizeCallback = Nothing
type C_TerminalIncreaseFontSizeCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalIncreaseFontSizeCallback :: C_TerminalIncreaseFontSizeCallback -> IO (FunPtr C_TerminalIncreaseFontSizeCallback)
genClosure_TerminalIncreaseFontSize :: TerminalIncreaseFontSizeCallback -> IO Closure
genClosure_TerminalIncreaseFontSize cb = do
let cb' = wrap_TerminalIncreaseFontSizeCallback cb
mk_TerminalIncreaseFontSizeCallback cb' >>= newCClosure
wrap_TerminalIncreaseFontSizeCallback ::
TerminalIncreaseFontSizeCallback ->
C_TerminalIncreaseFontSizeCallback
wrap_TerminalIncreaseFontSizeCallback _cb _ _ = do
_cb
onTerminalIncreaseFontSize :: (IsTerminal a, MonadIO m) => a -> TerminalIncreaseFontSizeCallback -> m SignalHandlerId
onTerminalIncreaseFontSize obj cb = liftIO $ do
let cb' = wrap_TerminalIncreaseFontSizeCallback cb
cb'' <- mk_TerminalIncreaseFontSizeCallback cb'
connectSignalFunPtr obj "increase-font-size" cb'' SignalConnectBefore
afterTerminalIncreaseFontSize :: (IsTerminal a, MonadIO m) => a -> TerminalIncreaseFontSizeCallback -> m SignalHandlerId
afterTerminalIncreaseFontSize obj cb = liftIO $ do
let cb' = wrap_TerminalIncreaseFontSizeCallback cb
cb'' <- mk_TerminalIncreaseFontSizeCallback cb'
connectSignalFunPtr obj "increase-font-size" cb'' SignalConnectAfter
type TerminalLowerWindowCallback =
IO ()
noTerminalLowerWindowCallback :: Maybe TerminalLowerWindowCallback
noTerminalLowerWindowCallback = Nothing
type C_TerminalLowerWindowCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalLowerWindowCallback :: C_TerminalLowerWindowCallback -> IO (FunPtr C_TerminalLowerWindowCallback)
genClosure_TerminalLowerWindow :: TerminalLowerWindowCallback -> IO Closure
genClosure_TerminalLowerWindow cb = do
let cb' = wrap_TerminalLowerWindowCallback cb
mk_TerminalLowerWindowCallback cb' >>= newCClosure
wrap_TerminalLowerWindowCallback ::
TerminalLowerWindowCallback ->
C_TerminalLowerWindowCallback
wrap_TerminalLowerWindowCallback _cb _ _ = do
_cb
onTerminalLowerWindow :: (IsTerminal a, MonadIO m) => a -> TerminalLowerWindowCallback -> m SignalHandlerId
onTerminalLowerWindow obj cb = liftIO $ do
let cb' = wrap_TerminalLowerWindowCallback cb
cb'' <- mk_TerminalLowerWindowCallback cb'
connectSignalFunPtr obj "lower-window" cb'' SignalConnectBefore
afterTerminalLowerWindow :: (IsTerminal a, MonadIO m) => a -> TerminalLowerWindowCallback -> m SignalHandlerId
afterTerminalLowerWindow obj cb = liftIO $ do
let cb' = wrap_TerminalLowerWindowCallback cb
cb'' <- mk_TerminalLowerWindowCallback cb'
connectSignalFunPtr obj "lower-window" cb'' SignalConnectAfter
type TerminalMaximizeWindowCallback =
IO ()
noTerminalMaximizeWindowCallback :: Maybe TerminalMaximizeWindowCallback
noTerminalMaximizeWindowCallback = Nothing
type C_TerminalMaximizeWindowCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalMaximizeWindowCallback :: C_TerminalMaximizeWindowCallback -> IO (FunPtr C_TerminalMaximizeWindowCallback)
genClosure_TerminalMaximizeWindow :: TerminalMaximizeWindowCallback -> IO Closure
genClosure_TerminalMaximizeWindow cb = do
let cb' = wrap_TerminalMaximizeWindowCallback cb
mk_TerminalMaximizeWindowCallback cb' >>= newCClosure
wrap_TerminalMaximizeWindowCallback ::
TerminalMaximizeWindowCallback ->
C_TerminalMaximizeWindowCallback
wrap_TerminalMaximizeWindowCallback _cb _ _ = do
_cb
onTerminalMaximizeWindow :: (IsTerminal a, MonadIO m) => a -> TerminalMaximizeWindowCallback -> m SignalHandlerId
onTerminalMaximizeWindow obj cb = liftIO $ do
let cb' = wrap_TerminalMaximizeWindowCallback cb
cb'' <- mk_TerminalMaximizeWindowCallback cb'
connectSignalFunPtr obj "maximize-window" cb'' SignalConnectBefore
afterTerminalMaximizeWindow :: (IsTerminal a, MonadIO m) => a -> TerminalMaximizeWindowCallback -> m SignalHandlerId
afterTerminalMaximizeWindow obj cb = liftIO $ do
let cb' = wrap_TerminalMaximizeWindowCallback cb
cb'' <- mk_TerminalMaximizeWindowCallback cb'
connectSignalFunPtr obj "maximize-window" cb'' SignalConnectAfter
type TerminalMoveWindowCallback =
Word32
-> Word32
-> IO ()
noTerminalMoveWindowCallback :: Maybe TerminalMoveWindowCallback
noTerminalMoveWindowCallback = Nothing
type C_TerminalMoveWindowCallback =
Ptr () ->
Word32 ->
Word32 ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalMoveWindowCallback :: C_TerminalMoveWindowCallback -> IO (FunPtr C_TerminalMoveWindowCallback)
genClosure_TerminalMoveWindow :: TerminalMoveWindowCallback -> IO Closure
genClosure_TerminalMoveWindow cb = do
let cb' = wrap_TerminalMoveWindowCallback cb
mk_TerminalMoveWindowCallback cb' >>= newCClosure
wrap_TerminalMoveWindowCallback ::
TerminalMoveWindowCallback ->
C_TerminalMoveWindowCallback
wrap_TerminalMoveWindowCallback _cb _ x y _ = do
_cb x y
onTerminalMoveWindow :: (IsTerminal a, MonadIO m) => a -> TerminalMoveWindowCallback -> m SignalHandlerId
onTerminalMoveWindow obj cb = liftIO $ do
let cb' = wrap_TerminalMoveWindowCallback cb
cb'' <- mk_TerminalMoveWindowCallback cb'
connectSignalFunPtr obj "move-window" cb'' SignalConnectBefore
afterTerminalMoveWindow :: (IsTerminal a, MonadIO m) => a -> TerminalMoveWindowCallback -> m SignalHandlerId
afterTerminalMoveWindow obj cb = liftIO $ do
let cb' = wrap_TerminalMoveWindowCallback cb
cb'' <- mk_TerminalMoveWindowCallback cb'
connectSignalFunPtr obj "move-window" cb'' SignalConnectAfter
type TerminalNotificationReceivedCallback =
T.Text
-> Maybe T.Text
-> IO ()
noTerminalNotificationReceivedCallback :: Maybe TerminalNotificationReceivedCallback
noTerminalNotificationReceivedCallback = Nothing
type C_TerminalNotificationReceivedCallback =
Ptr () ->
CString ->
CString ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalNotificationReceivedCallback :: C_TerminalNotificationReceivedCallback -> IO (FunPtr C_TerminalNotificationReceivedCallback)
genClosure_TerminalNotificationReceived :: TerminalNotificationReceivedCallback -> IO Closure
genClosure_TerminalNotificationReceived cb = do
let cb' = wrap_TerminalNotificationReceivedCallback cb
mk_TerminalNotificationReceivedCallback cb' >>= newCClosure
wrap_TerminalNotificationReceivedCallback ::
TerminalNotificationReceivedCallback ->
C_TerminalNotificationReceivedCallback
wrap_TerminalNotificationReceivedCallback _cb _ summary body _ = do
summary' <- cstringToText summary
maybeBody <-
if body == nullPtr
then return Nothing
else do
body' <- cstringToText body
return $ Just body'
_cb summary' maybeBody
onTerminalNotificationReceived :: (IsTerminal a, MonadIO m) => a -> TerminalNotificationReceivedCallback -> m SignalHandlerId
onTerminalNotificationReceived obj cb = liftIO $ do
let cb' = wrap_TerminalNotificationReceivedCallback cb
cb'' <- mk_TerminalNotificationReceivedCallback cb'
connectSignalFunPtr obj "notification-received" cb'' SignalConnectBefore
afterTerminalNotificationReceived :: (IsTerminal a, MonadIO m) => a -> TerminalNotificationReceivedCallback -> m SignalHandlerId
afterTerminalNotificationReceived obj cb = liftIO $ do
let cb' = wrap_TerminalNotificationReceivedCallback cb
cb'' <- mk_TerminalNotificationReceivedCallback cb'
connectSignalFunPtr obj "notification-received" cb'' SignalConnectAfter
type TerminalPasteClipboardCallback =
IO ()
noTerminalPasteClipboardCallback :: Maybe TerminalPasteClipboardCallback
noTerminalPasteClipboardCallback = Nothing
type C_TerminalPasteClipboardCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalPasteClipboardCallback :: C_TerminalPasteClipboardCallback -> IO (FunPtr C_TerminalPasteClipboardCallback)
genClosure_TerminalPasteClipboard :: TerminalPasteClipboardCallback -> IO Closure
genClosure_TerminalPasteClipboard cb = do
let cb' = wrap_TerminalPasteClipboardCallback cb
mk_TerminalPasteClipboardCallback cb' >>= newCClosure
wrap_TerminalPasteClipboardCallback ::
TerminalPasteClipboardCallback ->
C_TerminalPasteClipboardCallback
wrap_TerminalPasteClipboardCallback _cb _ _ = do
_cb
onTerminalPasteClipboard :: (IsTerminal a, MonadIO m) => a -> TerminalPasteClipboardCallback -> m SignalHandlerId
onTerminalPasteClipboard obj cb = liftIO $ do
let cb' = wrap_TerminalPasteClipboardCallback cb
cb'' <- mk_TerminalPasteClipboardCallback cb'
connectSignalFunPtr obj "paste-clipboard" cb'' SignalConnectBefore
afterTerminalPasteClipboard :: (IsTerminal a, MonadIO m) => a -> TerminalPasteClipboardCallback -> m SignalHandlerId
afterTerminalPasteClipboard obj cb = liftIO $ do
let cb' = wrap_TerminalPasteClipboardCallback cb
cb'' <- mk_TerminalPasteClipboardCallback cb'
connectSignalFunPtr obj "paste-clipboard" cb'' SignalConnectAfter
type TerminalRaiseWindowCallback =
IO ()
noTerminalRaiseWindowCallback :: Maybe TerminalRaiseWindowCallback
noTerminalRaiseWindowCallback = Nothing
type C_TerminalRaiseWindowCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalRaiseWindowCallback :: C_TerminalRaiseWindowCallback -> IO (FunPtr C_TerminalRaiseWindowCallback)
genClosure_TerminalRaiseWindow :: TerminalRaiseWindowCallback -> IO Closure
genClosure_TerminalRaiseWindow cb = do
let cb' = wrap_TerminalRaiseWindowCallback cb
mk_TerminalRaiseWindowCallback cb' >>= newCClosure
wrap_TerminalRaiseWindowCallback ::
TerminalRaiseWindowCallback ->
C_TerminalRaiseWindowCallback
wrap_TerminalRaiseWindowCallback _cb _ _ = do
_cb
onTerminalRaiseWindow :: (IsTerminal a, MonadIO m) => a -> TerminalRaiseWindowCallback -> m SignalHandlerId
onTerminalRaiseWindow obj cb = liftIO $ do
let cb' = wrap_TerminalRaiseWindowCallback cb
cb'' <- mk_TerminalRaiseWindowCallback cb'
connectSignalFunPtr obj "raise-window" cb'' SignalConnectBefore
afterTerminalRaiseWindow :: (IsTerminal a, MonadIO m) => a -> TerminalRaiseWindowCallback -> m SignalHandlerId
afterTerminalRaiseWindow obj cb = liftIO $ do
let cb' = wrap_TerminalRaiseWindowCallback cb
cb'' <- mk_TerminalRaiseWindowCallback cb'
connectSignalFunPtr obj "raise-window" cb'' SignalConnectAfter
type TerminalRefreshWindowCallback =
IO ()
noTerminalRefreshWindowCallback :: Maybe TerminalRefreshWindowCallback
noTerminalRefreshWindowCallback = Nothing
type C_TerminalRefreshWindowCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalRefreshWindowCallback :: C_TerminalRefreshWindowCallback -> IO (FunPtr C_TerminalRefreshWindowCallback)
genClosure_TerminalRefreshWindow :: TerminalRefreshWindowCallback -> IO Closure
genClosure_TerminalRefreshWindow cb = do
let cb' = wrap_TerminalRefreshWindowCallback cb
mk_TerminalRefreshWindowCallback cb' >>= newCClosure
wrap_TerminalRefreshWindowCallback ::
TerminalRefreshWindowCallback ->
C_TerminalRefreshWindowCallback
wrap_TerminalRefreshWindowCallback _cb _ _ = do
_cb
onTerminalRefreshWindow :: (IsTerminal a, MonadIO m) => a -> TerminalRefreshWindowCallback -> m SignalHandlerId
onTerminalRefreshWindow obj cb = liftIO $ do
let cb' = wrap_TerminalRefreshWindowCallback cb
cb'' <- mk_TerminalRefreshWindowCallback cb'
connectSignalFunPtr obj "refresh-window" cb'' SignalConnectBefore
afterTerminalRefreshWindow :: (IsTerminal a, MonadIO m) => a -> TerminalRefreshWindowCallback -> m SignalHandlerId
afterTerminalRefreshWindow obj cb = liftIO $ do
let cb' = wrap_TerminalRefreshWindowCallback cb
cb'' <- mk_TerminalRefreshWindowCallback cb'
connectSignalFunPtr obj "refresh-window" cb'' SignalConnectAfter
type TerminalResizeWindowCallback =
Word32
-> Word32
-> IO ()
noTerminalResizeWindowCallback :: Maybe TerminalResizeWindowCallback
noTerminalResizeWindowCallback = Nothing
type C_TerminalResizeWindowCallback =
Ptr () ->
Word32 ->
Word32 ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalResizeWindowCallback :: C_TerminalResizeWindowCallback -> IO (FunPtr C_TerminalResizeWindowCallback)
genClosure_TerminalResizeWindow :: TerminalResizeWindowCallback -> IO Closure
genClosure_TerminalResizeWindow cb = do
let cb' = wrap_TerminalResizeWindowCallback cb
mk_TerminalResizeWindowCallback cb' >>= newCClosure
wrap_TerminalResizeWindowCallback ::
TerminalResizeWindowCallback ->
C_TerminalResizeWindowCallback
wrap_TerminalResizeWindowCallback _cb _ width height _ = do
_cb width height
onTerminalResizeWindow :: (IsTerminal a, MonadIO m) => a -> TerminalResizeWindowCallback -> m SignalHandlerId
onTerminalResizeWindow obj cb = liftIO $ do
let cb' = wrap_TerminalResizeWindowCallback cb
cb'' <- mk_TerminalResizeWindowCallback cb'
connectSignalFunPtr obj "resize-window" cb'' SignalConnectBefore
afterTerminalResizeWindow :: (IsTerminal a, MonadIO m) => a -> TerminalResizeWindowCallback -> m SignalHandlerId
afterTerminalResizeWindow obj cb = liftIO $ do
let cb' = wrap_TerminalResizeWindowCallback cb
cb'' <- mk_TerminalResizeWindowCallback cb'
connectSignalFunPtr obj "resize-window" cb'' SignalConnectAfter
type TerminalRestoreWindowCallback =
IO ()
noTerminalRestoreWindowCallback :: Maybe TerminalRestoreWindowCallback
noTerminalRestoreWindowCallback = Nothing
type C_TerminalRestoreWindowCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalRestoreWindowCallback :: C_TerminalRestoreWindowCallback -> IO (FunPtr C_TerminalRestoreWindowCallback)
genClosure_TerminalRestoreWindow :: TerminalRestoreWindowCallback -> IO Closure
genClosure_TerminalRestoreWindow cb = do
let cb' = wrap_TerminalRestoreWindowCallback cb
mk_TerminalRestoreWindowCallback cb' >>= newCClosure
wrap_TerminalRestoreWindowCallback ::
TerminalRestoreWindowCallback ->
C_TerminalRestoreWindowCallback
wrap_TerminalRestoreWindowCallback _cb _ _ = do
_cb
onTerminalRestoreWindow :: (IsTerminal a, MonadIO m) => a -> TerminalRestoreWindowCallback -> m SignalHandlerId
onTerminalRestoreWindow obj cb = liftIO $ do
let cb' = wrap_TerminalRestoreWindowCallback cb
cb'' <- mk_TerminalRestoreWindowCallback cb'
connectSignalFunPtr obj "restore-window" cb'' SignalConnectBefore
afterTerminalRestoreWindow :: (IsTerminal a, MonadIO m) => a -> TerminalRestoreWindowCallback -> m SignalHandlerId
afterTerminalRestoreWindow obj cb = liftIO $ do
let cb' = wrap_TerminalRestoreWindowCallback cb
cb'' <- mk_TerminalRestoreWindowCallback cb'
connectSignalFunPtr obj "restore-window" cb'' SignalConnectAfter
type TerminalSelectionChangedCallback =
IO ()
noTerminalSelectionChangedCallback :: Maybe TerminalSelectionChangedCallback
noTerminalSelectionChangedCallback = Nothing
type C_TerminalSelectionChangedCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalSelectionChangedCallback :: C_TerminalSelectionChangedCallback -> IO (FunPtr C_TerminalSelectionChangedCallback)
genClosure_TerminalSelectionChanged :: TerminalSelectionChangedCallback -> IO Closure
genClosure_TerminalSelectionChanged cb = do
let cb' = wrap_TerminalSelectionChangedCallback cb
mk_TerminalSelectionChangedCallback cb' >>= newCClosure
wrap_TerminalSelectionChangedCallback ::
TerminalSelectionChangedCallback ->
C_TerminalSelectionChangedCallback
wrap_TerminalSelectionChangedCallback _cb _ _ = do
_cb
onTerminalSelectionChanged :: (IsTerminal a, MonadIO m) => a -> TerminalSelectionChangedCallback -> m SignalHandlerId
onTerminalSelectionChanged obj cb = liftIO $ do
let cb' = wrap_TerminalSelectionChangedCallback cb
cb'' <- mk_TerminalSelectionChangedCallback cb'
connectSignalFunPtr obj "selection-changed" cb'' SignalConnectBefore
afterTerminalSelectionChanged :: (IsTerminal a, MonadIO m) => a -> TerminalSelectionChangedCallback -> m SignalHandlerId
afterTerminalSelectionChanged obj cb = liftIO $ do
let cb' = wrap_TerminalSelectionChangedCallback cb
cb'' <- mk_TerminalSelectionChangedCallback cb'
connectSignalFunPtr obj "selection-changed" cb'' SignalConnectAfter
type TerminalTextDeletedCallback =
IO ()
noTerminalTextDeletedCallback :: Maybe TerminalTextDeletedCallback
noTerminalTextDeletedCallback = Nothing
type C_TerminalTextDeletedCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalTextDeletedCallback :: C_TerminalTextDeletedCallback -> IO (FunPtr C_TerminalTextDeletedCallback)
genClosure_TerminalTextDeleted :: TerminalTextDeletedCallback -> IO Closure
genClosure_TerminalTextDeleted cb = do
let cb' = wrap_TerminalTextDeletedCallback cb
mk_TerminalTextDeletedCallback cb' >>= newCClosure
wrap_TerminalTextDeletedCallback ::
TerminalTextDeletedCallback ->
C_TerminalTextDeletedCallback
wrap_TerminalTextDeletedCallback _cb _ _ = do
_cb
onTerminalTextDeleted :: (IsTerminal a, MonadIO m) => a -> TerminalTextDeletedCallback -> m SignalHandlerId
onTerminalTextDeleted obj cb = liftIO $ do
let cb' = wrap_TerminalTextDeletedCallback cb
cb'' <- mk_TerminalTextDeletedCallback cb'
connectSignalFunPtr obj "text-deleted" cb'' SignalConnectBefore
afterTerminalTextDeleted :: (IsTerminal a, MonadIO m) => a -> TerminalTextDeletedCallback -> m SignalHandlerId
afterTerminalTextDeleted obj cb = liftIO $ do
let cb' = wrap_TerminalTextDeletedCallback cb
cb'' <- mk_TerminalTextDeletedCallback cb'
connectSignalFunPtr obj "text-deleted" cb'' SignalConnectAfter
type TerminalTextInsertedCallback =
IO ()
noTerminalTextInsertedCallback :: Maybe TerminalTextInsertedCallback
noTerminalTextInsertedCallback = Nothing
type C_TerminalTextInsertedCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalTextInsertedCallback :: C_TerminalTextInsertedCallback -> IO (FunPtr C_TerminalTextInsertedCallback)
genClosure_TerminalTextInserted :: TerminalTextInsertedCallback -> IO Closure
genClosure_TerminalTextInserted cb = do
let cb' = wrap_TerminalTextInsertedCallback cb
mk_TerminalTextInsertedCallback cb' >>= newCClosure
wrap_TerminalTextInsertedCallback ::
TerminalTextInsertedCallback ->
C_TerminalTextInsertedCallback
wrap_TerminalTextInsertedCallback _cb _ _ = do
_cb
onTerminalTextInserted :: (IsTerminal a, MonadIO m) => a -> TerminalTextInsertedCallback -> m SignalHandlerId
onTerminalTextInserted obj cb = liftIO $ do
let cb' = wrap_TerminalTextInsertedCallback cb
cb'' <- mk_TerminalTextInsertedCallback cb'
connectSignalFunPtr obj "text-inserted" cb'' SignalConnectBefore
afterTerminalTextInserted :: (IsTerminal a, MonadIO m) => a -> TerminalTextInsertedCallback -> m SignalHandlerId
afterTerminalTextInserted obj cb = liftIO $ do
let cb' = wrap_TerminalTextInsertedCallback cb
cb'' <- mk_TerminalTextInsertedCallback cb'
connectSignalFunPtr obj "text-inserted" cb'' SignalConnectAfter
type TerminalTextModifiedCallback =
IO ()
noTerminalTextModifiedCallback :: Maybe TerminalTextModifiedCallback
noTerminalTextModifiedCallback = Nothing
type C_TerminalTextModifiedCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalTextModifiedCallback :: C_TerminalTextModifiedCallback -> IO (FunPtr C_TerminalTextModifiedCallback)
genClosure_TerminalTextModified :: TerminalTextModifiedCallback -> IO Closure
genClosure_TerminalTextModified cb = do
let cb' = wrap_TerminalTextModifiedCallback cb
mk_TerminalTextModifiedCallback cb' >>= newCClosure
wrap_TerminalTextModifiedCallback ::
TerminalTextModifiedCallback ->
C_TerminalTextModifiedCallback
wrap_TerminalTextModifiedCallback _cb _ _ = do
_cb
onTerminalTextModified :: (IsTerminal a, MonadIO m) => a -> TerminalTextModifiedCallback -> m SignalHandlerId
onTerminalTextModified obj cb = liftIO $ do
let cb' = wrap_TerminalTextModifiedCallback cb
cb'' <- mk_TerminalTextModifiedCallback cb'
connectSignalFunPtr obj "text-modified" cb'' SignalConnectBefore
afterTerminalTextModified :: (IsTerminal a, MonadIO m) => a -> TerminalTextModifiedCallback -> m SignalHandlerId
afterTerminalTextModified obj cb = liftIO $ do
let cb' = wrap_TerminalTextModifiedCallback cb
cb'' <- mk_TerminalTextModifiedCallback cb'
connectSignalFunPtr obj "text-modified" cb'' SignalConnectAfter
type TerminalTextScrolledCallback =
Int32
-> IO ()
noTerminalTextScrolledCallback :: Maybe TerminalTextScrolledCallback
noTerminalTextScrolledCallback = Nothing
type C_TerminalTextScrolledCallback =
Ptr () ->
Int32 ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalTextScrolledCallback :: C_TerminalTextScrolledCallback -> IO (FunPtr C_TerminalTextScrolledCallback)
genClosure_TerminalTextScrolled :: TerminalTextScrolledCallback -> IO Closure
genClosure_TerminalTextScrolled cb = do
let cb' = wrap_TerminalTextScrolledCallback cb
mk_TerminalTextScrolledCallback cb' >>= newCClosure
wrap_TerminalTextScrolledCallback ::
TerminalTextScrolledCallback ->
C_TerminalTextScrolledCallback
wrap_TerminalTextScrolledCallback _cb _ delta _ = do
_cb delta
onTerminalTextScrolled :: (IsTerminal a, MonadIO m) => a -> TerminalTextScrolledCallback -> m SignalHandlerId
onTerminalTextScrolled obj cb = liftIO $ do
let cb' = wrap_TerminalTextScrolledCallback cb
cb'' <- mk_TerminalTextScrolledCallback cb'
connectSignalFunPtr obj "text-scrolled" cb'' SignalConnectBefore
afterTerminalTextScrolled :: (IsTerminal a, MonadIO m) => a -> TerminalTextScrolledCallback -> m SignalHandlerId
afterTerminalTextScrolled obj cb = liftIO $ do
let cb' = wrap_TerminalTextScrolledCallback cb
cb'' <- mk_TerminalTextScrolledCallback cb'
connectSignalFunPtr obj "text-scrolled" cb'' SignalConnectAfter
type TerminalWindowTitleChangedCallback =
IO ()
noTerminalWindowTitleChangedCallback :: Maybe TerminalWindowTitleChangedCallback
noTerminalWindowTitleChangedCallback = Nothing
type C_TerminalWindowTitleChangedCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_TerminalWindowTitleChangedCallback :: C_TerminalWindowTitleChangedCallback -> IO (FunPtr C_TerminalWindowTitleChangedCallback)
genClosure_TerminalWindowTitleChanged :: TerminalWindowTitleChangedCallback -> IO Closure
genClosure_TerminalWindowTitleChanged cb = do
let cb' = wrap_TerminalWindowTitleChangedCallback cb
mk_TerminalWindowTitleChangedCallback cb' >>= newCClosure
wrap_TerminalWindowTitleChangedCallback ::
TerminalWindowTitleChangedCallback ->
C_TerminalWindowTitleChangedCallback
wrap_TerminalWindowTitleChangedCallback _cb _ _ = do
_cb
onTerminalWindowTitleChanged :: (IsTerminal a, MonadIO m) => a -> TerminalWindowTitleChangedCallback -> m SignalHandlerId
onTerminalWindowTitleChanged obj cb = liftIO $ do
let cb' = wrap_TerminalWindowTitleChangedCallback cb
cb'' <- mk_TerminalWindowTitleChangedCallback cb'
connectSignalFunPtr obj "window-title-changed" cb'' SignalConnectBefore
afterTerminalWindowTitleChanged :: (IsTerminal a, MonadIO m) => a -> TerminalWindowTitleChangedCallback -> m SignalHandlerId
afterTerminalWindowTitleChanged obj cb = liftIO $ do
let cb' = wrap_TerminalWindowTitleChangedCallback cb
cb'' <- mk_TerminalWindowTitleChangedCallback cb'
connectSignalFunPtr obj "window-title-changed" cb'' SignalConnectAfter
getTerminalAllowBold :: (MonadIO m, IsTerminal o) => o -> m Bool
getTerminalAllowBold obj = liftIO $ getObjectPropertyBool obj "allow-bold"
setTerminalAllowBold :: (MonadIO m, IsTerminal o) => o -> Bool -> m ()
setTerminalAllowBold obj val = liftIO $ setObjectPropertyBool obj "allow-bold" val
constructTerminalAllowBold :: (IsTerminal o) => Bool -> IO (GValueConstruct o)
constructTerminalAllowBold val = constructObjectPropertyBool "allow-bold" val
#if ENABLE_OVERLOADING
data TerminalAllowBoldPropertyInfo
instance AttrInfo TerminalAllowBoldPropertyInfo where
type AttrAllowedOps TerminalAllowBoldPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalAllowBoldPropertyInfo = (~) Bool
type AttrBaseTypeConstraint TerminalAllowBoldPropertyInfo = IsTerminal
type AttrGetType TerminalAllowBoldPropertyInfo = Bool
type AttrLabel TerminalAllowBoldPropertyInfo = "allow-bold"
type AttrOrigin TerminalAllowBoldPropertyInfo = Terminal
attrGet _ = getTerminalAllowBold
attrSet _ = setTerminalAllowBold
attrConstruct _ = constructTerminalAllowBold
attrClear _ = undefined
#endif
getTerminalAllowHyperlink :: (MonadIO m, IsTerminal o) => o -> m Bool
getTerminalAllowHyperlink obj = liftIO $ getObjectPropertyBool obj "allow-hyperlink"
setTerminalAllowHyperlink :: (MonadIO m, IsTerminal o) => o -> Bool -> m ()
setTerminalAllowHyperlink obj val = liftIO $ setObjectPropertyBool obj "allow-hyperlink" val
constructTerminalAllowHyperlink :: (IsTerminal o) => Bool -> IO (GValueConstruct o)
constructTerminalAllowHyperlink val = constructObjectPropertyBool "allow-hyperlink" val
#if ENABLE_OVERLOADING
data TerminalAllowHyperlinkPropertyInfo
instance AttrInfo TerminalAllowHyperlinkPropertyInfo where
type AttrAllowedOps TerminalAllowHyperlinkPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalAllowHyperlinkPropertyInfo = (~) Bool
type AttrBaseTypeConstraint TerminalAllowHyperlinkPropertyInfo = IsTerminal
type AttrGetType TerminalAllowHyperlinkPropertyInfo = Bool
type AttrLabel TerminalAllowHyperlinkPropertyInfo = "allow-hyperlink"
type AttrOrigin TerminalAllowHyperlinkPropertyInfo = Terminal
attrGet _ = getTerminalAllowHyperlink
attrSet _ = setTerminalAllowHyperlink
attrConstruct _ = constructTerminalAllowHyperlink
attrClear _ = undefined
#endif
getTerminalAudibleBell :: (MonadIO m, IsTerminal o) => o -> m Bool
getTerminalAudibleBell obj = liftIO $ getObjectPropertyBool obj "audible-bell"
setTerminalAudibleBell :: (MonadIO m, IsTerminal o) => o -> Bool -> m ()
setTerminalAudibleBell obj val = liftIO $ setObjectPropertyBool obj "audible-bell" val
constructTerminalAudibleBell :: (IsTerminal o) => Bool -> IO (GValueConstruct o)
constructTerminalAudibleBell val = constructObjectPropertyBool "audible-bell" val
#if ENABLE_OVERLOADING
data TerminalAudibleBellPropertyInfo
instance AttrInfo TerminalAudibleBellPropertyInfo where
type AttrAllowedOps TerminalAudibleBellPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalAudibleBellPropertyInfo = (~) Bool
type AttrBaseTypeConstraint TerminalAudibleBellPropertyInfo = IsTerminal
type AttrGetType TerminalAudibleBellPropertyInfo = Bool
type AttrLabel TerminalAudibleBellPropertyInfo = "audible-bell"
type AttrOrigin TerminalAudibleBellPropertyInfo = Terminal
attrGet _ = getTerminalAudibleBell
attrSet _ = setTerminalAudibleBell
attrConstruct _ = constructTerminalAudibleBell
attrClear _ = undefined
#endif
getTerminalBackspaceBinding :: (MonadIO m, IsTerminal o) => o -> m Vte.Enums.EraseBinding
getTerminalBackspaceBinding obj = liftIO $ getObjectPropertyEnum obj "backspace-binding"
setTerminalBackspaceBinding :: (MonadIO m, IsTerminal o) => o -> Vte.Enums.EraseBinding -> m ()
setTerminalBackspaceBinding obj val = liftIO $ setObjectPropertyEnum obj "backspace-binding" val
constructTerminalBackspaceBinding :: (IsTerminal o) => Vte.Enums.EraseBinding -> IO (GValueConstruct o)
constructTerminalBackspaceBinding val = constructObjectPropertyEnum "backspace-binding" val
#if ENABLE_OVERLOADING
data TerminalBackspaceBindingPropertyInfo
instance AttrInfo TerminalBackspaceBindingPropertyInfo where
type AttrAllowedOps TerminalBackspaceBindingPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalBackspaceBindingPropertyInfo = (~) Vte.Enums.EraseBinding
type AttrBaseTypeConstraint TerminalBackspaceBindingPropertyInfo = IsTerminal
type AttrGetType TerminalBackspaceBindingPropertyInfo = Vte.Enums.EraseBinding
type AttrLabel TerminalBackspaceBindingPropertyInfo = "backspace-binding"
type AttrOrigin TerminalBackspaceBindingPropertyInfo = Terminal
attrGet _ = getTerminalBackspaceBinding
attrSet _ = setTerminalBackspaceBinding
attrConstruct _ = constructTerminalBackspaceBinding
attrClear _ = undefined
#endif
getTerminalBoldIsBright :: (MonadIO m, IsTerminal o) => o -> m Bool
getTerminalBoldIsBright obj = liftIO $ getObjectPropertyBool obj "bold-is-bright"
setTerminalBoldIsBright :: (MonadIO m, IsTerminal o) => o -> Bool -> m ()
setTerminalBoldIsBright obj val = liftIO $ setObjectPropertyBool obj "bold-is-bright" val
constructTerminalBoldIsBright :: (IsTerminal o) => Bool -> IO (GValueConstruct o)
constructTerminalBoldIsBright val = constructObjectPropertyBool "bold-is-bright" val
#if ENABLE_OVERLOADING
data TerminalBoldIsBrightPropertyInfo
instance AttrInfo TerminalBoldIsBrightPropertyInfo where
type AttrAllowedOps TerminalBoldIsBrightPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalBoldIsBrightPropertyInfo = (~) Bool
type AttrBaseTypeConstraint TerminalBoldIsBrightPropertyInfo = IsTerminal
type AttrGetType TerminalBoldIsBrightPropertyInfo = Bool
type AttrLabel TerminalBoldIsBrightPropertyInfo = "bold-is-bright"
type AttrOrigin TerminalBoldIsBrightPropertyInfo = Terminal
attrGet _ = getTerminalBoldIsBright
attrSet _ = setTerminalBoldIsBright
attrConstruct _ = constructTerminalBoldIsBright
attrClear _ = undefined
#endif
getTerminalCellHeightScale :: (MonadIO m, IsTerminal o) => o -> m Double
getTerminalCellHeightScale obj = liftIO $ getObjectPropertyDouble obj "cell-height-scale"
setTerminalCellHeightScale :: (MonadIO m, IsTerminal o) => o -> Double -> m ()
setTerminalCellHeightScale obj val = liftIO $ setObjectPropertyDouble obj "cell-height-scale" val
constructTerminalCellHeightScale :: (IsTerminal o) => Double -> IO (GValueConstruct o)
constructTerminalCellHeightScale val = constructObjectPropertyDouble "cell-height-scale" val
#if ENABLE_OVERLOADING
data TerminalCellHeightScalePropertyInfo
instance AttrInfo TerminalCellHeightScalePropertyInfo where
type AttrAllowedOps TerminalCellHeightScalePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalCellHeightScalePropertyInfo = (~) Double
type AttrBaseTypeConstraint TerminalCellHeightScalePropertyInfo = IsTerminal
type AttrGetType TerminalCellHeightScalePropertyInfo = Double
type AttrLabel TerminalCellHeightScalePropertyInfo = "cell-height-scale"
type AttrOrigin TerminalCellHeightScalePropertyInfo = Terminal
attrGet _ = getTerminalCellHeightScale
attrSet _ = setTerminalCellHeightScale
attrConstruct _ = constructTerminalCellHeightScale
attrClear _ = undefined
#endif
getTerminalCellWidthScale :: (MonadIO m, IsTerminal o) => o -> m Double
getTerminalCellWidthScale obj = liftIO $ getObjectPropertyDouble obj "cell-width-scale"
setTerminalCellWidthScale :: (MonadIO m, IsTerminal o) => o -> Double -> m ()
setTerminalCellWidthScale obj val = liftIO $ setObjectPropertyDouble obj "cell-width-scale" val
constructTerminalCellWidthScale :: (IsTerminal o) => Double -> IO (GValueConstruct o)
constructTerminalCellWidthScale val = constructObjectPropertyDouble "cell-width-scale" val
#if ENABLE_OVERLOADING
data TerminalCellWidthScalePropertyInfo
instance AttrInfo TerminalCellWidthScalePropertyInfo where
type AttrAllowedOps TerminalCellWidthScalePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalCellWidthScalePropertyInfo = (~) Double
type AttrBaseTypeConstraint TerminalCellWidthScalePropertyInfo = IsTerminal
type AttrGetType TerminalCellWidthScalePropertyInfo = Double
type AttrLabel TerminalCellWidthScalePropertyInfo = "cell-width-scale"
type AttrOrigin TerminalCellWidthScalePropertyInfo = Terminal
attrGet _ = getTerminalCellWidthScale
attrSet _ = setTerminalCellWidthScale
attrConstruct _ = constructTerminalCellWidthScale
attrClear _ = undefined
#endif
getTerminalCjkAmbiguousWidth :: (MonadIO m, IsTerminal o) => o -> m Int32
getTerminalCjkAmbiguousWidth obj = liftIO $ getObjectPropertyInt32 obj "cjk-ambiguous-width"
setTerminalCjkAmbiguousWidth :: (MonadIO m, IsTerminal o) => o -> Int32 -> m ()
setTerminalCjkAmbiguousWidth obj val = liftIO $ setObjectPropertyInt32 obj "cjk-ambiguous-width" val
constructTerminalCjkAmbiguousWidth :: (IsTerminal o) => Int32 -> IO (GValueConstruct o)
constructTerminalCjkAmbiguousWidth val = constructObjectPropertyInt32 "cjk-ambiguous-width" val
#if ENABLE_OVERLOADING
data TerminalCjkAmbiguousWidthPropertyInfo
instance AttrInfo TerminalCjkAmbiguousWidthPropertyInfo where
type AttrAllowedOps TerminalCjkAmbiguousWidthPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalCjkAmbiguousWidthPropertyInfo = (~) Int32
type AttrBaseTypeConstraint TerminalCjkAmbiguousWidthPropertyInfo = IsTerminal
type AttrGetType TerminalCjkAmbiguousWidthPropertyInfo = Int32
type AttrLabel TerminalCjkAmbiguousWidthPropertyInfo = "cjk-ambiguous-width"
type AttrOrigin TerminalCjkAmbiguousWidthPropertyInfo = Terminal
attrGet _ = getTerminalCjkAmbiguousWidth
attrSet _ = setTerminalCjkAmbiguousWidth
attrConstruct _ = constructTerminalCjkAmbiguousWidth
attrClear _ = undefined
#endif
getTerminalCurrentDirectoryUri :: (MonadIO m, IsTerminal o) => o -> m (Maybe T.Text)
getTerminalCurrentDirectoryUri obj = liftIO $ getObjectPropertyString obj "current-directory-uri"
#if ENABLE_OVERLOADING
data TerminalCurrentDirectoryUriPropertyInfo
instance AttrInfo TerminalCurrentDirectoryUriPropertyInfo where
type AttrAllowedOps TerminalCurrentDirectoryUriPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint TerminalCurrentDirectoryUriPropertyInfo = (~) ()
type AttrBaseTypeConstraint TerminalCurrentDirectoryUriPropertyInfo = IsTerminal
type AttrGetType TerminalCurrentDirectoryUriPropertyInfo = (Maybe T.Text)
type AttrLabel TerminalCurrentDirectoryUriPropertyInfo = "current-directory-uri"
type AttrOrigin TerminalCurrentDirectoryUriPropertyInfo = Terminal
attrGet _ = getTerminalCurrentDirectoryUri
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getTerminalCurrentFileUri :: (MonadIO m, IsTerminal o) => o -> m T.Text
getTerminalCurrentFileUri obj = liftIO $ checkUnexpectedNothing "getTerminalCurrentFileUri" $ getObjectPropertyString obj "current-file-uri"
#if ENABLE_OVERLOADING
data TerminalCurrentFileUriPropertyInfo
instance AttrInfo TerminalCurrentFileUriPropertyInfo where
type AttrAllowedOps TerminalCurrentFileUriPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint TerminalCurrentFileUriPropertyInfo = (~) ()
type AttrBaseTypeConstraint TerminalCurrentFileUriPropertyInfo = IsTerminal
type AttrGetType TerminalCurrentFileUriPropertyInfo = T.Text
type AttrLabel TerminalCurrentFileUriPropertyInfo = "current-file-uri"
type AttrOrigin TerminalCurrentFileUriPropertyInfo = Terminal
attrGet _ = getTerminalCurrentFileUri
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getTerminalCursorBlinkMode :: (MonadIO m, IsTerminal o) => o -> m Vte.Enums.CursorBlinkMode
getTerminalCursorBlinkMode obj = liftIO $ getObjectPropertyEnum obj "cursor-blink-mode"
setTerminalCursorBlinkMode :: (MonadIO m, IsTerminal o) => o -> Vte.Enums.CursorBlinkMode -> m ()
setTerminalCursorBlinkMode obj val = liftIO $ setObjectPropertyEnum obj "cursor-blink-mode" val
constructTerminalCursorBlinkMode :: (IsTerminal o) => Vte.Enums.CursorBlinkMode -> IO (GValueConstruct o)
constructTerminalCursorBlinkMode val = constructObjectPropertyEnum "cursor-blink-mode" val
#if ENABLE_OVERLOADING
data TerminalCursorBlinkModePropertyInfo
instance AttrInfo TerminalCursorBlinkModePropertyInfo where
type AttrAllowedOps TerminalCursorBlinkModePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalCursorBlinkModePropertyInfo = (~) Vte.Enums.CursorBlinkMode
type AttrBaseTypeConstraint TerminalCursorBlinkModePropertyInfo = IsTerminal
type AttrGetType TerminalCursorBlinkModePropertyInfo = Vte.Enums.CursorBlinkMode
type AttrLabel TerminalCursorBlinkModePropertyInfo = "cursor-blink-mode"
type AttrOrigin TerminalCursorBlinkModePropertyInfo = Terminal
attrGet _ = getTerminalCursorBlinkMode
attrSet _ = setTerminalCursorBlinkMode
attrConstruct _ = constructTerminalCursorBlinkMode
attrClear _ = undefined
#endif
getTerminalCursorShape :: (MonadIO m, IsTerminal o) => o -> m Vte.Enums.CursorShape
getTerminalCursorShape obj = liftIO $ getObjectPropertyEnum obj "cursor-shape"
setTerminalCursorShape :: (MonadIO m, IsTerminal o) => o -> Vte.Enums.CursorShape -> m ()
setTerminalCursorShape obj val = liftIO $ setObjectPropertyEnum obj "cursor-shape" val
constructTerminalCursorShape :: (IsTerminal o) => Vte.Enums.CursorShape -> IO (GValueConstruct o)
constructTerminalCursorShape val = constructObjectPropertyEnum "cursor-shape" val
#if ENABLE_OVERLOADING
data TerminalCursorShapePropertyInfo
instance AttrInfo TerminalCursorShapePropertyInfo where
type AttrAllowedOps TerminalCursorShapePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalCursorShapePropertyInfo = (~) Vte.Enums.CursorShape
type AttrBaseTypeConstraint TerminalCursorShapePropertyInfo = IsTerminal
type AttrGetType TerminalCursorShapePropertyInfo = Vte.Enums.CursorShape
type AttrLabel TerminalCursorShapePropertyInfo = "cursor-shape"
type AttrOrigin TerminalCursorShapePropertyInfo = Terminal
attrGet _ = getTerminalCursorShape
attrSet _ = setTerminalCursorShape
attrConstruct _ = constructTerminalCursorShape
attrClear _ = undefined
#endif
getTerminalDeleteBinding :: (MonadIO m, IsTerminal o) => o -> m Vte.Enums.EraseBinding
getTerminalDeleteBinding obj = liftIO $ getObjectPropertyEnum obj "delete-binding"
setTerminalDeleteBinding :: (MonadIO m, IsTerminal o) => o -> Vte.Enums.EraseBinding -> m ()
setTerminalDeleteBinding obj val = liftIO $ setObjectPropertyEnum obj "delete-binding" val
constructTerminalDeleteBinding :: (IsTerminal o) => Vte.Enums.EraseBinding -> IO (GValueConstruct o)
constructTerminalDeleteBinding val = constructObjectPropertyEnum "delete-binding" val
#if ENABLE_OVERLOADING
data TerminalDeleteBindingPropertyInfo
instance AttrInfo TerminalDeleteBindingPropertyInfo where
type AttrAllowedOps TerminalDeleteBindingPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalDeleteBindingPropertyInfo = (~) Vte.Enums.EraseBinding
type AttrBaseTypeConstraint TerminalDeleteBindingPropertyInfo = IsTerminal
type AttrGetType TerminalDeleteBindingPropertyInfo = Vte.Enums.EraseBinding
type AttrLabel TerminalDeleteBindingPropertyInfo = "delete-binding"
type AttrOrigin TerminalDeleteBindingPropertyInfo = Terminal
attrGet _ = getTerminalDeleteBinding
attrSet _ = setTerminalDeleteBinding
attrConstruct _ = constructTerminalDeleteBinding
attrClear _ = undefined
#endif
getTerminalEncoding :: (MonadIO m, IsTerminal o) => o -> m T.Text
getTerminalEncoding obj = liftIO $ checkUnexpectedNothing "getTerminalEncoding" $ getObjectPropertyString obj "encoding"
setTerminalEncoding :: (MonadIO m, IsTerminal o) => o -> T.Text -> m ()
setTerminalEncoding obj val = liftIO $ setObjectPropertyString obj "encoding" (Just val)
constructTerminalEncoding :: (IsTerminal o) => T.Text -> IO (GValueConstruct o)
constructTerminalEncoding val = constructObjectPropertyString "encoding" (Just val)
clearTerminalEncoding :: (MonadIO m, IsTerminal o) => o -> m ()
clearTerminalEncoding obj = liftIO $ setObjectPropertyString obj "encoding" (Nothing :: Maybe T.Text)
#if ENABLE_OVERLOADING
data TerminalEncodingPropertyInfo
instance AttrInfo TerminalEncodingPropertyInfo where
type AttrAllowedOps TerminalEncodingPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint TerminalEncodingPropertyInfo = (~) T.Text
type AttrBaseTypeConstraint TerminalEncodingPropertyInfo = IsTerminal
type AttrGetType TerminalEncodingPropertyInfo = T.Text
type AttrLabel TerminalEncodingPropertyInfo = "encoding"
type AttrOrigin TerminalEncodingPropertyInfo = Terminal
attrGet _ = getTerminalEncoding
attrSet _ = setTerminalEncoding
attrConstruct _ = constructTerminalEncoding
attrClear _ = clearTerminalEncoding
#endif
getTerminalFontDesc :: (MonadIO m, IsTerminal o) => o -> m (Maybe Pango.FontDescription.FontDescription)
getTerminalFontDesc obj = liftIO $ getObjectPropertyBoxed obj "font-desc" Pango.FontDescription.FontDescription
setTerminalFontDesc :: (MonadIO m, IsTerminal o) => o -> Pango.FontDescription.FontDescription -> m ()
setTerminalFontDesc obj val = liftIO $ setObjectPropertyBoxed obj "font-desc" (Just val)
constructTerminalFontDesc :: (IsTerminal o) => Pango.FontDescription.FontDescription -> IO (GValueConstruct o)
constructTerminalFontDesc val = constructObjectPropertyBoxed "font-desc" (Just val)
clearTerminalFontDesc :: (MonadIO m, IsTerminal o) => o -> m ()
clearTerminalFontDesc obj = liftIO $ setObjectPropertyBoxed obj "font-desc" (Nothing :: Maybe Pango.FontDescription.FontDescription)
#if ENABLE_OVERLOADING
data TerminalFontDescPropertyInfo
instance AttrInfo TerminalFontDescPropertyInfo where
type AttrAllowedOps TerminalFontDescPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint TerminalFontDescPropertyInfo = (~) Pango.FontDescription.FontDescription
type AttrBaseTypeConstraint TerminalFontDescPropertyInfo = IsTerminal
type AttrGetType TerminalFontDescPropertyInfo = (Maybe Pango.FontDescription.FontDescription)
type AttrLabel TerminalFontDescPropertyInfo = "font-desc"
type AttrOrigin TerminalFontDescPropertyInfo = Terminal
attrGet _ = getTerminalFontDesc
attrSet _ = setTerminalFontDesc
attrConstruct _ = constructTerminalFontDesc
attrClear _ = clearTerminalFontDesc
#endif
getTerminalFontScale :: (MonadIO m, IsTerminal o) => o -> m Double
getTerminalFontScale obj = liftIO $ getObjectPropertyDouble obj "font-scale"
setTerminalFontScale :: (MonadIO m, IsTerminal o) => o -> Double -> m ()
setTerminalFontScale obj val = liftIO $ setObjectPropertyDouble obj "font-scale" val
constructTerminalFontScale :: (IsTerminal o) => Double -> IO (GValueConstruct o)
constructTerminalFontScale val = constructObjectPropertyDouble "font-scale" val
#if ENABLE_OVERLOADING
data TerminalFontScalePropertyInfo
instance AttrInfo TerminalFontScalePropertyInfo where
type AttrAllowedOps TerminalFontScalePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalFontScalePropertyInfo = (~) Double
type AttrBaseTypeConstraint TerminalFontScalePropertyInfo = IsTerminal
type AttrGetType TerminalFontScalePropertyInfo = Double
type AttrLabel TerminalFontScalePropertyInfo = "font-scale"
type AttrOrigin TerminalFontScalePropertyInfo = Terminal
attrGet _ = getTerminalFontScale
attrSet _ = setTerminalFontScale
attrConstruct _ = constructTerminalFontScale
attrClear _ = undefined
#endif
getTerminalHyperlinkHoverUri :: (MonadIO m, IsTerminal o) => o -> m (Maybe T.Text)
getTerminalHyperlinkHoverUri obj = liftIO $ getObjectPropertyString obj "hyperlink-hover-uri"
#if ENABLE_OVERLOADING
data TerminalHyperlinkHoverUriPropertyInfo
instance AttrInfo TerminalHyperlinkHoverUriPropertyInfo where
type AttrAllowedOps TerminalHyperlinkHoverUriPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint TerminalHyperlinkHoverUriPropertyInfo = (~) ()
type AttrBaseTypeConstraint TerminalHyperlinkHoverUriPropertyInfo = IsTerminal
type AttrGetType TerminalHyperlinkHoverUriPropertyInfo = (Maybe T.Text)
type AttrLabel TerminalHyperlinkHoverUriPropertyInfo = "hyperlink-hover-uri"
type AttrOrigin TerminalHyperlinkHoverUriPropertyInfo = Terminal
attrGet _ = getTerminalHyperlinkHoverUri
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getTerminalIconTitle :: (MonadIO m, IsTerminal o) => o -> m T.Text
getTerminalIconTitle obj = liftIO $ checkUnexpectedNothing "getTerminalIconTitle" $ getObjectPropertyString obj "icon-title"
#if ENABLE_OVERLOADING
data TerminalIconTitlePropertyInfo
instance AttrInfo TerminalIconTitlePropertyInfo where
type AttrAllowedOps TerminalIconTitlePropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint TerminalIconTitlePropertyInfo = (~) ()
type AttrBaseTypeConstraint TerminalIconTitlePropertyInfo = IsTerminal
type AttrGetType TerminalIconTitlePropertyInfo = T.Text
type AttrLabel TerminalIconTitlePropertyInfo = "icon-title"
type AttrOrigin TerminalIconTitlePropertyInfo = Terminal
attrGet _ = getTerminalIconTitle
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getTerminalInputEnabled :: (MonadIO m, IsTerminal o) => o -> m Bool
getTerminalInputEnabled obj = liftIO $ getObjectPropertyBool obj "input-enabled"
setTerminalInputEnabled :: (MonadIO m, IsTerminal o) => o -> Bool -> m ()
setTerminalInputEnabled obj val = liftIO $ setObjectPropertyBool obj "input-enabled" val
constructTerminalInputEnabled :: (IsTerminal o) => Bool -> IO (GValueConstruct o)
constructTerminalInputEnabled val = constructObjectPropertyBool "input-enabled" val
#if ENABLE_OVERLOADING
data TerminalInputEnabledPropertyInfo
instance AttrInfo TerminalInputEnabledPropertyInfo where
type AttrAllowedOps TerminalInputEnabledPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalInputEnabledPropertyInfo = (~) Bool
type AttrBaseTypeConstraint TerminalInputEnabledPropertyInfo = IsTerminal
type AttrGetType TerminalInputEnabledPropertyInfo = Bool
type AttrLabel TerminalInputEnabledPropertyInfo = "input-enabled"
type AttrOrigin TerminalInputEnabledPropertyInfo = Terminal
attrGet _ = getTerminalInputEnabled
attrSet _ = setTerminalInputEnabled
attrConstruct _ = constructTerminalInputEnabled
attrClear _ = undefined
#endif
getTerminalPointerAutohide :: (MonadIO m, IsTerminal o) => o -> m Bool
getTerminalPointerAutohide obj = liftIO $ getObjectPropertyBool obj "pointer-autohide"
setTerminalPointerAutohide :: (MonadIO m, IsTerminal o) => o -> Bool -> m ()
setTerminalPointerAutohide obj val = liftIO $ setObjectPropertyBool obj "pointer-autohide" val
constructTerminalPointerAutohide :: (IsTerminal o) => Bool -> IO (GValueConstruct o)
constructTerminalPointerAutohide val = constructObjectPropertyBool "pointer-autohide" val
#if ENABLE_OVERLOADING
data TerminalPointerAutohidePropertyInfo
instance AttrInfo TerminalPointerAutohidePropertyInfo where
type AttrAllowedOps TerminalPointerAutohidePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalPointerAutohidePropertyInfo = (~) Bool
type AttrBaseTypeConstraint TerminalPointerAutohidePropertyInfo = IsTerminal
type AttrGetType TerminalPointerAutohidePropertyInfo = Bool
type AttrLabel TerminalPointerAutohidePropertyInfo = "pointer-autohide"
type AttrOrigin TerminalPointerAutohidePropertyInfo = Terminal
attrGet _ = getTerminalPointerAutohide
attrSet _ = setTerminalPointerAutohide
attrConstruct _ = constructTerminalPointerAutohide
attrClear _ = undefined
#endif
getTerminalPty :: (MonadIO m, IsTerminal o) => o -> m Vte.Pty.Pty
getTerminalPty obj = liftIO $ checkUnexpectedNothing "getTerminalPty" $ getObjectPropertyObject obj "pty" Vte.Pty.Pty
setTerminalPty :: (MonadIO m, IsTerminal o, Vte.Pty.IsPty a) => o -> a -> m ()
setTerminalPty obj val = liftIO $ setObjectPropertyObject obj "pty" (Just val)
constructTerminalPty :: (IsTerminal o, Vte.Pty.IsPty a) => a -> IO (GValueConstruct o)
constructTerminalPty val = constructObjectPropertyObject "pty" (Just val)
clearTerminalPty :: (MonadIO m, IsTerminal o) => o -> m ()
clearTerminalPty obj = liftIO $ setObjectPropertyObject obj "pty" (Nothing :: Maybe Vte.Pty.Pty)
#if ENABLE_OVERLOADING
data TerminalPtyPropertyInfo
instance AttrInfo TerminalPtyPropertyInfo where
type AttrAllowedOps TerminalPtyPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint TerminalPtyPropertyInfo = Vte.Pty.IsPty
type AttrBaseTypeConstraint TerminalPtyPropertyInfo = IsTerminal
type AttrGetType TerminalPtyPropertyInfo = Vte.Pty.Pty
type AttrLabel TerminalPtyPropertyInfo = "pty"
type AttrOrigin TerminalPtyPropertyInfo = Terminal
attrGet _ = getTerminalPty
attrSet _ = setTerminalPty
attrConstruct _ = constructTerminalPty
attrClear _ = clearTerminalPty
#endif
getTerminalRewrapOnResize :: (MonadIO m, IsTerminal o) => o -> m Bool
getTerminalRewrapOnResize obj = liftIO $ getObjectPropertyBool obj "rewrap-on-resize"
setTerminalRewrapOnResize :: (MonadIO m, IsTerminal o) => o -> Bool -> m ()
setTerminalRewrapOnResize obj val = liftIO $ setObjectPropertyBool obj "rewrap-on-resize" val
constructTerminalRewrapOnResize :: (IsTerminal o) => Bool -> IO (GValueConstruct o)
constructTerminalRewrapOnResize val = constructObjectPropertyBool "rewrap-on-resize" val
#if ENABLE_OVERLOADING
data TerminalRewrapOnResizePropertyInfo
instance AttrInfo TerminalRewrapOnResizePropertyInfo where
type AttrAllowedOps TerminalRewrapOnResizePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalRewrapOnResizePropertyInfo = (~) Bool
type AttrBaseTypeConstraint TerminalRewrapOnResizePropertyInfo = IsTerminal
type AttrGetType TerminalRewrapOnResizePropertyInfo = Bool
type AttrLabel TerminalRewrapOnResizePropertyInfo = "rewrap-on-resize"
type AttrOrigin TerminalRewrapOnResizePropertyInfo = Terminal
attrGet _ = getTerminalRewrapOnResize
attrSet _ = setTerminalRewrapOnResize
attrConstruct _ = constructTerminalRewrapOnResize
attrClear _ = undefined
#endif
getTerminalScrollOnKeystroke :: (MonadIO m, IsTerminal o) => o -> m Bool
getTerminalScrollOnKeystroke obj = liftIO $ getObjectPropertyBool obj "scroll-on-keystroke"
setTerminalScrollOnKeystroke :: (MonadIO m, IsTerminal o) => o -> Bool -> m ()
setTerminalScrollOnKeystroke obj val = liftIO $ setObjectPropertyBool obj "scroll-on-keystroke" val
constructTerminalScrollOnKeystroke :: (IsTerminal o) => Bool -> IO (GValueConstruct o)
constructTerminalScrollOnKeystroke val = constructObjectPropertyBool "scroll-on-keystroke" val
#if ENABLE_OVERLOADING
data TerminalScrollOnKeystrokePropertyInfo
instance AttrInfo TerminalScrollOnKeystrokePropertyInfo where
type AttrAllowedOps TerminalScrollOnKeystrokePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalScrollOnKeystrokePropertyInfo = (~) Bool
type AttrBaseTypeConstraint TerminalScrollOnKeystrokePropertyInfo = IsTerminal
type AttrGetType TerminalScrollOnKeystrokePropertyInfo = Bool
type AttrLabel TerminalScrollOnKeystrokePropertyInfo = "scroll-on-keystroke"
type AttrOrigin TerminalScrollOnKeystrokePropertyInfo = Terminal
attrGet _ = getTerminalScrollOnKeystroke
attrSet _ = setTerminalScrollOnKeystroke
attrConstruct _ = constructTerminalScrollOnKeystroke
attrClear _ = undefined
#endif
getTerminalScrollOnOutput :: (MonadIO m, IsTerminal o) => o -> m Bool
getTerminalScrollOnOutput obj = liftIO $ getObjectPropertyBool obj "scroll-on-output"
setTerminalScrollOnOutput :: (MonadIO m, IsTerminal o) => o -> Bool -> m ()
setTerminalScrollOnOutput obj val = liftIO $ setObjectPropertyBool obj "scroll-on-output" val
constructTerminalScrollOnOutput :: (IsTerminal o) => Bool -> IO (GValueConstruct o)
constructTerminalScrollOnOutput val = constructObjectPropertyBool "scroll-on-output" val
#if ENABLE_OVERLOADING
data TerminalScrollOnOutputPropertyInfo
instance AttrInfo TerminalScrollOnOutputPropertyInfo where
type AttrAllowedOps TerminalScrollOnOutputPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalScrollOnOutputPropertyInfo = (~) Bool
type AttrBaseTypeConstraint TerminalScrollOnOutputPropertyInfo = IsTerminal
type AttrGetType TerminalScrollOnOutputPropertyInfo = Bool
type AttrLabel TerminalScrollOnOutputPropertyInfo = "scroll-on-output"
type AttrOrigin TerminalScrollOnOutputPropertyInfo = Terminal
attrGet _ = getTerminalScrollOnOutput
attrSet _ = setTerminalScrollOnOutput
attrConstruct _ = constructTerminalScrollOnOutput
attrClear _ = undefined
#endif
getTerminalScrollSpeed :: (MonadIO m, IsTerminal o) => o -> m Word32
getTerminalScrollSpeed obj = liftIO $ getObjectPropertyUInt32 obj "scroll-speed"
setTerminalScrollSpeed :: (MonadIO m, IsTerminal o) => o -> Word32 -> m ()
setTerminalScrollSpeed obj val = liftIO $ setObjectPropertyUInt32 obj "scroll-speed" val
constructTerminalScrollSpeed :: (IsTerminal o) => Word32 -> IO (GValueConstruct o)
constructTerminalScrollSpeed val = constructObjectPropertyUInt32 "scroll-speed" val
#if ENABLE_OVERLOADING
data TerminalScrollSpeedPropertyInfo
instance AttrInfo TerminalScrollSpeedPropertyInfo where
type AttrAllowedOps TerminalScrollSpeedPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalScrollSpeedPropertyInfo = (~) Word32
type AttrBaseTypeConstraint TerminalScrollSpeedPropertyInfo = IsTerminal
type AttrGetType TerminalScrollSpeedPropertyInfo = Word32
type AttrLabel TerminalScrollSpeedPropertyInfo = "scroll-speed"
type AttrOrigin TerminalScrollSpeedPropertyInfo = Terminal
attrGet _ = getTerminalScrollSpeed
attrSet _ = setTerminalScrollSpeed
attrConstruct _ = constructTerminalScrollSpeed
attrClear _ = undefined
#endif
getTerminalScrollbackLines :: (MonadIO m, IsTerminal o) => o -> m Word32
getTerminalScrollbackLines obj = liftIO $ getObjectPropertyUInt32 obj "scrollback-lines"
setTerminalScrollbackLines :: (MonadIO m, IsTerminal o) => o -> Word32 -> m ()
setTerminalScrollbackLines obj val = liftIO $ setObjectPropertyUInt32 obj "scrollback-lines" val
constructTerminalScrollbackLines :: (IsTerminal o) => Word32 -> IO (GValueConstruct o)
constructTerminalScrollbackLines val = constructObjectPropertyUInt32 "scrollback-lines" val
#if ENABLE_OVERLOADING
data TerminalScrollbackLinesPropertyInfo
instance AttrInfo TerminalScrollbackLinesPropertyInfo where
type AttrAllowedOps TerminalScrollbackLinesPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalScrollbackLinesPropertyInfo = (~) Word32
type AttrBaseTypeConstraint TerminalScrollbackLinesPropertyInfo = IsTerminal
type AttrGetType TerminalScrollbackLinesPropertyInfo = Word32
type AttrLabel TerminalScrollbackLinesPropertyInfo = "scrollback-lines"
type AttrOrigin TerminalScrollbackLinesPropertyInfo = Terminal
attrGet _ = getTerminalScrollbackLines
attrSet _ = setTerminalScrollbackLines
attrConstruct _ = constructTerminalScrollbackLines
attrClear _ = undefined
#endif
getTerminalTextBlinkMode :: (MonadIO m, IsTerminal o) => o -> m Vte.Enums.TextBlinkMode
getTerminalTextBlinkMode obj = liftIO $ getObjectPropertyEnum obj "text-blink-mode"
setTerminalTextBlinkMode :: (MonadIO m, IsTerminal o) => o -> Vte.Enums.TextBlinkMode -> m ()
setTerminalTextBlinkMode obj val = liftIO $ setObjectPropertyEnum obj "text-blink-mode" val
constructTerminalTextBlinkMode :: (IsTerminal o) => Vte.Enums.TextBlinkMode -> IO (GValueConstruct o)
constructTerminalTextBlinkMode val = constructObjectPropertyEnum "text-blink-mode" val
#if ENABLE_OVERLOADING
data TerminalTextBlinkModePropertyInfo
instance AttrInfo TerminalTextBlinkModePropertyInfo where
type AttrAllowedOps TerminalTextBlinkModePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint TerminalTextBlinkModePropertyInfo = (~) Vte.Enums.TextBlinkMode
type AttrBaseTypeConstraint TerminalTextBlinkModePropertyInfo = IsTerminal
type AttrGetType TerminalTextBlinkModePropertyInfo = Vte.Enums.TextBlinkMode
type AttrLabel TerminalTextBlinkModePropertyInfo = "text-blink-mode"
type AttrOrigin TerminalTextBlinkModePropertyInfo = Terminal
attrGet _ = getTerminalTextBlinkMode
attrSet _ = setTerminalTextBlinkMode
attrConstruct _ = constructTerminalTextBlinkMode
attrClear _ = undefined
#endif
getTerminalWindowTitle :: (MonadIO m, IsTerminal o) => o -> m (Maybe T.Text)
getTerminalWindowTitle obj = liftIO $ getObjectPropertyString obj "window-title"
#if ENABLE_OVERLOADING
data TerminalWindowTitlePropertyInfo
instance AttrInfo TerminalWindowTitlePropertyInfo where
type AttrAllowedOps TerminalWindowTitlePropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint TerminalWindowTitlePropertyInfo = (~) ()
type AttrBaseTypeConstraint TerminalWindowTitlePropertyInfo = IsTerminal
type AttrGetType TerminalWindowTitlePropertyInfo = (Maybe T.Text)
type AttrLabel TerminalWindowTitlePropertyInfo = "window-title"
type AttrOrigin TerminalWindowTitlePropertyInfo = Terminal
attrGet _ = getTerminalWindowTitle
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getTerminalWordCharExceptions :: (MonadIO m, IsTerminal o) => o -> m T.Text
getTerminalWordCharExceptions obj = liftIO $ checkUnexpectedNothing "getTerminalWordCharExceptions" $ getObjectPropertyString obj "word-char-exceptions"
#if ENABLE_OVERLOADING
data TerminalWordCharExceptionsPropertyInfo
instance AttrInfo TerminalWordCharExceptionsPropertyInfo where
type AttrAllowedOps TerminalWordCharExceptionsPropertyInfo = '[ 'AttrGet]
type AttrSetTypeConstraint TerminalWordCharExceptionsPropertyInfo = (~) ()
type AttrBaseTypeConstraint TerminalWordCharExceptionsPropertyInfo = IsTerminal
type AttrGetType TerminalWordCharExceptionsPropertyInfo = T.Text
type AttrLabel TerminalWordCharExceptionsPropertyInfo = "word-char-exceptions"
type AttrOrigin TerminalWordCharExceptionsPropertyInfo = Terminal
attrGet _ = getTerminalWordCharExceptions
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
#if ENABLE_OVERLOADING
instance O.HasAttributeList Terminal
type instance O.AttributeList Terminal = TerminalAttributeList
type TerminalAttributeList = ('[ '("allowBold", TerminalAllowBoldPropertyInfo), '("allowHyperlink", TerminalAllowHyperlinkPropertyInfo), '("appPaintable", Gtk.Widget.WidgetAppPaintablePropertyInfo), '("audibleBell", TerminalAudibleBellPropertyInfo), '("backspaceBinding", TerminalBackspaceBindingPropertyInfo), '("boldIsBright", TerminalBoldIsBrightPropertyInfo), '("canDefault", Gtk.Widget.WidgetCanDefaultPropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("cellHeightScale", TerminalCellHeightScalePropertyInfo), '("cellWidthScale", TerminalCellWidthScalePropertyInfo), '("cjkAmbiguousWidth", TerminalCjkAmbiguousWidthPropertyInfo), '("compositeChild", Gtk.Widget.WidgetCompositeChildPropertyInfo), '("currentDirectoryUri", TerminalCurrentDirectoryUriPropertyInfo), '("currentFileUri", TerminalCurrentFileUriPropertyInfo), '("cursorBlinkMode", TerminalCursorBlinkModePropertyInfo), '("cursorShape", TerminalCursorShapePropertyInfo), '("deleteBinding", TerminalDeleteBindingPropertyInfo), '("doubleBuffered", Gtk.Widget.WidgetDoubleBufferedPropertyInfo), '("encoding", TerminalEncodingPropertyInfo), '("events", Gtk.Widget.WidgetEventsPropertyInfo), '("expand", Gtk.Widget.WidgetExpandPropertyInfo), '("focusOnClick", Gtk.Widget.WidgetFocusOnClickPropertyInfo), '("fontDesc", TerminalFontDescPropertyInfo), '("fontScale", TerminalFontScalePropertyInfo), '("hadjustment", Gtk.Scrollable.ScrollableHadjustmentPropertyInfo), '("halign", Gtk.Widget.WidgetHalignPropertyInfo), '("hasDefault", Gtk.Widget.WidgetHasDefaultPropertyInfo), '("hasFocus", Gtk.Widget.WidgetHasFocusPropertyInfo), '("hasTooltip", Gtk.Widget.WidgetHasTooltipPropertyInfo), '("heightRequest", Gtk.Widget.WidgetHeightRequestPropertyInfo), '("hexpand", Gtk.Widget.WidgetHexpandPropertyInfo), '("hexpandSet", Gtk.Widget.WidgetHexpandSetPropertyInfo), '("hscrollPolicy", Gtk.Scrollable.ScrollableHscrollPolicyPropertyInfo), '("hyperlinkHoverUri", TerminalHyperlinkHoverUriPropertyInfo), '("iconTitle", TerminalIconTitlePropertyInfo), '("inputEnabled", TerminalInputEnabledPropertyInfo), '("isFocus", Gtk.Widget.WidgetIsFocusPropertyInfo), '("margin", Gtk.Widget.WidgetMarginPropertyInfo), '("marginBottom", Gtk.Widget.WidgetMarginBottomPropertyInfo), '("marginEnd", Gtk.Widget.WidgetMarginEndPropertyInfo), '("marginLeft", Gtk.Widget.WidgetMarginLeftPropertyInfo), '("marginRight", Gtk.Widget.WidgetMarginRightPropertyInfo), '("marginStart", Gtk.Widget.WidgetMarginStartPropertyInfo), '("marginTop", Gtk.Widget.WidgetMarginTopPropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("noShowAll", Gtk.Widget.WidgetNoShowAllPropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("pointerAutohide", TerminalPointerAutohidePropertyInfo), '("pty", TerminalPtyPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("rewrapOnResize", TerminalRewrapOnResizePropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("scrollOnKeystroke", TerminalScrollOnKeystrokePropertyInfo), '("scrollOnOutput", TerminalScrollOnOutputPropertyInfo), '("scrollSpeed", TerminalScrollSpeedPropertyInfo), '("scrollbackLines", TerminalScrollbackLinesPropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("style", Gtk.Widget.WidgetStylePropertyInfo), '("textBlinkMode", TerminalTextBlinkModePropertyInfo), '("tooltipMarkup", Gtk.Widget.WidgetTooltipMarkupPropertyInfo), '("tooltipText", Gtk.Widget.WidgetTooltipTextPropertyInfo), '("vadjustment", Gtk.Scrollable.ScrollableVadjustmentPropertyInfo), '("valign", Gtk.Widget.WidgetValignPropertyInfo), '("vexpand", Gtk.Widget.WidgetVexpandPropertyInfo), '("vexpandSet", Gtk.Widget.WidgetVexpandSetPropertyInfo), '("visible", Gtk.Widget.WidgetVisiblePropertyInfo), '("vscrollPolicy", Gtk.Scrollable.ScrollableVscrollPolicyPropertyInfo), '("widthRequest", Gtk.Widget.WidgetWidthRequestPropertyInfo), '("window", Gtk.Widget.WidgetWindowPropertyInfo), '("windowTitle", TerminalWindowTitlePropertyInfo), '("wordCharExceptions", TerminalWordCharExceptionsPropertyInfo)] :: [(Symbol, *)])
#endif
#if ENABLE_OVERLOADING
terminalAllowBold :: AttrLabelProxy "allowBold"
terminalAllowBold = AttrLabelProxy
terminalAllowHyperlink :: AttrLabelProxy "allowHyperlink"
terminalAllowHyperlink = AttrLabelProxy
terminalAudibleBell :: AttrLabelProxy "audibleBell"
terminalAudibleBell = AttrLabelProxy
terminalBackspaceBinding :: AttrLabelProxy "backspaceBinding"
terminalBackspaceBinding = AttrLabelProxy
terminalBoldIsBright :: AttrLabelProxy "boldIsBright"
terminalBoldIsBright = AttrLabelProxy
terminalCellHeightScale :: AttrLabelProxy "cellHeightScale"
terminalCellHeightScale = AttrLabelProxy
terminalCellWidthScale :: AttrLabelProxy "cellWidthScale"
terminalCellWidthScale = AttrLabelProxy
terminalCjkAmbiguousWidth :: AttrLabelProxy "cjkAmbiguousWidth"
terminalCjkAmbiguousWidth = AttrLabelProxy
terminalCurrentDirectoryUri :: AttrLabelProxy "currentDirectoryUri"
terminalCurrentDirectoryUri = AttrLabelProxy
terminalCurrentFileUri :: AttrLabelProxy "currentFileUri"
terminalCurrentFileUri = AttrLabelProxy
terminalCursorBlinkMode :: AttrLabelProxy "cursorBlinkMode"
terminalCursorBlinkMode = AttrLabelProxy
terminalCursorShape :: AttrLabelProxy "cursorShape"
terminalCursorShape = AttrLabelProxy
terminalDeleteBinding :: AttrLabelProxy "deleteBinding"
terminalDeleteBinding = AttrLabelProxy
terminalEncoding :: AttrLabelProxy "encoding"
terminalEncoding = AttrLabelProxy
terminalFontDesc :: AttrLabelProxy "fontDesc"
terminalFontDesc = AttrLabelProxy
terminalFontScale :: AttrLabelProxy "fontScale"
terminalFontScale = AttrLabelProxy
terminalHyperlinkHoverUri :: AttrLabelProxy "hyperlinkHoverUri"
terminalHyperlinkHoverUri = AttrLabelProxy
terminalIconTitle :: AttrLabelProxy "iconTitle"
terminalIconTitle = AttrLabelProxy
terminalInputEnabled :: AttrLabelProxy "inputEnabled"
terminalInputEnabled = AttrLabelProxy
terminalPointerAutohide :: AttrLabelProxy "pointerAutohide"
terminalPointerAutohide = AttrLabelProxy
terminalPty :: AttrLabelProxy "pty"
terminalPty = AttrLabelProxy
terminalRewrapOnResize :: AttrLabelProxy "rewrapOnResize"
terminalRewrapOnResize = AttrLabelProxy
terminalScrollOnKeystroke :: AttrLabelProxy "scrollOnKeystroke"
terminalScrollOnKeystroke = AttrLabelProxy
terminalScrollOnOutput :: AttrLabelProxy "scrollOnOutput"
terminalScrollOnOutput = AttrLabelProxy
terminalScrollSpeed :: AttrLabelProxy "scrollSpeed"
terminalScrollSpeed = AttrLabelProxy
terminalScrollbackLines :: AttrLabelProxy "scrollbackLines"
terminalScrollbackLines = AttrLabelProxy
terminalTextBlinkMode :: AttrLabelProxy "textBlinkMode"
terminalTextBlinkMode = AttrLabelProxy
terminalWindowTitle :: AttrLabelProxy "windowTitle"
terminalWindowTitle = AttrLabelProxy
terminalWordCharExceptions :: AttrLabelProxy "wordCharExceptions"
terminalWordCharExceptions = AttrLabelProxy
#endif
#if ENABLE_OVERLOADING
data TerminalBellSignalInfo
instance SignalInfo TerminalBellSignalInfo where
type HaskellCallbackType TerminalBellSignalInfo = TerminalBellCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalBellCallback cb
cb'' <- mk_TerminalBellCallback cb'
connectSignalFunPtr obj "bell" cb'' connectMode
data TerminalCharSizeChangedSignalInfo
instance SignalInfo TerminalCharSizeChangedSignalInfo where
type HaskellCallbackType TerminalCharSizeChangedSignalInfo = TerminalCharSizeChangedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalCharSizeChangedCallback cb
cb'' <- mk_TerminalCharSizeChangedCallback cb'
connectSignalFunPtr obj "char-size-changed" cb'' connectMode
data TerminalChildExitedSignalInfo
instance SignalInfo TerminalChildExitedSignalInfo where
type HaskellCallbackType TerminalChildExitedSignalInfo = TerminalChildExitedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalChildExitedCallback cb
cb'' <- mk_TerminalChildExitedCallback cb'
connectSignalFunPtr obj "child-exited" cb'' connectMode
data TerminalCommitSignalInfo
instance SignalInfo TerminalCommitSignalInfo where
type HaskellCallbackType TerminalCommitSignalInfo = TerminalCommitCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalCommitCallback cb
cb'' <- mk_TerminalCommitCallback cb'
connectSignalFunPtr obj "commit" cb'' connectMode
data TerminalContentsChangedSignalInfo
instance SignalInfo TerminalContentsChangedSignalInfo where
type HaskellCallbackType TerminalContentsChangedSignalInfo = TerminalContentsChangedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalContentsChangedCallback cb
cb'' <- mk_TerminalContentsChangedCallback cb'
connectSignalFunPtr obj "contents-changed" cb'' connectMode
data TerminalCopyClipboardSignalInfo
instance SignalInfo TerminalCopyClipboardSignalInfo where
type HaskellCallbackType TerminalCopyClipboardSignalInfo = TerminalCopyClipboardCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalCopyClipboardCallback cb
cb'' <- mk_TerminalCopyClipboardCallback cb'
connectSignalFunPtr obj "copy-clipboard" cb'' connectMode
data TerminalCurrentDirectoryUriChangedSignalInfo
instance SignalInfo TerminalCurrentDirectoryUriChangedSignalInfo where
type HaskellCallbackType TerminalCurrentDirectoryUriChangedSignalInfo = TerminalCurrentDirectoryUriChangedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalCurrentDirectoryUriChangedCallback cb
cb'' <- mk_TerminalCurrentDirectoryUriChangedCallback cb'
connectSignalFunPtr obj "current-directory-uri-changed" cb'' connectMode
data TerminalCurrentFileUriChangedSignalInfo
instance SignalInfo TerminalCurrentFileUriChangedSignalInfo where
type HaskellCallbackType TerminalCurrentFileUriChangedSignalInfo = TerminalCurrentFileUriChangedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalCurrentFileUriChangedCallback cb
cb'' <- mk_TerminalCurrentFileUriChangedCallback cb'
connectSignalFunPtr obj "current-file-uri-changed" cb'' connectMode
data TerminalCursorMovedSignalInfo
instance SignalInfo TerminalCursorMovedSignalInfo where
type HaskellCallbackType TerminalCursorMovedSignalInfo = TerminalCursorMovedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalCursorMovedCallback cb
cb'' <- mk_TerminalCursorMovedCallback cb'
connectSignalFunPtr obj "cursor-moved" cb'' connectMode
data TerminalDecreaseFontSizeSignalInfo
instance SignalInfo TerminalDecreaseFontSizeSignalInfo where
type HaskellCallbackType TerminalDecreaseFontSizeSignalInfo = TerminalDecreaseFontSizeCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalDecreaseFontSizeCallback cb
cb'' <- mk_TerminalDecreaseFontSizeCallback cb'
connectSignalFunPtr obj "decrease-font-size" cb'' connectMode
data TerminalDeiconifyWindowSignalInfo
instance SignalInfo TerminalDeiconifyWindowSignalInfo where
type HaskellCallbackType TerminalDeiconifyWindowSignalInfo = TerminalDeiconifyWindowCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalDeiconifyWindowCallback cb
cb'' <- mk_TerminalDeiconifyWindowCallback cb'
connectSignalFunPtr obj "deiconify-window" cb'' connectMode
data TerminalEncodingChangedSignalInfo
instance SignalInfo TerminalEncodingChangedSignalInfo where
type HaskellCallbackType TerminalEncodingChangedSignalInfo = TerminalEncodingChangedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalEncodingChangedCallback cb
cb'' <- mk_TerminalEncodingChangedCallback cb'
connectSignalFunPtr obj "encoding-changed" cb'' connectMode
data TerminalEofSignalInfo
instance SignalInfo TerminalEofSignalInfo where
type HaskellCallbackType TerminalEofSignalInfo = TerminalEofCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalEofCallback cb
cb'' <- mk_TerminalEofCallback cb'
connectSignalFunPtr obj "eof" cb'' connectMode
data TerminalHyperlinkHoverUriChangedSignalInfo
instance SignalInfo TerminalHyperlinkHoverUriChangedSignalInfo where
type HaskellCallbackType TerminalHyperlinkHoverUriChangedSignalInfo = TerminalHyperlinkHoverUriChangedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalHyperlinkHoverUriChangedCallback cb
cb'' <- mk_TerminalHyperlinkHoverUriChangedCallback cb'
connectSignalFunPtr obj "hyperlink-hover-uri-changed" cb'' connectMode
data TerminalIconTitleChangedSignalInfo
instance SignalInfo TerminalIconTitleChangedSignalInfo where
type HaskellCallbackType TerminalIconTitleChangedSignalInfo = TerminalIconTitleChangedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalIconTitleChangedCallback cb
cb'' <- mk_TerminalIconTitleChangedCallback cb'
connectSignalFunPtr obj "icon-title-changed" cb'' connectMode
data TerminalIconifyWindowSignalInfo
instance SignalInfo TerminalIconifyWindowSignalInfo where
type HaskellCallbackType TerminalIconifyWindowSignalInfo = TerminalIconifyWindowCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalIconifyWindowCallback cb
cb'' <- mk_TerminalIconifyWindowCallback cb'
connectSignalFunPtr obj "iconify-window" cb'' connectMode
data TerminalIncreaseFontSizeSignalInfo
instance SignalInfo TerminalIncreaseFontSizeSignalInfo where
type HaskellCallbackType TerminalIncreaseFontSizeSignalInfo = TerminalIncreaseFontSizeCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalIncreaseFontSizeCallback cb
cb'' <- mk_TerminalIncreaseFontSizeCallback cb'
connectSignalFunPtr obj "increase-font-size" cb'' connectMode
data TerminalLowerWindowSignalInfo
instance SignalInfo TerminalLowerWindowSignalInfo where
type HaskellCallbackType TerminalLowerWindowSignalInfo = TerminalLowerWindowCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalLowerWindowCallback cb
cb'' <- mk_TerminalLowerWindowCallback cb'
connectSignalFunPtr obj "lower-window" cb'' connectMode
data TerminalMaximizeWindowSignalInfo
instance SignalInfo TerminalMaximizeWindowSignalInfo where
type HaskellCallbackType TerminalMaximizeWindowSignalInfo = TerminalMaximizeWindowCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalMaximizeWindowCallback cb
cb'' <- mk_TerminalMaximizeWindowCallback cb'
connectSignalFunPtr obj "maximize-window" cb'' connectMode
data TerminalMoveWindowSignalInfo
instance SignalInfo TerminalMoveWindowSignalInfo where
type HaskellCallbackType TerminalMoveWindowSignalInfo = TerminalMoveWindowCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalMoveWindowCallback cb
cb'' <- mk_TerminalMoveWindowCallback cb'
connectSignalFunPtr obj "move-window" cb'' connectMode
data TerminalNotificationReceivedSignalInfo
instance SignalInfo TerminalNotificationReceivedSignalInfo where
type HaskellCallbackType TerminalNotificationReceivedSignalInfo = TerminalNotificationReceivedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalNotificationReceivedCallback cb
cb'' <- mk_TerminalNotificationReceivedCallback cb'
connectSignalFunPtr obj "notification-received" cb'' connectMode
data TerminalPasteClipboardSignalInfo
instance SignalInfo TerminalPasteClipboardSignalInfo where
type HaskellCallbackType TerminalPasteClipboardSignalInfo = TerminalPasteClipboardCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalPasteClipboardCallback cb
cb'' <- mk_TerminalPasteClipboardCallback cb'
connectSignalFunPtr obj "paste-clipboard" cb'' connectMode
data TerminalRaiseWindowSignalInfo
instance SignalInfo TerminalRaiseWindowSignalInfo where
type HaskellCallbackType TerminalRaiseWindowSignalInfo = TerminalRaiseWindowCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalRaiseWindowCallback cb
cb'' <- mk_TerminalRaiseWindowCallback cb'
connectSignalFunPtr obj "raise-window" cb'' connectMode
data TerminalRefreshWindowSignalInfo
instance SignalInfo TerminalRefreshWindowSignalInfo where
type HaskellCallbackType TerminalRefreshWindowSignalInfo = TerminalRefreshWindowCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalRefreshWindowCallback cb
cb'' <- mk_TerminalRefreshWindowCallback cb'
connectSignalFunPtr obj "refresh-window" cb'' connectMode
data TerminalResizeWindowSignalInfo
instance SignalInfo TerminalResizeWindowSignalInfo where
type HaskellCallbackType TerminalResizeWindowSignalInfo = TerminalResizeWindowCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalResizeWindowCallback cb
cb'' <- mk_TerminalResizeWindowCallback cb'
connectSignalFunPtr obj "resize-window" cb'' connectMode
data TerminalRestoreWindowSignalInfo
instance SignalInfo TerminalRestoreWindowSignalInfo where
type HaskellCallbackType TerminalRestoreWindowSignalInfo = TerminalRestoreWindowCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalRestoreWindowCallback cb
cb'' <- mk_TerminalRestoreWindowCallback cb'
connectSignalFunPtr obj "restore-window" cb'' connectMode
data TerminalSelectionChangedSignalInfo
instance SignalInfo TerminalSelectionChangedSignalInfo where
type HaskellCallbackType TerminalSelectionChangedSignalInfo = TerminalSelectionChangedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalSelectionChangedCallback cb
cb'' <- mk_TerminalSelectionChangedCallback cb'
connectSignalFunPtr obj "selection-changed" cb'' connectMode
data TerminalTextDeletedSignalInfo
instance SignalInfo TerminalTextDeletedSignalInfo where
type HaskellCallbackType TerminalTextDeletedSignalInfo = TerminalTextDeletedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalTextDeletedCallback cb
cb'' <- mk_TerminalTextDeletedCallback cb'
connectSignalFunPtr obj "text-deleted" cb'' connectMode
data TerminalTextInsertedSignalInfo
instance SignalInfo TerminalTextInsertedSignalInfo where
type HaskellCallbackType TerminalTextInsertedSignalInfo = TerminalTextInsertedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalTextInsertedCallback cb
cb'' <- mk_TerminalTextInsertedCallback cb'
connectSignalFunPtr obj "text-inserted" cb'' connectMode
data TerminalTextModifiedSignalInfo
instance SignalInfo TerminalTextModifiedSignalInfo where
type HaskellCallbackType TerminalTextModifiedSignalInfo = TerminalTextModifiedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalTextModifiedCallback cb
cb'' <- mk_TerminalTextModifiedCallback cb'
connectSignalFunPtr obj "text-modified" cb'' connectMode
data TerminalTextScrolledSignalInfo
instance SignalInfo TerminalTextScrolledSignalInfo where
type HaskellCallbackType TerminalTextScrolledSignalInfo = TerminalTextScrolledCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalTextScrolledCallback cb
cb'' <- mk_TerminalTextScrolledCallback cb'
connectSignalFunPtr obj "text-scrolled" cb'' connectMode
data TerminalWindowTitleChangedSignalInfo
instance SignalInfo TerminalWindowTitleChangedSignalInfo where
type HaskellCallbackType TerminalWindowTitleChangedSignalInfo = TerminalWindowTitleChangedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_TerminalWindowTitleChangedCallback cb
cb'' <- mk_TerminalWindowTitleChangedCallback cb'
connectSignalFunPtr obj "window-title-changed" cb'' connectMode
type instance O.SignalList Terminal = TerminalSignalList
type TerminalSignalList = ('[ '("accelClosuresChanged", Gtk.Widget.WidgetAccelClosuresChangedSignalInfo), '("bell", TerminalBellSignalInfo), '("buttonPressEvent", Gtk.Widget.WidgetButtonPressEventSignalInfo), '("buttonReleaseEvent", Gtk.Widget.WidgetButtonReleaseEventSignalInfo), '("canActivateAccel", Gtk.Widget.WidgetCanActivateAccelSignalInfo), '("charSizeChanged", TerminalCharSizeChangedSignalInfo), '("childExited", TerminalChildExitedSignalInfo), '("childNotify", Gtk.Widget.WidgetChildNotifySignalInfo), '("commit", TerminalCommitSignalInfo), '("compositedChanged", Gtk.Widget.WidgetCompositedChangedSignalInfo), '("configureEvent", Gtk.Widget.WidgetConfigureEventSignalInfo), '("contentsChanged", TerminalContentsChangedSignalInfo), '("copyClipboard", TerminalCopyClipboardSignalInfo), '("currentDirectoryUriChanged", TerminalCurrentDirectoryUriChangedSignalInfo), '("currentFileUriChanged", TerminalCurrentFileUriChangedSignalInfo), '("cursorMoved", TerminalCursorMovedSignalInfo), '("damageEvent", Gtk.Widget.WidgetDamageEventSignalInfo), '("decreaseFontSize", TerminalDecreaseFontSizeSignalInfo), '("deiconifyWindow", TerminalDeiconifyWindowSignalInfo), '("deleteEvent", Gtk.Widget.WidgetDeleteEventSignalInfo), '("destroy", Gtk.Widget.WidgetDestroySignalInfo), '("destroyEvent", Gtk.Widget.WidgetDestroyEventSignalInfo), '("directionChanged", Gtk.Widget.WidgetDirectionChangedSignalInfo), '("dragBegin", Gtk.Widget.WidgetDragBeginSignalInfo), '("dragDataDelete", Gtk.Widget.WidgetDragDataDeleteSignalInfo), '("dragDataGet", Gtk.Widget.WidgetDragDataGetSignalInfo), '("dragDataReceived", Gtk.Widget.WidgetDragDataReceivedSignalInfo), '("dragDrop", Gtk.Widget.WidgetDragDropSignalInfo), '("dragEnd", Gtk.Widget.WidgetDragEndSignalInfo), '("dragFailed", Gtk.Widget.WidgetDragFailedSignalInfo), '("dragLeave", Gtk.Widget.WidgetDragLeaveSignalInfo), '("dragMotion", Gtk.Widget.WidgetDragMotionSignalInfo), '("draw", Gtk.Widget.WidgetDrawSignalInfo), '("encodingChanged", TerminalEncodingChangedSignalInfo), '("enterNotifyEvent", Gtk.Widget.WidgetEnterNotifyEventSignalInfo), '("eof", TerminalEofSignalInfo), '("event", Gtk.Widget.WidgetEventSignalInfo), '("eventAfter", Gtk.Widget.WidgetEventAfterSignalInfo), '("focus", Gtk.Widget.WidgetFocusSignalInfo), '("focusInEvent", Gtk.Widget.WidgetFocusInEventSignalInfo), '("focusOutEvent", Gtk.Widget.WidgetFocusOutEventSignalInfo), '("grabBrokenEvent", Gtk.Widget.WidgetGrabBrokenEventSignalInfo), '("grabFocus", Gtk.Widget.WidgetGrabFocusSignalInfo), '("grabNotify", Gtk.Widget.WidgetGrabNotifySignalInfo), '("hide", Gtk.Widget.WidgetHideSignalInfo), '("hierarchyChanged", Gtk.Widget.WidgetHierarchyChangedSignalInfo), '("hyperlinkHoverUriChanged", TerminalHyperlinkHoverUriChangedSignalInfo), '("iconTitleChanged", TerminalIconTitleChangedSignalInfo), '("iconifyWindow", TerminalIconifyWindowSignalInfo), '("increaseFontSize", TerminalIncreaseFontSizeSignalInfo), '("keyPressEvent", Gtk.Widget.WidgetKeyPressEventSignalInfo), '("keyReleaseEvent", Gtk.Widget.WidgetKeyReleaseEventSignalInfo), '("keynavFailed", Gtk.Widget.WidgetKeynavFailedSignalInfo), '("leaveNotifyEvent", Gtk.Widget.WidgetLeaveNotifyEventSignalInfo), '("lowerWindow", TerminalLowerWindowSignalInfo), '("map", Gtk.Widget.WidgetMapSignalInfo), '("mapEvent", Gtk.Widget.WidgetMapEventSignalInfo), '("maximizeWindow", TerminalMaximizeWindowSignalInfo), '("mnemonicActivate", Gtk.Widget.WidgetMnemonicActivateSignalInfo), '("motionNotifyEvent", Gtk.Widget.WidgetMotionNotifyEventSignalInfo), '("moveFocus", Gtk.Widget.WidgetMoveFocusSignalInfo), '("moveWindow", TerminalMoveWindowSignalInfo), '("notificationReceived", TerminalNotificationReceivedSignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo), '("parentSet", Gtk.Widget.WidgetParentSetSignalInfo), '("pasteClipboard", TerminalPasteClipboardSignalInfo), '("popupMenu", Gtk.Widget.WidgetPopupMenuSignalInfo), '("propertyNotifyEvent", Gtk.Widget.WidgetPropertyNotifyEventSignalInfo), '("proximityInEvent", Gtk.Widget.WidgetProximityInEventSignalInfo), '("proximityOutEvent", Gtk.Widget.WidgetProximityOutEventSignalInfo), '("queryTooltip", Gtk.Widget.WidgetQueryTooltipSignalInfo), '("raiseWindow", TerminalRaiseWindowSignalInfo), '("realize", Gtk.Widget.WidgetRealizeSignalInfo), '("refreshWindow", TerminalRefreshWindowSignalInfo), '("resizeWindow", TerminalResizeWindowSignalInfo), '("restoreWindow", TerminalRestoreWindowSignalInfo), '("screenChanged", Gtk.Widget.WidgetScreenChangedSignalInfo), '("scrollEvent", Gtk.Widget.WidgetScrollEventSignalInfo), '("selectionChanged", TerminalSelectionChangedSignalInfo), '("selectionClearEvent", Gtk.Widget.WidgetSelectionClearEventSignalInfo), '("selectionGet", Gtk.Widget.WidgetSelectionGetSignalInfo), '("selectionNotifyEvent", Gtk.Widget.WidgetSelectionNotifyEventSignalInfo), '("selectionReceived", Gtk.Widget.WidgetSelectionReceivedSignalInfo), '("selectionRequestEvent", Gtk.Widget.WidgetSelectionRequestEventSignalInfo), '("show", Gtk.Widget.WidgetShowSignalInfo), '("showHelp", Gtk.Widget.WidgetShowHelpSignalInfo), '("sizeAllocate", Gtk.Widget.WidgetSizeAllocateSignalInfo), '("stateChanged", Gtk.Widget.WidgetStateChangedSignalInfo), '("stateFlagsChanged", Gtk.Widget.WidgetStateFlagsChangedSignalInfo), '("styleSet", Gtk.Widget.WidgetStyleSetSignalInfo), '("styleUpdated", Gtk.Widget.WidgetStyleUpdatedSignalInfo), '("textDeleted", TerminalTextDeletedSignalInfo), '("textInserted", TerminalTextInsertedSignalInfo), '("textModified", TerminalTextModifiedSignalInfo), '("textScrolled", TerminalTextScrolledSignalInfo), '("touchEvent", Gtk.Widget.WidgetTouchEventSignalInfo), '("unmap", Gtk.Widget.WidgetUnmapSignalInfo), '("unmapEvent", Gtk.Widget.WidgetUnmapEventSignalInfo), '("unrealize", Gtk.Widget.WidgetUnrealizeSignalInfo), '("visibilityNotifyEvent", Gtk.Widget.WidgetVisibilityNotifyEventSignalInfo), '("windowStateEvent", Gtk.Widget.WidgetWindowStateEventSignalInfo), '("windowTitleChanged", TerminalWindowTitleChangedSignalInfo)] :: [(Symbol, *)])
#endif
foreign import ccall "vte_terminal_new" vte_terminal_new ::
IO (Ptr Terminal)
terminalNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m Terminal
terminalNew = liftIO $ do
result <- vte_terminal_new
checkUnexpectedReturnNULL "terminalNew" result
result' <- (newObject Terminal) result
return result'
#if ENABLE_OVERLOADING
#endif
foreign import ccall "vte_terminal_copy_clipboard" vte_terminal_copy_clipboard ::
Ptr Terminal ->
IO ()
{-# DEPRECATED terminalCopyClipboard ["(Since version 0.50)","Use 'GI.Vte.Objects.Terminal.terminalCopyClipboardFormat' with 'GI.Vte.Enums.FormatText'"," instead."] #-}
terminalCopyClipboard ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m ()
terminalCopyClipboard terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
vte_terminal_copy_clipboard terminal'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalCopyClipboardMethodInfo
instance (signature ~ (m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalCopyClipboardMethodInfo a signature where
overloadedMethod _ = terminalCopyClipboard
#endif
foreign import ccall "vte_terminal_copy_clipboard_format" vte_terminal_copy_clipboard_format ::
Ptr Terminal ->
CUInt ->
IO ()
terminalCopyClipboardFormat ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Vte.Enums.Format
-> m ()
terminalCopyClipboardFormat terminal format = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let format' = (fromIntegral . fromEnum) format
vte_terminal_copy_clipboard_format terminal' format'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalCopyClipboardFormatMethodInfo
instance (signature ~ (Vte.Enums.Format -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalCopyClipboardFormatMethodInfo a signature where
overloadedMethod _ = terminalCopyClipboardFormat
#endif
foreign import ccall "vte_terminal_copy_primary" vte_terminal_copy_primary ::
Ptr Terminal ->
IO ()
terminalCopyPrimary ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m ()
terminalCopyPrimary terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
vte_terminal_copy_primary terminal'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalCopyPrimaryMethodInfo
instance (signature ~ (m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalCopyPrimaryMethodInfo a signature where
overloadedMethod _ = terminalCopyPrimary
#endif
foreign import ccall "vte_terminal_feed" vte_terminal_feed ::
Ptr Terminal ->
Ptr Word8 ->
Int64 ->
IO ()
terminalFeed ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Maybe (ByteString)
-> m ()
terminalFeed terminal data_ = liftIO $ do
let length_ = case data_ of
Nothing -> 0
Just jData_ -> fromIntegral $ B.length jData_
terminal' <- unsafeManagedPtrCastPtr terminal
maybeData_ <- case data_ of
Nothing -> return nullPtr
Just jData_ -> do
jData_' <- packByteString jData_
return jData_'
vte_terminal_feed terminal' maybeData_ length_
touchManagedPtr terminal
freeMem maybeData_
return ()
#if ENABLE_OVERLOADING
data TerminalFeedMethodInfo
instance (signature ~ (Maybe (ByteString) -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalFeedMethodInfo a signature where
overloadedMethod _ = terminalFeed
#endif
foreign import ccall "vte_terminal_feed_child" vte_terminal_feed_child ::
Ptr Terminal ->
Ptr Int8 ->
Int64 ->
IO ()
terminalFeedChild ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Maybe ([Int8])
-> m ()
terminalFeedChild terminal text = liftIO $ do
let length_ = case text of
Nothing -> 0
Just jText -> fromIntegral $ length jText
terminal' <- unsafeManagedPtrCastPtr terminal
maybeText <- case text of
Nothing -> return nullPtr
Just jText -> do
jText' <- packStorableArray jText
return jText'
vte_terminal_feed_child terminal' maybeText length_
touchManagedPtr terminal
freeMem maybeText
return ()
#if ENABLE_OVERLOADING
data TerminalFeedChildMethodInfo
instance (signature ~ (Maybe ([Int8]) -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalFeedChildMethodInfo a signature where
overloadedMethod _ = terminalFeedChild
#endif
foreign import ccall "vte_terminal_feed_child_binary" vte_terminal_feed_child_binary ::
Ptr Terminal ->
Ptr Word8 ->
Word64 ->
IO ()
terminalFeedChildBinary ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Maybe (ByteString)
-> m ()
terminalFeedChildBinary terminal data_ = liftIO $ do
let length_ = case data_ of
Nothing -> 0
Just jData_ -> fromIntegral $ B.length jData_
terminal' <- unsafeManagedPtrCastPtr terminal
maybeData_ <- case data_ of
Nothing -> return nullPtr
Just jData_ -> do
jData_' <- packByteString jData_
return jData_'
vte_terminal_feed_child_binary terminal' maybeData_ length_
touchManagedPtr terminal
freeMem maybeData_
return ()
#if ENABLE_OVERLOADING
data TerminalFeedChildBinaryMethodInfo
instance (signature ~ (Maybe (ByteString) -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalFeedChildBinaryMethodInfo a signature where
overloadedMethod _ = terminalFeedChildBinary
#endif
foreign import ccall "vte_terminal_get_allow_bold" vte_terminal_get_allow_bold ::
Ptr Terminal ->
IO CInt
terminalGetAllowBold ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Bool
terminalGetAllowBold terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_allow_bold terminal'
let result' = (/= 0) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetAllowBoldMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetAllowBoldMethodInfo a signature where
overloadedMethod _ = terminalGetAllowBold
#endif
foreign import ccall "vte_terminal_get_allow_hyperlink" vte_terminal_get_allow_hyperlink ::
Ptr Terminal ->
IO CInt
terminalGetAllowHyperlink ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Bool
terminalGetAllowHyperlink terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_allow_hyperlink terminal'
let result' = (/= 0) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetAllowHyperlinkMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetAllowHyperlinkMethodInfo a signature where
overloadedMethod _ = terminalGetAllowHyperlink
#endif
foreign import ccall "vte_terminal_get_audible_bell" vte_terminal_get_audible_bell ::
Ptr Terminal ->
IO CInt
terminalGetAudibleBell ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Bool
terminalGetAudibleBell terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_audible_bell terminal'
let result' = (/= 0) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetAudibleBellMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetAudibleBellMethodInfo a signature where
overloadedMethod _ = terminalGetAudibleBell
#endif
foreign import ccall "vte_terminal_get_bold_is_bright" vte_terminal_get_bold_is_bright ::
Ptr Terminal ->
IO CInt
terminalGetBoldIsBright ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Bool
terminalGetBoldIsBright terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_bold_is_bright terminal'
let result' = (/= 0) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetBoldIsBrightMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetBoldIsBrightMethodInfo a signature where
overloadedMethod _ = terminalGetBoldIsBright
#endif
foreign import ccall "vte_terminal_get_cell_height_scale" vte_terminal_get_cell_height_scale ::
Ptr Terminal ->
IO CDouble
terminalGetCellHeightScale ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Double
terminalGetCellHeightScale terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_cell_height_scale terminal'
let result' = realToFrac result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetCellHeightScaleMethodInfo
instance (signature ~ (m Double), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetCellHeightScaleMethodInfo a signature where
overloadedMethod _ = terminalGetCellHeightScale
#endif
foreign import ccall "vte_terminal_get_cell_width_scale" vte_terminal_get_cell_width_scale ::
Ptr Terminal ->
IO CDouble
terminalGetCellWidthScale ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Double
terminalGetCellWidthScale terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_cell_width_scale terminal'
let result' = realToFrac result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetCellWidthScaleMethodInfo
instance (signature ~ (m Double), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetCellWidthScaleMethodInfo a signature where
overloadedMethod _ = terminalGetCellWidthScale
#endif
foreign import ccall "vte_terminal_get_char_height" vte_terminal_get_char_height ::
Ptr Terminal ->
IO CLong
terminalGetCharHeight ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m CLong
terminalGetCharHeight terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_char_height terminal'
touchManagedPtr terminal
return result
#if ENABLE_OVERLOADING
data TerminalGetCharHeightMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetCharHeightMethodInfo a signature where
overloadedMethod _ = terminalGetCharHeight
#endif
foreign import ccall "vte_terminal_get_char_width" vte_terminal_get_char_width ::
Ptr Terminal ->
IO CLong
terminalGetCharWidth ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m CLong
terminalGetCharWidth terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_char_width terminal'
touchManagedPtr terminal
return result
#if ENABLE_OVERLOADING
data TerminalGetCharWidthMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetCharWidthMethodInfo a signature where
overloadedMethod _ = terminalGetCharWidth
#endif
foreign import ccall "vte_terminal_get_cjk_ambiguous_width" vte_terminal_get_cjk_ambiguous_width ::
Ptr Terminal ->
IO Int32
terminalGetCjkAmbiguousWidth ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Int32
terminalGetCjkAmbiguousWidth terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_cjk_ambiguous_width terminal'
touchManagedPtr terminal
return result
#if ENABLE_OVERLOADING
data TerminalGetCjkAmbiguousWidthMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetCjkAmbiguousWidthMethodInfo a signature where
overloadedMethod _ = terminalGetCjkAmbiguousWidth
#endif
foreign import ccall "vte_terminal_get_column_count" vte_terminal_get_column_count ::
Ptr Terminal ->
IO CLong
terminalGetColumnCount ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m CLong
terminalGetColumnCount terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_column_count terminal'
touchManagedPtr terminal
return result
#if ENABLE_OVERLOADING
data TerminalGetColumnCountMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetColumnCountMethodInfo a signature where
overloadedMethod _ = terminalGetColumnCount
#endif
foreign import ccall "vte_terminal_get_current_directory_uri" vte_terminal_get_current_directory_uri ::
Ptr Terminal ->
IO CString
terminalGetCurrentDirectoryUri ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m (Maybe T.Text)
terminalGetCurrentDirectoryUri terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_current_directory_uri terminal'
maybeResult <- convertIfNonNull result $ \result' -> do
result'' <- cstringToText result'
return result''
touchManagedPtr terminal
return maybeResult
#if ENABLE_OVERLOADING
data TerminalGetCurrentDirectoryUriMethodInfo
instance (signature ~ (m (Maybe T.Text)), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetCurrentDirectoryUriMethodInfo a signature where
overloadedMethod _ = terminalGetCurrentDirectoryUri
#endif
foreign import ccall "vte_terminal_get_current_file_uri" vte_terminal_get_current_file_uri ::
Ptr Terminal ->
IO CString
terminalGetCurrentFileUri ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m T.Text
terminalGetCurrentFileUri terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_current_file_uri terminal'
checkUnexpectedReturnNULL "terminalGetCurrentFileUri" result
result' <- cstringToText result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetCurrentFileUriMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetCurrentFileUriMethodInfo a signature where
overloadedMethod _ = terminalGetCurrentFileUri
#endif
foreign import ccall "vte_terminal_get_cursor_blink_mode" vte_terminal_get_cursor_blink_mode ::
Ptr Terminal ->
IO CUInt
terminalGetCursorBlinkMode ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Vte.Enums.CursorBlinkMode
terminalGetCursorBlinkMode terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_cursor_blink_mode terminal'
let result' = (toEnum . fromIntegral) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetCursorBlinkModeMethodInfo
instance (signature ~ (m Vte.Enums.CursorBlinkMode), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetCursorBlinkModeMethodInfo a signature where
overloadedMethod _ = terminalGetCursorBlinkMode
#endif
foreign import ccall "vte_terminal_get_cursor_position" vte_terminal_get_cursor_position ::
Ptr Terminal ->
Ptr CLong ->
Ptr CLong ->
IO ()
terminalGetCursorPosition ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m ((CLong, CLong))
terminalGetCursorPosition terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
column <- allocMem :: IO (Ptr CLong)
row <- allocMem :: IO (Ptr CLong)
vte_terminal_get_cursor_position terminal' column row
column' <- peek column
row' <- peek row
touchManagedPtr terminal
freeMem column
freeMem row
return (column', row')
#if ENABLE_OVERLOADING
data TerminalGetCursorPositionMethodInfo
instance (signature ~ (m ((CLong, CLong))), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetCursorPositionMethodInfo a signature where
overloadedMethod _ = terminalGetCursorPosition
#endif
foreign import ccall "vte_terminal_get_cursor_shape" vte_terminal_get_cursor_shape ::
Ptr Terminal ->
IO CUInt
terminalGetCursorShape ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Vte.Enums.CursorShape
terminalGetCursorShape terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_cursor_shape terminal'
let result' = (toEnum . fromIntegral) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetCursorShapeMethodInfo
instance (signature ~ (m Vte.Enums.CursorShape), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetCursorShapeMethodInfo a signature where
overloadedMethod _ = terminalGetCursorShape
#endif
foreign import ccall "vte_terminal_get_encoding" vte_terminal_get_encoding ::
Ptr Terminal ->
IO CString
terminalGetEncoding ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m T.Text
terminalGetEncoding terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_encoding terminal'
checkUnexpectedReturnNULL "terminalGetEncoding" result
result' <- cstringToText result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetEncodingMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetEncodingMethodInfo a signature where
overloadedMethod _ = terminalGetEncoding
#endif
foreign import ccall "vte_terminal_get_font" vte_terminal_get_font ::
Ptr Terminal ->
IO (Ptr Pango.FontDescription.FontDescription)
terminalGetFont ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Pango.FontDescription.FontDescription
terminalGetFont terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_font terminal'
checkUnexpectedReturnNULL "terminalGetFont" result
result' <- (newBoxed Pango.FontDescription.FontDescription) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetFontMethodInfo
instance (signature ~ (m Pango.FontDescription.FontDescription), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetFontMethodInfo a signature where
overloadedMethod _ = terminalGetFont
#endif
foreign import ccall "vte_terminal_get_font_scale" vte_terminal_get_font_scale ::
Ptr Terminal ->
IO CDouble
terminalGetFontScale ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Double
terminalGetFontScale terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_font_scale terminal'
let result' = realToFrac result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetFontScaleMethodInfo
instance (signature ~ (m Double), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetFontScaleMethodInfo a signature where
overloadedMethod _ = terminalGetFontScale
#endif
foreign import ccall "vte_terminal_get_geometry_hints" vte_terminal_get_geometry_hints ::
Ptr Terminal ->
Ptr Gdk.Geometry.Geometry ->
Int32 ->
Int32 ->
IO ()
{-# DEPRECATED terminalGetGeometryHints ["(Since version 0.52)"] #-}
terminalGetGeometryHints ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Int32
-> Int32
-> m (Gdk.Geometry.Geometry)
terminalGetGeometryHints terminal minRows minColumns = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
hints <- callocBytes 56 :: IO (Ptr Gdk.Geometry.Geometry)
vte_terminal_get_geometry_hints terminal' hints minRows minColumns
hints' <- (wrapPtr Gdk.Geometry.Geometry) hints
touchManagedPtr terminal
return hints'
#if ENABLE_OVERLOADING
data TerminalGetGeometryHintsMethodInfo
instance (signature ~ (Int32 -> Int32 -> m (Gdk.Geometry.Geometry)), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetGeometryHintsMethodInfo a signature where
overloadedMethod _ = terminalGetGeometryHints
#endif
foreign import ccall "vte_terminal_get_has_selection" vte_terminal_get_has_selection ::
Ptr Terminal ->
IO CInt
terminalGetHasSelection ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Bool
terminalGetHasSelection terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_has_selection terminal'
let result' = (/= 0) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetHasSelectionMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetHasSelectionMethodInfo a signature where
overloadedMethod _ = terminalGetHasSelection
#endif
foreign import ccall "vte_terminal_get_icon_title" vte_terminal_get_icon_title ::
Ptr Terminal ->
IO CString
terminalGetIconTitle ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m T.Text
terminalGetIconTitle terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_icon_title terminal'
checkUnexpectedReturnNULL "terminalGetIconTitle" result
result' <- cstringToText result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetIconTitleMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetIconTitleMethodInfo a signature where
overloadedMethod _ = terminalGetIconTitle
#endif
foreign import ccall "vte_terminal_get_input_enabled" vte_terminal_get_input_enabled ::
Ptr Terminal ->
IO CInt
terminalGetInputEnabled ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Bool
terminalGetInputEnabled terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_input_enabled terminal'
let result' = (/= 0) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetInputEnabledMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetInputEnabledMethodInfo a signature where
overloadedMethod _ = terminalGetInputEnabled
#endif
foreign import ccall "vte_terminal_get_mouse_autohide" vte_terminal_get_mouse_autohide ::
Ptr Terminal ->
IO CInt
terminalGetMouseAutohide ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Bool
terminalGetMouseAutohide terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_mouse_autohide terminal'
let result' = (/= 0) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetMouseAutohideMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetMouseAutohideMethodInfo a signature where
overloadedMethod _ = terminalGetMouseAutohide
#endif
foreign import ccall "vte_terminal_get_pty" vte_terminal_get_pty ::
Ptr Terminal ->
IO (Ptr Vte.Pty.Pty)
terminalGetPty ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Vte.Pty.Pty
terminalGetPty terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_pty terminal'
checkUnexpectedReturnNULL "terminalGetPty" result
result' <- (newObject Vte.Pty.Pty) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetPtyMethodInfo
instance (signature ~ (m Vte.Pty.Pty), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetPtyMethodInfo a signature where
overloadedMethod _ = terminalGetPty
#endif
foreign import ccall "vte_terminal_get_rewrap_on_resize" vte_terminal_get_rewrap_on_resize ::
Ptr Terminal ->
IO CInt
terminalGetRewrapOnResize ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Bool
terminalGetRewrapOnResize terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_rewrap_on_resize terminal'
let result' = (/= 0) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetRewrapOnResizeMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetRewrapOnResizeMethodInfo a signature where
overloadedMethod _ = terminalGetRewrapOnResize
#endif
foreign import ccall "vte_terminal_get_row_count" vte_terminal_get_row_count ::
Ptr Terminal ->
IO CLong
terminalGetRowCount ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m CLong
terminalGetRowCount terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_row_count terminal'
touchManagedPtr terminal
return result
#if ENABLE_OVERLOADING
data TerminalGetRowCountMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetRowCountMethodInfo a signature where
overloadedMethod _ = terminalGetRowCount
#endif
foreign import ccall "vte_terminal_get_scroll_on_keystroke" vte_terminal_get_scroll_on_keystroke ::
Ptr Terminal ->
IO CInt
terminalGetScrollOnKeystroke ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Bool
terminalGetScrollOnKeystroke terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_scroll_on_keystroke terminal'
let result' = (/= 0) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetScrollOnKeystrokeMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetScrollOnKeystrokeMethodInfo a signature where
overloadedMethod _ = terminalGetScrollOnKeystroke
#endif
foreign import ccall "vte_terminal_get_scroll_on_output" vte_terminal_get_scroll_on_output ::
Ptr Terminal ->
IO CInt
terminalGetScrollOnOutput ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Bool
terminalGetScrollOnOutput terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_scroll_on_output terminal'
let result' = (/= 0) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetScrollOnOutputMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetScrollOnOutputMethodInfo a signature where
overloadedMethod _ = terminalGetScrollOnOutput
#endif
foreign import ccall "vte_terminal_get_scrollback_lines" vte_terminal_get_scrollback_lines ::
Ptr Terminal ->
IO CLong
terminalGetScrollbackLines ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m CLong
terminalGetScrollbackLines terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_scrollback_lines terminal'
touchManagedPtr terminal
return result
#if ENABLE_OVERLOADING
data TerminalGetScrollbackLinesMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetScrollbackLinesMethodInfo a signature where
overloadedMethod _ = terminalGetScrollbackLines
#endif
#if ENABLE_OVERLOADING
data TerminalGetTextMethodInfo
instance (p ~ (), o ~ O.MethodResolutionFailed "getText" Terminal) => O.MethodInfo TerminalGetTextMethodInfo o p where
overloadedMethod _ = undefined
#endif
foreign import ccall "vte_terminal_get_text_blink_mode" vte_terminal_get_text_blink_mode ::
Ptr Terminal ->
IO CUInt
terminalGetTextBlinkMode ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Vte.Enums.TextBlinkMode
terminalGetTextBlinkMode terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_text_blink_mode terminal'
let result' = (toEnum . fromIntegral) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetTextBlinkModeMethodInfo
instance (signature ~ (m Vte.Enums.TextBlinkMode), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetTextBlinkModeMethodInfo a signature where
overloadedMethod _ = terminalGetTextBlinkMode
#endif
#if ENABLE_OVERLOADING
data TerminalGetTextIncludeTrailingSpacesMethodInfo
instance (p ~ (), o ~ O.MethodResolutionFailed "getTextIncludeTrailingSpaces" Terminal) => O.MethodInfo TerminalGetTextIncludeTrailingSpacesMethodInfo o p where
overloadedMethod _ = undefined
#endif
#if ENABLE_OVERLOADING
data TerminalGetTextRangeMethodInfo
instance (p ~ (), o ~ O.MethodResolutionFailed "getTextRange" Terminal) => O.MethodInfo TerminalGetTextRangeMethodInfo o p where
overloadedMethod _ = undefined
#endif
foreign import ccall "vte_terminal_get_window_title" vte_terminal_get_window_title ::
Ptr Terminal ->
IO CString
terminalGetWindowTitle ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m (Maybe T.Text)
terminalGetWindowTitle terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_window_title terminal'
maybeResult <- convertIfNonNull result $ \result' -> do
result'' <- cstringToText result'
return result''
touchManagedPtr terminal
return maybeResult
#if ENABLE_OVERLOADING
data TerminalGetWindowTitleMethodInfo
instance (signature ~ (m (Maybe T.Text)), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetWindowTitleMethodInfo a signature where
overloadedMethod _ = terminalGetWindowTitle
#endif
foreign import ccall "vte_terminal_get_word_char_exceptions" vte_terminal_get_word_char_exceptions ::
Ptr Terminal ->
IO CString
terminalGetWordCharExceptions ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m T.Text
terminalGetWordCharExceptions terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_get_word_char_exceptions terminal'
checkUnexpectedReturnNULL "terminalGetWordCharExceptions" result
result' <- cstringToText result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalGetWordCharExceptionsMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsTerminal a) => O.MethodInfo TerminalGetWordCharExceptionsMethodInfo a signature where
overloadedMethod _ = terminalGetWordCharExceptions
#endif
foreign import ccall "vte_terminal_hyperlink_check_event" vte_terminal_hyperlink_check_event ::
Ptr Terminal ->
Ptr Gdk.Event.Event ->
IO CString
terminalHyperlinkCheckEvent ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Gdk.Event.Event
-> m T.Text
terminalHyperlinkCheckEvent terminal event = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
event' <- unsafeManagedPtrGetPtr event
result <- vte_terminal_hyperlink_check_event terminal' event'
checkUnexpectedReturnNULL "terminalHyperlinkCheckEvent" result
result' <- cstringToText result
freeMem result
touchManagedPtr terminal
touchManagedPtr event
return result'
#if ENABLE_OVERLOADING
data TerminalHyperlinkCheckEventMethodInfo
instance (signature ~ (Gdk.Event.Event -> m T.Text), MonadIO m, IsTerminal a) => O.MethodInfo TerminalHyperlinkCheckEventMethodInfo a signature where
overloadedMethod _ = terminalHyperlinkCheckEvent
#endif
foreign import ccall "vte_terminal_match_add_gregex" vte_terminal_match_add_gregex ::
Ptr Terminal ->
Ptr GLib.Regex.Regex ->
CUInt ->
IO Int32
{-# DEPRECATED terminalMatchAddGregex ["(Since version 0.46)","Use 'GI.Vte.Objects.Terminal.terminalMatchAddRegex' or @/vte_terminal_match_add_regex_full()/@ instead."] #-}
terminalMatchAddGregex ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> GLib.Regex.Regex
-> [GLib.Flags.RegexMatchFlags]
-> m Int32
terminalMatchAddGregex terminal gregex gflags = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
gregex' <- unsafeManagedPtrGetPtr gregex
let gflags' = gflagsToWord gflags
result <- vte_terminal_match_add_gregex terminal' gregex' gflags'
touchManagedPtr terminal
touchManagedPtr gregex
return result
#if ENABLE_OVERLOADING
data TerminalMatchAddGregexMethodInfo
instance (signature ~ (GLib.Regex.Regex -> [GLib.Flags.RegexMatchFlags] -> m Int32), MonadIO m, IsTerminal a) => O.MethodInfo TerminalMatchAddGregexMethodInfo a signature where
overloadedMethod _ = terminalMatchAddGregex
#endif
foreign import ccall "vte_terminal_match_add_regex" vte_terminal_match_add_regex ::
Ptr Terminal ->
Ptr Vte.Regex.Regex ->
Word32 ->
IO Int32
terminalMatchAddRegex ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Vte.Regex.Regex
-> Word32
-> m Int32
terminalMatchAddRegex terminal regex flags = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
regex' <- unsafeManagedPtrGetPtr regex
result <- vte_terminal_match_add_regex terminal' regex' flags
touchManagedPtr terminal
touchManagedPtr regex
return result
#if ENABLE_OVERLOADING
data TerminalMatchAddRegexMethodInfo
instance (signature ~ (Vte.Regex.Regex -> Word32 -> m Int32), MonadIO m, IsTerminal a) => O.MethodInfo TerminalMatchAddRegexMethodInfo a signature where
overloadedMethod _ = terminalMatchAddRegex
#endif
foreign import ccall "vte_terminal_match_check" vte_terminal_match_check ::
Ptr Terminal ->
CLong ->
CLong ->
Ptr Int32 ->
IO CString
{-# DEPRECATED terminalMatchCheck ["(Since version 0.46)","Use 'GI.Vte.Objects.Terminal.terminalMatchCheckEvent' instead."] #-}
terminalMatchCheck ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> CLong
-> CLong
-> m ((T.Text, Int32))
terminalMatchCheck terminal column row = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
tag <- allocMem :: IO (Ptr Int32)
result <- vte_terminal_match_check terminal' column row tag
checkUnexpectedReturnNULL "terminalMatchCheck" result
result' <- cstringToText result
freeMem result
tag' <- peek tag
touchManagedPtr terminal
freeMem tag
return (result', tag')
#if ENABLE_OVERLOADING
data TerminalMatchCheckMethodInfo
instance (signature ~ (CLong -> CLong -> m ((T.Text, Int32))), MonadIO m, IsTerminal a) => O.MethodInfo TerminalMatchCheckMethodInfo a signature where
overloadedMethod _ = terminalMatchCheck
#endif
foreign import ccall "vte_terminal_match_check_event" vte_terminal_match_check_event ::
Ptr Terminal ->
Ptr Gdk.Event.Event ->
Ptr Int32 ->
IO CString
terminalMatchCheckEvent ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Gdk.Event.Event
-> m ((T.Text, Int32))
terminalMatchCheckEvent terminal event = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
event' <- unsafeManagedPtrGetPtr event
tag <- allocMem :: IO (Ptr Int32)
result <- vte_terminal_match_check_event terminal' event' tag
checkUnexpectedReturnNULL "terminalMatchCheckEvent" result
result' <- cstringToText result
freeMem result
tag' <- peek tag
touchManagedPtr terminal
touchManagedPtr event
freeMem tag
return (result', tag')
#if ENABLE_OVERLOADING
data TerminalMatchCheckEventMethodInfo
instance (signature ~ (Gdk.Event.Event -> m ((T.Text, Int32))), MonadIO m, IsTerminal a) => O.MethodInfo TerminalMatchCheckEventMethodInfo a signature where
overloadedMethod _ = terminalMatchCheckEvent
#endif
foreign import ccall "vte_terminal_match_remove" vte_terminal_match_remove ::
Ptr Terminal ->
Int32 ->
IO ()
terminalMatchRemove ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Int32
-> m ()
terminalMatchRemove terminal tag = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
vte_terminal_match_remove terminal' tag
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalMatchRemoveMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalMatchRemoveMethodInfo a signature where
overloadedMethod _ = terminalMatchRemove
#endif
foreign import ccall "vte_terminal_match_remove_all" vte_terminal_match_remove_all ::
Ptr Terminal ->
IO ()
terminalMatchRemoveAll ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m ()
terminalMatchRemoveAll terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
vte_terminal_match_remove_all terminal'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalMatchRemoveAllMethodInfo
instance (signature ~ (m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalMatchRemoveAllMethodInfo a signature where
overloadedMethod _ = terminalMatchRemoveAll
#endif
foreign import ccall "vte_terminal_match_set_cursor" vte_terminal_match_set_cursor ::
Ptr Terminal ->
Int32 ->
Ptr Gdk.Cursor.Cursor ->
IO ()
{-# DEPRECATED terminalMatchSetCursor ["(Since version 0.40)","Use 'GI.Vte.Objects.Terminal.terminalMatchSetCursorType' or @/vte_terminal_match_set_cursor_named()/@ instead."] #-}
terminalMatchSetCursor ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a, Gdk.Cursor.IsCursor b) =>
a
-> Int32
-> Maybe (b)
-> m ()
terminalMatchSetCursor terminal tag cursor = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
maybeCursor <- case cursor of
Nothing -> return nullPtr
Just jCursor -> do
jCursor' <- unsafeManagedPtrCastPtr jCursor
return jCursor'
vte_terminal_match_set_cursor terminal' tag maybeCursor
touchManagedPtr terminal
whenJust cursor touchManagedPtr
return ()
#if ENABLE_OVERLOADING
data TerminalMatchSetCursorMethodInfo
instance (signature ~ (Int32 -> Maybe (b) -> m ()), MonadIO m, IsTerminal a, Gdk.Cursor.IsCursor b) => O.MethodInfo TerminalMatchSetCursorMethodInfo a signature where
overloadedMethod _ = terminalMatchSetCursor
#endif
foreign import ccall "vte_terminal_match_set_cursor_name" vte_terminal_match_set_cursor_name ::
Ptr Terminal ->
Int32 ->
CString ->
IO ()
terminalMatchSetCursorName ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Int32
-> T.Text
-> m ()
terminalMatchSetCursorName terminal tag cursorName = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
cursorName' <- textToCString cursorName
vte_terminal_match_set_cursor_name terminal' tag cursorName'
touchManagedPtr terminal
freeMem cursorName'
return ()
#if ENABLE_OVERLOADING
data TerminalMatchSetCursorNameMethodInfo
instance (signature ~ (Int32 -> T.Text -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalMatchSetCursorNameMethodInfo a signature where
overloadedMethod _ = terminalMatchSetCursorName
#endif
foreign import ccall "vte_terminal_match_set_cursor_type" vte_terminal_match_set_cursor_type ::
Ptr Terminal ->
Int32 ->
CInt ->
IO ()
terminalMatchSetCursorType ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Int32
-> Gdk.Enums.CursorType
-> m ()
terminalMatchSetCursorType terminal tag cursorType = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let cursorType' = (fromIntegral . fromEnum) cursorType
vte_terminal_match_set_cursor_type terminal' tag cursorType'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalMatchSetCursorTypeMethodInfo
instance (signature ~ (Int32 -> Gdk.Enums.CursorType -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalMatchSetCursorTypeMethodInfo a signature where
overloadedMethod _ = terminalMatchSetCursorType
#endif
foreign import ccall "vte_terminal_paste_clipboard" vte_terminal_paste_clipboard ::
Ptr Terminal ->
IO ()
terminalPasteClipboard ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m ()
terminalPasteClipboard terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
vte_terminal_paste_clipboard terminal'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalPasteClipboardMethodInfo
instance (signature ~ (m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalPasteClipboardMethodInfo a signature where
overloadedMethod _ = terminalPasteClipboard
#endif
foreign import ccall "vte_terminal_paste_primary" vte_terminal_paste_primary ::
Ptr Terminal ->
IO ()
terminalPastePrimary ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m ()
terminalPastePrimary terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
vte_terminal_paste_primary terminal'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalPastePrimaryMethodInfo
instance (signature ~ (m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalPastePrimaryMethodInfo a signature where
overloadedMethod _ = terminalPastePrimary
#endif
foreign import ccall "vte_terminal_pty_new_sync" vte_terminal_pty_new_sync ::
Ptr Terminal ->
CUInt ->
Ptr Gio.Cancellable.Cancellable ->
Ptr (Ptr GError) ->
IO (Ptr Vte.Pty.Pty)
terminalPtyNewSync ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a, Gio.Cancellable.IsCancellable b) =>
a
-> [Vte.Flags.PtyFlags]
-> Maybe (b)
-> m Vte.Pty.Pty
terminalPtyNewSync terminal flags cancellable = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let flags' = gflagsToWord flags
maybeCancellable <- case cancellable of
Nothing -> return nullPtr
Just jCancellable -> do
jCancellable' <- unsafeManagedPtrCastPtr jCancellable
return jCancellable'
onException (do
result <- propagateGError $ vte_terminal_pty_new_sync terminal' flags' maybeCancellable
checkUnexpectedReturnNULL "terminalPtyNewSync" result
result' <- (wrapObject Vte.Pty.Pty) result
touchManagedPtr terminal
whenJust cancellable touchManagedPtr
return result'
) (do
return ()
)
#if ENABLE_OVERLOADING
data TerminalPtyNewSyncMethodInfo
instance (signature ~ ([Vte.Flags.PtyFlags] -> Maybe (b) -> m Vte.Pty.Pty), MonadIO m, IsTerminal a, Gio.Cancellable.IsCancellable b) => O.MethodInfo TerminalPtyNewSyncMethodInfo a signature where
overloadedMethod _ = terminalPtyNewSync
#endif
foreign import ccall "vte_terminal_reset" vte_terminal_reset ::
Ptr Terminal ->
CInt ->
CInt ->
IO ()
terminalReset ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Bool
-> Bool
-> m ()
terminalReset terminal clearTabstops clearHistory = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let clearTabstops' = (fromIntegral . fromEnum) clearTabstops
let clearHistory' = (fromIntegral . fromEnum) clearHistory
vte_terminal_reset terminal' clearTabstops' clearHistory'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalResetMethodInfo
instance (signature ~ (Bool -> Bool -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalResetMethodInfo a signature where
overloadedMethod _ = terminalReset
#endif
foreign import ccall "vte_terminal_search_find_next" vte_terminal_search_find_next ::
Ptr Terminal ->
IO CInt
terminalSearchFindNext ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Bool
terminalSearchFindNext terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_search_find_next terminal'
let result' = (/= 0) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalSearchFindNextMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSearchFindNextMethodInfo a signature where
overloadedMethod _ = terminalSearchFindNext
#endif
foreign import ccall "vte_terminal_search_find_previous" vte_terminal_search_find_previous ::
Ptr Terminal ->
IO CInt
terminalSearchFindPrevious ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Bool
terminalSearchFindPrevious terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_search_find_previous terminal'
let result' = (/= 0) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalSearchFindPreviousMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSearchFindPreviousMethodInfo a signature where
overloadedMethod _ = terminalSearchFindPrevious
#endif
foreign import ccall "vte_terminal_search_get_gregex" vte_terminal_search_get_gregex ::
Ptr Terminal ->
IO (Ptr GLib.Regex.Regex)
{-# DEPRECATED terminalSearchGetGregex ["(Since version 0.46)","use 'GI.Vte.Objects.Terminal.terminalSearchGetRegex' instead."] #-}
terminalSearchGetGregex ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m GLib.Regex.Regex
terminalSearchGetGregex terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_search_get_gregex terminal'
checkUnexpectedReturnNULL "terminalSearchGetGregex" result
result' <- (newBoxed GLib.Regex.Regex) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalSearchGetGregexMethodInfo
instance (signature ~ (m GLib.Regex.Regex), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSearchGetGregexMethodInfo a signature where
overloadedMethod _ = terminalSearchGetGregex
#endif
foreign import ccall "vte_terminal_search_get_regex" vte_terminal_search_get_regex ::
Ptr Terminal ->
IO (Ptr Vte.Regex.Regex)
terminalSearchGetRegex ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Vte.Regex.Regex
terminalSearchGetRegex terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_search_get_regex terminal'
checkUnexpectedReturnNULL "terminalSearchGetRegex" result
result' <- (newBoxed Vte.Regex.Regex) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalSearchGetRegexMethodInfo
instance (signature ~ (m Vte.Regex.Regex), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSearchGetRegexMethodInfo a signature where
overloadedMethod _ = terminalSearchGetRegex
#endif
foreign import ccall "vte_terminal_search_get_wrap_around" vte_terminal_search_get_wrap_around ::
Ptr Terminal ->
IO CInt
terminalSearchGetWrapAround ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m Bool
terminalSearchGetWrapAround terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
result <- vte_terminal_search_get_wrap_around terminal'
let result' = (/= 0) result
touchManagedPtr terminal
return result'
#if ENABLE_OVERLOADING
data TerminalSearchGetWrapAroundMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSearchGetWrapAroundMethodInfo a signature where
overloadedMethod _ = terminalSearchGetWrapAround
#endif
foreign import ccall "vte_terminal_search_set_gregex" vte_terminal_search_set_gregex ::
Ptr Terminal ->
Ptr GLib.Regex.Regex ->
CUInt ->
IO ()
{-# DEPRECATED terminalSearchSetGregex ["(Since version 0.46)","use 'GI.Vte.Objects.Terminal.terminalSearchSetRegex' instead."] #-}
terminalSearchSetGregex ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Maybe (GLib.Regex.Regex)
-> [GLib.Flags.RegexMatchFlags]
-> m ()
terminalSearchSetGregex terminal gregex gflags = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
maybeGregex <- case gregex of
Nothing -> return nullPtr
Just jGregex -> do
jGregex' <- unsafeManagedPtrGetPtr jGregex
return jGregex'
let gflags' = gflagsToWord gflags
vte_terminal_search_set_gregex terminal' maybeGregex gflags'
touchManagedPtr terminal
whenJust gregex touchManagedPtr
return ()
#if ENABLE_OVERLOADING
data TerminalSearchSetGregexMethodInfo
instance (signature ~ (Maybe (GLib.Regex.Regex) -> [GLib.Flags.RegexMatchFlags] -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSearchSetGregexMethodInfo a signature where
overloadedMethod _ = terminalSearchSetGregex
#endif
foreign import ccall "vte_terminal_search_set_regex" vte_terminal_search_set_regex ::
Ptr Terminal ->
Ptr Vte.Regex.Regex ->
Word32 ->
IO ()
terminalSearchSetRegex ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Maybe (Vte.Regex.Regex)
-> Word32
-> m ()
terminalSearchSetRegex terminal regex flags = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
maybeRegex <- case regex of
Nothing -> return nullPtr
Just jRegex -> do
jRegex' <- unsafeManagedPtrGetPtr jRegex
return jRegex'
vte_terminal_search_set_regex terminal' maybeRegex flags
touchManagedPtr terminal
whenJust regex touchManagedPtr
return ()
#if ENABLE_OVERLOADING
data TerminalSearchSetRegexMethodInfo
instance (signature ~ (Maybe (Vte.Regex.Regex) -> Word32 -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSearchSetRegexMethodInfo a signature where
overloadedMethod _ = terminalSearchSetRegex
#endif
foreign import ccall "vte_terminal_search_set_wrap_around" vte_terminal_search_set_wrap_around ::
Ptr Terminal ->
CInt ->
IO ()
terminalSearchSetWrapAround ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Bool
-> m ()
terminalSearchSetWrapAround terminal wrapAround = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let wrapAround' = (fromIntegral . fromEnum) wrapAround
vte_terminal_search_set_wrap_around terminal' wrapAround'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSearchSetWrapAroundMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSearchSetWrapAroundMethodInfo a signature where
overloadedMethod _ = terminalSearchSetWrapAround
#endif
foreign import ccall "vte_terminal_select_all" vte_terminal_select_all ::
Ptr Terminal ->
IO ()
terminalSelectAll ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m ()
terminalSelectAll terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
vte_terminal_select_all terminal'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSelectAllMethodInfo
instance (signature ~ (m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSelectAllMethodInfo a signature where
overloadedMethod _ = terminalSelectAll
#endif
foreign import ccall "vte_terminal_set_allow_bold" vte_terminal_set_allow_bold ::
Ptr Terminal ->
CInt ->
IO ()
terminalSetAllowBold ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Bool
-> m ()
terminalSetAllowBold terminal allowBold = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let allowBold' = (fromIntegral . fromEnum) allowBold
vte_terminal_set_allow_bold terminal' allowBold'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetAllowBoldMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetAllowBoldMethodInfo a signature where
overloadedMethod _ = terminalSetAllowBold
#endif
foreign import ccall "vte_terminal_set_allow_hyperlink" vte_terminal_set_allow_hyperlink ::
Ptr Terminal ->
CInt ->
IO ()
terminalSetAllowHyperlink ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Bool
-> m ()
terminalSetAllowHyperlink terminal allowHyperlink = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let allowHyperlink' = (fromIntegral . fromEnum) allowHyperlink
vte_terminal_set_allow_hyperlink terminal' allowHyperlink'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetAllowHyperlinkMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetAllowHyperlinkMethodInfo a signature where
overloadedMethod _ = terminalSetAllowHyperlink
#endif
foreign import ccall "vte_terminal_set_audible_bell" vte_terminal_set_audible_bell ::
Ptr Terminal ->
CInt ->
IO ()
terminalSetAudibleBell ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Bool
-> m ()
terminalSetAudibleBell terminal isAudible = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let isAudible' = (fromIntegral . fromEnum) isAudible
vte_terminal_set_audible_bell terminal' isAudible'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetAudibleBellMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetAudibleBellMethodInfo a signature where
overloadedMethod _ = terminalSetAudibleBell
#endif
foreign import ccall "vte_terminal_set_backspace_binding" vte_terminal_set_backspace_binding ::
Ptr Terminal ->
CUInt ->
IO ()
terminalSetBackspaceBinding ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Vte.Enums.EraseBinding
-> m ()
terminalSetBackspaceBinding terminal binding = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let binding' = (fromIntegral . fromEnum) binding
vte_terminal_set_backspace_binding terminal' binding'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetBackspaceBindingMethodInfo
instance (signature ~ (Vte.Enums.EraseBinding -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetBackspaceBindingMethodInfo a signature where
overloadedMethod _ = terminalSetBackspaceBinding
#endif
foreign import ccall "vte_terminal_set_bold_is_bright" vte_terminal_set_bold_is_bright ::
Ptr Terminal ->
CInt ->
IO ()
terminalSetBoldIsBright ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Bool
-> m ()
terminalSetBoldIsBright terminal boldIsBright = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let boldIsBright' = (fromIntegral . fromEnum) boldIsBright
vte_terminal_set_bold_is_bright terminal' boldIsBright'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetBoldIsBrightMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetBoldIsBrightMethodInfo a signature where
overloadedMethod _ = terminalSetBoldIsBright
#endif
foreign import ccall "vte_terminal_set_cell_height_scale" vte_terminal_set_cell_height_scale ::
Ptr Terminal ->
CDouble ->
IO ()
terminalSetCellHeightScale ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Double
-> m ()
terminalSetCellHeightScale terminal scale = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let scale' = realToFrac scale
vte_terminal_set_cell_height_scale terminal' scale'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetCellHeightScaleMethodInfo
instance (signature ~ (Double -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetCellHeightScaleMethodInfo a signature where
overloadedMethod _ = terminalSetCellHeightScale
#endif
foreign import ccall "vte_terminal_set_cell_width_scale" vte_terminal_set_cell_width_scale ::
Ptr Terminal ->
CDouble ->
IO ()
terminalSetCellWidthScale ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Double
-> m ()
terminalSetCellWidthScale terminal scale = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let scale' = realToFrac scale
vte_terminal_set_cell_width_scale terminal' scale'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetCellWidthScaleMethodInfo
instance (signature ~ (Double -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetCellWidthScaleMethodInfo a signature where
overloadedMethod _ = terminalSetCellWidthScale
#endif
foreign import ccall "vte_terminal_set_cjk_ambiguous_width" vte_terminal_set_cjk_ambiguous_width ::
Ptr Terminal ->
Int32 ->
IO ()
terminalSetCjkAmbiguousWidth ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Int32
-> m ()
terminalSetCjkAmbiguousWidth terminal width = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
vte_terminal_set_cjk_ambiguous_width terminal' width
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetCjkAmbiguousWidthMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetCjkAmbiguousWidthMethodInfo a signature where
overloadedMethod _ = terminalSetCjkAmbiguousWidth
#endif
foreign import ccall "vte_terminal_set_clear_background" vte_terminal_set_clear_background ::
Ptr Terminal ->
CInt ->
IO ()
terminalSetClearBackground ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Bool
-> m ()
terminalSetClearBackground terminal setting = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let setting' = (fromIntegral . fromEnum) setting
vte_terminal_set_clear_background terminal' setting'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetClearBackgroundMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetClearBackgroundMethodInfo a signature where
overloadedMethod _ = terminalSetClearBackground
#endif
foreign import ccall "vte_terminal_set_color_background" vte_terminal_set_color_background ::
Ptr Terminal ->
Ptr Gdk.RGBA.RGBA ->
IO ()
terminalSetColorBackground ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Gdk.RGBA.RGBA
-> m ()
terminalSetColorBackground terminal background = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
background' <- unsafeManagedPtrGetPtr background
vte_terminal_set_color_background terminal' background'
touchManagedPtr terminal
touchManagedPtr background
return ()
#if ENABLE_OVERLOADING
data TerminalSetColorBackgroundMethodInfo
instance (signature ~ (Gdk.RGBA.RGBA -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetColorBackgroundMethodInfo a signature where
overloadedMethod _ = terminalSetColorBackground
#endif
foreign import ccall "vte_terminal_set_color_bold" vte_terminal_set_color_bold ::
Ptr Terminal ->
Ptr Gdk.RGBA.RGBA ->
IO ()
terminalSetColorBold ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Maybe (Gdk.RGBA.RGBA)
-> m ()
terminalSetColorBold terminal bold = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
maybeBold <- case bold of
Nothing -> return nullPtr
Just jBold -> do
jBold' <- unsafeManagedPtrGetPtr jBold
return jBold'
vte_terminal_set_color_bold terminal' maybeBold
touchManagedPtr terminal
whenJust bold touchManagedPtr
return ()
#if ENABLE_OVERLOADING
data TerminalSetColorBoldMethodInfo
instance (signature ~ (Maybe (Gdk.RGBA.RGBA) -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetColorBoldMethodInfo a signature where
overloadedMethod _ = terminalSetColorBold
#endif
foreign import ccall "vte_terminal_set_color_cursor" vte_terminal_set_color_cursor ::
Ptr Terminal ->
Ptr Gdk.RGBA.RGBA ->
IO ()
terminalSetColorCursor ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Maybe (Gdk.RGBA.RGBA)
-> m ()
terminalSetColorCursor terminal cursorBackground = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
maybeCursorBackground <- case cursorBackground of
Nothing -> return nullPtr
Just jCursorBackground -> do
jCursorBackground' <- unsafeManagedPtrGetPtr jCursorBackground
return jCursorBackground'
vte_terminal_set_color_cursor terminal' maybeCursorBackground
touchManagedPtr terminal
whenJust cursorBackground touchManagedPtr
return ()
#if ENABLE_OVERLOADING
data TerminalSetColorCursorMethodInfo
instance (signature ~ (Maybe (Gdk.RGBA.RGBA) -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetColorCursorMethodInfo a signature where
overloadedMethod _ = terminalSetColorCursor
#endif
foreign import ccall "vte_terminal_set_color_cursor_foreground" vte_terminal_set_color_cursor_foreground ::
Ptr Terminal ->
Ptr Gdk.RGBA.RGBA ->
IO ()
terminalSetColorCursorForeground ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Maybe (Gdk.RGBA.RGBA)
-> m ()
terminalSetColorCursorForeground terminal cursorForeground = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
maybeCursorForeground <- case cursorForeground of
Nothing -> return nullPtr
Just jCursorForeground -> do
jCursorForeground' <- unsafeManagedPtrGetPtr jCursorForeground
return jCursorForeground'
vte_terminal_set_color_cursor_foreground terminal' maybeCursorForeground
touchManagedPtr terminal
whenJust cursorForeground touchManagedPtr
return ()
#if ENABLE_OVERLOADING
data TerminalSetColorCursorForegroundMethodInfo
instance (signature ~ (Maybe (Gdk.RGBA.RGBA) -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetColorCursorForegroundMethodInfo a signature where
overloadedMethod _ = terminalSetColorCursorForeground
#endif
foreign import ccall "vte_terminal_set_color_foreground" vte_terminal_set_color_foreground ::
Ptr Terminal ->
Ptr Gdk.RGBA.RGBA ->
IO ()
terminalSetColorForeground ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Gdk.RGBA.RGBA
-> m ()
terminalSetColorForeground terminal foreground = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
foreground' <- unsafeManagedPtrGetPtr foreground
vte_terminal_set_color_foreground terminal' foreground'
touchManagedPtr terminal
touchManagedPtr foreground
return ()
#if ENABLE_OVERLOADING
data TerminalSetColorForegroundMethodInfo
instance (signature ~ (Gdk.RGBA.RGBA -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetColorForegroundMethodInfo a signature where
overloadedMethod _ = terminalSetColorForeground
#endif
foreign import ccall "vte_terminal_set_color_highlight" vte_terminal_set_color_highlight ::
Ptr Terminal ->
Ptr Gdk.RGBA.RGBA ->
IO ()
terminalSetColorHighlight ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Maybe (Gdk.RGBA.RGBA)
-> m ()
terminalSetColorHighlight terminal highlightBackground = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
maybeHighlightBackground <- case highlightBackground of
Nothing -> return nullPtr
Just jHighlightBackground -> do
jHighlightBackground' <- unsafeManagedPtrGetPtr jHighlightBackground
return jHighlightBackground'
vte_terminal_set_color_highlight terminal' maybeHighlightBackground
touchManagedPtr terminal
whenJust highlightBackground touchManagedPtr
return ()
#if ENABLE_OVERLOADING
data TerminalSetColorHighlightMethodInfo
instance (signature ~ (Maybe (Gdk.RGBA.RGBA) -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetColorHighlightMethodInfo a signature where
overloadedMethod _ = terminalSetColorHighlight
#endif
foreign import ccall "vte_terminal_set_color_highlight_foreground" vte_terminal_set_color_highlight_foreground ::
Ptr Terminal ->
Ptr Gdk.RGBA.RGBA ->
IO ()
terminalSetColorHighlightForeground ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Maybe (Gdk.RGBA.RGBA)
-> m ()
terminalSetColorHighlightForeground terminal highlightForeground = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
maybeHighlightForeground <- case highlightForeground of
Nothing -> return nullPtr
Just jHighlightForeground -> do
jHighlightForeground' <- unsafeManagedPtrGetPtr jHighlightForeground
return jHighlightForeground'
vte_terminal_set_color_highlight_foreground terminal' maybeHighlightForeground
touchManagedPtr terminal
whenJust highlightForeground touchManagedPtr
return ()
#if ENABLE_OVERLOADING
data TerminalSetColorHighlightForegroundMethodInfo
instance (signature ~ (Maybe (Gdk.RGBA.RGBA) -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetColorHighlightForegroundMethodInfo a signature where
overloadedMethod _ = terminalSetColorHighlightForeground
#endif
foreign import ccall "vte_terminal_set_colors" vte_terminal_set_colors ::
Ptr Terminal ->
Ptr Gdk.RGBA.RGBA ->
Ptr Gdk.RGBA.RGBA ->
Ptr Gdk.RGBA.RGBA ->
Word64 ->
IO ()
terminalSetColors ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Maybe (Gdk.RGBA.RGBA)
-> Maybe (Gdk.RGBA.RGBA)
-> Maybe ([Gdk.RGBA.RGBA])
-> m ()
terminalSetColors terminal foreground background palette = liftIO $ do
let paletteSize = case palette of
Nothing -> 0
Just jPalette -> fromIntegral $ length jPalette
terminal' <- unsafeManagedPtrCastPtr terminal
maybeForeground <- case foreground of
Nothing -> return nullPtr
Just jForeground -> do
jForeground' <- unsafeManagedPtrGetPtr jForeground
return jForeground'
maybeBackground <- case background of
Nothing -> return nullPtr
Just jBackground -> do
jBackground' <- unsafeManagedPtrGetPtr jBackground
return jBackground'
maybePalette <- case palette of
Nothing -> return nullPtr
Just jPalette -> do
jPalette' <- mapM unsafeManagedPtrGetPtr jPalette
jPalette'' <- packBlockArray 32 jPalette'
return jPalette''
vte_terminal_set_colors terminal' maybeForeground maybeBackground maybePalette paletteSize
touchManagedPtr terminal
whenJust foreground touchManagedPtr
whenJust background touchManagedPtr
whenJust palette (mapM_ touchManagedPtr)
freeMem maybePalette
return ()
#if ENABLE_OVERLOADING
data TerminalSetColorsMethodInfo
instance (signature ~ (Maybe (Gdk.RGBA.RGBA) -> Maybe (Gdk.RGBA.RGBA) -> Maybe ([Gdk.RGBA.RGBA]) -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetColorsMethodInfo a signature where
overloadedMethod _ = terminalSetColors
#endif
foreign import ccall "vte_terminal_set_cursor_blink_mode" vte_terminal_set_cursor_blink_mode ::
Ptr Terminal ->
CUInt ->
IO ()
terminalSetCursorBlinkMode ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Vte.Enums.CursorBlinkMode
-> m ()
terminalSetCursorBlinkMode terminal mode = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let mode' = (fromIntegral . fromEnum) mode
vte_terminal_set_cursor_blink_mode terminal' mode'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetCursorBlinkModeMethodInfo
instance (signature ~ (Vte.Enums.CursorBlinkMode -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetCursorBlinkModeMethodInfo a signature where
overloadedMethod _ = terminalSetCursorBlinkMode
#endif
foreign import ccall "vte_terminal_set_cursor_shape" vte_terminal_set_cursor_shape ::
Ptr Terminal ->
CUInt ->
IO ()
terminalSetCursorShape ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Vte.Enums.CursorShape
-> m ()
terminalSetCursorShape terminal shape = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let shape' = (fromIntegral . fromEnum) shape
vte_terminal_set_cursor_shape terminal' shape'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetCursorShapeMethodInfo
instance (signature ~ (Vte.Enums.CursorShape -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetCursorShapeMethodInfo a signature where
overloadedMethod _ = terminalSetCursorShape
#endif
foreign import ccall "vte_terminal_set_default_colors" vte_terminal_set_default_colors ::
Ptr Terminal ->
IO ()
terminalSetDefaultColors ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m ()
terminalSetDefaultColors terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
vte_terminal_set_default_colors terminal'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetDefaultColorsMethodInfo
instance (signature ~ (m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetDefaultColorsMethodInfo a signature where
overloadedMethod _ = terminalSetDefaultColors
#endif
foreign import ccall "vte_terminal_set_delete_binding" vte_terminal_set_delete_binding ::
Ptr Terminal ->
CUInt ->
IO ()
terminalSetDeleteBinding ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Vte.Enums.EraseBinding
-> m ()
terminalSetDeleteBinding terminal binding = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let binding' = (fromIntegral . fromEnum) binding
vte_terminal_set_delete_binding terminal' binding'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetDeleteBindingMethodInfo
instance (signature ~ (Vte.Enums.EraseBinding -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetDeleteBindingMethodInfo a signature where
overloadedMethod _ = terminalSetDeleteBinding
#endif
foreign import ccall "vte_terminal_set_encoding" vte_terminal_set_encoding ::
Ptr Terminal ->
CString ->
Ptr (Ptr GError) ->
IO CInt
terminalSetEncoding ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Maybe (T.Text)
-> m ()
terminalSetEncoding terminal codeset = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
maybeCodeset <- case codeset of
Nothing -> return nullPtr
Just jCodeset -> do
jCodeset' <- textToCString jCodeset
return jCodeset'
onException (do
_ <- propagateGError $ vte_terminal_set_encoding terminal' maybeCodeset
touchManagedPtr terminal
freeMem maybeCodeset
return ()
) (do
freeMem maybeCodeset
)
#if ENABLE_OVERLOADING
data TerminalSetEncodingMethodInfo
instance (signature ~ (Maybe (T.Text) -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetEncodingMethodInfo a signature where
overloadedMethod _ = terminalSetEncoding
#endif
foreign import ccall "vte_terminal_set_font" vte_terminal_set_font ::
Ptr Terminal ->
Ptr Pango.FontDescription.FontDescription ->
IO ()
terminalSetFont ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Maybe (Pango.FontDescription.FontDescription)
-> m ()
terminalSetFont terminal fontDesc = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
maybeFontDesc <- case fontDesc of
Nothing -> return nullPtr
Just jFontDesc -> do
jFontDesc' <- unsafeManagedPtrGetPtr jFontDesc
return jFontDesc'
vte_terminal_set_font terminal' maybeFontDesc
touchManagedPtr terminal
whenJust fontDesc touchManagedPtr
return ()
#if ENABLE_OVERLOADING
data TerminalSetFontMethodInfo
instance (signature ~ (Maybe (Pango.FontDescription.FontDescription) -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetFontMethodInfo a signature where
overloadedMethod _ = terminalSetFont
#endif
foreign import ccall "vte_terminal_set_font_scale" vte_terminal_set_font_scale ::
Ptr Terminal ->
CDouble ->
IO ()
terminalSetFontScale ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Double
-> m ()
terminalSetFontScale terminal scale = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let scale' = realToFrac scale
vte_terminal_set_font_scale terminal' scale'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetFontScaleMethodInfo
instance (signature ~ (Double -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetFontScaleMethodInfo a signature where
overloadedMethod _ = terminalSetFontScale
#endif
foreign import ccall "vte_terminal_set_geometry_hints_for_window" vte_terminal_set_geometry_hints_for_window ::
Ptr Terminal ->
Ptr Gtk.Window.Window ->
IO ()
{-# DEPRECATED terminalSetGeometryHintsForWindow ["(Since version 0.52)"] #-}
terminalSetGeometryHintsForWindow ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a, Gtk.Window.IsWindow b) =>
a
-> b
-> m ()
terminalSetGeometryHintsForWindow terminal window = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
window' <- unsafeManagedPtrCastPtr window
vte_terminal_set_geometry_hints_for_window terminal' window'
touchManagedPtr terminal
touchManagedPtr window
return ()
#if ENABLE_OVERLOADING
data TerminalSetGeometryHintsForWindowMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsTerminal a, Gtk.Window.IsWindow b) => O.MethodInfo TerminalSetGeometryHintsForWindowMethodInfo a signature where
overloadedMethod _ = terminalSetGeometryHintsForWindow
#endif
foreign import ccall "vte_terminal_set_input_enabled" vte_terminal_set_input_enabled ::
Ptr Terminal ->
CInt ->
IO ()
terminalSetInputEnabled ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Bool
-> m ()
terminalSetInputEnabled terminal enabled = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let enabled' = (fromIntegral . fromEnum) enabled
vte_terminal_set_input_enabled terminal' enabled'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetInputEnabledMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetInputEnabledMethodInfo a signature where
overloadedMethod _ = terminalSetInputEnabled
#endif
foreign import ccall "vte_terminal_set_mouse_autohide" vte_terminal_set_mouse_autohide ::
Ptr Terminal ->
CInt ->
IO ()
terminalSetMouseAutohide ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Bool
-> m ()
terminalSetMouseAutohide terminal setting = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let setting' = (fromIntegral . fromEnum) setting
vte_terminal_set_mouse_autohide terminal' setting'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetMouseAutohideMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetMouseAutohideMethodInfo a signature where
overloadedMethod _ = terminalSetMouseAutohide
#endif
foreign import ccall "vte_terminal_set_pty" vte_terminal_set_pty ::
Ptr Terminal ->
Ptr Vte.Pty.Pty ->
IO ()
terminalSetPty ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a, Vte.Pty.IsPty b) =>
a
-> Maybe (b)
-> m ()
terminalSetPty terminal pty = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
maybePty <- case pty of
Nothing -> return nullPtr
Just jPty -> do
jPty' <- unsafeManagedPtrCastPtr jPty
return jPty'
vte_terminal_set_pty terminal' maybePty
touchManagedPtr terminal
whenJust pty touchManagedPtr
return ()
#if ENABLE_OVERLOADING
data TerminalSetPtyMethodInfo
instance (signature ~ (Maybe (b) -> m ()), MonadIO m, IsTerminal a, Vte.Pty.IsPty b) => O.MethodInfo TerminalSetPtyMethodInfo a signature where
overloadedMethod _ = terminalSetPty
#endif
foreign import ccall "vte_terminal_set_rewrap_on_resize" vte_terminal_set_rewrap_on_resize ::
Ptr Terminal ->
CInt ->
IO ()
terminalSetRewrapOnResize ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Bool
-> m ()
terminalSetRewrapOnResize terminal rewrap = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let rewrap' = (fromIntegral . fromEnum) rewrap
vte_terminal_set_rewrap_on_resize terminal' rewrap'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetRewrapOnResizeMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetRewrapOnResizeMethodInfo a signature where
overloadedMethod _ = terminalSetRewrapOnResize
#endif
foreign import ccall "vte_terminal_set_scroll_on_keystroke" vte_terminal_set_scroll_on_keystroke ::
Ptr Terminal ->
CInt ->
IO ()
terminalSetScrollOnKeystroke ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Bool
-> m ()
terminalSetScrollOnKeystroke terminal scroll = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let scroll' = (fromIntegral . fromEnum) scroll
vte_terminal_set_scroll_on_keystroke terminal' scroll'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetScrollOnKeystrokeMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetScrollOnKeystrokeMethodInfo a signature where
overloadedMethod _ = terminalSetScrollOnKeystroke
#endif
foreign import ccall "vte_terminal_set_scroll_on_output" vte_terminal_set_scroll_on_output ::
Ptr Terminal ->
CInt ->
IO ()
terminalSetScrollOnOutput ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Bool
-> m ()
terminalSetScrollOnOutput terminal scroll = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let scroll' = (fromIntegral . fromEnum) scroll
vte_terminal_set_scroll_on_output terminal' scroll'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetScrollOnOutputMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetScrollOnOutputMethodInfo a signature where
overloadedMethod _ = terminalSetScrollOnOutput
#endif
foreign import ccall "vte_terminal_set_scroll_speed" vte_terminal_set_scroll_speed ::
Ptr Terminal ->
Word32 ->
IO ()
terminalSetScrollSpeed ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Word32
-> m ()
terminalSetScrollSpeed terminal scrollSpeed = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
vte_terminal_set_scroll_speed terminal' scrollSpeed
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetScrollSpeedMethodInfo
instance (signature ~ (Word32 -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetScrollSpeedMethodInfo a signature where
overloadedMethod _ = terminalSetScrollSpeed
#endif
foreign import ccall "vte_terminal_set_scrollback_lines" vte_terminal_set_scrollback_lines ::
Ptr Terminal ->
CLong ->
IO ()
terminalSetScrollbackLines ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> CLong
-> m ()
terminalSetScrollbackLines terminal lines = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
vte_terminal_set_scrollback_lines terminal' lines
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetScrollbackLinesMethodInfo
instance (signature ~ (CLong -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetScrollbackLinesMethodInfo a signature where
overloadedMethod _ = terminalSetScrollbackLines
#endif
foreign import ccall "vte_terminal_set_size" vte_terminal_set_size ::
Ptr Terminal ->
CLong ->
CLong ->
IO ()
terminalSetSize ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> CLong
-> CLong
-> m ()
terminalSetSize terminal columns rows = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
vte_terminal_set_size terminal' columns rows
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetSizeMethodInfo
instance (signature ~ (CLong -> CLong -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetSizeMethodInfo a signature where
overloadedMethod _ = terminalSetSize
#endif
foreign import ccall "vte_terminal_set_text_blink_mode" vte_terminal_set_text_blink_mode ::
Ptr Terminal ->
CUInt ->
IO ()
terminalSetTextBlinkMode ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Vte.Enums.TextBlinkMode
-> m ()
terminalSetTextBlinkMode terminal textBlinkMode = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let textBlinkMode' = (fromIntegral . fromEnum) textBlinkMode
vte_terminal_set_text_blink_mode terminal' textBlinkMode'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalSetTextBlinkModeMethodInfo
instance (signature ~ (Vte.Enums.TextBlinkMode -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetTextBlinkModeMethodInfo a signature where
overloadedMethod _ = terminalSetTextBlinkMode
#endif
foreign import ccall "vte_terminal_set_word_char_exceptions" vte_terminal_set_word_char_exceptions ::
Ptr Terminal ->
CString ->
IO ()
terminalSetWordCharExceptions ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> T.Text
-> m ()
terminalSetWordCharExceptions terminal exceptions = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
exceptions' <- textToCString exceptions
vte_terminal_set_word_char_exceptions terminal' exceptions'
touchManagedPtr terminal
freeMem exceptions'
return ()
#if ENABLE_OVERLOADING
data TerminalSetWordCharExceptionsMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalSetWordCharExceptionsMethodInfo a signature where
overloadedMethod _ = terminalSetWordCharExceptions
#endif
foreign import ccall "vte_terminal_spawn_sync" vte_terminal_spawn_sync ::
Ptr Terminal ->
CUInt ->
CString ->
Ptr CString ->
Ptr CString ->
CUInt ->
FunPtr GLib.Callbacks.C_SpawnChildSetupFunc ->
Ptr () ->
Ptr Int32 ->
Ptr Gio.Cancellable.Cancellable ->
Ptr (Ptr GError) ->
IO CInt
{-# DEPRECATED terminalSpawnSync ["(Since version 0.48)","Use @/vte_terminal_spawn_async()/@ instead."] #-}
terminalSpawnSync ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a, Gio.Cancellable.IsCancellable b) =>
a
-> [Vte.Flags.PtyFlags]
-> Maybe (T.Text)
-> [[Char]]
-> Maybe ([[Char]])
-> [GLib.Flags.SpawnFlags]
-> Maybe (GLib.Callbacks.SpawnChildSetupFunc)
-> Maybe (b)
-> m (Int32)
terminalSpawnSync terminal ptyFlags workingDirectory argv envv spawnFlags childSetup cancellable = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
let ptyFlags' = gflagsToWord ptyFlags
maybeWorkingDirectory <- case workingDirectory of
Nothing -> return nullPtr
Just jWorkingDirectory -> do
jWorkingDirectory' <- textToCString jWorkingDirectory
return jWorkingDirectory'
argv' <- packZeroTerminatedFileNameArray argv
maybeEnvv <- case envv of
Nothing -> return nullPtr
Just jEnvv -> do
jEnvv' <- packZeroTerminatedFileNameArray jEnvv
return jEnvv'
let spawnFlags' = gflagsToWord spawnFlags
maybeChildSetup <- case childSetup of
Nothing -> return (castPtrToFunPtr nullPtr)
Just jChildSetup -> do
jChildSetup' <- GLib.Callbacks.mk_SpawnChildSetupFunc (GLib.Callbacks.wrap_SpawnChildSetupFunc Nothing (GLib.Callbacks.drop_closures_SpawnChildSetupFunc jChildSetup))
return jChildSetup'
childPid <- allocMem :: IO (Ptr Int32)
maybeCancellable <- case cancellable of
Nothing -> return nullPtr
Just jCancellable -> do
jCancellable' <- unsafeManagedPtrCastPtr jCancellable
return jCancellable'
let childSetupData = nullPtr
onException (do
_ <- propagateGError $ vte_terminal_spawn_sync terminal' ptyFlags' maybeWorkingDirectory argv' maybeEnvv spawnFlags' maybeChildSetup childSetupData childPid maybeCancellable
childPid' <- peek childPid
safeFreeFunPtr $ castFunPtrToPtr maybeChildSetup
touchManagedPtr terminal
whenJust cancellable touchManagedPtr
freeMem maybeWorkingDirectory
mapZeroTerminatedCArray freeMem argv'
freeMem argv'
mapZeroTerminatedCArray freeMem maybeEnvv
freeMem maybeEnvv
freeMem childPid
return childPid'
) (do
safeFreeFunPtr $ castFunPtrToPtr maybeChildSetup
freeMem maybeWorkingDirectory
mapZeroTerminatedCArray freeMem argv'
freeMem argv'
mapZeroTerminatedCArray freeMem maybeEnvv
freeMem maybeEnvv
freeMem childPid
)
#if ENABLE_OVERLOADING
data TerminalSpawnSyncMethodInfo
instance (signature ~ ([Vte.Flags.PtyFlags] -> Maybe (T.Text) -> [[Char]] -> Maybe ([[Char]]) -> [GLib.Flags.SpawnFlags] -> Maybe (GLib.Callbacks.SpawnChildSetupFunc) -> Maybe (b) -> m (Int32)), MonadIO m, IsTerminal a, Gio.Cancellable.IsCancellable b) => O.MethodInfo TerminalSpawnSyncMethodInfo a signature where
overloadedMethod _ = terminalSpawnSync
#endif
foreign import ccall "vte_terminal_unselect_all" vte_terminal_unselect_all ::
Ptr Terminal ->
IO ()
terminalUnselectAll ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> m ()
terminalUnselectAll terminal = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
vte_terminal_unselect_all terminal'
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalUnselectAllMethodInfo
instance (signature ~ (m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalUnselectAllMethodInfo a signature where
overloadedMethod _ = terminalUnselectAll
#endif
foreign import ccall "vte_terminal_watch_child" vte_terminal_watch_child ::
Ptr Terminal ->
Int32 ->
IO ()
terminalWatchChild ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a) =>
a
-> Int32
-> m ()
terminalWatchChild terminal childPid = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
vte_terminal_watch_child terminal' childPid
touchManagedPtr terminal
return ()
#if ENABLE_OVERLOADING
data TerminalWatchChildMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsTerminal a) => O.MethodInfo TerminalWatchChildMethodInfo a signature where
overloadedMethod _ = terminalWatchChild
#endif
foreign import ccall "vte_terminal_write_contents_sync" vte_terminal_write_contents_sync ::
Ptr Terminal ->
Ptr Gio.OutputStream.OutputStream ->
CUInt ->
Ptr Gio.Cancellable.Cancellable ->
Ptr (Ptr GError) ->
IO CInt
terminalWriteContentsSync ::
(B.CallStack.HasCallStack, MonadIO m, IsTerminal a, Gio.OutputStream.IsOutputStream b, Gio.Cancellable.IsCancellable c) =>
a
-> b
-> Vte.Enums.WriteFlags
-> Maybe (c)
-> m ()
terminalWriteContentsSync terminal stream flags cancellable = liftIO $ do
terminal' <- unsafeManagedPtrCastPtr terminal
stream' <- unsafeManagedPtrCastPtr stream
let flags' = (fromIntegral . fromEnum) flags
maybeCancellable <- case cancellable of
Nothing -> return nullPtr
Just jCancellable -> do
jCancellable' <- unsafeManagedPtrCastPtr jCancellable
return jCancellable'
onException (do
_ <- propagateGError $ vte_terminal_write_contents_sync terminal' stream' flags' maybeCancellable
touchManagedPtr terminal
touchManagedPtr stream
whenJust cancellable touchManagedPtr
return ()
) (do
return ()
)
#if ENABLE_OVERLOADING
data TerminalWriteContentsSyncMethodInfo
instance (signature ~ (b -> Vte.Enums.WriteFlags -> Maybe (c) -> m ()), MonadIO m, IsTerminal a, Gio.OutputStream.IsOutputStream b, Gio.Cancellable.IsCancellable c) => O.MethodInfo TerminalWriteContentsSyncMethodInfo a signature where
overloadedMethod _ = terminalWriteContentsSync
#endif