{-# LANGUAGE TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.GtkSource.Objects.HoverDisplay
(
HoverDisplay(..) ,
IsHoverDisplay ,
toHoverDisplay ,
#if defined(ENABLE_OVERLOADING)
ResolveHoverDisplayMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
HoverDisplayAppendMethodInfo ,
#endif
hoverDisplayAppend ,
#if defined(ENABLE_OVERLOADING)
HoverDisplayInsertAfterMethodInfo ,
#endif
hoverDisplayInsertAfter ,
#if defined(ENABLE_OVERLOADING)
HoverDisplayPrependMethodInfo ,
#endif
hoverDisplayPrepend ,
#if defined(ENABLE_OVERLOADING)
HoverDisplayRemoveMethodInfo ,
#endif
hoverDisplayRemove ,
) 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 GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gtk.Interfaces.Accessible as Gtk.Accessible
import qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
import qualified GI.Gtk.Interfaces.ConstraintTarget as Gtk.ConstraintTarget
import qualified GI.Gtk.Objects.Widget as Gtk.Widget
newtype HoverDisplay = HoverDisplay (SP.ManagedPtr HoverDisplay)
deriving (HoverDisplay -> HoverDisplay -> Bool
(HoverDisplay -> HoverDisplay -> Bool)
-> (HoverDisplay -> HoverDisplay -> Bool) -> Eq HoverDisplay
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: HoverDisplay -> HoverDisplay -> Bool
== :: HoverDisplay -> HoverDisplay -> Bool
$c/= :: HoverDisplay -> HoverDisplay -> Bool
/= :: HoverDisplay -> HoverDisplay -> Bool
Eq)
instance SP.ManagedPtrNewtype HoverDisplay where
toManagedPtr :: HoverDisplay -> ManagedPtr HoverDisplay
toManagedPtr (HoverDisplay ManagedPtr HoverDisplay
p) = ManagedPtr HoverDisplay
p
foreign import ccall "gtk_source_hover_display_get_type"
c_gtk_source_hover_display_get_type :: IO B.Types.GType
instance B.Types.TypedObject HoverDisplay where
glibType :: IO GType
glibType = IO GType
c_gtk_source_hover_display_get_type
instance B.Types.GObject HoverDisplay
class (SP.GObject o, O.IsDescendantOf HoverDisplay o) => IsHoverDisplay o
instance (SP.GObject o, O.IsDescendantOf HoverDisplay o) => IsHoverDisplay o
instance O.HasParentTypes HoverDisplay
type instance O.ParentTypes HoverDisplay = '[Gtk.Widget.Widget, GObject.Object.Object, Gtk.Accessible.Accessible, Gtk.Buildable.Buildable, Gtk.ConstraintTarget.ConstraintTarget]
toHoverDisplay :: (MIO.MonadIO m, IsHoverDisplay o) => o -> m HoverDisplay
toHoverDisplay :: forall (m :: * -> *) o.
(MonadIO m, IsHoverDisplay o) =>
o -> m HoverDisplay
toHoverDisplay = IO HoverDisplay -> m HoverDisplay
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO HoverDisplay -> m HoverDisplay)
-> (o -> IO HoverDisplay) -> o -> m HoverDisplay
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr HoverDisplay -> HoverDisplay) -> o -> IO HoverDisplay
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr HoverDisplay -> HoverDisplay
HoverDisplay
instance B.GValue.IsGValue (Maybe HoverDisplay) where
gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_gtk_source_hover_display_get_type
gvalueSet_ :: Ptr GValue -> Maybe HoverDisplay -> IO ()
gvalueSet_ Ptr GValue
gv Maybe HoverDisplay
P.Nothing = Ptr GValue -> Ptr HoverDisplay -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr HoverDisplay
forall a. Ptr a
FP.nullPtr :: FP.Ptr HoverDisplay)
gvalueSet_ Ptr GValue
gv (P.Just HoverDisplay
obj) = HoverDisplay -> (Ptr HoverDisplay -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr HoverDisplay
obj (Ptr GValue -> Ptr HoverDisplay -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
gvalueGet_ :: Ptr GValue -> IO (Maybe HoverDisplay)
gvalueGet_ Ptr GValue
gv = do
Ptr HoverDisplay
ptr <- Ptr GValue -> IO (Ptr HoverDisplay)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr HoverDisplay)
if Ptr HoverDisplay
ptr Ptr HoverDisplay -> Ptr HoverDisplay -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr HoverDisplay
forall a. Ptr a
FP.nullPtr
then HoverDisplay -> Maybe HoverDisplay
forall a. a -> Maybe a
P.Just (HoverDisplay -> Maybe HoverDisplay)
-> IO HoverDisplay -> IO (Maybe HoverDisplay)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr HoverDisplay -> HoverDisplay)
-> Ptr HoverDisplay -> IO HoverDisplay
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr HoverDisplay -> HoverDisplay
HoverDisplay Ptr HoverDisplay
ptr
else Maybe HoverDisplay -> IO (Maybe HoverDisplay)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe HoverDisplay
forall a. Maybe a
P.Nothing
#if defined(ENABLE_OVERLOADING)
type family ResolveHoverDisplayMethod (t :: Symbol) (o :: DK.Type) :: DK.Type where
ResolveHoverDisplayMethod "actionSetEnabled" o = Gtk.Widget.WidgetActionSetEnabledMethodInfo
ResolveHoverDisplayMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
ResolveHoverDisplayMethod "activateAction" o = Gtk.Widget.WidgetActivateActionMethodInfo
ResolveHoverDisplayMethod "activateDefault" o = Gtk.Widget.WidgetActivateDefaultMethodInfo
ResolveHoverDisplayMethod "addController" o = Gtk.Widget.WidgetAddControllerMethodInfo
ResolveHoverDisplayMethod "addCssClass" o = Gtk.Widget.WidgetAddCssClassMethodInfo
ResolveHoverDisplayMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
ResolveHoverDisplayMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
ResolveHoverDisplayMethod "allocate" o = Gtk.Widget.WidgetAllocateMethodInfo
ResolveHoverDisplayMethod "append" o = HoverDisplayAppendMethodInfo
ResolveHoverDisplayMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveHoverDisplayMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveHoverDisplayMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
ResolveHoverDisplayMethod "computeBounds" o = Gtk.Widget.WidgetComputeBoundsMethodInfo
ResolveHoverDisplayMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
ResolveHoverDisplayMethod "computePoint" o = Gtk.Widget.WidgetComputePointMethodInfo
ResolveHoverDisplayMethod "computeTransform" o = Gtk.Widget.WidgetComputeTransformMethodInfo
ResolveHoverDisplayMethod "contains" o = Gtk.Widget.WidgetContainsMethodInfo
ResolveHoverDisplayMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
ResolveHoverDisplayMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
ResolveHoverDisplayMethod "disposeTemplate" o = Gtk.Widget.WidgetDisposeTemplateMethodInfo
ResolveHoverDisplayMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
ResolveHoverDisplayMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
ResolveHoverDisplayMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveHoverDisplayMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveHoverDisplayMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveHoverDisplayMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
ResolveHoverDisplayMethod "hasCssClass" o = Gtk.Widget.WidgetHasCssClassMethodInfo
ResolveHoverDisplayMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
ResolveHoverDisplayMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
ResolveHoverDisplayMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
ResolveHoverDisplayMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
ResolveHoverDisplayMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
ResolveHoverDisplayMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
ResolveHoverDisplayMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
ResolveHoverDisplayMethod "insertAfter" o = HoverDisplayInsertAfterMethodInfo
ResolveHoverDisplayMethod "insertBefore" o = Gtk.Widget.WidgetInsertBeforeMethodInfo
ResolveHoverDisplayMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
ResolveHoverDisplayMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
ResolveHoverDisplayMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveHoverDisplayMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
ResolveHoverDisplayMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
ResolveHoverDisplayMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
ResolveHoverDisplayMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
ResolveHoverDisplayMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
ResolveHoverDisplayMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
ResolveHoverDisplayMethod "measure" o = Gtk.Widget.WidgetMeasureMethodInfo
ResolveHoverDisplayMethod "mnemonicActivate" o = Gtk.Widget.WidgetMnemonicActivateMethodInfo
ResolveHoverDisplayMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveHoverDisplayMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveHoverDisplayMethod "observeChildren" o = Gtk.Widget.WidgetObserveChildrenMethodInfo
ResolveHoverDisplayMethod "observeControllers" o = Gtk.Widget.WidgetObserveControllersMethodInfo
ResolveHoverDisplayMethod "pick" o = Gtk.Widget.WidgetPickMethodInfo
ResolveHoverDisplayMethod "prepend" o = HoverDisplayPrependMethodInfo
ResolveHoverDisplayMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
ResolveHoverDisplayMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
ResolveHoverDisplayMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
ResolveHoverDisplayMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
ResolveHoverDisplayMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveHoverDisplayMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveHoverDisplayMethod "remove" o = HoverDisplayRemoveMethodInfo
ResolveHoverDisplayMethod "removeController" o = Gtk.Widget.WidgetRemoveControllerMethodInfo
ResolveHoverDisplayMethod "removeCssClass" o = Gtk.Widget.WidgetRemoveCssClassMethodInfo
ResolveHoverDisplayMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
ResolveHoverDisplayMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
ResolveHoverDisplayMethod "resetProperty" o = Gtk.Accessible.AccessibleResetPropertyMethodInfo
ResolveHoverDisplayMethod "resetRelation" o = Gtk.Accessible.AccessibleResetRelationMethodInfo
ResolveHoverDisplayMethod "resetState" o = Gtk.Accessible.AccessibleResetStateMethodInfo
ResolveHoverDisplayMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveHoverDisplayMethod "shouldLayout" o = Gtk.Widget.WidgetShouldLayoutMethodInfo
ResolveHoverDisplayMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
ResolveHoverDisplayMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
ResolveHoverDisplayMethod "snapshotChild" o = Gtk.Widget.WidgetSnapshotChildMethodInfo
ResolveHoverDisplayMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveHoverDisplayMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveHoverDisplayMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveHoverDisplayMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
ResolveHoverDisplayMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
ResolveHoverDisplayMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
ResolveHoverDisplayMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
ResolveHoverDisplayMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
ResolveHoverDisplayMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveHoverDisplayMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
ResolveHoverDisplayMethod "updateNextAccessibleSibling" o = Gtk.Accessible.AccessibleUpdateNextAccessibleSiblingMethodInfo
ResolveHoverDisplayMethod "updateProperty" o = Gtk.Accessible.AccessibleUpdatePropertyMethodInfo
ResolveHoverDisplayMethod "updateRelation" o = Gtk.Accessible.AccessibleUpdateRelationMethodInfo
ResolveHoverDisplayMethod "updateState" o = Gtk.Accessible.AccessibleUpdateStateMethodInfo
ResolveHoverDisplayMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveHoverDisplayMethod "getAccessibleParent" o = Gtk.Accessible.AccessibleGetAccessibleParentMethodInfo
ResolveHoverDisplayMethod "getAccessibleRole" o = Gtk.Accessible.AccessibleGetAccessibleRoleMethodInfo
ResolveHoverDisplayMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
ResolveHoverDisplayMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
ResolveHoverDisplayMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
ResolveHoverDisplayMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
ResolveHoverDisplayMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
ResolveHoverDisplayMethod "getAtContext" o = Gtk.Accessible.AccessibleGetAtContextMethodInfo
ResolveHoverDisplayMethod "getBounds" o = Gtk.Accessible.AccessibleGetBoundsMethodInfo
ResolveHoverDisplayMethod "getBuildableId" o = Gtk.Buildable.BuildableGetBuildableIdMethodInfo
ResolveHoverDisplayMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
ResolveHoverDisplayMethod "getCanTarget" o = Gtk.Widget.WidgetGetCanTargetMethodInfo
ResolveHoverDisplayMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
ResolveHoverDisplayMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
ResolveHoverDisplayMethod "getColor" o = Gtk.Widget.WidgetGetColorMethodInfo
ResolveHoverDisplayMethod "getCssClasses" o = Gtk.Widget.WidgetGetCssClassesMethodInfo
ResolveHoverDisplayMethod "getCssName" o = Gtk.Widget.WidgetGetCssNameMethodInfo
ResolveHoverDisplayMethod "getCursor" o = Gtk.Widget.WidgetGetCursorMethodInfo
ResolveHoverDisplayMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveHoverDisplayMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
ResolveHoverDisplayMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
ResolveHoverDisplayMethod "getFirstAccessibleChild" o = Gtk.Accessible.AccessibleGetFirstAccessibleChildMethodInfo
ResolveHoverDisplayMethod "getFirstChild" o = Gtk.Widget.WidgetGetFirstChildMethodInfo
ResolveHoverDisplayMethod "getFocusChild" o = Gtk.Widget.WidgetGetFocusChildMethodInfo
ResolveHoverDisplayMethod "getFocusOnClick" o = Gtk.Widget.WidgetGetFocusOnClickMethodInfo
ResolveHoverDisplayMethod "getFocusable" o = Gtk.Widget.WidgetGetFocusableMethodInfo
ResolveHoverDisplayMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
ResolveHoverDisplayMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
ResolveHoverDisplayMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
ResolveHoverDisplayMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
ResolveHoverDisplayMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
ResolveHoverDisplayMethod "getHeight" o = Gtk.Widget.WidgetGetHeightMethodInfo
ResolveHoverDisplayMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
ResolveHoverDisplayMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
ResolveHoverDisplayMethod "getLastChild" o = Gtk.Widget.WidgetGetLastChildMethodInfo
ResolveHoverDisplayMethod "getLayoutManager" o = Gtk.Widget.WidgetGetLayoutManagerMethodInfo
ResolveHoverDisplayMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
ResolveHoverDisplayMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
ResolveHoverDisplayMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
ResolveHoverDisplayMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
ResolveHoverDisplayMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
ResolveHoverDisplayMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
ResolveHoverDisplayMethod "getNative" o = Gtk.Widget.WidgetGetNativeMethodInfo
ResolveHoverDisplayMethod "getNextAccessibleSibling" o = Gtk.Accessible.AccessibleGetNextAccessibleSiblingMethodInfo
ResolveHoverDisplayMethod "getNextSibling" o = Gtk.Widget.WidgetGetNextSiblingMethodInfo
ResolveHoverDisplayMethod "getOpacity" o = Gtk.Widget.WidgetGetOpacityMethodInfo
ResolveHoverDisplayMethod "getOverflow" o = Gtk.Widget.WidgetGetOverflowMethodInfo
ResolveHoverDisplayMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
ResolveHoverDisplayMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
ResolveHoverDisplayMethod "getPlatformState" o = Gtk.Accessible.AccessibleGetPlatformStateMethodInfo
ResolveHoverDisplayMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
ResolveHoverDisplayMethod "getPrevSibling" o = Gtk.Widget.WidgetGetPrevSiblingMethodInfo
ResolveHoverDisplayMethod "getPrimaryClipboard" o = Gtk.Widget.WidgetGetPrimaryClipboardMethodInfo
ResolveHoverDisplayMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveHoverDisplayMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveHoverDisplayMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
ResolveHoverDisplayMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
ResolveHoverDisplayMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
ResolveHoverDisplayMethod "getRoot" o = Gtk.Widget.WidgetGetRootMethodInfo
ResolveHoverDisplayMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
ResolveHoverDisplayMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
ResolveHoverDisplayMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
ResolveHoverDisplayMethod "getSize" o = Gtk.Widget.WidgetGetSizeMethodInfo
ResolveHoverDisplayMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
ResolveHoverDisplayMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
ResolveHoverDisplayMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
ResolveHoverDisplayMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
ResolveHoverDisplayMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
ResolveHoverDisplayMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
ResolveHoverDisplayMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
ResolveHoverDisplayMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
ResolveHoverDisplayMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
ResolveHoverDisplayMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
ResolveHoverDisplayMethod "getWidth" o = Gtk.Widget.WidgetGetWidthMethodInfo
ResolveHoverDisplayMethod "setAccessibleParent" o = Gtk.Accessible.AccessibleSetAccessibleParentMethodInfo
ResolveHoverDisplayMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
ResolveHoverDisplayMethod "setCanTarget" o = Gtk.Widget.WidgetSetCanTargetMethodInfo
ResolveHoverDisplayMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
ResolveHoverDisplayMethod "setCssClasses" o = Gtk.Widget.WidgetSetCssClassesMethodInfo
ResolveHoverDisplayMethod "setCursor" o = Gtk.Widget.WidgetSetCursorMethodInfo
ResolveHoverDisplayMethod "setCursorFromName" o = Gtk.Widget.WidgetSetCursorFromNameMethodInfo
ResolveHoverDisplayMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveHoverDisplayMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveHoverDisplayMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
ResolveHoverDisplayMethod "setFocusChild" o = Gtk.Widget.WidgetSetFocusChildMethodInfo
ResolveHoverDisplayMethod "setFocusOnClick" o = Gtk.Widget.WidgetSetFocusOnClickMethodInfo
ResolveHoverDisplayMethod "setFocusable" o = Gtk.Widget.WidgetSetFocusableMethodInfo
ResolveHoverDisplayMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
ResolveHoverDisplayMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
ResolveHoverDisplayMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
ResolveHoverDisplayMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
ResolveHoverDisplayMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
ResolveHoverDisplayMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
ResolveHoverDisplayMethod "setLayoutManager" o = Gtk.Widget.WidgetSetLayoutManagerMethodInfo
ResolveHoverDisplayMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
ResolveHoverDisplayMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
ResolveHoverDisplayMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
ResolveHoverDisplayMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
ResolveHoverDisplayMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
ResolveHoverDisplayMethod "setOpacity" o = Gtk.Widget.WidgetSetOpacityMethodInfo
ResolveHoverDisplayMethod "setOverflow" o = Gtk.Widget.WidgetSetOverflowMethodInfo
ResolveHoverDisplayMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
ResolveHoverDisplayMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveHoverDisplayMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
ResolveHoverDisplayMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
ResolveHoverDisplayMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
ResolveHoverDisplayMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
ResolveHoverDisplayMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
ResolveHoverDisplayMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
ResolveHoverDisplayMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
ResolveHoverDisplayMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
ResolveHoverDisplayMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
ResolveHoverDisplayMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
ResolveHoverDisplayMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveHoverDisplayMethod t HoverDisplay, O.OverloadedMethod info HoverDisplay p) => OL.IsLabel t (HoverDisplay -> 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 ~ ResolveHoverDisplayMethod t HoverDisplay, O.OverloadedMethod info HoverDisplay p, R.HasField t HoverDisplay p) => R.HasField t HoverDisplay p where
getField = O.overloadedMethod @info
#endif
instance (info ~ ResolveHoverDisplayMethod t HoverDisplay, O.OverloadedMethodInfo info HoverDisplay) => OL.IsLabel t (O.MethodProxy info HoverDisplay) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.MethodProxy
#else
fromLabel _ = O.MethodProxy
#endif
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList HoverDisplay
type instance O.AttributeList HoverDisplay = HoverDisplayAttributeList
type HoverDisplayAttributeList = ('[ '("accessibleRole", Gtk.Accessible.AccessibleAccessibleRolePropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("canTarget", Gtk.Widget.WidgetCanTargetPropertyInfo), '("cssClasses", Gtk.Widget.WidgetCssClassesPropertyInfo), '("cssName", Gtk.Widget.WidgetCssNamePropertyInfo), '("cursor", Gtk.Widget.WidgetCursorPropertyInfo), '("focusOnClick", Gtk.Widget.WidgetFocusOnClickPropertyInfo), '("focusable", Gtk.Widget.WidgetFocusablePropertyInfo), '("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), '("layoutManager", Gtk.Widget.WidgetLayoutManagerPropertyInfo), '("marginBottom", Gtk.Widget.WidgetMarginBottomPropertyInfo), '("marginEnd", Gtk.Widget.WidgetMarginEndPropertyInfo), '("marginStart", Gtk.Widget.WidgetMarginStartPropertyInfo), '("marginTop", Gtk.Widget.WidgetMarginTopPropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("overflow", Gtk.Widget.WidgetOverflowPropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("root", Gtk.Widget.WidgetRootPropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("tooltipMarkup", Gtk.Widget.WidgetTooltipMarkupPropertyInfo), '("tooltipText", Gtk.Widget.WidgetTooltipTextPropertyInfo), '("valign", Gtk.Widget.WidgetValignPropertyInfo), '("vexpand", Gtk.Widget.WidgetVexpandPropertyInfo), '("vexpandSet", Gtk.Widget.WidgetVexpandSetPropertyInfo), '("visible", Gtk.Widget.WidgetVisiblePropertyInfo), '("widthRequest", Gtk.Widget.WidgetWidthRequestPropertyInfo)] :: [(Symbol, DK.Type)])
#endif
#if defined(ENABLE_OVERLOADING)
#endif
#if defined(ENABLE_OVERLOADING)
type instance O.SignalList HoverDisplay = HoverDisplaySignalList
type HoverDisplaySignalList = ('[ '("destroy", Gtk.Widget.WidgetDestroySignalInfo), '("directionChanged", Gtk.Widget.WidgetDirectionChangedSignalInfo), '("hide", Gtk.Widget.WidgetHideSignalInfo), '("keynavFailed", Gtk.Widget.WidgetKeynavFailedSignalInfo), '("map", Gtk.Widget.WidgetMapSignalInfo), '("mnemonicActivate", Gtk.Widget.WidgetMnemonicActivateSignalInfo), '("moveFocus", Gtk.Widget.WidgetMoveFocusSignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo), '("queryTooltip", Gtk.Widget.WidgetQueryTooltipSignalInfo), '("realize", Gtk.Widget.WidgetRealizeSignalInfo), '("show", Gtk.Widget.WidgetShowSignalInfo), '("stateFlagsChanged", Gtk.Widget.WidgetStateFlagsChangedSignalInfo), '("unmap", Gtk.Widget.WidgetUnmapSignalInfo), '("unrealize", Gtk.Widget.WidgetUnrealizeSignalInfo)] :: [(Symbol, DK.Type)])
#endif
foreign import ccall "gtk_source_hover_display_append" gtk_source_hover_display_append ::
Ptr HoverDisplay ->
Ptr Gtk.Widget.Widget ->
IO ()
hoverDisplayAppend ::
(B.CallStack.HasCallStack, MonadIO m, IsHoverDisplay a, Gtk.Widget.IsWidget b) =>
a
-> b
-> m ()
hoverDisplayAppend :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsHoverDisplay a, IsWidget b) =>
a -> b -> m ()
hoverDisplayAppend a
self b
child = 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 HoverDisplay
self' <- a -> IO (Ptr HoverDisplay)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Widget
child' <- b -> IO (Ptr Widget)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
child
Ptr HoverDisplay -> Ptr Widget -> IO ()
gtk_source_hover_display_append Ptr HoverDisplay
self' Ptr Widget
child'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
child
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data HoverDisplayAppendMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsHoverDisplay a, Gtk.Widget.IsWidget b) => O.OverloadedMethod HoverDisplayAppendMethodInfo a signature where
overloadedMethod = hoverDisplayAppend
instance O.OverloadedMethodInfo HoverDisplayAppendMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GtkSource.Objects.HoverDisplay.hoverDisplayAppend",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtksource-5.0.0/docs/GI-GtkSource-Objects-HoverDisplay.html#v:hoverDisplayAppend"
})
#endif
foreign import ccall "gtk_source_hover_display_insert_after" gtk_source_hover_display_insert_after ::
Ptr HoverDisplay ->
Ptr Gtk.Widget.Widget ->
Ptr Gtk.Widget.Widget ->
IO ()
hoverDisplayInsertAfter ::
(B.CallStack.HasCallStack, MonadIO m, IsHoverDisplay a, Gtk.Widget.IsWidget b, Gtk.Widget.IsWidget c) =>
a
-> b
-> c
-> m ()
hoverDisplayInsertAfter :: forall (m :: * -> *) a b c.
(HasCallStack, MonadIO m, IsHoverDisplay a, IsWidget b,
IsWidget c) =>
a -> b -> c -> m ()
hoverDisplayInsertAfter a
self b
child c
sibling = 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 HoverDisplay
self' <- a -> IO (Ptr HoverDisplay)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Widget
child' <- b -> IO (Ptr Widget)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
child
Ptr Widget
sibling' <- c -> IO (Ptr Widget)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr c
sibling
Ptr HoverDisplay -> Ptr Widget -> Ptr Widget -> IO ()
gtk_source_hover_display_insert_after Ptr HoverDisplay
self' Ptr Widget
child' Ptr Widget
sibling'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
child
c -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr c
sibling
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data HoverDisplayInsertAfterMethodInfo
instance (signature ~ (b -> c -> m ()), MonadIO m, IsHoverDisplay a, Gtk.Widget.IsWidget b, Gtk.Widget.IsWidget c) => O.OverloadedMethod HoverDisplayInsertAfterMethodInfo a signature where
overloadedMethod = hoverDisplayInsertAfter
instance O.OverloadedMethodInfo HoverDisplayInsertAfterMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GtkSource.Objects.HoverDisplay.hoverDisplayInsertAfter",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtksource-5.0.0/docs/GI-GtkSource-Objects-HoverDisplay.html#v:hoverDisplayInsertAfter"
})
#endif
foreign import ccall "gtk_source_hover_display_prepend" gtk_source_hover_display_prepend ::
Ptr HoverDisplay ->
Ptr Gtk.Widget.Widget ->
IO ()
hoverDisplayPrepend ::
(B.CallStack.HasCallStack, MonadIO m, IsHoverDisplay a, Gtk.Widget.IsWidget b) =>
a
-> b
-> m ()
hoverDisplayPrepend :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsHoverDisplay a, IsWidget b) =>
a -> b -> m ()
hoverDisplayPrepend a
self b
child = 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 HoverDisplay
self' <- a -> IO (Ptr HoverDisplay)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Widget
child' <- b -> IO (Ptr Widget)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
child
Ptr HoverDisplay -> Ptr Widget -> IO ()
gtk_source_hover_display_prepend Ptr HoverDisplay
self' Ptr Widget
child'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
child
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data HoverDisplayPrependMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsHoverDisplay a, Gtk.Widget.IsWidget b) => O.OverloadedMethod HoverDisplayPrependMethodInfo a signature where
overloadedMethod = hoverDisplayPrepend
instance O.OverloadedMethodInfo HoverDisplayPrependMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GtkSource.Objects.HoverDisplay.hoverDisplayPrepend",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtksource-5.0.0/docs/GI-GtkSource-Objects-HoverDisplay.html#v:hoverDisplayPrepend"
})
#endif
foreign import ccall "gtk_source_hover_display_remove" gtk_source_hover_display_remove ::
Ptr HoverDisplay ->
Ptr Gtk.Widget.Widget ->
IO ()
hoverDisplayRemove ::
(B.CallStack.HasCallStack, MonadIO m, IsHoverDisplay a, Gtk.Widget.IsWidget b) =>
a
-> b
-> m ()
hoverDisplayRemove :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsHoverDisplay a, IsWidget b) =>
a -> b -> m ()
hoverDisplayRemove a
self b
child = 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 HoverDisplay
self' <- a -> IO (Ptr HoverDisplay)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Widget
child' <- b -> IO (Ptr Widget)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
child
Ptr HoverDisplay -> Ptr Widget -> IO ()
gtk_source_hover_display_remove Ptr HoverDisplay
self' Ptr Widget
child'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
child
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data HoverDisplayRemoveMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsHoverDisplay a, Gtk.Widget.IsWidget b) => O.OverloadedMethod HoverDisplayRemoveMethodInfo a signature where
overloadedMethod = hoverDisplayRemove
instance O.OverloadedMethodInfo HoverDisplayRemoveMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GtkSource.Objects.HoverDisplay.hoverDisplayRemove",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtksource-5.0.0/docs/GI-GtkSource-Objects-HoverDisplay.html#v:hoverDisplayRemove"
})
#endif