{-# LANGUAGE TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.GtkSource.Objects.Map
(
Map(..) ,
IsMap ,
toMap ,
#if defined(ENABLE_OVERLOADING)
ResolveMapMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
MapGetViewMethodInfo ,
#endif
mapGetView ,
mapNew ,
#if defined(ENABLE_OVERLOADING)
MapSetViewMethodInfo ,
#endif
mapSetView ,
#if defined(ENABLE_OVERLOADING)
MapFontDescPropertyInfo ,
#endif
clearMapFontDesc ,
constructMapFontDesc ,
getMapFontDesc ,
#if defined(ENABLE_OVERLOADING)
mapFontDesc ,
#endif
setMapFontDesc ,
#if defined(ENABLE_OVERLOADING)
MapViewPropertyInfo ,
#endif
constructMapView ,
getMapView ,
#if defined(ENABLE_OVERLOADING)
mapView ,
#endif
setMapView ,
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.BasicTypes as B.Types
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GArray as B.GArray
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GHashTable as B.GHT
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.GI.Base.Signals as B.Signals
import qualified Control.Monad.IO.Class as MIO
import qualified Data.Coerce as Coerce
import qualified Data.Text as T
import qualified Data.Kind as DK
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
import qualified GHC.Records as R
import qualified Data.Word as DW
import qualified Data.Int as DI
import qualified System.Posix.Types as SPT
import qualified Foreign.C.Types as FCT
#if MIN_VERSION_base(4,18,0)
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gdk.Flags as Gdk.Flags
import qualified GI.Gdk.Interfaces.Paintable as Gdk.Paintable
import qualified GI.Gdk.Structs.RGBA as Gdk.RGBA
import qualified GI.Gdk.Structs.Rectangle as Gdk.Rectangle
import qualified GI.GdkPixbuf.Objects.Pixbuf as GdkPixbuf.Pixbuf
import qualified GI.Gio.Callbacks as Gio.Callbacks
import qualified GI.Gio.Flags as Gio.Flags
import qualified GI.Gio.Interfaces.AsyncResult as Gio.AsyncResult
import qualified GI.Gio.Interfaces.Icon as Gio.Icon
import qualified GI.Gio.Interfaces.ListModel as Gio.ListModel
import qualified GI.Gio.Objects.Cancellable as Gio.Cancellable
import qualified GI.Gio.Objects.Settings as Gio.Settings
import qualified GI.Gtk.Enums as Gtk.Enums
import qualified GI.Gtk.Interfaces.Accessible as Gtk.Accessible
import qualified GI.Gtk.Interfaces.AccessibleText as Gtk.AccessibleText
import qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
import qualified GI.Gtk.Interfaces.ConstraintTarget as Gtk.ConstraintTarget
import qualified GI.Gtk.Interfaces.Scrollable as Gtk.Scrollable
import qualified GI.Gtk.Objects.TextBuffer as Gtk.TextBuffer
import qualified GI.Gtk.Objects.TextMark as Gtk.TextMark
import qualified GI.Gtk.Objects.TextTag as Gtk.TextTag
import qualified GI.Gtk.Objects.TextTagTable as Gtk.TextTagTable
import qualified GI.Gtk.Objects.TextView as Gtk.TextView
import qualified GI.Gtk.Objects.Widget as Gtk.Widget
import qualified GI.Gtk.Structs.TextIter as Gtk.TextIter
import {-# SOURCE #-} qualified GI.GtkSource.Enums as GtkSource.Enums
import {-# SOURCE #-} qualified GI.GtkSource.Flags as GtkSource.Flags
import {-# SOURCE #-} qualified GI.GtkSource.Interfaces.CompletionProposal as GtkSource.CompletionProposal
import {-# SOURCE #-} qualified GI.GtkSource.Interfaces.CompletionProvider as GtkSource.CompletionProvider
import {-# SOURCE #-} qualified GI.GtkSource.Interfaces.HoverProvider as GtkSource.HoverProvider
import {-# SOURCE #-} qualified GI.GtkSource.Interfaces.Indenter as GtkSource.Indenter
import {-# SOURCE #-} qualified GI.GtkSource.Objects.Buffer as GtkSource.Buffer
import {-# SOURCE #-} qualified GI.GtkSource.Objects.Completion as GtkSource.Completion
import {-# SOURCE #-} qualified GI.GtkSource.Objects.CompletionCell as GtkSource.CompletionCell
import {-# SOURCE #-} qualified GI.GtkSource.Objects.CompletionContext as GtkSource.CompletionContext
import {-# SOURCE #-} qualified GI.GtkSource.Objects.Gutter as GtkSource.Gutter
import {-# SOURCE #-} qualified GI.GtkSource.Objects.GutterLines as GtkSource.GutterLines
import {-# SOURCE #-} qualified GI.GtkSource.Objects.GutterRenderer as GtkSource.GutterRenderer
import {-# SOURCE #-} qualified GI.GtkSource.Objects.Hover as GtkSource.Hover
import {-# SOURCE #-} qualified GI.GtkSource.Objects.HoverContext as GtkSource.HoverContext
import {-# SOURCE #-} qualified GI.GtkSource.Objects.HoverDisplay as GtkSource.HoverDisplay
import {-# SOURCE #-} qualified GI.GtkSource.Objects.Language as GtkSource.Language
import {-# SOURCE #-} qualified GI.GtkSource.Objects.Mark as GtkSource.Mark
import {-# SOURCE #-} qualified GI.GtkSource.Objects.MarkAttributes as GtkSource.MarkAttributes
import {-# SOURCE #-} qualified GI.GtkSource.Objects.Snippet as GtkSource.Snippet
import {-# SOURCE #-} qualified GI.GtkSource.Objects.SnippetChunk as GtkSource.SnippetChunk
import {-# SOURCE #-} qualified GI.GtkSource.Objects.SnippetContext as GtkSource.SnippetContext
import {-# SOURCE #-} qualified GI.GtkSource.Objects.SpaceDrawer as GtkSource.SpaceDrawer
import {-# SOURCE #-} qualified GI.GtkSource.Objects.Style as GtkSource.Style
import {-# SOURCE #-} qualified GI.GtkSource.Objects.StyleScheme as GtkSource.StyleScheme
import {-# SOURCE #-} qualified GI.GtkSource.Objects.View as GtkSource.View
import qualified GI.Pango.Enums as Pango.Enums
import qualified GI.Pango.Structs.AttrList as Pango.AttrList
import qualified GI.Pango.Structs.FontDescription as Pango.FontDescription
#else
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gtk.Interfaces.Accessible as Gtk.Accessible
import qualified GI.Gtk.Interfaces.AccessibleText as Gtk.AccessibleText
import qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
import qualified GI.Gtk.Interfaces.ConstraintTarget as Gtk.ConstraintTarget
import qualified GI.Gtk.Interfaces.Scrollable as Gtk.Scrollable
import qualified GI.Gtk.Objects.TextView as Gtk.TextView
import qualified GI.Gtk.Objects.Widget as Gtk.Widget
import {-# SOURCE #-} qualified GI.GtkSource.Objects.View as GtkSource.View
import qualified GI.Pango.Structs.FontDescription as Pango.FontDescription
#endif
newtype Map = Map (SP.ManagedPtr Map)
deriving (Map -> Map -> Bool
(Map -> Map -> Bool) -> (Map -> Map -> Bool) -> Eq Map
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Map -> Map -> Bool
== :: Map -> Map -> Bool
$c/= :: Map -> Map -> Bool
/= :: Map -> Map -> Bool
Eq)
instance SP.ManagedPtrNewtype Map where
toManagedPtr :: Map -> ManagedPtr Map
toManagedPtr (Map ManagedPtr Map
p) = ManagedPtr Map
p
foreign import ccall "gtk_source_map_get_type"
c_gtk_source_map_get_type :: IO B.Types.GType
instance B.Types.TypedObject Map where
glibType :: IO GType
glibType = IO GType
c_gtk_source_map_get_type
instance B.Types.GObject Map
class (SP.GObject o, O.IsDescendantOf Map o) => IsMap o
instance (SP.GObject o, O.IsDescendantOf Map o) => IsMap o
instance O.HasParentTypes Map
type instance O.ParentTypes Map = '[GtkSource.View.View, Gtk.TextView.TextView, Gtk.Widget.Widget, GObject.Object.Object, Gtk.Accessible.Accessible, Gtk.AccessibleText.AccessibleText, Gtk.Buildable.Buildable, Gtk.ConstraintTarget.ConstraintTarget, Gtk.Scrollable.Scrollable]
toMap :: (MIO.MonadIO m, IsMap o) => o -> m Map
toMap :: forall (m :: * -> *) o. (MonadIO m, IsMap o) => o -> m Map
toMap = IO Map -> m Map
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Map -> m Map) -> (o -> IO Map) -> o -> m Map
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr Map -> Map) -> o -> IO Map
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr Map -> Map
Map
instance B.GValue.IsGValue (Maybe Map) where
gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_gtk_source_map_get_type
gvalueSet_ :: Ptr GValue -> Maybe Map -> IO ()
gvalueSet_ Ptr GValue
gv Maybe Map
P.Nothing = Ptr GValue -> Ptr Map -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr Map
forall a. Ptr a
FP.nullPtr :: FP.Ptr Map)
gvalueSet_ Ptr GValue
gv (P.Just Map
obj) = Map -> (Ptr Map -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr Map
obj (Ptr GValue -> Ptr Map -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
gvalueGet_ :: Ptr GValue -> IO (Maybe Map)
gvalueGet_ Ptr GValue
gv = do
Ptr Map
ptr <- Ptr GValue -> IO (Ptr Map)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr Map)
if Ptr Map
ptr Ptr Map -> Ptr Map -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr Map
forall a. Ptr a
FP.nullPtr
then Map -> Maybe Map
forall a. a -> Maybe a
P.Just (Map -> Maybe Map) -> IO Map -> IO (Maybe Map)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr Map -> Map) -> Ptr Map -> IO Map
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr Map -> Map
Map Ptr Map
ptr
else Maybe Map -> IO (Maybe Map)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe Map
forall a. Maybe a
P.Nothing
#if defined(ENABLE_OVERLOADING)
type family ResolveMapMethod (t :: Symbol) (o :: DK.Type) :: DK.Type where
ResolveMapMethod "actionSetEnabled" o = Gtk.Widget.WidgetActionSetEnabledMethodInfo
ResolveMapMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
ResolveMapMethod "activateAction" o = Gtk.Widget.WidgetActivateActionMethodInfo
ResolveMapMethod "activateDefault" o = Gtk.Widget.WidgetActivateDefaultMethodInfo
ResolveMapMethod "addChildAtAnchor" o = Gtk.TextView.TextViewAddChildAtAnchorMethodInfo
ResolveMapMethod "addController" o = Gtk.Widget.WidgetAddControllerMethodInfo
ResolveMapMethod "addCssClass" o = Gtk.Widget.WidgetAddCssClassMethodInfo
ResolveMapMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
ResolveMapMethod "addOverlay" o = Gtk.TextView.TextViewAddOverlayMethodInfo
ResolveMapMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
ResolveMapMethod "allocate" o = Gtk.Widget.WidgetAllocateMethodInfo
ResolveMapMethod "announce" o = Gtk.Accessible.AccessibleAnnounceMethodInfo
ResolveMapMethod "backwardDisplayLine" o = Gtk.TextView.TextViewBackwardDisplayLineMethodInfo
ResolveMapMethod "backwardDisplayLineStart" o = Gtk.TextView.TextViewBackwardDisplayLineStartMethodInfo
ResolveMapMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveMapMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveMapMethod "bufferToWindowCoords" o = Gtk.TextView.TextViewBufferToWindowCoordsMethodInfo
ResolveMapMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
ResolveMapMethod "computeBounds" o = Gtk.Widget.WidgetComputeBoundsMethodInfo
ResolveMapMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
ResolveMapMethod "computePoint" o = Gtk.Widget.WidgetComputePointMethodInfo
ResolveMapMethod "computeTransform" o = Gtk.Widget.WidgetComputeTransformMethodInfo
ResolveMapMethod "contains" o = Gtk.Widget.WidgetContainsMethodInfo
ResolveMapMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
ResolveMapMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
ResolveMapMethod "disposeTemplate" o = Gtk.Widget.WidgetDisposeTemplateMethodInfo
ResolveMapMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
ResolveMapMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
ResolveMapMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveMapMethod "forwardDisplayLine" o = Gtk.TextView.TextViewForwardDisplayLineMethodInfo
ResolveMapMethod "forwardDisplayLineEnd" o = Gtk.TextView.TextViewForwardDisplayLineEndMethodInfo
ResolveMapMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveMapMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveMapMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
ResolveMapMethod "hasCssClass" o = Gtk.Widget.WidgetHasCssClassMethodInfo
ResolveMapMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
ResolveMapMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
ResolveMapMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
ResolveMapMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
ResolveMapMethod "imContextFilterKeypress" o = Gtk.TextView.TextViewImContextFilterKeypressMethodInfo
ResolveMapMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
ResolveMapMethod "indentLines" o = GtkSource.View.ViewIndentLinesMethodInfo
ResolveMapMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
ResolveMapMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
ResolveMapMethod "insertAfter" o = Gtk.Widget.WidgetInsertAfterMethodInfo
ResolveMapMethod "insertBefore" o = Gtk.Widget.WidgetInsertBeforeMethodInfo
ResolveMapMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
ResolveMapMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
ResolveMapMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveMapMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
ResolveMapMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
ResolveMapMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
ResolveMapMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
ResolveMapMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
ResolveMapMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
ResolveMapMethod "measure" o = Gtk.Widget.WidgetMeasureMethodInfo
ResolveMapMethod "mnemonicActivate" o = Gtk.Widget.WidgetMnemonicActivateMethodInfo
ResolveMapMethod "moveMarkOnscreen" o = Gtk.TextView.TextViewMoveMarkOnscreenMethodInfo
ResolveMapMethod "moveOverlay" o = Gtk.TextView.TextViewMoveOverlayMethodInfo
ResolveMapMethod "moveVisually" o = Gtk.TextView.TextViewMoveVisuallyMethodInfo
ResolveMapMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveMapMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveMapMethod "observeChildren" o = Gtk.Widget.WidgetObserveChildrenMethodInfo
ResolveMapMethod "observeControllers" o = Gtk.Widget.WidgetObserveControllersMethodInfo
ResolveMapMethod "pick" o = Gtk.Widget.WidgetPickMethodInfo
ResolveMapMethod "placeCursorOnscreen" o = Gtk.TextView.TextViewPlaceCursorOnscreenMethodInfo
ResolveMapMethod "pushSnippet" o = GtkSource.View.ViewPushSnippetMethodInfo
ResolveMapMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
ResolveMapMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
ResolveMapMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
ResolveMapMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
ResolveMapMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveMapMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveMapMethod "remove" o = Gtk.TextView.TextViewRemoveMethodInfo
ResolveMapMethod "removeController" o = Gtk.Widget.WidgetRemoveControllerMethodInfo
ResolveMapMethod "removeCssClass" o = Gtk.Widget.WidgetRemoveCssClassMethodInfo
ResolveMapMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
ResolveMapMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
ResolveMapMethod "resetCursorBlink" o = Gtk.TextView.TextViewResetCursorBlinkMethodInfo
ResolveMapMethod "resetImContext" o = Gtk.TextView.TextViewResetImContextMethodInfo
ResolveMapMethod "resetProperty" o = Gtk.Accessible.AccessibleResetPropertyMethodInfo
ResolveMapMethod "resetRelation" o = Gtk.Accessible.AccessibleResetRelationMethodInfo
ResolveMapMethod "resetState" o = Gtk.Accessible.AccessibleResetStateMethodInfo
ResolveMapMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveMapMethod "scrollMarkOnscreen" o = Gtk.TextView.TextViewScrollMarkOnscreenMethodInfo
ResolveMapMethod "scrollToIter" o = Gtk.TextView.TextViewScrollToIterMethodInfo
ResolveMapMethod "scrollToMark" o = Gtk.TextView.TextViewScrollToMarkMethodInfo
ResolveMapMethod "shouldLayout" o = Gtk.Widget.WidgetShouldLayoutMethodInfo
ResolveMapMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
ResolveMapMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
ResolveMapMethod "snapshotChild" o = Gtk.Widget.WidgetSnapshotChildMethodInfo
ResolveMapMethod "startsDisplayLine" o = Gtk.TextView.TextViewStartsDisplayLineMethodInfo
ResolveMapMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveMapMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveMapMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveMapMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
ResolveMapMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
ResolveMapMethod "unindentLines" o = GtkSource.View.ViewUnindentLinesMethodInfo
ResolveMapMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
ResolveMapMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
ResolveMapMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
ResolveMapMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveMapMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
ResolveMapMethod "updateCaretPosition" o = Gtk.AccessibleText.AccessibleTextUpdateCaretPositionMethodInfo
ResolveMapMethod "updateContents" o = Gtk.AccessibleText.AccessibleTextUpdateContentsMethodInfo
ResolveMapMethod "updateNextAccessibleSibling" o = Gtk.Accessible.AccessibleUpdateNextAccessibleSiblingMethodInfo
ResolveMapMethod "updateProperty" o = Gtk.Accessible.AccessibleUpdatePropertyMethodInfo
ResolveMapMethod "updateRelation" o = Gtk.Accessible.AccessibleUpdateRelationMethodInfo
ResolveMapMethod "updateSelectionBound" o = Gtk.AccessibleText.AccessibleTextUpdateSelectionBoundMethodInfo
ResolveMapMethod "updateState" o = Gtk.Accessible.AccessibleUpdateStateMethodInfo
ResolveMapMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveMapMethod "windowToBufferCoords" o = Gtk.TextView.TextViewWindowToBufferCoordsMethodInfo
ResolveMapMethod "getAcceptsTab" o = Gtk.TextView.TextViewGetAcceptsTabMethodInfo
ResolveMapMethod "getAccessibleParent" o = Gtk.Accessible.AccessibleGetAccessibleParentMethodInfo
ResolveMapMethod "getAccessibleRole" o = Gtk.Accessible.AccessibleGetAccessibleRoleMethodInfo
ResolveMapMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
ResolveMapMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
ResolveMapMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
ResolveMapMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
ResolveMapMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
ResolveMapMethod "getAtContext" o = Gtk.Accessible.AccessibleGetAtContextMethodInfo
ResolveMapMethod "getAutoIndent" o = GtkSource.View.ViewGetAutoIndentMethodInfo
ResolveMapMethod "getBackgroundPattern" o = GtkSource.View.ViewGetBackgroundPatternMethodInfo
ResolveMapMethod "getBaseline" o = Gtk.Widget.WidgetGetBaselineMethodInfo
ResolveMapMethod "getBorder" o = Gtk.Scrollable.ScrollableGetBorderMethodInfo
ResolveMapMethod "getBottomMargin" o = Gtk.TextView.TextViewGetBottomMarginMethodInfo
ResolveMapMethod "getBounds" o = Gtk.Accessible.AccessibleGetBoundsMethodInfo
ResolveMapMethod "getBuffer" o = Gtk.TextView.TextViewGetBufferMethodInfo
ResolveMapMethod "getBuildableId" o = Gtk.Buildable.BuildableGetBuildableIdMethodInfo
ResolveMapMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
ResolveMapMethod "getCanTarget" o = Gtk.Widget.WidgetGetCanTargetMethodInfo
ResolveMapMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
ResolveMapMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
ResolveMapMethod "getColor" o = Gtk.Widget.WidgetGetColorMethodInfo
ResolveMapMethod "getCompletion" o = GtkSource.View.ViewGetCompletionMethodInfo
ResolveMapMethod "getCssClasses" o = Gtk.Widget.WidgetGetCssClassesMethodInfo
ResolveMapMethod "getCssName" o = Gtk.Widget.WidgetGetCssNameMethodInfo
ResolveMapMethod "getCursor" o = Gtk.Widget.WidgetGetCursorMethodInfo
ResolveMapMethod "getCursorLocations" o = Gtk.TextView.TextViewGetCursorLocationsMethodInfo
ResolveMapMethod "getCursorVisible" o = Gtk.TextView.TextViewGetCursorVisibleMethodInfo
ResolveMapMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveMapMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
ResolveMapMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
ResolveMapMethod "getEditable" o = Gtk.TextView.TextViewGetEditableMethodInfo
ResolveMapMethod "getEnableSnippets" o = GtkSource.View.ViewGetEnableSnippetsMethodInfo
ResolveMapMethod "getExtraMenu" o = Gtk.TextView.TextViewGetExtraMenuMethodInfo
ResolveMapMethod "getFirstAccessibleChild" o = Gtk.Accessible.AccessibleGetFirstAccessibleChildMethodInfo
ResolveMapMethod "getFirstChild" o = Gtk.Widget.WidgetGetFirstChildMethodInfo
ResolveMapMethod "getFocusChild" o = Gtk.Widget.WidgetGetFocusChildMethodInfo
ResolveMapMethod "getFocusOnClick" o = Gtk.Widget.WidgetGetFocusOnClickMethodInfo
ResolveMapMethod "getFocusable" o = Gtk.Widget.WidgetGetFocusableMethodInfo
ResolveMapMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
ResolveMapMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
ResolveMapMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
ResolveMapMethod "getGutter" o = GtkSource.View.ViewGetGutterMethodInfo
ResolveMapMethod "getHadjustment" o = Gtk.Scrollable.ScrollableGetHadjustmentMethodInfo
ResolveMapMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
ResolveMapMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
ResolveMapMethod "getHeight" o = Gtk.Widget.WidgetGetHeightMethodInfo
ResolveMapMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
ResolveMapMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
ResolveMapMethod "getHighlightCurrentLine" o = GtkSource.View.ViewGetHighlightCurrentLineMethodInfo
ResolveMapMethod "getHover" o = GtkSource.View.ViewGetHoverMethodInfo
ResolveMapMethod "getHscrollPolicy" o = Gtk.Scrollable.ScrollableGetHscrollPolicyMethodInfo
ResolveMapMethod "getIndent" o = Gtk.TextView.TextViewGetIndentMethodInfo
ResolveMapMethod "getIndentOnTab" o = GtkSource.View.ViewGetIndentOnTabMethodInfo
ResolveMapMethod "getIndentWidth" o = GtkSource.View.ViewGetIndentWidthMethodInfo
ResolveMapMethod "getIndenter" o = GtkSource.View.ViewGetIndenterMethodInfo
ResolveMapMethod "getInputHints" o = Gtk.TextView.TextViewGetInputHintsMethodInfo
ResolveMapMethod "getInputPurpose" o = Gtk.TextView.TextViewGetInputPurposeMethodInfo
ResolveMapMethod "getInsertSpacesInsteadOfTabs" o = GtkSource.View.ViewGetInsertSpacesInsteadOfTabsMethodInfo
ResolveMapMethod "getIterAtLocation" o = Gtk.TextView.TextViewGetIterAtLocationMethodInfo
ResolveMapMethod "getIterAtPosition" o = Gtk.TextView.TextViewGetIterAtPositionMethodInfo
ResolveMapMethod "getIterLocation" o = Gtk.TextView.TextViewGetIterLocationMethodInfo
ResolveMapMethod "getJustification" o = Gtk.TextView.TextViewGetJustificationMethodInfo
ResolveMapMethod "getLastChild" o = Gtk.Widget.WidgetGetLastChildMethodInfo
ResolveMapMethod "getLayoutManager" o = Gtk.Widget.WidgetGetLayoutManagerMethodInfo
ResolveMapMethod "getLeftMargin" o = Gtk.TextView.TextViewGetLeftMarginMethodInfo
ResolveMapMethod "getLineAtY" o = Gtk.TextView.TextViewGetLineAtYMethodInfo
ResolveMapMethod "getLineYrange" o = Gtk.TextView.TextViewGetLineYrangeMethodInfo
ResolveMapMethod "getLtrContext" o = Gtk.TextView.TextViewGetLtrContextMethodInfo
ResolveMapMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
ResolveMapMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
ResolveMapMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
ResolveMapMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
ResolveMapMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
ResolveMapMethod "getMarkAttributes" o = GtkSource.View.ViewGetMarkAttributesMethodInfo
ResolveMapMethod "getMonospace" o = Gtk.TextView.TextViewGetMonospaceMethodInfo
ResolveMapMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
ResolveMapMethod "getNative" o = Gtk.Widget.WidgetGetNativeMethodInfo
ResolveMapMethod "getNextAccessibleSibling" o = Gtk.Accessible.AccessibleGetNextAccessibleSiblingMethodInfo
ResolveMapMethod "getNextSibling" o = Gtk.Widget.WidgetGetNextSiblingMethodInfo
ResolveMapMethod "getOpacity" o = Gtk.Widget.WidgetGetOpacityMethodInfo
ResolveMapMethod "getOverflow" o = Gtk.Widget.WidgetGetOverflowMethodInfo
ResolveMapMethod "getOverwrite" o = Gtk.TextView.TextViewGetOverwriteMethodInfo
ResolveMapMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
ResolveMapMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
ResolveMapMethod "getPixelsAboveLines" o = Gtk.TextView.TextViewGetPixelsAboveLinesMethodInfo
ResolveMapMethod "getPixelsBelowLines" o = Gtk.TextView.TextViewGetPixelsBelowLinesMethodInfo
ResolveMapMethod "getPixelsInsideWrap" o = Gtk.TextView.TextViewGetPixelsInsideWrapMethodInfo
ResolveMapMethod "getPlatformState" o = Gtk.Accessible.AccessibleGetPlatformStateMethodInfo
ResolveMapMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
ResolveMapMethod "getPrevSibling" o = Gtk.Widget.WidgetGetPrevSiblingMethodInfo
ResolveMapMethod "getPrimaryClipboard" o = Gtk.Widget.WidgetGetPrimaryClipboardMethodInfo
ResolveMapMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveMapMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveMapMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
ResolveMapMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
ResolveMapMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
ResolveMapMethod "getRightMargin" o = Gtk.TextView.TextViewGetRightMarginMethodInfo
ResolveMapMethod "getRightMarginPosition" o = GtkSource.View.ViewGetRightMarginPositionMethodInfo
ResolveMapMethod "getRoot" o = Gtk.Widget.WidgetGetRootMethodInfo
ResolveMapMethod "getRtlContext" o = Gtk.TextView.TextViewGetRtlContextMethodInfo
ResolveMapMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
ResolveMapMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
ResolveMapMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
ResolveMapMethod "getShowLineMarks" o = GtkSource.View.ViewGetShowLineMarksMethodInfo
ResolveMapMethod "getShowLineNumbers" o = GtkSource.View.ViewGetShowLineNumbersMethodInfo
ResolveMapMethod "getShowRightMargin" o = GtkSource.View.ViewGetShowRightMarginMethodInfo
ResolveMapMethod "getSize" o = Gtk.Widget.WidgetGetSizeMethodInfo
ResolveMapMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
ResolveMapMethod "getSmartBackspace" o = GtkSource.View.ViewGetSmartBackspaceMethodInfo
ResolveMapMethod "getSmartHomeEnd" o = GtkSource.View.ViewGetSmartHomeEndMethodInfo
ResolveMapMethod "getSpaceDrawer" o = GtkSource.View.ViewGetSpaceDrawerMethodInfo
ResolveMapMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
ResolveMapMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
ResolveMapMethod "getTabWidth" o = GtkSource.View.ViewGetTabWidthMethodInfo
ResolveMapMethod "getTabs" o = Gtk.TextView.TextViewGetTabsMethodInfo
ResolveMapMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
ResolveMapMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
ResolveMapMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
ResolveMapMethod "getTopMargin" o = Gtk.TextView.TextViewGetTopMarginMethodInfo
ResolveMapMethod "getVadjustment" o = Gtk.Scrollable.ScrollableGetVadjustmentMethodInfo
ResolveMapMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
ResolveMapMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
ResolveMapMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
ResolveMapMethod "getView" o = MapGetViewMethodInfo
ResolveMapMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
ResolveMapMethod "getVisibleRect" o = Gtk.TextView.TextViewGetVisibleRectMethodInfo
ResolveMapMethod "getVisualColumn" o = GtkSource.View.ViewGetVisualColumnMethodInfo
ResolveMapMethod "getVscrollPolicy" o = Gtk.Scrollable.ScrollableGetVscrollPolicyMethodInfo
ResolveMapMethod "getWidth" o = Gtk.Widget.WidgetGetWidthMethodInfo
ResolveMapMethod "getWrapMode" o = Gtk.TextView.TextViewGetWrapModeMethodInfo
ResolveMapMethod "setAcceptsTab" o = Gtk.TextView.TextViewSetAcceptsTabMethodInfo
ResolveMapMethod "setAccessibleParent" o = Gtk.Accessible.AccessibleSetAccessibleParentMethodInfo
ResolveMapMethod "setAutoIndent" o = GtkSource.View.ViewSetAutoIndentMethodInfo
ResolveMapMethod "setBackgroundPattern" o = GtkSource.View.ViewSetBackgroundPatternMethodInfo
ResolveMapMethod "setBottomMargin" o = Gtk.TextView.TextViewSetBottomMarginMethodInfo
ResolveMapMethod "setBuffer" o = Gtk.TextView.TextViewSetBufferMethodInfo
ResolveMapMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
ResolveMapMethod "setCanTarget" o = Gtk.Widget.WidgetSetCanTargetMethodInfo
ResolveMapMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
ResolveMapMethod "setCssClasses" o = Gtk.Widget.WidgetSetCssClassesMethodInfo
ResolveMapMethod "setCursor" o = Gtk.Widget.WidgetSetCursorMethodInfo
ResolveMapMethod "setCursorFromName" o = Gtk.Widget.WidgetSetCursorFromNameMethodInfo
ResolveMapMethod "setCursorVisible" o = Gtk.TextView.TextViewSetCursorVisibleMethodInfo
ResolveMapMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveMapMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveMapMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
ResolveMapMethod "setEditable" o = Gtk.TextView.TextViewSetEditableMethodInfo
ResolveMapMethod "setEnableSnippets" o = GtkSource.View.ViewSetEnableSnippetsMethodInfo
ResolveMapMethod "setExtraMenu" o = Gtk.TextView.TextViewSetExtraMenuMethodInfo
ResolveMapMethod "setFocusChild" o = Gtk.Widget.WidgetSetFocusChildMethodInfo
ResolveMapMethod "setFocusOnClick" o = Gtk.Widget.WidgetSetFocusOnClickMethodInfo
ResolveMapMethod "setFocusable" o = Gtk.Widget.WidgetSetFocusableMethodInfo
ResolveMapMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
ResolveMapMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
ResolveMapMethod "setGutter" o = Gtk.TextView.TextViewSetGutterMethodInfo
ResolveMapMethod "setHadjustment" o = Gtk.Scrollable.ScrollableSetHadjustmentMethodInfo
ResolveMapMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
ResolveMapMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
ResolveMapMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
ResolveMapMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
ResolveMapMethod "setHighlightCurrentLine" o = GtkSource.View.ViewSetHighlightCurrentLineMethodInfo
ResolveMapMethod "setHscrollPolicy" o = Gtk.Scrollable.ScrollableSetHscrollPolicyMethodInfo
ResolveMapMethod "setIndent" o = Gtk.TextView.TextViewSetIndentMethodInfo
ResolveMapMethod "setIndentOnTab" o = GtkSource.View.ViewSetIndentOnTabMethodInfo
ResolveMapMethod "setIndentWidth" o = GtkSource.View.ViewSetIndentWidthMethodInfo
ResolveMapMethod "setIndenter" o = GtkSource.View.ViewSetIndenterMethodInfo
ResolveMapMethod "setInputHints" o = Gtk.TextView.TextViewSetInputHintsMethodInfo
ResolveMapMethod "setInputPurpose" o = Gtk.TextView.TextViewSetInputPurposeMethodInfo
ResolveMapMethod "setInsertSpacesInsteadOfTabs" o = GtkSource.View.ViewSetInsertSpacesInsteadOfTabsMethodInfo
ResolveMapMethod "setJustification" o = Gtk.TextView.TextViewSetJustificationMethodInfo
ResolveMapMethod "setLayoutManager" o = Gtk.Widget.WidgetSetLayoutManagerMethodInfo
ResolveMapMethod "setLeftMargin" o = Gtk.TextView.TextViewSetLeftMarginMethodInfo
ResolveMapMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
ResolveMapMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
ResolveMapMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
ResolveMapMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
ResolveMapMethod "setMarkAttributes" o = GtkSource.View.ViewSetMarkAttributesMethodInfo
ResolveMapMethod "setMonospace" o = Gtk.TextView.TextViewSetMonospaceMethodInfo
ResolveMapMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
ResolveMapMethod "setOpacity" o = Gtk.Widget.WidgetSetOpacityMethodInfo
ResolveMapMethod "setOverflow" o = Gtk.Widget.WidgetSetOverflowMethodInfo
ResolveMapMethod "setOverwrite" o = Gtk.TextView.TextViewSetOverwriteMethodInfo
ResolveMapMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
ResolveMapMethod "setPixelsAboveLines" o = Gtk.TextView.TextViewSetPixelsAboveLinesMethodInfo
ResolveMapMethod "setPixelsBelowLines" o = Gtk.TextView.TextViewSetPixelsBelowLinesMethodInfo
ResolveMapMethod "setPixelsInsideWrap" o = Gtk.TextView.TextViewSetPixelsInsideWrapMethodInfo
ResolveMapMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveMapMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
ResolveMapMethod "setRightMargin" o = Gtk.TextView.TextViewSetRightMarginMethodInfo
ResolveMapMethod "setRightMarginPosition" o = GtkSource.View.ViewSetRightMarginPositionMethodInfo
ResolveMapMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
ResolveMapMethod "setShowLineMarks" o = GtkSource.View.ViewSetShowLineMarksMethodInfo
ResolveMapMethod "setShowLineNumbers" o = GtkSource.View.ViewSetShowLineNumbersMethodInfo
ResolveMapMethod "setShowRightMargin" o = GtkSource.View.ViewSetShowRightMarginMethodInfo
ResolveMapMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
ResolveMapMethod "setSmartBackspace" o = GtkSource.View.ViewSetSmartBackspaceMethodInfo
ResolveMapMethod "setSmartHomeEnd" o = GtkSource.View.ViewSetSmartHomeEndMethodInfo
ResolveMapMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
ResolveMapMethod "setTabWidth" o = GtkSource.View.ViewSetTabWidthMethodInfo
ResolveMapMethod "setTabs" o = Gtk.TextView.TextViewSetTabsMethodInfo
ResolveMapMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
ResolveMapMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
ResolveMapMethod "setTopMargin" o = Gtk.TextView.TextViewSetTopMarginMethodInfo
ResolveMapMethod "setVadjustment" o = Gtk.Scrollable.ScrollableSetVadjustmentMethodInfo
ResolveMapMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
ResolveMapMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
ResolveMapMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
ResolveMapMethod "setView" o = MapSetViewMethodInfo
ResolveMapMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
ResolveMapMethod "setVscrollPolicy" o = Gtk.Scrollable.ScrollableSetVscrollPolicyMethodInfo
ResolveMapMethod "setWrapMode" o = Gtk.TextView.TextViewSetWrapModeMethodInfo
ResolveMapMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveMapMethod t Map, O.OverloadedMethod info Map p) => OL.IsLabel t (Map -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod @info
#else
fromLabel _ = O.overloadedMethod @info
#endif
#if MIN_VERSION_base(4,13,0)
instance (info ~ ResolveMapMethod t Map, O.OverloadedMethod info Map p, R.HasField t Map p) => R.HasField t Map p where
getField = O.overloadedMethod @info
#endif
instance (info ~ ResolveMapMethod t Map, O.OverloadedMethodInfo info Map) => OL.IsLabel t (O.MethodProxy info Map) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.MethodProxy
#else
fromLabel _ = O.MethodProxy
#endif
#endif
getMapFontDesc :: (MonadIO m, IsMap o) => o -> m (Maybe Pango.FontDescription.FontDescription)
getMapFontDesc :: forall (m :: * -> *) o.
(MonadIO m, IsMap o) =>
o -> m (Maybe FontDescription)
getMapFontDesc o
obj = IO (Maybe FontDescription) -> m (Maybe FontDescription)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe FontDescription) -> m (Maybe FontDescription))
-> IO (Maybe FontDescription) -> m (Maybe FontDescription)
forall a b. (a -> b) -> a -> b
$ o
-> String
-> (ManagedPtr FontDescription -> FontDescription)
-> IO (Maybe FontDescription)
forall a b.
(GObject a, GBoxed b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyBoxed o
obj String
"font-desc" ManagedPtr FontDescription -> FontDescription
Pango.FontDescription.FontDescription
setMapFontDesc :: (MonadIO m, IsMap o) => o -> Pango.FontDescription.FontDescription -> m ()
setMapFontDesc :: forall (m :: * -> *) o.
(MonadIO m, IsMap o) =>
o -> FontDescription -> m ()
setMapFontDesc o
obj FontDescription
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe FontDescription -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"font-desc" (FontDescription -> Maybe FontDescription
forall a. a -> Maybe a
Just FontDescription
val)
constructMapFontDesc :: (IsMap o, MIO.MonadIO m) => Pango.FontDescription.FontDescription -> m (GValueConstruct o)
constructMapFontDesc :: forall o (m :: * -> *).
(IsMap o, MonadIO m) =>
FontDescription -> m (GValueConstruct o)
constructMapFontDesc FontDescription
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe FontDescription -> IO (GValueConstruct o)
forall a o. GBoxed a => String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBoxed String
"font-desc" (FontDescription -> Maybe FontDescription
forall a. a -> Maybe a
P.Just FontDescription
val)
clearMapFontDesc :: (MonadIO m, IsMap o) => o -> m ()
clearMapFontDesc :: forall (m :: * -> *) o. (MonadIO m, IsMap o) => o -> m ()
clearMapFontDesc o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe FontDescription -> IO ()
forall a b.
(GObject a, GBoxed b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyBoxed o
obj String
"font-desc" (Maybe FontDescription
forall a. Maybe a
Nothing :: Maybe Pango.FontDescription.FontDescription)
#if defined(ENABLE_OVERLOADING)
data MapFontDescPropertyInfo
instance AttrInfo MapFontDescPropertyInfo where
type AttrAllowedOps MapFontDescPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint MapFontDescPropertyInfo = IsMap
type AttrSetTypeConstraint MapFontDescPropertyInfo = (~) Pango.FontDescription.FontDescription
type AttrTransferTypeConstraint MapFontDescPropertyInfo = (~) Pango.FontDescription.FontDescription
type AttrTransferType MapFontDescPropertyInfo = Pango.FontDescription.FontDescription
type AttrGetType MapFontDescPropertyInfo = (Maybe Pango.FontDescription.FontDescription)
type AttrLabel MapFontDescPropertyInfo = "font-desc"
type AttrOrigin MapFontDescPropertyInfo = Map
attrGet = getMapFontDesc
attrSet = setMapFontDesc
attrTransfer _ v = do
return v
attrConstruct = constructMapFontDesc
attrClear = clearMapFontDesc
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GtkSource.Objects.Map.fontDesc"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtksource-5.0.1/docs/GI-GtkSource-Objects-Map.html#g:attr:fontDesc"
})
#endif
getMapView :: (MonadIO m, IsMap o) => o -> m (Maybe GtkSource.View.View)
getMapView :: forall (m :: * -> *) o. (MonadIO m, IsMap o) => o -> m (Maybe View)
getMapView o
obj = IO (Maybe View) -> m (Maybe View)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe View) -> m (Maybe View))
-> IO (Maybe View) -> m (Maybe View)
forall a b. (a -> b) -> a -> b
$ o -> String -> (ManagedPtr View -> View) -> IO (Maybe View)
forall a b.
(GObject a, GObject b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyObject o
obj String
"view" ManagedPtr View -> View
GtkSource.View.View
setMapView :: (MonadIO m, IsMap o, GtkSource.View.IsView a) => o -> a -> m ()
setMapView :: forall (m :: * -> *) o a.
(MonadIO m, IsMap o, IsView a) =>
o -> a -> m ()
setMapView o
obj a
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe a -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"view" (a -> Maybe a
forall a. a -> Maybe a
Just a
val)
constructMapView :: (IsMap o, MIO.MonadIO m, GtkSource.View.IsView a) => a -> m (GValueConstruct o)
constructMapView :: forall o (m :: * -> *) a.
(IsMap o, MonadIO m, IsView a) =>
a -> m (GValueConstruct o)
constructMapView a
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe a -> IO (GValueConstruct o)
forall a o.
GObject a =>
String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyObject String
"view" (a -> Maybe a
forall a. a -> Maybe a
P.Just a
val)
#if defined(ENABLE_OVERLOADING)
data MapViewPropertyInfo
instance AttrInfo MapViewPropertyInfo where
type AttrAllowedOps MapViewPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint MapViewPropertyInfo = IsMap
type AttrSetTypeConstraint MapViewPropertyInfo = GtkSource.View.IsView
type AttrTransferTypeConstraint MapViewPropertyInfo = GtkSource.View.IsView
type AttrTransferType MapViewPropertyInfo = GtkSource.View.View
type AttrGetType MapViewPropertyInfo = (Maybe GtkSource.View.View)
type AttrLabel MapViewPropertyInfo = "view"
type AttrOrigin MapViewPropertyInfo = Map
attrGet = getMapView
attrSet = setMapView
attrTransfer _ v = do
unsafeCastTo GtkSource.View.View v
attrConstruct = constructMapView
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GtkSource.Objects.Map.view"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtksource-5.0.1/docs/GI-GtkSource-Objects-Map.html#g:attr:view"
})
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList Map
type instance O.AttributeList Map = MapAttributeList
type MapAttributeList = ('[ '("acceptsTab", Gtk.TextView.TextViewAcceptsTabPropertyInfo), '("accessibleRole", Gtk.Accessible.AccessibleAccessibleRolePropertyInfo), '("autoIndent", GtkSource.View.ViewAutoIndentPropertyInfo), '("backgroundPattern", GtkSource.View.ViewBackgroundPatternPropertyInfo), '("bottomMargin", Gtk.TextView.TextViewBottomMarginPropertyInfo), '("buffer", Gtk.TextView.TextViewBufferPropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("canTarget", Gtk.Widget.WidgetCanTargetPropertyInfo), '("completion", GtkSource.View.ViewCompletionPropertyInfo), '("cssClasses", Gtk.Widget.WidgetCssClassesPropertyInfo), '("cssName", Gtk.Widget.WidgetCssNamePropertyInfo), '("cursor", Gtk.Widget.WidgetCursorPropertyInfo), '("cursorVisible", Gtk.TextView.TextViewCursorVisiblePropertyInfo), '("editable", Gtk.TextView.TextViewEditablePropertyInfo), '("enableSnippets", GtkSource.View.ViewEnableSnippetsPropertyInfo), '("extraMenu", Gtk.TextView.TextViewExtraMenuPropertyInfo), '("focusOnClick", Gtk.Widget.WidgetFocusOnClickPropertyInfo), '("focusable", Gtk.Widget.WidgetFocusablePropertyInfo), '("fontDesc", MapFontDescPropertyInfo), '("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), '("highlightCurrentLine", GtkSource.View.ViewHighlightCurrentLinePropertyInfo), '("hscrollPolicy", Gtk.Scrollable.ScrollableHscrollPolicyPropertyInfo), '("imModule", Gtk.TextView.TextViewImModulePropertyInfo), '("indent", Gtk.TextView.TextViewIndentPropertyInfo), '("indentOnTab", GtkSource.View.ViewIndentOnTabPropertyInfo), '("indentWidth", GtkSource.View.ViewIndentWidthPropertyInfo), '("indenter", GtkSource.View.ViewIndenterPropertyInfo), '("inputHints", Gtk.TextView.TextViewInputHintsPropertyInfo), '("inputPurpose", Gtk.TextView.TextViewInputPurposePropertyInfo), '("insertSpacesInsteadOfTabs", GtkSource.View.ViewInsertSpacesInsteadOfTabsPropertyInfo), '("justification", Gtk.TextView.TextViewJustificationPropertyInfo), '("layoutManager", Gtk.Widget.WidgetLayoutManagerPropertyInfo), '("leftMargin", Gtk.TextView.TextViewLeftMarginPropertyInfo), '("marginBottom", Gtk.Widget.WidgetMarginBottomPropertyInfo), '("marginEnd", Gtk.Widget.WidgetMarginEndPropertyInfo), '("marginStart", Gtk.Widget.WidgetMarginStartPropertyInfo), '("marginTop", Gtk.Widget.WidgetMarginTopPropertyInfo), '("monospace", Gtk.TextView.TextViewMonospacePropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("overflow", Gtk.Widget.WidgetOverflowPropertyInfo), '("overwrite", Gtk.TextView.TextViewOverwritePropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("pixelsAboveLines", Gtk.TextView.TextViewPixelsAboveLinesPropertyInfo), '("pixelsBelowLines", Gtk.TextView.TextViewPixelsBelowLinesPropertyInfo), '("pixelsInsideWrap", Gtk.TextView.TextViewPixelsInsideWrapPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("rightMargin", Gtk.TextView.TextViewRightMarginPropertyInfo), '("rightMarginPosition", GtkSource.View.ViewRightMarginPositionPropertyInfo), '("root", Gtk.Widget.WidgetRootPropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("showLineMarks", GtkSource.View.ViewShowLineMarksPropertyInfo), '("showLineNumbers", GtkSource.View.ViewShowLineNumbersPropertyInfo), '("showRightMargin", GtkSource.View.ViewShowRightMarginPropertyInfo), '("smartBackspace", GtkSource.View.ViewSmartBackspacePropertyInfo), '("smartHomeEnd", GtkSource.View.ViewSmartHomeEndPropertyInfo), '("spaceDrawer", GtkSource.View.ViewSpaceDrawerPropertyInfo), '("tabWidth", GtkSource.View.ViewTabWidthPropertyInfo), '("tabs", Gtk.TextView.TextViewTabsPropertyInfo), '("tooltipMarkup", Gtk.Widget.WidgetTooltipMarkupPropertyInfo), '("tooltipText", Gtk.Widget.WidgetTooltipTextPropertyInfo), '("topMargin", Gtk.TextView.TextViewTopMarginPropertyInfo), '("vadjustment", Gtk.Scrollable.ScrollableVadjustmentPropertyInfo), '("valign", Gtk.Widget.WidgetValignPropertyInfo), '("vexpand", Gtk.Widget.WidgetVexpandPropertyInfo), '("vexpandSet", Gtk.Widget.WidgetVexpandSetPropertyInfo), '("view", MapViewPropertyInfo), '("visible", Gtk.Widget.WidgetVisiblePropertyInfo), '("vscrollPolicy", Gtk.Scrollable.ScrollableVscrollPolicyPropertyInfo), '("widthRequest", Gtk.Widget.WidgetWidthRequestPropertyInfo), '("wrapMode", Gtk.TextView.TextViewWrapModePropertyInfo)] :: [(Symbol, DK.Type)])
#endif
#if defined(ENABLE_OVERLOADING)
mapFontDesc :: AttrLabelProxy "fontDesc"
mapFontDesc = AttrLabelProxy
mapView :: AttrLabelProxy "view"
mapView = AttrLabelProxy
#endif
#if defined(ENABLE_OVERLOADING)
type instance O.SignalList Map = MapSignalList
type MapSignalList = ('[ '("backspace", Gtk.TextView.TextViewBackspaceSignalInfo), '("changeCase", GtkSource.View.ViewChangeCaseSignalInfo), '("changeNumber", GtkSource.View.ViewChangeNumberSignalInfo), '("copyClipboard", Gtk.TextView.TextViewCopyClipboardSignalInfo), '("cutClipboard", Gtk.TextView.TextViewCutClipboardSignalInfo), '("deleteFromCursor", Gtk.TextView.TextViewDeleteFromCursorSignalInfo), '("destroy", Gtk.Widget.WidgetDestroySignalInfo), '("directionChanged", Gtk.Widget.WidgetDirectionChangedSignalInfo), '("extendSelection", Gtk.TextView.TextViewExtendSelectionSignalInfo), '("hide", Gtk.Widget.WidgetHideSignalInfo), '("insertAtCursor", Gtk.TextView.TextViewInsertAtCursorSignalInfo), '("insertEmoji", Gtk.TextView.TextViewInsertEmojiSignalInfo), '("joinLines", GtkSource.View.ViewJoinLinesSignalInfo), '("keynavFailed", Gtk.Widget.WidgetKeynavFailedSignalInfo), '("lineMarkActivated", GtkSource.View.ViewLineMarkActivatedSignalInfo), '("map", Gtk.Widget.WidgetMapSignalInfo), '("mnemonicActivate", Gtk.Widget.WidgetMnemonicActivateSignalInfo), '("moveCursor", Gtk.TextView.TextViewMoveCursorSignalInfo), '("moveFocus", Gtk.Widget.WidgetMoveFocusSignalInfo), '("moveLines", GtkSource.View.ViewMoveLinesSignalInfo), '("moveToMatchingBracket", GtkSource.View.ViewMoveToMatchingBracketSignalInfo), '("moveViewport", Gtk.TextView.TextViewMoveViewportSignalInfo), '("moveWords", GtkSource.View.ViewMoveWordsSignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo), '("pasteClipboard", Gtk.TextView.TextViewPasteClipboardSignalInfo), '("preeditChanged", Gtk.TextView.TextViewPreeditChangedSignalInfo), '("pushSnippet", GtkSource.View.ViewPushSnippetSignalInfo), '("queryTooltip", Gtk.Widget.WidgetQueryTooltipSignalInfo), '("realize", Gtk.Widget.WidgetRealizeSignalInfo), '("selectAll", Gtk.TextView.TextViewSelectAllSignalInfo), '("setAnchor", Gtk.TextView.TextViewSetAnchorSignalInfo), '("show", Gtk.Widget.WidgetShowSignalInfo), '("showCompletion", GtkSource.View.ViewShowCompletionSignalInfo), '("smartHomeEnd", GtkSource.View.ViewSmartHomeEndSignalInfo), '("stateFlagsChanged", Gtk.Widget.WidgetStateFlagsChangedSignalInfo), '("toggleCursorVisible", Gtk.TextView.TextViewToggleCursorVisibleSignalInfo), '("toggleOverwrite", Gtk.TextView.TextViewToggleOverwriteSignalInfo), '("unmap", Gtk.Widget.WidgetUnmapSignalInfo), '("unrealize", Gtk.Widget.WidgetUnrealizeSignalInfo)] :: [(Symbol, DK.Type)])
#endif
foreign import ccall "gtk_source_map_new" gtk_source_map_new ::
IO (Ptr Map)
mapNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m Map
mapNew :: forall (m :: * -> *). (HasCallStack, MonadIO m) => m Map
mapNew = IO Map -> m Map
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Map -> m Map) -> IO Map -> m Map
forall a b. (a -> b) -> a -> b
$ do
Ptr Map
result <- IO (Ptr Map)
gtk_source_map_new
Text -> Ptr Map -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"mapNew" Ptr Map
result
Map
result' <- ((ManagedPtr Map -> Map) -> Ptr Map -> IO Map
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Map -> Map
Map) Ptr Map
result
Map -> IO Map
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Map
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "gtk_source_map_get_view" gtk_source_map_get_view ::
Ptr Map ->
IO (Ptr GtkSource.View.View)
mapGetView ::
(B.CallStack.HasCallStack, MonadIO m, IsMap a) =>
a
-> m (Maybe GtkSource.View.View)
mapGetView :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsMap a) =>
a -> m (Maybe View)
mapGetView a
map_ = IO (Maybe View) -> m (Maybe View)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe View) -> m (Maybe View))
-> IO (Maybe View) -> m (Maybe View)
forall a b. (a -> b) -> a -> b
$ do
Ptr Map
map_' <- a -> IO (Ptr Map)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
map_
Ptr View
result <- Ptr Map -> IO (Ptr View)
gtk_source_map_get_view Ptr Map
map_'
Maybe View
maybeResult <- Ptr View -> (Ptr View -> IO View) -> IO (Maybe View)
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull Ptr View
result ((Ptr View -> IO View) -> IO (Maybe View))
-> (Ptr View -> IO View) -> IO (Maybe View)
forall a b. (a -> b) -> a -> b
$ \Ptr View
result' -> do
View
result'' <- ((ManagedPtr View -> View) -> Ptr View -> IO View
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr View -> View
GtkSource.View.View) Ptr View
result'
View -> IO View
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return View
result''
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
map_
Maybe View -> IO (Maybe View)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe View
maybeResult
#if defined(ENABLE_OVERLOADING)
data MapGetViewMethodInfo
instance (signature ~ (m (Maybe GtkSource.View.View)), MonadIO m, IsMap a) => O.OverloadedMethod MapGetViewMethodInfo a signature where
overloadedMethod = mapGetView
instance O.OverloadedMethodInfo MapGetViewMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GtkSource.Objects.Map.mapGetView",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtksource-5.0.1/docs/GI-GtkSource-Objects-Map.html#v:mapGetView"
})
#endif
foreign import ccall "gtk_source_map_set_view" gtk_source_map_set_view ::
Ptr Map ->
Ptr GtkSource.View.View ->
IO ()
mapSetView ::
(B.CallStack.HasCallStack, MonadIO m, IsMap a, GtkSource.View.IsView b) =>
a
-> b
-> m ()
mapSetView :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsMap a, IsView b) =>
a -> b -> m ()
mapSetView a
map_ b
view = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Map
map_' <- a -> IO (Ptr Map)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
map_
Ptr View
view' <- b -> IO (Ptr View)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
view
Ptr Map -> Ptr View -> IO ()
gtk_source_map_set_view Ptr Map
map_' Ptr View
view'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
map_
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
view
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data MapSetViewMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsMap a, GtkSource.View.IsView b) => O.OverloadedMethod MapSetViewMethodInfo a signature where
overloadedMethod = mapSetView
instance O.OverloadedMethodInfo MapSetViewMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GtkSource.Objects.Map.mapSetView",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtksource-5.0.1/docs/GI-GtkSource-Objects-Map.html#v:mapSetView"
})
#endif