{-# LANGUAGE ImplicitParams, RankNTypes, TypeApplications #-}


-- | Copyright  : Will Thompson and Iñaki García Etxebarria
-- License    : LGPL-2.1
-- Maintainer : Iñaki García Etxebarria
-- 
-- /No description available in the introspection data./

#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif

module GI.Dazzle.Objects.SuggestionPopover
    ( 

-- * Exported types
    SuggestionPopover(..)                   ,
    IsSuggestionPopover                     ,
    toSuggestionPopover                     ,


 -- * Methods
-- | 
-- 
--  === __Click to display all available methods, including inherited ones__
-- ==== Methods
-- [activate]("GI.Gtk.Objects.Widget#g:method:activate"), [activateDefault]("GI.Gtk.Objects.Window#g:method:activateDefault"), [activateFocus]("GI.Gtk.Objects.Window#g:method:activateFocus"), [activateKey]("GI.Gtk.Objects.Window#g:method:activateKey"), [activateSelected]("GI.Dazzle.Objects.SuggestionPopover#g:method:activateSelected"), [add]("GI.Gtk.Objects.Container#g:method:add"), [addAccelGroup]("GI.Gtk.Objects.Window#g:method:addAccelGroup"), [addAccelerator]("GI.Gtk.Objects.Widget#g:method:addAccelerator"), [addChild]("GI.Gtk.Interfaces.Buildable#g:method:addChild"), [addDeviceEvents]("GI.Gtk.Objects.Widget#g:method:addDeviceEvents"), [addEvents]("GI.Gtk.Objects.Widget#g:method:addEvents"), [addMnemonic]("GI.Gtk.Objects.Window#g:method:addMnemonic"), [addMnemonicLabel]("GI.Gtk.Objects.Widget#g:method:addMnemonicLabel"), [addTickCallback]("GI.Gtk.Objects.Widget#g:method:addTickCallback"), [beginMoveDrag]("GI.Gtk.Objects.Window#g:method:beginMoveDrag"), [beginResizeDrag]("GI.Gtk.Objects.Window#g:method:beginResizeDrag"), [bindProperty]("GI.GObject.Objects.Object#g:method:bindProperty"), [bindPropertyFull]("GI.GObject.Objects.Object#g:method:bindPropertyFull"), [canActivateAccel]("GI.Gtk.Objects.Widget#g:method:canActivateAccel"), [checkResize]("GI.Gtk.Objects.Container#g:method:checkResize"), [childFocus]("GI.Gtk.Objects.Widget#g:method:childFocus"), [childGetProperty]("GI.Gtk.Objects.Container#g:method:childGetProperty"), [childNotify]("GI.Gtk.Objects.Container#g:method:childNotify"), [childNotifyByPspec]("GI.Gtk.Objects.Container#g:method:childNotifyByPspec"), [childSetProperty]("GI.Gtk.Objects.Container#g:method:childSetProperty"), [childType]("GI.Gtk.Objects.Container#g:method:childType"), [classPath]("GI.Gtk.Objects.Widget#g:method:classPath"), [close]("GI.Gtk.Objects.Window#g:method:close"), [computeExpand]("GI.Gtk.Objects.Widget#g:method:computeExpand"), [constructChild]("GI.Gtk.Interfaces.Buildable#g:method:constructChild"), [createPangoContext]("GI.Gtk.Objects.Widget#g:method:createPangoContext"), [createPangoLayout]("GI.Gtk.Objects.Widget#g:method:createPangoLayout"), [customFinished]("GI.Gtk.Interfaces.Buildable#g:method:customFinished"), [customTagEnd]("GI.Gtk.Interfaces.Buildable#g:method:customTagEnd"), [customTagStart]("GI.Gtk.Interfaces.Buildable#g:method:customTagStart"), [deiconify]("GI.Gtk.Objects.Window#g:method:deiconify"), [destroy]("GI.Gtk.Objects.Widget#g:method:destroy"), [destroyed]("GI.Gtk.Objects.Widget#g:method:destroyed"), [deviceIsShadowed]("GI.Gtk.Objects.Widget#g:method:deviceIsShadowed"), [dragBegin]("GI.Gtk.Objects.Widget#g:method:dragBegin"), [dragBeginWithCoordinates]("GI.Gtk.Objects.Widget#g:method:dragBeginWithCoordinates"), [dragCheckThreshold]("GI.Gtk.Objects.Widget#g:method:dragCheckThreshold"), [dragDestAddImageTargets]("GI.Gtk.Objects.Widget#g:method:dragDestAddImageTargets"), [dragDestAddTextTargets]("GI.Gtk.Objects.Widget#g:method:dragDestAddTextTargets"), [dragDestAddUriTargets]("GI.Gtk.Objects.Widget#g:method:dragDestAddUriTargets"), [dragDestFindTarget]("GI.Gtk.Objects.Widget#g:method:dragDestFindTarget"), [dragDestGetTargetList]("GI.Gtk.Objects.Widget#g:method:dragDestGetTargetList"), [dragDestGetTrackMotion]("GI.Gtk.Objects.Widget#g:method:dragDestGetTrackMotion"), [dragDestSet]("GI.Gtk.Objects.Widget#g:method:dragDestSet"), [dragDestSetProxy]("GI.Gtk.Objects.Widget#g:method:dragDestSetProxy"), [dragDestSetTargetList]("GI.Gtk.Objects.Widget#g:method:dragDestSetTargetList"), [dragDestSetTrackMotion]("GI.Gtk.Objects.Widget#g:method:dragDestSetTrackMotion"), [dragDestUnset]("GI.Gtk.Objects.Widget#g:method:dragDestUnset"), [dragGetData]("GI.Gtk.Objects.Widget#g:method:dragGetData"), [dragHighlight]("GI.Gtk.Objects.Widget#g:method:dragHighlight"), [dragSourceAddImageTargets]("GI.Gtk.Objects.Widget#g:method:dragSourceAddImageTargets"), [dragSourceAddTextTargets]("GI.Gtk.Objects.Widget#g:method:dragSourceAddTextTargets"), [dragSourceAddUriTargets]("GI.Gtk.Objects.Widget#g:method:dragSourceAddUriTargets"), [dragSourceGetTargetList]("GI.Gtk.Objects.Widget#g:method:dragSourceGetTargetList"), [dragSourceSet]("GI.Gtk.Objects.Widget#g:method:dragSourceSet"), [dragSourceSetIconGicon]("GI.Gtk.Objects.Widget#g:method:dragSourceSetIconGicon"), [dragSourceSetIconName]("GI.Gtk.Objects.Widget#g:method:dragSourceSetIconName"), [dragSourceSetIconPixbuf]("GI.Gtk.Objects.Widget#g:method:dragSourceSetIconPixbuf"), [dragSourceSetIconStock]("GI.Gtk.Objects.Widget#g:method:dragSourceSetIconStock"), [dragSourceSetTargetList]("GI.Gtk.Objects.Widget#g:method:dragSourceSetTargetList"), [dragSourceUnset]("GI.Gtk.Objects.Widget#g:method:dragSourceUnset"), [dragUnhighlight]("GI.Gtk.Objects.Widget#g:method:dragUnhighlight"), [draw]("GI.Gtk.Objects.Widget#g:method:draw"), [ensureStyle]("GI.Gtk.Objects.Widget#g:method:ensureStyle"), [errorBell]("GI.Gtk.Objects.Widget#g:method:errorBell"), [event]("GI.Gtk.Objects.Widget#g:method:event"), [forall]("GI.Gtk.Objects.Container#g:method:forall"), [forceFloating]("GI.GObject.Objects.Object#g:method:forceFloating"), [foreach]("GI.Gtk.Objects.Container#g:method:foreach"), [freezeChildNotify]("GI.Gtk.Objects.Widget#g:method:freezeChildNotify"), [freezeNotify]("GI.GObject.Objects.Object#g:method:freezeNotify"), [fullscreen]("GI.Gtk.Objects.Window#g:method:fullscreen"), [fullscreenOnMonitor]("GI.Gtk.Objects.Window#g:method:fullscreenOnMonitor"), [getv]("GI.GObject.Objects.Object#g:method:getv"), [grabAdd]("GI.Gtk.Objects.Widget#g:method:grabAdd"), [grabDefault]("GI.Gtk.Objects.Widget#g:method:grabDefault"), [grabFocus]("GI.Gtk.Objects.Widget#g:method:grabFocus"), [grabRemove]("GI.Gtk.Objects.Widget#g:method:grabRemove"), [hasDefault]("GI.Gtk.Objects.Widget#g:method:hasDefault"), [hasFocus]("GI.Gtk.Objects.Widget#g:method:hasFocus"), [hasGrab]("GI.Gtk.Objects.Widget#g:method:hasGrab"), [hasGroup]("GI.Gtk.Objects.Window#g:method:hasGroup"), [hasRcStyle]("GI.Gtk.Objects.Widget#g:method:hasRcStyle"), [hasScreen]("GI.Gtk.Objects.Widget#g:method:hasScreen"), [hasToplevelFocus]("GI.Gtk.Objects.Window#g:method:hasToplevelFocus"), [hasVisibleFocus]("GI.Gtk.Objects.Widget#g:method:hasVisibleFocus"), [hide]("GI.Gtk.Objects.Widget#g:method:hide"), [hideOnDelete]("GI.Gtk.Objects.Widget#g:method:hideOnDelete"), [iconify]("GI.Gtk.Objects.Window#g:method:iconify"), [inDestruction]("GI.Gtk.Objects.Widget#g:method:inDestruction"), [initTemplate]("GI.Gtk.Objects.Widget#g:method:initTemplate"), [inputShapeCombineRegion]("GI.Gtk.Objects.Widget#g:method:inputShapeCombineRegion"), [insertActionGroup]("GI.Gtk.Objects.Widget#g:method:insertActionGroup"), [intersect]("GI.Gtk.Objects.Widget#g:method:intersect"), [isActive]("GI.Gtk.Objects.Window#g:method:isActive"), [isAncestor]("GI.Gtk.Objects.Widget#g:method:isAncestor"), [isComposited]("GI.Gtk.Objects.Widget#g:method:isComposited"), [isDrawable]("GI.Gtk.Objects.Widget#g:method:isDrawable"), [isFloating]("GI.GObject.Objects.Object#g:method:isFloating"), [isFocus]("GI.Gtk.Objects.Widget#g:method:isFocus"), [isMaximized]("GI.Gtk.Objects.Window#g:method:isMaximized"), [isSensitive]("GI.Gtk.Objects.Widget#g:method:isSensitive"), [isToplevel]("GI.Gtk.Objects.Widget#g:method:isToplevel"), [isVisible]("GI.Gtk.Objects.Widget#g:method:isVisible"), [keynavFailed]("GI.Gtk.Objects.Widget#g:method:keynavFailed"), [listAccelClosures]("GI.Gtk.Objects.Widget#g:method:listAccelClosures"), [listActionPrefixes]("GI.Gtk.Objects.Widget#g:method:listActionPrefixes"), [listMnemonicLabels]("GI.Gtk.Objects.Widget#g:method:listMnemonicLabels"), [map]("GI.Gtk.Objects.Widget#g:method:map"), [maximize]("GI.Gtk.Objects.Window#g:method:maximize"), [mnemonicActivate]("GI.Gtk.Objects.Window#g:method:mnemonicActivate"), [modifyBase]("GI.Gtk.Objects.Widget#g:method:modifyBase"), [modifyBg]("GI.Gtk.Objects.Widget#g:method:modifyBg"), [modifyCursor]("GI.Gtk.Objects.Widget#g:method:modifyCursor"), [modifyFg]("GI.Gtk.Objects.Widget#g:method:modifyFg"), [modifyFont]("GI.Gtk.Objects.Widget#g:method:modifyFont"), [modifyStyle]("GI.Gtk.Objects.Widget#g:method:modifyStyle"), [modifyText]("GI.Gtk.Objects.Widget#g:method:modifyText"), [move]("GI.Gtk.Objects.Window#g:method:move"), [moveBy]("GI.Dazzle.Objects.SuggestionPopover#g:method:moveBy"), [notify]("GI.GObject.Objects.Object#g:method:notify"), [notifyByPspec]("GI.GObject.Objects.Object#g:method:notifyByPspec"), [overrideBackgroundColor]("GI.Gtk.Objects.Widget#g:method:overrideBackgroundColor"), [overrideColor]("GI.Gtk.Objects.Widget#g:method:overrideColor"), [overrideCursor]("GI.Gtk.Objects.Widget#g:method:overrideCursor"), [overrideFont]("GI.Gtk.Objects.Widget#g:method:overrideFont"), [overrideSymbolicColor]("GI.Gtk.Objects.Widget#g:method:overrideSymbolicColor"), [parseGeometry]("GI.Gtk.Objects.Window#g:method:parseGeometry"), [parserFinished]("GI.Gtk.Interfaces.Buildable#g:method:parserFinished"), [path]("GI.Gtk.Objects.Widget#g:method:path"), [popdown]("GI.Dazzle.Objects.SuggestionPopover#g:method:popdown"), [popup]("GI.Dazzle.Objects.SuggestionPopover#g:method:popup"), [present]("GI.Gtk.Objects.Window#g:method:present"), [presentWithTime]("GI.Gtk.Objects.Window#g:method:presentWithTime"), [propagateDraw]("GI.Gtk.Objects.Container#g:method:propagateDraw"), [propagateKeyEvent]("GI.Gtk.Objects.Window#g:method:propagateKeyEvent"), [queueAllocate]("GI.Gtk.Objects.Widget#g:method:queueAllocate"), [queueComputeExpand]("GI.Gtk.Objects.Widget#g:method:queueComputeExpand"), [queueDraw]("GI.Gtk.Objects.Widget#g:method:queueDraw"), [queueDrawArea]("GI.Gtk.Objects.Widget#g:method:queueDrawArea"), [queueDrawRegion]("GI.Gtk.Objects.Widget#g:method:queueDrawRegion"), [queueResize]("GI.Gtk.Objects.Widget#g:method:queueResize"), [queueResizeNoRedraw]("GI.Gtk.Objects.Widget#g:method:queueResizeNoRedraw"), [realize]("GI.Gtk.Objects.Widget#g:method:realize"), [ref]("GI.GObject.Objects.Object#g:method:ref"), [refSink]("GI.GObject.Objects.Object#g:method:refSink"), [regionIntersect]("GI.Gtk.Objects.Widget#g:method:regionIntersect"), [registerWindow]("GI.Gtk.Objects.Widget#g:method:registerWindow"), [remove]("GI.Gtk.Objects.Container#g:method:remove"), [removeAccelGroup]("GI.Gtk.Objects.Window#g:method:removeAccelGroup"), [removeAccelerator]("GI.Gtk.Objects.Widget#g:method:removeAccelerator"), [removeMnemonic]("GI.Gtk.Objects.Window#g:method:removeMnemonic"), [removeMnemonicLabel]("GI.Gtk.Objects.Widget#g:method:removeMnemonicLabel"), [removeTickCallback]("GI.Gtk.Objects.Widget#g:method:removeTickCallback"), [renderIcon]("GI.Gtk.Objects.Widget#g:method:renderIcon"), [renderIconPixbuf]("GI.Gtk.Objects.Widget#g:method:renderIconPixbuf"), [reparent]("GI.Gtk.Objects.Widget#g:method:reparent"), [resetRcStyles]("GI.Gtk.Objects.Widget#g:method:resetRcStyles"), [resetStyle]("GI.Gtk.Objects.Widget#g:method:resetStyle"), [reshowWithInitialSize]("GI.Gtk.Objects.Window#g:method:reshowWithInitialSize"), [resize]("GI.Gtk.Objects.Window#g:method:resize"), [resizeChildren]("GI.Gtk.Objects.Container#g:method:resizeChildren"), [resizeGripIsVisible]("GI.Gtk.Objects.Window#g:method:resizeGripIsVisible"), [resizeToGeometry]("GI.Gtk.Objects.Window#g:method:resizeToGeometry"), [runDispose]("GI.GObject.Objects.Object#g:method:runDispose"), [sendExpose]("GI.Gtk.Objects.Widget#g:method:sendExpose"), [sendFocusChange]("GI.Gtk.Objects.Widget#g:method:sendFocusChange"), [shapeCombineRegion]("GI.Gtk.Objects.Widget#g:method:shapeCombineRegion"), [show]("GI.Gtk.Objects.Widget#g:method:show"), [showAll]("GI.Gtk.Objects.Widget#g:method:showAll"), [showNow]("GI.Gtk.Objects.Widget#g:method:showNow"), [sizeAllocate]("GI.Gtk.Objects.Widget#g:method:sizeAllocate"), [sizeAllocateWithBaseline]("GI.Gtk.Objects.Widget#g:method:sizeAllocateWithBaseline"), [sizeRequest]("GI.Gtk.Objects.Widget#g:method:sizeRequest"), [stealData]("GI.GObject.Objects.Object#g:method:stealData"), [stealQdata]("GI.GObject.Objects.Object#g:method:stealQdata"), [stick]("GI.Gtk.Objects.Window#g:method:stick"), [styleAttach]("GI.Gtk.Objects.Widget#g:method:styleAttach"), [styleGetProperty]("GI.Gtk.Objects.Widget#g:method:styleGetProperty"), [thawChildNotify]("GI.Gtk.Objects.Widget#g:method:thawChildNotify"), [thawNotify]("GI.GObject.Objects.Object#g:method:thawNotify"), [translateCoordinates]("GI.Gtk.Objects.Widget#g:method:translateCoordinates"), [triggerTooltipQuery]("GI.Gtk.Objects.Widget#g:method:triggerTooltipQuery"), [unfullscreen]("GI.Gtk.Objects.Window#g:method:unfullscreen"), [unmap]("GI.Gtk.Objects.Widget#g:method:unmap"), [unmaximize]("GI.Gtk.Objects.Window#g:method:unmaximize"), [unparent]("GI.Gtk.Objects.Widget#g:method:unparent"), [unrealize]("GI.Gtk.Objects.Widget#g:method:unrealize"), [unref]("GI.GObject.Objects.Object#g:method:unref"), [unregisterWindow]("GI.Gtk.Objects.Widget#g:method:unregisterWindow"), [unsetFocusChain]("GI.Gtk.Objects.Container#g:method:unsetFocusChain"), [unsetStateFlags]("GI.Gtk.Objects.Widget#g:method:unsetStateFlags"), [unstick]("GI.Gtk.Objects.Window#g:method:unstick"), [watchClosure]("GI.GObject.Objects.Object#g:method:watchClosure").
-- 
-- ==== Getters
-- [getAcceptFocus]("GI.Gtk.Objects.Window#g:method:getAcceptFocus"), [getAccessible]("GI.Gtk.Objects.Widget#g:method:getAccessible"), [getActionGroup]("GI.Gtk.Objects.Widget#g:method:getActionGroup"), [getAllocatedBaseline]("GI.Gtk.Objects.Widget#g:method:getAllocatedBaseline"), [getAllocatedHeight]("GI.Gtk.Objects.Widget#g:method:getAllocatedHeight"), [getAllocatedSize]("GI.Gtk.Objects.Widget#g:method:getAllocatedSize"), [getAllocatedWidth]("GI.Gtk.Objects.Widget#g:method:getAllocatedWidth"), [getAllocation]("GI.Gtk.Objects.Widget#g:method:getAllocation"), [getAncestor]("GI.Gtk.Objects.Widget#g:method:getAncestor"), [getAppPaintable]("GI.Gtk.Objects.Widget#g:method:getAppPaintable"), [getApplication]("GI.Gtk.Objects.Window#g:method:getApplication"), [getAttachedTo]("GI.Gtk.Objects.Window#g:method:getAttachedTo"), [getBorderWidth]("GI.Gtk.Objects.Container#g:method:getBorderWidth"), [getCanDefault]("GI.Gtk.Objects.Widget#g:method:getCanDefault"), [getCanFocus]("GI.Gtk.Objects.Widget#g:method:getCanFocus"), [getChild]("GI.Gtk.Objects.Bin#g:method:getChild"), [getChildRequisition]("GI.Gtk.Objects.Widget#g:method:getChildRequisition"), [getChildVisible]("GI.Gtk.Objects.Widget#g:method:getChildVisible"), [getChildren]("GI.Gtk.Objects.Container#g:method:getChildren"), [getClip]("GI.Gtk.Objects.Widget#g:method:getClip"), [getClipboard]("GI.Gtk.Objects.Widget#g:method:getClipboard"), [getCompositeName]("GI.Gtk.Objects.Widget#g:method:getCompositeName"), [getData]("GI.GObject.Objects.Object#g:method:getData"), [getDecorated]("GI.Gtk.Objects.Window#g:method:getDecorated"), [getDefaultSize]("GI.Gtk.Objects.Window#g:method:getDefaultSize"), [getDefaultWidget]("GI.Gtk.Objects.Window#g:method:getDefaultWidget"), [getDeletable]("GI.Gtk.Objects.Window#g:method:getDeletable"), [getDestroyWithParent]("GI.Gtk.Objects.Window#g:method:getDestroyWithParent"), [getDeviceEnabled]("GI.Gtk.Objects.Widget#g:method:getDeviceEnabled"), [getDeviceEvents]("GI.Gtk.Objects.Widget#g:method:getDeviceEvents"), [getDirection]("GI.Gtk.Objects.Widget#g:method:getDirection"), [getDisplay]("GI.Gtk.Objects.Widget#g:method:getDisplay"), [getDoubleBuffered]("GI.Gtk.Objects.Widget#g:method:getDoubleBuffered"), [getEvents]("GI.Gtk.Objects.Widget#g:method:getEvents"), [getFocus]("GI.Gtk.Objects.Window#g:method:getFocus"), [getFocusChain]("GI.Gtk.Objects.Container#g:method:getFocusChain"), [getFocusChild]("GI.Gtk.Objects.Container#g:method:getFocusChild"), [getFocusHadjustment]("GI.Gtk.Objects.Container#g:method:getFocusHadjustment"), [getFocusOnClick]("GI.Gtk.Objects.Widget#g:method:getFocusOnClick"), [getFocusOnMap]("GI.Gtk.Objects.Window#g:method:getFocusOnMap"), [getFocusVadjustment]("GI.Gtk.Objects.Container#g:method:getFocusVadjustment"), [getFocusVisible]("GI.Gtk.Objects.Window#g:method:getFocusVisible"), [getFontMap]("GI.Gtk.Objects.Widget#g:method:getFontMap"), [getFontOptions]("GI.Gtk.Objects.Widget#g:method:getFontOptions"), [getFrameClock]("GI.Gtk.Objects.Widget#g:method:getFrameClock"), [getGravity]("GI.Gtk.Objects.Window#g:method:getGravity"), [getGroup]("GI.Gtk.Objects.Window#g:method:getGroup"), [getHalign]("GI.Gtk.Objects.Widget#g:method:getHalign"), [getHasResizeGrip]("GI.Gtk.Objects.Window#g:method:getHasResizeGrip"), [getHasTooltip]("GI.Gtk.Objects.Widget#g:method:getHasTooltip"), [getHasWindow]("GI.Gtk.Objects.Widget#g:method:getHasWindow"), [getHexpand]("GI.Gtk.Objects.Widget#g:method:getHexpand"), [getHexpandSet]("GI.Gtk.Objects.Widget#g:method:getHexpandSet"), [getHideTitlebarWhenMaximized]("GI.Gtk.Objects.Window#g:method:getHideTitlebarWhenMaximized"), [getIcon]("GI.Gtk.Objects.Window#g:method:getIcon"), [getIconList]("GI.Gtk.Objects.Window#g:method:getIconList"), [getIconName]("GI.Gtk.Objects.Window#g:method:getIconName"), [getInternalChild]("GI.Gtk.Interfaces.Buildable#g:method:getInternalChild"), [getMapped]("GI.Gtk.Objects.Widget#g:method:getMapped"), [getMarginBottom]("GI.Gtk.Objects.Widget#g:method:getMarginBottom"), [getMarginEnd]("GI.Gtk.Objects.Widget#g:method:getMarginEnd"), [getMarginLeft]("GI.Gtk.Objects.Widget#g:method:getMarginLeft"), [getMarginRight]("GI.Gtk.Objects.Widget#g:method:getMarginRight"), [getMarginStart]("GI.Gtk.Objects.Widget#g:method:getMarginStart"), [getMarginTop]("GI.Gtk.Objects.Widget#g:method:getMarginTop"), [getMnemonicModifier]("GI.Gtk.Objects.Window#g:method:getMnemonicModifier"), [getMnemonicsVisible]("GI.Gtk.Objects.Window#g:method:getMnemonicsVisible"), [getModal]("GI.Gtk.Objects.Window#g:method:getModal"), [getModel]("GI.Dazzle.Objects.SuggestionPopover#g:method:getModel"), [getModifierMask]("GI.Gtk.Objects.Widget#g:method:getModifierMask"), [getModifierStyle]("GI.Gtk.Objects.Widget#g:method:getModifierStyle"), [getName]("GI.Gtk.Objects.Widget#g:method:getName"), [getNoShowAll]("GI.Gtk.Objects.Widget#g:method:getNoShowAll"), [getOpacity]("GI.Gtk.Objects.Window#g:method:getOpacity"), [getPangoContext]("GI.Gtk.Objects.Widget#g:method:getPangoContext"), [getParent]("GI.Gtk.Objects.Widget#g:method:getParent"), [getParentWindow]("GI.Gtk.Objects.Widget#g:method:getParentWindow"), [getPath]("GI.Gtk.Objects.Widget#g:method:getPath"), [getPathForChild]("GI.Gtk.Objects.Container#g:method:getPathForChild"), [getPointer]("GI.Gtk.Objects.Widget#g:method:getPointer"), [getPosition]("GI.Gtk.Objects.Window#g:method:getPosition"), [getPreferredHeight]("GI.Gtk.Objects.Widget#g:method:getPreferredHeight"), [getPreferredHeightAndBaselineForWidth]("GI.Gtk.Objects.Widget#g:method:getPreferredHeightAndBaselineForWidth"), [getPreferredHeightForWidth]("GI.Gtk.Objects.Widget#g:method:getPreferredHeightForWidth"), [getPreferredSize]("GI.Gtk.Objects.Widget#g:method:getPreferredSize"), [getPreferredWidth]("GI.Gtk.Objects.Widget#g:method:getPreferredWidth"), [getPreferredWidthForHeight]("GI.Gtk.Objects.Widget#g:method:getPreferredWidthForHeight"), [getProperty]("GI.GObject.Objects.Object#g:method:getProperty"), [getQdata]("GI.GObject.Objects.Object#g:method:getQdata"), [getRealized]("GI.Gtk.Objects.Widget#g:method:getRealized"), [getReceivesDefault]("GI.Gtk.Objects.Widget#g:method:getReceivesDefault"), [getRelativeTo]("GI.Dazzle.Objects.SuggestionPopover#g:method:getRelativeTo"), [getRequestMode]("GI.Gtk.Objects.Widget#g:method:getRequestMode"), [getRequisition]("GI.Gtk.Objects.Widget#g:method:getRequisition"), [getResizable]("GI.Gtk.Objects.Window#g:method:getResizable"), [getResizeGripArea]("GI.Gtk.Objects.Window#g:method:getResizeGripArea"), [getResizeMode]("GI.Gtk.Objects.Container#g:method:getResizeMode"), [getRole]("GI.Gtk.Objects.Window#g:method:getRole"), [getRootWindow]("GI.Gtk.Objects.Widget#g:method:getRootWindow"), [getScaleFactor]("GI.Gtk.Objects.Widget#g:method:getScaleFactor"), [getScreen]("GI.Gtk.Objects.Window#g:method:getScreen"), [getSelected]("GI.Dazzle.Objects.SuggestionPopover#g:method:getSelected"), [getSensitive]("GI.Gtk.Objects.Widget#g:method:getSensitive"), [getSettings]("GI.Gtk.Objects.Widget#g:method:getSettings"), [getSize]("GI.Gtk.Objects.Window#g:method:getSize"), [getSizeRequest]("GI.Gtk.Objects.Widget#g:method:getSizeRequest"), [getSkipPagerHint]("GI.Gtk.Objects.Window#g:method:getSkipPagerHint"), [getSkipTaskbarHint]("GI.Gtk.Objects.Window#g:method:getSkipTaskbarHint"), [getState]("GI.Gtk.Objects.Widget#g:method:getState"), [getStateFlags]("GI.Gtk.Objects.Widget#g:method:getStateFlags"), [getStyle]("GI.Gtk.Objects.Widget#g:method:getStyle"), [getStyleContext]("GI.Gtk.Objects.Widget#g:method:getStyleContext"), [getSupportMultidevice]("GI.Gtk.Objects.Widget#g:method:getSupportMultidevice"), [getTemplateChild]("GI.Gtk.Objects.Widget#g:method:getTemplateChild"), [getTitle]("GI.Gtk.Objects.Window#g:method:getTitle"), [getTitlebar]("GI.Gtk.Objects.Window#g:method:getTitlebar"), [getTooltipMarkup]("GI.Gtk.Objects.Widget#g:method:getTooltipMarkup"), [getTooltipText]("GI.Gtk.Objects.Widget#g:method:getTooltipText"), [getTooltipWindow]("GI.Gtk.Objects.Widget#g:method:getTooltipWindow"), [getToplevel]("GI.Gtk.Objects.Widget#g:method:getToplevel"), [getTransientFor]("GI.Gtk.Objects.Window#g:method:getTransientFor"), [getTypeHint]("GI.Gtk.Objects.Window#g:method:getTypeHint"), [getUrgencyHint]("GI.Gtk.Objects.Window#g:method:getUrgencyHint"), [getValign]("GI.Gtk.Objects.Widget#g:method:getValign"), [getValignWithBaseline]("GI.Gtk.Objects.Widget#g:method:getValignWithBaseline"), [getVexpand]("GI.Gtk.Objects.Widget#g:method:getVexpand"), [getVexpandSet]("GI.Gtk.Objects.Widget#g:method:getVexpandSet"), [getVisible]("GI.Gtk.Objects.Widget#g:method:getVisible"), [getVisual]("GI.Gtk.Objects.Widget#g:method:getVisual"), [getWindow]("GI.Gtk.Objects.Widget#g:method:getWindow"), [getWindowType]("GI.Gtk.Objects.Window#g:method:getWindowType").
-- 
-- ==== Setters
-- [setAccelPath]("GI.Gtk.Objects.Widget#g:method:setAccelPath"), [setAcceptFocus]("GI.Gtk.Objects.Window#g:method:setAcceptFocus"), [setAllocation]("GI.Gtk.Objects.Widget#g:method:setAllocation"), [setAppPaintable]("GI.Gtk.Objects.Widget#g:method:setAppPaintable"), [setApplication]("GI.Gtk.Objects.Window#g:method:setApplication"), [setAttachedTo]("GI.Gtk.Objects.Window#g:method:setAttachedTo"), [setBorderWidth]("GI.Gtk.Objects.Container#g:method:setBorderWidth"), [setBuildableProperty]("GI.Gtk.Interfaces.Buildable#g:method:setBuildableProperty"), [setCanDefault]("GI.Gtk.Objects.Widget#g:method:setCanDefault"), [setCanFocus]("GI.Gtk.Objects.Widget#g:method:setCanFocus"), [setChildVisible]("GI.Gtk.Objects.Widget#g:method:setChildVisible"), [setClip]("GI.Gtk.Objects.Widget#g:method:setClip"), [setCompositeName]("GI.Gtk.Objects.Widget#g:method:setCompositeName"), [setData]("GI.GObject.Objects.Object#g:method:setData"), [setDataFull]("GI.GObject.Objects.Object#g:method:setDataFull"), [setDecorated]("GI.Gtk.Objects.Window#g:method:setDecorated"), [setDefault]("GI.Gtk.Objects.Window#g:method:setDefault"), [setDefaultGeometry]("GI.Gtk.Objects.Window#g:method:setDefaultGeometry"), [setDefaultSize]("GI.Gtk.Objects.Window#g:method:setDefaultSize"), [setDeletable]("GI.Gtk.Objects.Window#g:method:setDeletable"), [setDestroyWithParent]("GI.Gtk.Objects.Window#g:method:setDestroyWithParent"), [setDeviceEnabled]("GI.Gtk.Objects.Widget#g:method:setDeviceEnabled"), [setDeviceEvents]("GI.Gtk.Objects.Widget#g:method:setDeviceEvents"), [setDirection]("GI.Gtk.Objects.Widget#g:method:setDirection"), [setDoubleBuffered]("GI.Gtk.Objects.Widget#g:method:setDoubleBuffered"), [setEvents]("GI.Gtk.Objects.Widget#g:method:setEvents"), [setFocus]("GI.Gtk.Objects.Window#g:method:setFocus"), [setFocusChain]("GI.Gtk.Objects.Container#g:method:setFocusChain"), [setFocusChild]("GI.Gtk.Objects.Container#g:method:setFocusChild"), [setFocusHadjustment]("GI.Gtk.Objects.Container#g:method:setFocusHadjustment"), [setFocusOnClick]("GI.Gtk.Objects.Widget#g:method:setFocusOnClick"), [setFocusOnMap]("GI.Gtk.Objects.Window#g:method:setFocusOnMap"), [setFocusVadjustment]("GI.Gtk.Objects.Container#g:method:setFocusVadjustment"), [setFocusVisible]("GI.Gtk.Objects.Window#g:method:setFocusVisible"), [setFontMap]("GI.Gtk.Objects.Widget#g:method:setFontMap"), [setFontOptions]("GI.Gtk.Objects.Widget#g:method:setFontOptions"), [setGeometryHints]("GI.Gtk.Objects.Window#g:method:setGeometryHints"), [setGravity]("GI.Gtk.Objects.Window#g:method:setGravity"), [setHalign]("GI.Gtk.Objects.Widget#g:method:setHalign"), [setHasResizeGrip]("GI.Gtk.Objects.Window#g:method:setHasResizeGrip"), [setHasTooltip]("GI.Gtk.Objects.Widget#g:method:setHasTooltip"), [setHasUserRefCount]("GI.Gtk.Objects.Window#g:method:setHasUserRefCount"), [setHasWindow]("GI.Gtk.Objects.Widget#g:method:setHasWindow"), [setHexpand]("GI.Gtk.Objects.Widget#g:method:setHexpand"), [setHexpandSet]("GI.Gtk.Objects.Widget#g:method:setHexpandSet"), [setHideTitlebarWhenMaximized]("GI.Gtk.Objects.Window#g:method:setHideTitlebarWhenMaximized"), [setIcon]("GI.Gtk.Objects.Window#g:method:setIcon"), [setIconFromFile]("GI.Gtk.Objects.Window#g:method:setIconFromFile"), [setIconList]("GI.Gtk.Objects.Window#g:method:setIconList"), [setIconName]("GI.Gtk.Objects.Window#g:method:setIconName"), [setKeepAbove]("GI.Gtk.Objects.Window#g:method:setKeepAbove"), [setKeepBelow]("GI.Gtk.Objects.Window#g:method:setKeepBelow"), [setMapped]("GI.Gtk.Objects.Widget#g:method:setMapped"), [setMarginBottom]("GI.Gtk.Objects.Widget#g:method:setMarginBottom"), [setMarginEnd]("GI.Gtk.Objects.Widget#g:method:setMarginEnd"), [setMarginLeft]("GI.Gtk.Objects.Widget#g:method:setMarginLeft"), [setMarginRight]("GI.Gtk.Objects.Widget#g:method:setMarginRight"), [setMarginStart]("GI.Gtk.Objects.Widget#g:method:setMarginStart"), [setMarginTop]("GI.Gtk.Objects.Widget#g:method:setMarginTop"), [setMnemonicModifier]("GI.Gtk.Objects.Window#g:method:setMnemonicModifier"), [setMnemonicsVisible]("GI.Gtk.Objects.Window#g:method:setMnemonicsVisible"), [setModal]("GI.Gtk.Objects.Window#g:method:setModal"), [setModel]("GI.Dazzle.Objects.SuggestionPopover#g:method:setModel"), [setName]("GI.Gtk.Objects.Widget#g:method:setName"), [setNoShowAll]("GI.Gtk.Objects.Widget#g:method:setNoShowAll"), [setOpacity]("GI.Gtk.Objects.Window#g:method:setOpacity"), [setParent]("GI.Gtk.Objects.Widget#g:method:setParent"), [setParentWindow]("GI.Gtk.Objects.Widget#g:method:setParentWindow"), [setPosition]("GI.Gtk.Objects.Window#g:method:setPosition"), [setProperty]("GI.GObject.Objects.Object#g:method:setProperty"), [setRealized]("GI.Gtk.Objects.Widget#g:method:setRealized"), [setReallocateRedraws]("GI.Gtk.Objects.Container#g:method:setReallocateRedraws"), [setReceivesDefault]("GI.Gtk.Objects.Widget#g:method:setReceivesDefault"), [setRedrawOnAllocate]("GI.Gtk.Objects.Widget#g:method:setRedrawOnAllocate"), [setRelativeTo]("GI.Dazzle.Objects.SuggestionPopover#g:method:setRelativeTo"), [setResizable]("GI.Gtk.Objects.Window#g:method:setResizable"), [setResizeMode]("GI.Gtk.Objects.Container#g:method:setResizeMode"), [setRole]("GI.Gtk.Objects.Window#g:method:setRole"), [setScreen]("GI.Gtk.Objects.Window#g:method:setScreen"), [setSelected]("GI.Dazzle.Objects.SuggestionPopover#g:method:setSelected"), [setSensitive]("GI.Gtk.Objects.Widget#g:method:setSensitive"), [setSizeRequest]("GI.Gtk.Objects.Widget#g:method:setSizeRequest"), [setSkipPagerHint]("GI.Gtk.Objects.Window#g:method:setSkipPagerHint"), [setSkipTaskbarHint]("GI.Gtk.Objects.Window#g:method:setSkipTaskbarHint"), [setStartupId]("GI.Gtk.Objects.Window#g:method:setStartupId"), [setState]("GI.Gtk.Objects.Widget#g:method:setState"), [setStateFlags]("GI.Gtk.Objects.Widget#g:method:setStateFlags"), [setStyle]("GI.Gtk.Objects.Widget#g:method:setStyle"), [setSupportMultidevice]("GI.Gtk.Objects.Widget#g:method:setSupportMultidevice"), [setTitle]("GI.Gtk.Objects.Window#g:method:setTitle"), [setTitlebar]("GI.Gtk.Objects.Window#g:method:setTitlebar"), [setTooltipMarkup]("GI.Gtk.Objects.Widget#g:method:setTooltipMarkup"), [setTooltipText]("GI.Gtk.Objects.Widget#g:method:setTooltipText"), [setTooltipWindow]("GI.Gtk.Objects.Widget#g:method:setTooltipWindow"), [setTransientFor]("GI.Gtk.Objects.Window#g:method:setTransientFor"), [setTypeHint]("GI.Gtk.Objects.Window#g:method:setTypeHint"), [setUrgencyHint]("GI.Gtk.Objects.Window#g:method:setUrgencyHint"), [setValign]("GI.Gtk.Objects.Widget#g:method:setValign"), [setVexpand]("GI.Gtk.Objects.Widget#g:method:setVexpand"), [setVexpandSet]("GI.Gtk.Objects.Widget#g:method:setVexpandSet"), [setVisible]("GI.Gtk.Objects.Widget#g:method:setVisible"), [setVisual]("GI.Gtk.Objects.Widget#g:method:setVisual"), [setWindow]("GI.Gtk.Objects.Widget#g:method:setWindow"), [setWmclass]("GI.Gtk.Objects.Window#g:method:setWmclass").

#if defined(ENABLE_OVERLOADING)
    ResolveSuggestionPopoverMethod          ,
#endif

-- ** activateSelected #method:activateSelected#

#if defined(ENABLE_OVERLOADING)
    SuggestionPopoverActivateSelectedMethodInfo,
#endif
    suggestionPopoverActivateSelected       ,


-- ** getModel #method:getModel#

#if defined(ENABLE_OVERLOADING)
    SuggestionPopoverGetModelMethodInfo     ,
#endif
    suggestionPopoverGetModel               ,


-- ** getRelativeTo #method:getRelativeTo#

#if defined(ENABLE_OVERLOADING)
    SuggestionPopoverGetRelativeToMethodInfo,
#endif
    suggestionPopoverGetRelativeTo          ,


-- ** getSelected #method:getSelected#

#if defined(ENABLE_OVERLOADING)
    SuggestionPopoverGetSelectedMethodInfo  ,
#endif
    suggestionPopoverGetSelected            ,


-- ** moveBy #method:moveBy#

#if defined(ENABLE_OVERLOADING)
    SuggestionPopoverMoveByMethodInfo       ,
#endif
    suggestionPopoverMoveBy                 ,


-- ** new #method:new#

    suggestionPopoverNew                    ,


-- ** popdown #method:popdown#

#if defined(ENABLE_OVERLOADING)
    SuggestionPopoverPopdownMethodInfo      ,
#endif
    suggestionPopoverPopdown                ,


-- ** popup #method:popup#

#if defined(ENABLE_OVERLOADING)
    SuggestionPopoverPopupMethodInfo        ,
#endif
    suggestionPopoverPopup                  ,


-- ** setModel #method:setModel#

#if defined(ENABLE_OVERLOADING)
    SuggestionPopoverSetModelMethodInfo     ,
#endif
    suggestionPopoverSetModel               ,


-- ** setRelativeTo #method:setRelativeTo#

#if defined(ENABLE_OVERLOADING)
    SuggestionPopoverSetRelativeToMethodInfo,
#endif
    suggestionPopoverSetRelativeTo          ,


-- ** setSelected #method:setSelected#

#if defined(ENABLE_OVERLOADING)
    SuggestionPopoverSetSelectedMethodInfo  ,
#endif
    suggestionPopoverSetSelected            ,




 -- * Properties


-- ** model #attr:model#
-- | /No description available in the introspection data./

#if defined(ENABLE_OVERLOADING)
    SuggestionPopoverModelPropertyInfo      ,
#endif
    clearSuggestionPopoverModel             ,
    constructSuggestionPopoverModel         ,
    getSuggestionPopoverModel               ,
    setSuggestionPopoverModel               ,
#if defined(ENABLE_OVERLOADING)
    suggestionPopoverModel                  ,
#endif


-- ** relativeTo #attr:relativeTo#
-- | /No description available in the introspection data./

#if defined(ENABLE_OVERLOADING)
    SuggestionPopoverRelativeToPropertyInfo ,
#endif
    constructSuggestionPopoverRelativeTo    ,
    getSuggestionPopoverRelativeTo          ,
    setSuggestionPopoverRelativeTo          ,
#if defined(ENABLE_OVERLOADING)
    suggestionPopoverRelativeTo             ,
#endif


-- ** selected #attr:selected#
-- | /No description available in the introspection data./

#if defined(ENABLE_OVERLOADING)
    SuggestionPopoverSelectedPropertyInfo   ,
#endif
    constructSuggestionPopoverSelected      ,
    getSuggestionPopoverSelected            ,
    setSuggestionPopoverSelected            ,
#if defined(ENABLE_OVERLOADING)
    suggestionPopoverSelected               ,
#endif


-- ** subtitleEllipsize #attr:subtitleEllipsize#
-- | /No description available in the introspection data./

#if defined(ENABLE_OVERLOADING)
    SuggestionPopoverSubtitleEllipsizePropertyInfo,
#endif
    constructSuggestionPopoverSubtitleEllipsize,
    getSuggestionPopoverSubtitleEllipsize   ,
    setSuggestionPopoverSubtitleEllipsize   ,
#if defined(ENABLE_OVERLOADING)
    suggestionPopoverSubtitleEllipsize      ,
#endif


-- ** titleEllipsize #attr:titleEllipsize#
-- | /No description available in the introspection data./

#if defined(ENABLE_OVERLOADING)
    SuggestionPopoverTitleEllipsizePropertyInfo,
#endif
    constructSuggestionPopoverTitleEllipsize,
    getSuggestionPopoverTitleEllipsize      ,
    setSuggestionPopoverTitleEllipsize      ,
#if defined(ENABLE_OVERLOADING)
    suggestionPopoverTitleEllipsize         ,
#endif




 -- * Signals


-- ** suggestionActivated #signal:suggestionActivated#

    SuggestionPopoverSuggestionActivatedCallback,
#if defined(ENABLE_OVERLOADING)
    SuggestionPopoverSuggestionActivatedSignalInfo,
#endif
    afterSuggestionPopoverSuggestionActivated,
    onSuggestionPopoverSuggestionActivated  ,




    ) 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

-- Workaround for https://gitlab.haskell.org/ghc/ghc/-/issues/23392
#if MIN_VERSION_base(4,18,0)
import qualified GI.Atk.Interfaces.ImplementorIface as Atk.ImplementorIface
import qualified GI.Cairo.Structs.Surface as Cairo.Surface
import {-# SOURCE #-} qualified GI.Dazzle.Objects.Suggestion as Dazzle.Suggestion
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gio.Interfaces.Icon as Gio.Icon
import qualified GI.Gio.Interfaces.ListModel as Gio.ListModel
import qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
import qualified GI.Gtk.Objects.Bin as Gtk.Bin
import qualified GI.Gtk.Objects.Container as Gtk.Container
import qualified GI.Gtk.Objects.Widget as Gtk.Widget
import qualified GI.Gtk.Objects.Window as Gtk.Window
import qualified GI.Pango.Enums as Pango.Enums

#else
import qualified GI.Atk.Interfaces.ImplementorIface as Atk.ImplementorIface
import {-# SOURCE #-} qualified GI.Dazzle.Objects.Suggestion as Dazzle.Suggestion
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gio.Interfaces.ListModel as Gio.ListModel
import qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
import qualified GI.Gtk.Objects.Bin as Gtk.Bin
import qualified GI.Gtk.Objects.Container as Gtk.Container
import qualified GI.Gtk.Objects.Widget as Gtk.Widget
import qualified GI.Gtk.Objects.Window as Gtk.Window
import qualified GI.Pango.Enums as Pango.Enums

#endif

-- | Memory-managed wrapper type.
newtype SuggestionPopover = SuggestionPopover (SP.ManagedPtr SuggestionPopover)
    deriving (SuggestionPopover -> SuggestionPopover -> Bool
(SuggestionPopover -> SuggestionPopover -> Bool)
-> (SuggestionPopover -> SuggestionPopover -> Bool)
-> Eq SuggestionPopover
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SuggestionPopover -> SuggestionPopover -> Bool
== :: SuggestionPopover -> SuggestionPopover -> Bool
$c/= :: SuggestionPopover -> SuggestionPopover -> Bool
/= :: SuggestionPopover -> SuggestionPopover -> Bool
Eq)

instance SP.ManagedPtrNewtype SuggestionPopover where
    toManagedPtr :: SuggestionPopover -> ManagedPtr SuggestionPopover
toManagedPtr (SuggestionPopover ManagedPtr SuggestionPopover
p) = ManagedPtr SuggestionPopover
p

foreign import ccall "dzl_suggestion_popover_get_type"
    c_dzl_suggestion_popover_get_type :: IO B.Types.GType

instance B.Types.TypedObject SuggestionPopover where
    glibType :: IO GType
glibType = IO GType
c_dzl_suggestion_popover_get_type

instance B.Types.GObject SuggestionPopover

-- | Type class for types which can be safely cast to `SuggestionPopover`, for instance with `toSuggestionPopover`.
class (SP.GObject o, O.IsDescendantOf SuggestionPopover o) => IsSuggestionPopover o
instance (SP.GObject o, O.IsDescendantOf SuggestionPopover o) => IsSuggestionPopover o

instance O.HasParentTypes SuggestionPopover
type instance O.ParentTypes SuggestionPopover = '[Gtk.Window.Window, Gtk.Bin.Bin, Gtk.Container.Container, Gtk.Widget.Widget, GObject.Object.Object, Atk.ImplementorIface.ImplementorIface, Gtk.Buildable.Buildable]

-- | Cast to `SuggestionPopover`, for types for which this is known to be safe. For general casts, use `Data.GI.Base.ManagedPtr.castTo`.
toSuggestionPopover :: (MIO.MonadIO m, IsSuggestionPopover o) => o -> m SuggestionPopover
toSuggestionPopover :: forall (m :: * -> *) o.
(MonadIO m, IsSuggestionPopover o) =>
o -> m SuggestionPopover
toSuggestionPopover = IO SuggestionPopover -> m SuggestionPopover
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO SuggestionPopover -> m SuggestionPopover)
-> (o -> IO SuggestionPopover) -> o -> m SuggestionPopover
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr SuggestionPopover -> SuggestionPopover)
-> o -> IO SuggestionPopover
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
 ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr SuggestionPopover -> SuggestionPopover
SuggestionPopover

-- | Convert 'SuggestionPopover' to and from 'Data.GI.Base.GValue.GValue'. See 'Data.GI.Base.GValue.toGValue' and 'Data.GI.Base.GValue.fromGValue'.
instance B.GValue.IsGValue (Maybe SuggestionPopover) where
    gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_dzl_suggestion_popover_get_type
    gvalueSet_ :: Ptr GValue -> Maybe SuggestionPopover -> IO ()
gvalueSet_ Ptr GValue
gv Maybe SuggestionPopover
P.Nothing = Ptr GValue -> Ptr SuggestionPopover -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr SuggestionPopover
forall a. Ptr a
FP.nullPtr :: FP.Ptr SuggestionPopover)
    gvalueSet_ Ptr GValue
gv (P.Just SuggestionPopover
obj) = SuggestionPopover -> (Ptr SuggestionPopover -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr SuggestionPopover
obj (Ptr GValue -> Ptr SuggestionPopover -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
    gvalueGet_ :: Ptr GValue -> IO (Maybe SuggestionPopover)
gvalueGet_ Ptr GValue
gv = do
        Ptr SuggestionPopover
ptr <- Ptr GValue -> IO (Ptr SuggestionPopover)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr SuggestionPopover)
        if Ptr SuggestionPopover
ptr Ptr SuggestionPopover -> Ptr SuggestionPopover -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr SuggestionPopover
forall a. Ptr a
FP.nullPtr
        then SuggestionPopover -> Maybe SuggestionPopover
forall a. a -> Maybe a
P.Just (SuggestionPopover -> Maybe SuggestionPopover)
-> IO SuggestionPopover -> IO (Maybe SuggestionPopover)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr SuggestionPopover -> SuggestionPopover)
-> Ptr SuggestionPopover -> IO SuggestionPopover
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr SuggestionPopover -> SuggestionPopover
SuggestionPopover Ptr SuggestionPopover
ptr
        else Maybe SuggestionPopover -> IO (Maybe SuggestionPopover)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe SuggestionPopover
forall a. Maybe a
P.Nothing
        
    

#if defined(ENABLE_OVERLOADING)
type family ResolveSuggestionPopoverMethod (t :: Symbol) (o :: DK.Type) :: DK.Type where
    ResolveSuggestionPopoverMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
    ResolveSuggestionPopoverMethod "activateDefault" o = Gtk.Window.WindowActivateDefaultMethodInfo
    ResolveSuggestionPopoverMethod "activateFocus" o = Gtk.Window.WindowActivateFocusMethodInfo
    ResolveSuggestionPopoverMethod "activateKey" o = Gtk.Window.WindowActivateKeyMethodInfo
    ResolveSuggestionPopoverMethod "activateSelected" o = SuggestionPopoverActivateSelectedMethodInfo
    ResolveSuggestionPopoverMethod "add" o = Gtk.Container.ContainerAddMethodInfo
    ResolveSuggestionPopoverMethod "addAccelGroup" o = Gtk.Window.WindowAddAccelGroupMethodInfo
    ResolveSuggestionPopoverMethod "addAccelerator" o = Gtk.Widget.WidgetAddAcceleratorMethodInfo
    ResolveSuggestionPopoverMethod "addChild" o = Gtk.Buildable.BuildableAddChildMethodInfo
    ResolveSuggestionPopoverMethod "addDeviceEvents" o = Gtk.Widget.WidgetAddDeviceEventsMethodInfo
    ResolveSuggestionPopoverMethod "addEvents" o = Gtk.Widget.WidgetAddEventsMethodInfo
    ResolveSuggestionPopoverMethod "addMnemonic" o = Gtk.Window.WindowAddMnemonicMethodInfo
    ResolveSuggestionPopoverMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
    ResolveSuggestionPopoverMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
    ResolveSuggestionPopoverMethod "beginMoveDrag" o = Gtk.Window.WindowBeginMoveDragMethodInfo
    ResolveSuggestionPopoverMethod "beginResizeDrag" o = Gtk.Window.WindowBeginResizeDragMethodInfo
    ResolveSuggestionPopoverMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
    ResolveSuggestionPopoverMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
    ResolveSuggestionPopoverMethod "canActivateAccel" o = Gtk.Widget.WidgetCanActivateAccelMethodInfo
    ResolveSuggestionPopoverMethod "checkResize" o = Gtk.Container.ContainerCheckResizeMethodInfo
    ResolveSuggestionPopoverMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
    ResolveSuggestionPopoverMethod "childGetProperty" o = Gtk.Container.ContainerChildGetPropertyMethodInfo
    ResolveSuggestionPopoverMethod "childNotify" o = Gtk.Container.ContainerChildNotifyMethodInfo
    ResolveSuggestionPopoverMethod "childNotifyByPspec" o = Gtk.Container.ContainerChildNotifyByPspecMethodInfo
    ResolveSuggestionPopoverMethod "childSetProperty" o = Gtk.Container.ContainerChildSetPropertyMethodInfo
    ResolveSuggestionPopoverMethod "childType" o = Gtk.Container.ContainerChildTypeMethodInfo
    ResolveSuggestionPopoverMethod "classPath" o = Gtk.Widget.WidgetClassPathMethodInfo
    ResolveSuggestionPopoverMethod "close" o = Gtk.Window.WindowCloseMethodInfo
    ResolveSuggestionPopoverMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
    ResolveSuggestionPopoverMethod "constructChild" o = Gtk.Buildable.BuildableConstructChildMethodInfo
    ResolveSuggestionPopoverMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
    ResolveSuggestionPopoverMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
    ResolveSuggestionPopoverMethod "customFinished" o = Gtk.Buildable.BuildableCustomFinishedMethodInfo
    ResolveSuggestionPopoverMethod "customTagEnd" o = Gtk.Buildable.BuildableCustomTagEndMethodInfo
    ResolveSuggestionPopoverMethod "customTagStart" o = Gtk.Buildable.BuildableCustomTagStartMethodInfo
    ResolveSuggestionPopoverMethod "deiconify" o = Gtk.Window.WindowDeiconifyMethodInfo
    ResolveSuggestionPopoverMethod "destroy" o = Gtk.Widget.WidgetDestroyMethodInfo
    ResolveSuggestionPopoverMethod "destroyed" o = Gtk.Widget.WidgetDestroyedMethodInfo
    ResolveSuggestionPopoverMethod "deviceIsShadowed" o = Gtk.Widget.WidgetDeviceIsShadowedMethodInfo
    ResolveSuggestionPopoverMethod "dragBegin" o = Gtk.Widget.WidgetDragBeginMethodInfo
    ResolveSuggestionPopoverMethod "dragBeginWithCoordinates" o = Gtk.Widget.WidgetDragBeginWithCoordinatesMethodInfo
    ResolveSuggestionPopoverMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
    ResolveSuggestionPopoverMethod "dragDestAddImageTargets" o = Gtk.Widget.WidgetDragDestAddImageTargetsMethodInfo
    ResolveSuggestionPopoverMethod "dragDestAddTextTargets" o = Gtk.Widget.WidgetDragDestAddTextTargetsMethodInfo
    ResolveSuggestionPopoverMethod "dragDestAddUriTargets" o = Gtk.Widget.WidgetDragDestAddUriTargetsMethodInfo
    ResolveSuggestionPopoverMethod "dragDestFindTarget" o = Gtk.Widget.WidgetDragDestFindTargetMethodInfo
    ResolveSuggestionPopoverMethod "dragDestGetTargetList" o = Gtk.Widget.WidgetDragDestGetTargetListMethodInfo
    ResolveSuggestionPopoverMethod "dragDestGetTrackMotion" o = Gtk.Widget.WidgetDragDestGetTrackMotionMethodInfo
    ResolveSuggestionPopoverMethod "dragDestSet" o = Gtk.Widget.WidgetDragDestSetMethodInfo
    ResolveSuggestionPopoverMethod "dragDestSetProxy" o = Gtk.Widget.WidgetDragDestSetProxyMethodInfo
    ResolveSuggestionPopoverMethod "dragDestSetTargetList" o = Gtk.Widget.WidgetDragDestSetTargetListMethodInfo
    ResolveSuggestionPopoverMethod "dragDestSetTrackMotion" o = Gtk.Widget.WidgetDragDestSetTrackMotionMethodInfo
    ResolveSuggestionPopoverMethod "dragDestUnset" o = Gtk.Widget.WidgetDragDestUnsetMethodInfo
    ResolveSuggestionPopoverMethod "dragGetData" o = Gtk.Widget.WidgetDragGetDataMethodInfo
    ResolveSuggestionPopoverMethod "dragHighlight" o = Gtk.Widget.WidgetDragHighlightMethodInfo
    ResolveSuggestionPopoverMethod "dragSourceAddImageTargets" o = Gtk.Widget.WidgetDragSourceAddImageTargetsMethodInfo
    ResolveSuggestionPopoverMethod "dragSourceAddTextTargets" o = Gtk.Widget.WidgetDragSourceAddTextTargetsMethodInfo
    ResolveSuggestionPopoverMethod "dragSourceAddUriTargets" o = Gtk.Widget.WidgetDragSourceAddUriTargetsMethodInfo
    ResolveSuggestionPopoverMethod "dragSourceGetTargetList" o = Gtk.Widget.WidgetDragSourceGetTargetListMethodInfo
    ResolveSuggestionPopoverMethod "dragSourceSet" o = Gtk.Widget.WidgetDragSourceSetMethodInfo
    ResolveSuggestionPopoverMethod "dragSourceSetIconGicon" o = Gtk.Widget.WidgetDragSourceSetIconGiconMethodInfo
    ResolveSuggestionPopoverMethod "dragSourceSetIconName" o = Gtk.Widget.WidgetDragSourceSetIconNameMethodInfo
    ResolveSuggestionPopoverMethod "dragSourceSetIconPixbuf" o = Gtk.Widget.WidgetDragSourceSetIconPixbufMethodInfo
    ResolveSuggestionPopoverMethod "dragSourceSetIconStock" o = Gtk.Widget.WidgetDragSourceSetIconStockMethodInfo
    ResolveSuggestionPopoverMethod "dragSourceSetTargetList" o = Gtk.Widget.WidgetDragSourceSetTargetListMethodInfo
    ResolveSuggestionPopoverMethod "dragSourceUnset" o = Gtk.Widget.WidgetDragSourceUnsetMethodInfo
    ResolveSuggestionPopoverMethod "dragUnhighlight" o = Gtk.Widget.WidgetDragUnhighlightMethodInfo
    ResolveSuggestionPopoverMethod "draw" o = Gtk.Widget.WidgetDrawMethodInfo
    ResolveSuggestionPopoverMethod "ensureStyle" o = Gtk.Widget.WidgetEnsureStyleMethodInfo
    ResolveSuggestionPopoverMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
    ResolveSuggestionPopoverMethod "event" o = Gtk.Widget.WidgetEventMethodInfo
    ResolveSuggestionPopoverMethod "forall" o = Gtk.Container.ContainerForallMethodInfo
    ResolveSuggestionPopoverMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
    ResolveSuggestionPopoverMethod "foreach" o = Gtk.Container.ContainerForeachMethodInfo
    ResolveSuggestionPopoverMethod "freezeChildNotify" o = Gtk.Widget.WidgetFreezeChildNotifyMethodInfo
    ResolveSuggestionPopoverMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
    ResolveSuggestionPopoverMethod "fullscreen" o = Gtk.Window.WindowFullscreenMethodInfo
    ResolveSuggestionPopoverMethod "fullscreenOnMonitor" o = Gtk.Window.WindowFullscreenOnMonitorMethodInfo
    ResolveSuggestionPopoverMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
    ResolveSuggestionPopoverMethod "grabAdd" o = Gtk.Widget.WidgetGrabAddMethodInfo
    ResolveSuggestionPopoverMethod "grabDefault" o = Gtk.Widget.WidgetGrabDefaultMethodInfo
    ResolveSuggestionPopoverMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
    ResolveSuggestionPopoverMethod "grabRemove" o = Gtk.Widget.WidgetGrabRemoveMethodInfo
    ResolveSuggestionPopoverMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
    ResolveSuggestionPopoverMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
    ResolveSuggestionPopoverMethod "hasGrab" o = Gtk.Widget.WidgetHasGrabMethodInfo
    ResolveSuggestionPopoverMethod "hasGroup" o = Gtk.Window.WindowHasGroupMethodInfo
    ResolveSuggestionPopoverMethod "hasRcStyle" o = Gtk.Widget.WidgetHasRcStyleMethodInfo
    ResolveSuggestionPopoverMethod "hasScreen" o = Gtk.Widget.WidgetHasScreenMethodInfo
    ResolveSuggestionPopoverMethod "hasToplevelFocus" o = Gtk.Window.WindowHasToplevelFocusMethodInfo
    ResolveSuggestionPopoverMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
    ResolveSuggestionPopoverMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
    ResolveSuggestionPopoverMethod "hideOnDelete" o = Gtk.Widget.WidgetHideOnDeleteMethodInfo
    ResolveSuggestionPopoverMethod "iconify" o = Gtk.Window.WindowIconifyMethodInfo
    ResolveSuggestionPopoverMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
    ResolveSuggestionPopoverMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
    ResolveSuggestionPopoverMethod "inputShapeCombineRegion" o = Gtk.Widget.WidgetInputShapeCombineRegionMethodInfo
    ResolveSuggestionPopoverMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
    ResolveSuggestionPopoverMethod "intersect" o = Gtk.Widget.WidgetIntersectMethodInfo
    ResolveSuggestionPopoverMethod "isActive" o = Gtk.Window.WindowIsActiveMethodInfo
    ResolveSuggestionPopoverMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
    ResolveSuggestionPopoverMethod "isComposited" o = Gtk.Widget.WidgetIsCompositedMethodInfo
    ResolveSuggestionPopoverMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
    ResolveSuggestionPopoverMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
    ResolveSuggestionPopoverMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
    ResolveSuggestionPopoverMethod "isMaximized" o = Gtk.Window.WindowIsMaximizedMethodInfo
    ResolveSuggestionPopoverMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
    ResolveSuggestionPopoverMethod "isToplevel" o = Gtk.Widget.WidgetIsToplevelMethodInfo
    ResolveSuggestionPopoverMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
    ResolveSuggestionPopoverMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
    ResolveSuggestionPopoverMethod "listAccelClosures" o = Gtk.Widget.WidgetListAccelClosuresMethodInfo
    ResolveSuggestionPopoverMethod "listActionPrefixes" o = Gtk.Widget.WidgetListActionPrefixesMethodInfo
    ResolveSuggestionPopoverMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
    ResolveSuggestionPopoverMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
    ResolveSuggestionPopoverMethod "maximize" o = Gtk.Window.WindowMaximizeMethodInfo
    ResolveSuggestionPopoverMethod "mnemonicActivate" o = Gtk.Window.WindowMnemonicActivateMethodInfo
    ResolveSuggestionPopoverMethod "modifyBase" o = Gtk.Widget.WidgetModifyBaseMethodInfo
    ResolveSuggestionPopoverMethod "modifyBg" o = Gtk.Widget.WidgetModifyBgMethodInfo
    ResolveSuggestionPopoverMethod "modifyCursor" o = Gtk.Widget.WidgetModifyCursorMethodInfo
    ResolveSuggestionPopoverMethod "modifyFg" o = Gtk.Widget.WidgetModifyFgMethodInfo
    ResolveSuggestionPopoverMethod "modifyFont" o = Gtk.Widget.WidgetModifyFontMethodInfo
    ResolveSuggestionPopoverMethod "modifyStyle" o = Gtk.Widget.WidgetModifyStyleMethodInfo
    ResolveSuggestionPopoverMethod "modifyText" o = Gtk.Widget.WidgetModifyTextMethodInfo
    ResolveSuggestionPopoverMethod "move" o = Gtk.Window.WindowMoveMethodInfo
    ResolveSuggestionPopoverMethod "moveBy" o = SuggestionPopoverMoveByMethodInfo
    ResolveSuggestionPopoverMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
    ResolveSuggestionPopoverMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
    ResolveSuggestionPopoverMethod "overrideBackgroundColor" o = Gtk.Widget.WidgetOverrideBackgroundColorMethodInfo
    ResolveSuggestionPopoverMethod "overrideColor" o = Gtk.Widget.WidgetOverrideColorMethodInfo
    ResolveSuggestionPopoverMethod "overrideCursor" o = Gtk.Widget.WidgetOverrideCursorMethodInfo
    ResolveSuggestionPopoverMethod "overrideFont" o = Gtk.Widget.WidgetOverrideFontMethodInfo
    ResolveSuggestionPopoverMethod "overrideSymbolicColor" o = Gtk.Widget.WidgetOverrideSymbolicColorMethodInfo
    ResolveSuggestionPopoverMethod "parseGeometry" o = Gtk.Window.WindowParseGeometryMethodInfo
    ResolveSuggestionPopoverMethod "parserFinished" o = Gtk.Buildable.BuildableParserFinishedMethodInfo
    ResolveSuggestionPopoverMethod "path" o = Gtk.Widget.WidgetPathMethodInfo
    ResolveSuggestionPopoverMethod "popdown" o = SuggestionPopoverPopdownMethodInfo
    ResolveSuggestionPopoverMethod "popup" o = SuggestionPopoverPopupMethodInfo
    ResolveSuggestionPopoverMethod "present" o = Gtk.Window.WindowPresentMethodInfo
    ResolveSuggestionPopoverMethod "presentWithTime" o = Gtk.Window.WindowPresentWithTimeMethodInfo
    ResolveSuggestionPopoverMethod "propagateDraw" o = Gtk.Container.ContainerPropagateDrawMethodInfo
    ResolveSuggestionPopoverMethod "propagateKeyEvent" o = Gtk.Window.WindowPropagateKeyEventMethodInfo
    ResolveSuggestionPopoverMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
    ResolveSuggestionPopoverMethod "queueComputeExpand" o = Gtk.Widget.WidgetQueueComputeExpandMethodInfo
    ResolveSuggestionPopoverMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
    ResolveSuggestionPopoverMethod "queueDrawArea" o = Gtk.Widget.WidgetQueueDrawAreaMethodInfo
    ResolveSuggestionPopoverMethod "queueDrawRegion" o = Gtk.Widget.WidgetQueueDrawRegionMethodInfo
    ResolveSuggestionPopoverMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
    ResolveSuggestionPopoverMethod "queueResizeNoRedraw" o = Gtk.Widget.WidgetQueueResizeNoRedrawMethodInfo
    ResolveSuggestionPopoverMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
    ResolveSuggestionPopoverMethod "ref" o = GObject.Object.ObjectRefMethodInfo
    ResolveSuggestionPopoverMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
    ResolveSuggestionPopoverMethod "regionIntersect" o = Gtk.Widget.WidgetRegionIntersectMethodInfo
    ResolveSuggestionPopoverMethod "registerWindow" o = Gtk.Widget.WidgetRegisterWindowMethodInfo
    ResolveSuggestionPopoverMethod "remove" o = Gtk.Container.ContainerRemoveMethodInfo
    ResolveSuggestionPopoverMethod "removeAccelGroup" o = Gtk.Window.WindowRemoveAccelGroupMethodInfo
    ResolveSuggestionPopoverMethod "removeAccelerator" o = Gtk.Widget.WidgetRemoveAcceleratorMethodInfo
    ResolveSuggestionPopoverMethod "removeMnemonic" o = Gtk.Window.WindowRemoveMnemonicMethodInfo
    ResolveSuggestionPopoverMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
    ResolveSuggestionPopoverMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
    ResolveSuggestionPopoverMethod "renderIcon" o = Gtk.Widget.WidgetRenderIconMethodInfo
    ResolveSuggestionPopoverMethod "renderIconPixbuf" o = Gtk.Widget.WidgetRenderIconPixbufMethodInfo
    ResolveSuggestionPopoverMethod "reparent" o = Gtk.Widget.WidgetReparentMethodInfo
    ResolveSuggestionPopoverMethod "resetRcStyles" o = Gtk.Widget.WidgetResetRcStylesMethodInfo
    ResolveSuggestionPopoverMethod "resetStyle" o = Gtk.Widget.WidgetResetStyleMethodInfo
    ResolveSuggestionPopoverMethod "reshowWithInitialSize" o = Gtk.Window.WindowReshowWithInitialSizeMethodInfo
    ResolveSuggestionPopoverMethod "resize" o = Gtk.Window.WindowResizeMethodInfo
    ResolveSuggestionPopoverMethod "resizeChildren" o = Gtk.Container.ContainerResizeChildrenMethodInfo
    ResolveSuggestionPopoverMethod "resizeGripIsVisible" o = Gtk.Window.WindowResizeGripIsVisibleMethodInfo
    ResolveSuggestionPopoverMethod "resizeToGeometry" o = Gtk.Window.WindowResizeToGeometryMethodInfo
    ResolveSuggestionPopoverMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
    ResolveSuggestionPopoverMethod "sendExpose" o = Gtk.Widget.WidgetSendExposeMethodInfo
    ResolveSuggestionPopoverMethod "sendFocusChange" o = Gtk.Widget.WidgetSendFocusChangeMethodInfo
    ResolveSuggestionPopoverMethod "shapeCombineRegion" o = Gtk.Widget.WidgetShapeCombineRegionMethodInfo
    ResolveSuggestionPopoverMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
    ResolveSuggestionPopoverMethod "showAll" o = Gtk.Widget.WidgetShowAllMethodInfo
    ResolveSuggestionPopoverMethod "showNow" o = Gtk.Widget.WidgetShowNowMethodInfo
    ResolveSuggestionPopoverMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
    ResolveSuggestionPopoverMethod "sizeAllocateWithBaseline" o = Gtk.Widget.WidgetSizeAllocateWithBaselineMethodInfo
    ResolveSuggestionPopoverMethod "sizeRequest" o = Gtk.Widget.WidgetSizeRequestMethodInfo
    ResolveSuggestionPopoverMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
    ResolveSuggestionPopoverMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
    ResolveSuggestionPopoverMethod "stick" o = Gtk.Window.WindowStickMethodInfo
    ResolveSuggestionPopoverMethod "styleAttach" o = Gtk.Widget.WidgetStyleAttachMethodInfo
    ResolveSuggestionPopoverMethod "styleGetProperty" o = Gtk.Widget.WidgetStyleGetPropertyMethodInfo
    ResolveSuggestionPopoverMethod "thawChildNotify" o = Gtk.Widget.WidgetThawChildNotifyMethodInfo
    ResolveSuggestionPopoverMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
    ResolveSuggestionPopoverMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
    ResolveSuggestionPopoverMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
    ResolveSuggestionPopoverMethod "unfullscreen" o = Gtk.Window.WindowUnfullscreenMethodInfo
    ResolveSuggestionPopoverMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
    ResolveSuggestionPopoverMethod "unmaximize" o = Gtk.Window.WindowUnmaximizeMethodInfo
    ResolveSuggestionPopoverMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
    ResolveSuggestionPopoverMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
    ResolveSuggestionPopoverMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
    ResolveSuggestionPopoverMethod "unregisterWindow" o = Gtk.Widget.WidgetUnregisterWindowMethodInfo
    ResolveSuggestionPopoverMethod "unsetFocusChain" o = Gtk.Container.ContainerUnsetFocusChainMethodInfo
    ResolveSuggestionPopoverMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
    ResolveSuggestionPopoverMethod "unstick" o = Gtk.Window.WindowUnstickMethodInfo
    ResolveSuggestionPopoverMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
    ResolveSuggestionPopoverMethod "getAcceptFocus" o = Gtk.Window.WindowGetAcceptFocusMethodInfo
    ResolveSuggestionPopoverMethod "getAccessible" o = Gtk.Widget.WidgetGetAccessibleMethodInfo
    ResolveSuggestionPopoverMethod "getActionGroup" o = Gtk.Widget.WidgetGetActionGroupMethodInfo
    ResolveSuggestionPopoverMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
    ResolveSuggestionPopoverMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
    ResolveSuggestionPopoverMethod "getAllocatedSize" o = Gtk.Widget.WidgetGetAllocatedSizeMethodInfo
    ResolveSuggestionPopoverMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
    ResolveSuggestionPopoverMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
    ResolveSuggestionPopoverMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
    ResolveSuggestionPopoverMethod "getAppPaintable" o = Gtk.Widget.WidgetGetAppPaintableMethodInfo
    ResolveSuggestionPopoverMethod "getApplication" o = Gtk.Window.WindowGetApplicationMethodInfo
    ResolveSuggestionPopoverMethod "getAttachedTo" o = Gtk.Window.WindowGetAttachedToMethodInfo
    ResolveSuggestionPopoverMethod "getBorderWidth" o = Gtk.Container.ContainerGetBorderWidthMethodInfo
    ResolveSuggestionPopoverMethod "getCanDefault" o = Gtk.Widget.WidgetGetCanDefaultMethodInfo
    ResolveSuggestionPopoverMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
    ResolveSuggestionPopoverMethod "getChild" o = Gtk.Bin.BinGetChildMethodInfo
    ResolveSuggestionPopoverMethod "getChildRequisition" o = Gtk.Widget.WidgetGetChildRequisitionMethodInfo
    ResolveSuggestionPopoverMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
    ResolveSuggestionPopoverMethod "getChildren" o = Gtk.Container.ContainerGetChildrenMethodInfo
    ResolveSuggestionPopoverMethod "getClip" o = Gtk.Widget.WidgetGetClipMethodInfo
    ResolveSuggestionPopoverMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
    ResolveSuggestionPopoverMethod "getCompositeName" o = Gtk.Widget.WidgetGetCompositeNameMethodInfo
    ResolveSuggestionPopoverMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
    ResolveSuggestionPopoverMethod "getDecorated" o = Gtk.Window.WindowGetDecoratedMethodInfo
    ResolveSuggestionPopoverMethod "getDefaultSize" o = Gtk.Window.WindowGetDefaultSizeMethodInfo
    ResolveSuggestionPopoverMethod "getDefaultWidget" o = Gtk.Window.WindowGetDefaultWidgetMethodInfo
    ResolveSuggestionPopoverMethod "getDeletable" o = Gtk.Window.WindowGetDeletableMethodInfo
    ResolveSuggestionPopoverMethod "getDestroyWithParent" o = Gtk.Window.WindowGetDestroyWithParentMethodInfo
    ResolveSuggestionPopoverMethod "getDeviceEnabled" o = Gtk.Widget.WidgetGetDeviceEnabledMethodInfo
    ResolveSuggestionPopoverMethod "getDeviceEvents" o = Gtk.Widget.WidgetGetDeviceEventsMethodInfo
    ResolveSuggestionPopoverMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
    ResolveSuggestionPopoverMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
    ResolveSuggestionPopoverMethod "getDoubleBuffered" o = Gtk.Widget.WidgetGetDoubleBufferedMethodInfo
    ResolveSuggestionPopoverMethod "getEvents" o = Gtk.Widget.WidgetGetEventsMethodInfo
    ResolveSuggestionPopoverMethod "getFocus" o = Gtk.Window.WindowGetFocusMethodInfo
    ResolveSuggestionPopoverMethod "getFocusChain" o = Gtk.Container.ContainerGetFocusChainMethodInfo
    ResolveSuggestionPopoverMethod "getFocusChild" o = Gtk.Container.ContainerGetFocusChildMethodInfo
    ResolveSuggestionPopoverMethod "getFocusHadjustment" o = Gtk.Container.ContainerGetFocusHadjustmentMethodInfo
    ResolveSuggestionPopoverMethod "getFocusOnClick" o = Gtk.Widget.WidgetGetFocusOnClickMethodInfo
    ResolveSuggestionPopoverMethod "getFocusOnMap" o = Gtk.Window.WindowGetFocusOnMapMethodInfo
    ResolveSuggestionPopoverMethod "getFocusVadjustment" o = Gtk.Container.ContainerGetFocusVadjustmentMethodInfo
    ResolveSuggestionPopoverMethod "getFocusVisible" o = Gtk.Window.WindowGetFocusVisibleMethodInfo
    ResolveSuggestionPopoverMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
    ResolveSuggestionPopoverMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
    ResolveSuggestionPopoverMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
    ResolveSuggestionPopoverMethod "getGravity" o = Gtk.Window.WindowGetGravityMethodInfo
    ResolveSuggestionPopoverMethod "getGroup" o = Gtk.Window.WindowGetGroupMethodInfo
    ResolveSuggestionPopoverMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
    ResolveSuggestionPopoverMethod "getHasResizeGrip" o = Gtk.Window.WindowGetHasResizeGripMethodInfo
    ResolveSuggestionPopoverMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
    ResolveSuggestionPopoverMethod "getHasWindow" o = Gtk.Widget.WidgetGetHasWindowMethodInfo
    ResolveSuggestionPopoverMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
    ResolveSuggestionPopoverMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
    ResolveSuggestionPopoverMethod "getHideTitlebarWhenMaximized" o = Gtk.Window.WindowGetHideTitlebarWhenMaximizedMethodInfo
    ResolveSuggestionPopoverMethod "getIcon" o = Gtk.Window.WindowGetIconMethodInfo
    ResolveSuggestionPopoverMethod "getIconList" o = Gtk.Window.WindowGetIconListMethodInfo
    ResolveSuggestionPopoverMethod "getIconName" o = Gtk.Window.WindowGetIconNameMethodInfo
    ResolveSuggestionPopoverMethod "getInternalChild" o = Gtk.Buildable.BuildableGetInternalChildMethodInfo
    ResolveSuggestionPopoverMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
    ResolveSuggestionPopoverMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
    ResolveSuggestionPopoverMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
    ResolveSuggestionPopoverMethod "getMarginLeft" o = Gtk.Widget.WidgetGetMarginLeftMethodInfo
    ResolveSuggestionPopoverMethod "getMarginRight" o = Gtk.Widget.WidgetGetMarginRightMethodInfo
    ResolveSuggestionPopoverMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
    ResolveSuggestionPopoverMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
    ResolveSuggestionPopoverMethod "getMnemonicModifier" o = Gtk.Window.WindowGetMnemonicModifierMethodInfo
    ResolveSuggestionPopoverMethod "getMnemonicsVisible" o = Gtk.Window.WindowGetMnemonicsVisibleMethodInfo
    ResolveSuggestionPopoverMethod "getModal" o = Gtk.Window.WindowGetModalMethodInfo
    ResolveSuggestionPopoverMethod "getModel" o = SuggestionPopoverGetModelMethodInfo
    ResolveSuggestionPopoverMethod "getModifierMask" o = Gtk.Widget.WidgetGetModifierMaskMethodInfo
    ResolveSuggestionPopoverMethod "getModifierStyle" o = Gtk.Widget.WidgetGetModifierStyleMethodInfo
    ResolveSuggestionPopoverMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
    ResolveSuggestionPopoverMethod "getNoShowAll" o = Gtk.Widget.WidgetGetNoShowAllMethodInfo
    ResolveSuggestionPopoverMethod "getOpacity" o = Gtk.Window.WindowGetOpacityMethodInfo
    ResolveSuggestionPopoverMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
    ResolveSuggestionPopoverMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
    ResolveSuggestionPopoverMethod "getParentWindow" o = Gtk.Widget.WidgetGetParentWindowMethodInfo
    ResolveSuggestionPopoverMethod "getPath" o = Gtk.Widget.WidgetGetPathMethodInfo
    ResolveSuggestionPopoverMethod "getPathForChild" o = Gtk.Container.ContainerGetPathForChildMethodInfo
    ResolveSuggestionPopoverMethod "getPointer" o = Gtk.Widget.WidgetGetPointerMethodInfo
    ResolveSuggestionPopoverMethod "getPosition" o = Gtk.Window.WindowGetPositionMethodInfo
    ResolveSuggestionPopoverMethod "getPreferredHeight" o = Gtk.Widget.WidgetGetPreferredHeightMethodInfo
    ResolveSuggestionPopoverMethod "getPreferredHeightAndBaselineForWidth" o = Gtk.Widget.WidgetGetPreferredHeightAndBaselineForWidthMethodInfo
    ResolveSuggestionPopoverMethod "getPreferredHeightForWidth" o = Gtk.Widget.WidgetGetPreferredHeightForWidthMethodInfo
    ResolveSuggestionPopoverMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
    ResolveSuggestionPopoverMethod "getPreferredWidth" o = Gtk.Widget.WidgetGetPreferredWidthMethodInfo
    ResolveSuggestionPopoverMethod "getPreferredWidthForHeight" o = Gtk.Widget.WidgetGetPreferredWidthForHeightMethodInfo
    ResolveSuggestionPopoverMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
    ResolveSuggestionPopoverMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
    ResolveSuggestionPopoverMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
    ResolveSuggestionPopoverMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
    ResolveSuggestionPopoverMethod "getRelativeTo" o = SuggestionPopoverGetRelativeToMethodInfo
    ResolveSuggestionPopoverMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
    ResolveSuggestionPopoverMethod "getRequisition" o = Gtk.Widget.WidgetGetRequisitionMethodInfo
    ResolveSuggestionPopoverMethod "getResizable" o = Gtk.Window.WindowGetResizableMethodInfo
    ResolveSuggestionPopoverMethod "getResizeGripArea" o = Gtk.Window.WindowGetResizeGripAreaMethodInfo
    ResolveSuggestionPopoverMethod "getResizeMode" o = Gtk.Container.ContainerGetResizeModeMethodInfo
    ResolveSuggestionPopoverMethod "getRole" o = Gtk.Window.WindowGetRoleMethodInfo
    ResolveSuggestionPopoverMethod "getRootWindow" o = Gtk.Widget.WidgetGetRootWindowMethodInfo
    ResolveSuggestionPopoverMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
    ResolveSuggestionPopoverMethod "getScreen" o = Gtk.Window.WindowGetScreenMethodInfo
    ResolveSuggestionPopoverMethod "getSelected" o = SuggestionPopoverGetSelectedMethodInfo
    ResolveSuggestionPopoverMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
    ResolveSuggestionPopoverMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
    ResolveSuggestionPopoverMethod "getSize" o = Gtk.Window.WindowGetSizeMethodInfo
    ResolveSuggestionPopoverMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
    ResolveSuggestionPopoverMethod "getSkipPagerHint" o = Gtk.Window.WindowGetSkipPagerHintMethodInfo
    ResolveSuggestionPopoverMethod "getSkipTaskbarHint" o = Gtk.Window.WindowGetSkipTaskbarHintMethodInfo
    ResolveSuggestionPopoverMethod "getState" o = Gtk.Widget.WidgetGetStateMethodInfo
    ResolveSuggestionPopoverMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
    ResolveSuggestionPopoverMethod "getStyle" o = Gtk.Widget.WidgetGetStyleMethodInfo
    ResolveSuggestionPopoverMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
    ResolveSuggestionPopoverMethod "getSupportMultidevice" o = Gtk.Widget.WidgetGetSupportMultideviceMethodInfo
    ResolveSuggestionPopoverMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
    ResolveSuggestionPopoverMethod "getTitle" o = Gtk.Window.WindowGetTitleMethodInfo
    ResolveSuggestionPopoverMethod "getTitlebar" o = Gtk.Window.WindowGetTitlebarMethodInfo
    ResolveSuggestionPopoverMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
    ResolveSuggestionPopoverMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
    ResolveSuggestionPopoverMethod "getTooltipWindow" o = Gtk.Widget.WidgetGetTooltipWindowMethodInfo
    ResolveSuggestionPopoverMethod "getToplevel" o = Gtk.Widget.WidgetGetToplevelMethodInfo
    ResolveSuggestionPopoverMethod "getTransientFor" o = Gtk.Window.WindowGetTransientForMethodInfo
    ResolveSuggestionPopoverMethod "getTypeHint" o = Gtk.Window.WindowGetTypeHintMethodInfo
    ResolveSuggestionPopoverMethod "getUrgencyHint" o = Gtk.Window.WindowGetUrgencyHintMethodInfo
    ResolveSuggestionPopoverMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
    ResolveSuggestionPopoverMethod "getValignWithBaseline" o = Gtk.Widget.WidgetGetValignWithBaselineMethodInfo
    ResolveSuggestionPopoverMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
    ResolveSuggestionPopoverMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
    ResolveSuggestionPopoverMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
    ResolveSuggestionPopoverMethod "getVisual" o = Gtk.Widget.WidgetGetVisualMethodInfo
    ResolveSuggestionPopoverMethod "getWindow" o = Gtk.Widget.WidgetGetWindowMethodInfo
    ResolveSuggestionPopoverMethod "getWindowType" o = Gtk.Window.WindowGetWindowTypeMethodInfo
    ResolveSuggestionPopoverMethod "setAccelPath" o = Gtk.Widget.WidgetSetAccelPathMethodInfo
    ResolveSuggestionPopoverMethod "setAcceptFocus" o = Gtk.Window.WindowSetAcceptFocusMethodInfo
    ResolveSuggestionPopoverMethod "setAllocation" o = Gtk.Widget.WidgetSetAllocationMethodInfo
    ResolveSuggestionPopoverMethod "setAppPaintable" o = Gtk.Widget.WidgetSetAppPaintableMethodInfo
    ResolveSuggestionPopoverMethod "setApplication" o = Gtk.Window.WindowSetApplicationMethodInfo
    ResolveSuggestionPopoverMethod "setAttachedTo" o = Gtk.Window.WindowSetAttachedToMethodInfo
    ResolveSuggestionPopoverMethod "setBorderWidth" o = Gtk.Container.ContainerSetBorderWidthMethodInfo
    ResolveSuggestionPopoverMethod "setBuildableProperty" o = Gtk.Buildable.BuildableSetBuildablePropertyMethodInfo
    ResolveSuggestionPopoverMethod "setCanDefault" o = Gtk.Widget.WidgetSetCanDefaultMethodInfo
    ResolveSuggestionPopoverMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
    ResolveSuggestionPopoverMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
    ResolveSuggestionPopoverMethod "setClip" o = Gtk.Widget.WidgetSetClipMethodInfo
    ResolveSuggestionPopoverMethod "setCompositeName" o = Gtk.Widget.WidgetSetCompositeNameMethodInfo
    ResolveSuggestionPopoverMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
    ResolveSuggestionPopoverMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
    ResolveSuggestionPopoverMethod "setDecorated" o = Gtk.Window.WindowSetDecoratedMethodInfo
    ResolveSuggestionPopoverMethod "setDefault" o = Gtk.Window.WindowSetDefaultMethodInfo
    ResolveSuggestionPopoverMethod "setDefaultGeometry" o = Gtk.Window.WindowSetDefaultGeometryMethodInfo
    ResolveSuggestionPopoverMethod "setDefaultSize" o = Gtk.Window.WindowSetDefaultSizeMethodInfo
    ResolveSuggestionPopoverMethod "setDeletable" o = Gtk.Window.WindowSetDeletableMethodInfo
    ResolveSuggestionPopoverMethod "setDestroyWithParent" o = Gtk.Window.WindowSetDestroyWithParentMethodInfo
    ResolveSuggestionPopoverMethod "setDeviceEnabled" o = Gtk.Widget.WidgetSetDeviceEnabledMethodInfo
    ResolveSuggestionPopoverMethod "setDeviceEvents" o = Gtk.Widget.WidgetSetDeviceEventsMethodInfo
    ResolveSuggestionPopoverMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
    ResolveSuggestionPopoverMethod "setDoubleBuffered" o = Gtk.Widget.WidgetSetDoubleBufferedMethodInfo
    ResolveSuggestionPopoverMethod "setEvents" o = Gtk.Widget.WidgetSetEventsMethodInfo
    ResolveSuggestionPopoverMethod "setFocus" o = Gtk.Window.WindowSetFocusMethodInfo
    ResolveSuggestionPopoverMethod "setFocusChain" o = Gtk.Container.ContainerSetFocusChainMethodInfo
    ResolveSuggestionPopoverMethod "setFocusChild" o = Gtk.Container.ContainerSetFocusChildMethodInfo
    ResolveSuggestionPopoverMethod "setFocusHadjustment" o = Gtk.Container.ContainerSetFocusHadjustmentMethodInfo
    ResolveSuggestionPopoverMethod "setFocusOnClick" o = Gtk.Widget.WidgetSetFocusOnClickMethodInfo
    ResolveSuggestionPopoverMethod "setFocusOnMap" o = Gtk.Window.WindowSetFocusOnMapMethodInfo
    ResolveSuggestionPopoverMethod "setFocusVadjustment" o = Gtk.Container.ContainerSetFocusVadjustmentMethodInfo
    ResolveSuggestionPopoverMethod "setFocusVisible" o = Gtk.Window.WindowSetFocusVisibleMethodInfo
    ResolveSuggestionPopoverMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
    ResolveSuggestionPopoverMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
    ResolveSuggestionPopoverMethod "setGeometryHints" o = Gtk.Window.WindowSetGeometryHintsMethodInfo
    ResolveSuggestionPopoverMethod "setGravity" o = Gtk.Window.WindowSetGravityMethodInfo
    ResolveSuggestionPopoverMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
    ResolveSuggestionPopoverMethod "setHasResizeGrip" o = Gtk.Window.WindowSetHasResizeGripMethodInfo
    ResolveSuggestionPopoverMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
    ResolveSuggestionPopoverMethod "setHasUserRefCount" o = Gtk.Window.WindowSetHasUserRefCountMethodInfo
    ResolveSuggestionPopoverMethod "setHasWindow" o = Gtk.Widget.WidgetSetHasWindowMethodInfo
    ResolveSuggestionPopoverMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
    ResolveSuggestionPopoverMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
    ResolveSuggestionPopoverMethod "setHideTitlebarWhenMaximized" o = Gtk.Window.WindowSetHideTitlebarWhenMaximizedMethodInfo
    ResolveSuggestionPopoverMethod "setIcon" o = Gtk.Window.WindowSetIconMethodInfo
    ResolveSuggestionPopoverMethod "setIconFromFile" o = Gtk.Window.WindowSetIconFromFileMethodInfo
    ResolveSuggestionPopoverMethod "setIconList" o = Gtk.Window.WindowSetIconListMethodInfo
    ResolveSuggestionPopoverMethod "setIconName" o = Gtk.Window.WindowSetIconNameMethodInfo
    ResolveSuggestionPopoverMethod "setKeepAbove" o = Gtk.Window.WindowSetKeepAboveMethodInfo
    ResolveSuggestionPopoverMethod "setKeepBelow" o = Gtk.Window.WindowSetKeepBelowMethodInfo
    ResolveSuggestionPopoverMethod "setMapped" o = Gtk.Widget.WidgetSetMappedMethodInfo
    ResolveSuggestionPopoverMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
    ResolveSuggestionPopoverMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
    ResolveSuggestionPopoverMethod "setMarginLeft" o = Gtk.Widget.WidgetSetMarginLeftMethodInfo
    ResolveSuggestionPopoverMethod "setMarginRight" o = Gtk.Widget.WidgetSetMarginRightMethodInfo
    ResolveSuggestionPopoverMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
    ResolveSuggestionPopoverMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
    ResolveSuggestionPopoverMethod "setMnemonicModifier" o = Gtk.Window.WindowSetMnemonicModifierMethodInfo
    ResolveSuggestionPopoverMethod "setMnemonicsVisible" o = Gtk.Window.WindowSetMnemonicsVisibleMethodInfo
    ResolveSuggestionPopoverMethod "setModal" o = Gtk.Window.WindowSetModalMethodInfo
    ResolveSuggestionPopoverMethod "setModel" o = SuggestionPopoverSetModelMethodInfo
    ResolveSuggestionPopoverMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
    ResolveSuggestionPopoverMethod "setNoShowAll" o = Gtk.Widget.WidgetSetNoShowAllMethodInfo
    ResolveSuggestionPopoverMethod "setOpacity" o = Gtk.Window.WindowSetOpacityMethodInfo
    ResolveSuggestionPopoverMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
    ResolveSuggestionPopoverMethod "setParentWindow" o = Gtk.Widget.WidgetSetParentWindowMethodInfo
    ResolveSuggestionPopoverMethod "setPosition" o = Gtk.Window.WindowSetPositionMethodInfo
    ResolveSuggestionPopoverMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
    ResolveSuggestionPopoverMethod "setRealized" o = Gtk.Widget.WidgetSetRealizedMethodInfo
    ResolveSuggestionPopoverMethod "setReallocateRedraws" o = Gtk.Container.ContainerSetReallocateRedrawsMethodInfo
    ResolveSuggestionPopoverMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
    ResolveSuggestionPopoverMethod "setRedrawOnAllocate" o = Gtk.Widget.WidgetSetRedrawOnAllocateMethodInfo
    ResolveSuggestionPopoverMethod "setRelativeTo" o = SuggestionPopoverSetRelativeToMethodInfo
    ResolveSuggestionPopoverMethod "setResizable" o = Gtk.Window.WindowSetResizableMethodInfo
    ResolveSuggestionPopoverMethod "setResizeMode" o = Gtk.Container.ContainerSetResizeModeMethodInfo
    ResolveSuggestionPopoverMethod "setRole" o = Gtk.Window.WindowSetRoleMethodInfo
    ResolveSuggestionPopoverMethod "setScreen" o = Gtk.Window.WindowSetScreenMethodInfo
    ResolveSuggestionPopoverMethod "setSelected" o = SuggestionPopoverSetSelectedMethodInfo
    ResolveSuggestionPopoverMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
    ResolveSuggestionPopoverMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
    ResolveSuggestionPopoverMethod "setSkipPagerHint" o = Gtk.Window.WindowSetSkipPagerHintMethodInfo
    ResolveSuggestionPopoverMethod "setSkipTaskbarHint" o = Gtk.Window.WindowSetSkipTaskbarHintMethodInfo
    ResolveSuggestionPopoverMethod "setStartupId" o = Gtk.Window.WindowSetStartupIdMethodInfo
    ResolveSuggestionPopoverMethod "setState" o = Gtk.Widget.WidgetSetStateMethodInfo
    ResolveSuggestionPopoverMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
    ResolveSuggestionPopoverMethod "setStyle" o = Gtk.Widget.WidgetSetStyleMethodInfo
    ResolveSuggestionPopoverMethod "setSupportMultidevice" o = Gtk.Widget.WidgetSetSupportMultideviceMethodInfo
    ResolveSuggestionPopoverMethod "setTitle" o = Gtk.Window.WindowSetTitleMethodInfo
    ResolveSuggestionPopoverMethod "setTitlebar" o = Gtk.Window.WindowSetTitlebarMethodInfo
    ResolveSuggestionPopoverMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
    ResolveSuggestionPopoverMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
    ResolveSuggestionPopoverMethod "setTooltipWindow" o = Gtk.Widget.WidgetSetTooltipWindowMethodInfo
    ResolveSuggestionPopoverMethod "setTransientFor" o = Gtk.Window.WindowSetTransientForMethodInfo
    ResolveSuggestionPopoverMethod "setTypeHint" o = Gtk.Window.WindowSetTypeHintMethodInfo
    ResolveSuggestionPopoverMethod "setUrgencyHint" o = Gtk.Window.WindowSetUrgencyHintMethodInfo
    ResolveSuggestionPopoverMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
    ResolveSuggestionPopoverMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
    ResolveSuggestionPopoverMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
    ResolveSuggestionPopoverMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
    ResolveSuggestionPopoverMethod "setVisual" o = Gtk.Widget.WidgetSetVisualMethodInfo
    ResolveSuggestionPopoverMethod "setWindow" o = Gtk.Widget.WidgetSetWindowMethodInfo
    ResolveSuggestionPopoverMethod "setWmclass" o = Gtk.Window.WindowSetWmclassMethodInfo
    ResolveSuggestionPopoverMethod l o = O.MethodResolutionFailed l o

instance (info ~ ResolveSuggestionPopoverMethod t SuggestionPopover, O.OverloadedMethod info SuggestionPopover p) => OL.IsLabel t (SuggestionPopover -> 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 ~ ResolveSuggestionPopoverMethod t SuggestionPopover, O.OverloadedMethod info SuggestionPopover p, R.HasField t SuggestionPopover p) => R.HasField t SuggestionPopover p where
    getField = O.overloadedMethod @info

#endif

instance (info ~ ResolveSuggestionPopoverMethod t SuggestionPopover, O.OverloadedMethodInfo info SuggestionPopover) => OL.IsLabel t (O.MethodProxy info SuggestionPopover) where
#if MIN_VERSION_base(4,10,0)
    fromLabel = O.MethodProxy
#else
    fromLabel _ = O.MethodProxy
#endif

#endif

-- signal SuggestionPopover::suggestion-activated
-- | /No description available in the introspection data./
type SuggestionPopoverSuggestionActivatedCallback =
    Dazzle.Suggestion.Suggestion
    -> IO ()

type C_SuggestionPopoverSuggestionActivatedCallback =
    Ptr SuggestionPopover ->                -- object
    Ptr Dazzle.Suggestion.Suggestion ->
    Ptr () ->                               -- user_data
    IO ()

-- | Generate a function pointer callable from C code, from a `C_SuggestionPopoverSuggestionActivatedCallback`.
foreign import ccall "wrapper"
    mk_SuggestionPopoverSuggestionActivatedCallback :: C_SuggestionPopoverSuggestionActivatedCallback -> IO (FunPtr C_SuggestionPopoverSuggestionActivatedCallback)

wrap_SuggestionPopoverSuggestionActivatedCallback :: 
    GObject a => (a -> SuggestionPopoverSuggestionActivatedCallback) ->
    C_SuggestionPopoverSuggestionActivatedCallback
wrap_SuggestionPopoverSuggestionActivatedCallback :: forall a.
GObject a =>
(a -> SuggestionPopoverSuggestionActivatedCallback)
-> C_SuggestionPopoverSuggestionActivatedCallback
wrap_SuggestionPopoverSuggestionActivatedCallback a -> SuggestionPopoverSuggestionActivatedCallback
gi'cb Ptr SuggestionPopover
gi'selfPtr Ptr Suggestion
object Ptr ()
_ = do
    Suggestion
object' <- ((ManagedPtr Suggestion -> Suggestion)
-> Ptr Suggestion -> IO Suggestion
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Suggestion -> Suggestion
Dazzle.Suggestion.Suggestion) Ptr Suggestion
object
    Ptr SuggestionPopover -> (SuggestionPopover -> IO ()) -> IO ()
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr SuggestionPopover
gi'selfPtr ((SuggestionPopover -> IO ()) -> IO ())
-> (SuggestionPopover -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \SuggestionPopover
gi'self -> a -> SuggestionPopoverSuggestionActivatedCallback
gi'cb (SuggestionPopover -> a
forall a b. Coercible a b => a -> b
Coerce.coerce SuggestionPopover
gi'self)  Suggestion
object'


-- | Connect a signal handler for the [suggestionActivated](#signal:suggestionActivated) signal, to be run before the default handler.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Signals.on' suggestionPopover #suggestionActivated callback
-- @
-- 
-- 
onSuggestionPopoverSuggestionActivated :: (IsSuggestionPopover a, MonadIO m) => a -> ((?self :: a) => SuggestionPopoverSuggestionActivatedCallback) -> m SignalHandlerId
onSuggestionPopoverSuggestionActivated :: forall a (m :: * -> *).
(IsSuggestionPopover a, MonadIO m) =>
a
-> ((?self::a) => SuggestionPopoverSuggestionActivatedCallback)
-> m SignalHandlerId
onSuggestionPopoverSuggestionActivated a
obj (?self::a) => SuggestionPopoverSuggestionActivatedCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
    let wrapped :: a -> SuggestionPopoverSuggestionActivatedCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => SuggestionPopoverSuggestionActivatedCallback
SuggestionPopoverSuggestionActivatedCallback
cb
    let wrapped' :: C_SuggestionPopoverSuggestionActivatedCallback
wrapped' = (a -> SuggestionPopoverSuggestionActivatedCallback)
-> C_SuggestionPopoverSuggestionActivatedCallback
forall a.
GObject a =>
(a -> SuggestionPopoverSuggestionActivatedCallback)
-> C_SuggestionPopoverSuggestionActivatedCallback
wrap_SuggestionPopoverSuggestionActivatedCallback a -> SuggestionPopoverSuggestionActivatedCallback
wrapped
    FunPtr C_SuggestionPopoverSuggestionActivatedCallback
wrapped'' <- C_SuggestionPopoverSuggestionActivatedCallback
-> IO (FunPtr C_SuggestionPopoverSuggestionActivatedCallback)
mk_SuggestionPopoverSuggestionActivatedCallback C_SuggestionPopoverSuggestionActivatedCallback
wrapped'
    a
-> Text
-> FunPtr C_SuggestionPopoverSuggestionActivatedCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"suggestion-activated" FunPtr C_SuggestionPopoverSuggestionActivatedCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing

-- | Connect a signal handler for the [suggestionActivated](#signal:suggestionActivated) signal, to be run after the default handler.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Signals.after' suggestionPopover #suggestionActivated callback
-- @
-- 
-- 
-- 
-- By default the object invoking the signal is not passed to the callback.
-- If you need to access it, you can use the implit @?self@ parameter.
-- Note that this requires activating the @ImplicitParams@ GHC extension.
-- 
afterSuggestionPopoverSuggestionActivated :: (IsSuggestionPopover a, MonadIO m) => a -> ((?self :: a) => SuggestionPopoverSuggestionActivatedCallback) -> m SignalHandlerId
afterSuggestionPopoverSuggestionActivated :: forall a (m :: * -> *).
(IsSuggestionPopover a, MonadIO m) =>
a
-> ((?self::a) => SuggestionPopoverSuggestionActivatedCallback)
-> m SignalHandlerId
afterSuggestionPopoverSuggestionActivated a
obj (?self::a) => SuggestionPopoverSuggestionActivatedCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
    let wrapped :: a -> SuggestionPopoverSuggestionActivatedCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => SuggestionPopoverSuggestionActivatedCallback
SuggestionPopoverSuggestionActivatedCallback
cb
    let wrapped' :: C_SuggestionPopoverSuggestionActivatedCallback
wrapped' = (a -> SuggestionPopoverSuggestionActivatedCallback)
-> C_SuggestionPopoverSuggestionActivatedCallback
forall a.
GObject a =>
(a -> SuggestionPopoverSuggestionActivatedCallback)
-> C_SuggestionPopoverSuggestionActivatedCallback
wrap_SuggestionPopoverSuggestionActivatedCallback a -> SuggestionPopoverSuggestionActivatedCallback
wrapped
    FunPtr C_SuggestionPopoverSuggestionActivatedCallback
wrapped'' <- C_SuggestionPopoverSuggestionActivatedCallback
-> IO (FunPtr C_SuggestionPopoverSuggestionActivatedCallback)
mk_SuggestionPopoverSuggestionActivatedCallback C_SuggestionPopoverSuggestionActivatedCallback
wrapped'
    a
-> Text
-> FunPtr C_SuggestionPopoverSuggestionActivatedCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"suggestion-activated" FunPtr C_SuggestionPopoverSuggestionActivatedCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing


#if defined(ENABLE_OVERLOADING)
data SuggestionPopoverSuggestionActivatedSignalInfo
instance SignalInfo SuggestionPopoverSuggestionActivatedSignalInfo where
    type HaskellCallbackType SuggestionPopoverSuggestionActivatedSignalInfo = SuggestionPopoverSuggestionActivatedCallback
    connectSignal obj cb connectMode detail = do
        let cb' = wrap_SuggestionPopoverSuggestionActivatedCallback cb
        cb'' <- mk_SuggestionPopoverSuggestionActivatedCallback cb'
        connectSignalFunPtr obj "suggestion-activated" cb'' connectMode detail
    dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.SuggestionPopover::suggestion-activated"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-SuggestionPopover.html#g:signal:suggestionActivated"})

#endif

-- VVV Prop "model"
   -- Type: TInterface (Name {namespace = "Dazzle", name = "Suggestion"})
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Nothing,Nothing)

-- | Get the value of the “@model@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' suggestionPopover #model
-- @
getSuggestionPopoverModel :: (MonadIO m, IsSuggestionPopover o) => o -> m (Maybe Dazzle.Suggestion.Suggestion)
getSuggestionPopoverModel :: forall (m :: * -> *) o.
(MonadIO m, IsSuggestionPopover o) =>
o -> m (Maybe Suggestion)
getSuggestionPopoverModel o
obj = IO (Maybe Suggestion) -> m (Maybe Suggestion)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Suggestion) -> m (Maybe Suggestion))
-> IO (Maybe Suggestion) -> m (Maybe Suggestion)
forall a b. (a -> b) -> a -> b
$ o
-> String
-> (ManagedPtr Suggestion -> Suggestion)
-> IO (Maybe Suggestion)
forall a b.
(GObject a, GObject b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyObject o
obj String
"model" ManagedPtr Suggestion -> Suggestion
Dazzle.Suggestion.Suggestion

-- | Set the value of the “@model@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' suggestionPopover [ #model 'Data.GI.Base.Attributes.:=' value ]
-- @
setSuggestionPopoverModel :: (MonadIO m, IsSuggestionPopover o, Dazzle.Suggestion.IsSuggestion a) => o -> a -> m ()
setSuggestionPopoverModel :: forall (m :: * -> *) o a.
(MonadIO m, IsSuggestionPopover o, IsSuggestion a) =>
o -> a -> m ()
setSuggestionPopoverModel 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
"model" (a -> Maybe a
forall a. a -> Maybe a
Just a
val)

-- | Construct a `GValueConstruct` with valid value for the “@model@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSuggestionPopoverModel :: (IsSuggestionPopover o, MIO.MonadIO m, Dazzle.Suggestion.IsSuggestion a) => a -> m (GValueConstruct o)
constructSuggestionPopoverModel :: forall o (m :: * -> *) a.
(IsSuggestionPopover o, MonadIO m, IsSuggestion a) =>
a -> m (GValueConstruct o)
constructSuggestionPopoverModel 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
"model" (a -> Maybe a
forall a. a -> Maybe a
P.Just a
val)

-- | Set the value of the “@model@” property to `Nothing`.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.clear' #model
-- @
clearSuggestionPopoverModel :: (MonadIO m, IsSuggestionPopover o) => o -> m ()
clearSuggestionPopoverModel :: forall (m :: * -> *) o.
(MonadIO m, IsSuggestionPopover o) =>
o -> m ()
clearSuggestionPopoverModel 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 Suggestion -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"model" (Maybe Suggestion
forall a. Maybe a
Nothing :: Maybe Dazzle.Suggestion.Suggestion)

#if defined(ENABLE_OVERLOADING)
data SuggestionPopoverModelPropertyInfo
instance AttrInfo SuggestionPopoverModelPropertyInfo where
    type AttrAllowedOps SuggestionPopoverModelPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint SuggestionPopoverModelPropertyInfo = IsSuggestionPopover
    type AttrSetTypeConstraint SuggestionPopoverModelPropertyInfo = Dazzle.Suggestion.IsSuggestion
    type AttrTransferTypeConstraint SuggestionPopoverModelPropertyInfo = Dazzle.Suggestion.IsSuggestion
    type AttrTransferType SuggestionPopoverModelPropertyInfo = Dazzle.Suggestion.Suggestion
    type AttrGetType SuggestionPopoverModelPropertyInfo = (Maybe Dazzle.Suggestion.Suggestion)
    type AttrLabel SuggestionPopoverModelPropertyInfo = "model"
    type AttrOrigin SuggestionPopoverModelPropertyInfo = SuggestionPopover
    attrGet = getSuggestionPopoverModel
    attrSet = setSuggestionPopoverModel
    attrTransfer _ v = do
        unsafeCastTo Dazzle.Suggestion.Suggestion v
    attrConstruct = constructSuggestionPopoverModel
    attrClear = clearSuggestionPopoverModel
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.SuggestionPopover.model"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-SuggestionPopover.html#g:attr:model"
        })
#endif

-- VVV Prop "relative-to"
   -- Type: TInterface (Name {namespace = "Gtk", name = "Widget"})
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just True,Just False)

-- | Get the value of the “@relative-to@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' suggestionPopover #relativeTo
-- @
getSuggestionPopoverRelativeTo :: (MonadIO m, IsSuggestionPopover o) => o -> m (Maybe Gtk.Widget.Widget)
getSuggestionPopoverRelativeTo :: forall (m :: * -> *) o.
(MonadIO m, IsSuggestionPopover o) =>
o -> m (Maybe Widget)
getSuggestionPopoverRelativeTo o
obj = IO (Maybe Widget) -> m (Maybe Widget)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Widget) -> m (Maybe Widget))
-> IO (Maybe Widget) -> m (Maybe Widget)
forall a b. (a -> b) -> a -> b
$ o -> String -> (ManagedPtr Widget -> Widget) -> IO (Maybe Widget)
forall a b.
(GObject a, GObject b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyObject o
obj String
"relative-to" ManagedPtr Widget -> Widget
Gtk.Widget.Widget

-- | Set the value of the “@relative-to@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' suggestionPopover [ #relativeTo 'Data.GI.Base.Attributes.:=' value ]
-- @
setSuggestionPopoverRelativeTo :: (MonadIO m, IsSuggestionPopover o, Gtk.Widget.IsWidget a) => o -> a -> m ()
setSuggestionPopoverRelativeTo :: forall (m :: * -> *) o a.
(MonadIO m, IsSuggestionPopover o, IsWidget a) =>
o -> a -> m ()
setSuggestionPopoverRelativeTo 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
"relative-to" (a -> Maybe a
forall a. a -> Maybe a
Just a
val)

-- | Construct a `GValueConstruct` with valid value for the “@relative-to@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSuggestionPopoverRelativeTo :: (IsSuggestionPopover o, MIO.MonadIO m, Gtk.Widget.IsWidget a) => a -> m (GValueConstruct o)
constructSuggestionPopoverRelativeTo :: forall o (m :: * -> *) a.
(IsSuggestionPopover o, MonadIO m, IsWidget a) =>
a -> m (GValueConstruct o)
constructSuggestionPopoverRelativeTo 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
"relative-to" (a -> Maybe a
forall a. a -> Maybe a
P.Just a
val)

#if defined(ENABLE_OVERLOADING)
data SuggestionPopoverRelativeToPropertyInfo
instance AttrInfo SuggestionPopoverRelativeToPropertyInfo where
    type AttrAllowedOps SuggestionPopoverRelativeToPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint SuggestionPopoverRelativeToPropertyInfo = IsSuggestionPopover
    type AttrSetTypeConstraint SuggestionPopoverRelativeToPropertyInfo = Gtk.Widget.IsWidget
    type AttrTransferTypeConstraint SuggestionPopoverRelativeToPropertyInfo = Gtk.Widget.IsWidget
    type AttrTransferType SuggestionPopoverRelativeToPropertyInfo = Gtk.Widget.Widget
    type AttrGetType SuggestionPopoverRelativeToPropertyInfo = (Maybe Gtk.Widget.Widget)
    type AttrLabel SuggestionPopoverRelativeToPropertyInfo = "relative-to"
    type AttrOrigin SuggestionPopoverRelativeToPropertyInfo = SuggestionPopover
    attrGet = getSuggestionPopoverRelativeTo
    attrSet = setSuggestionPopoverRelativeTo
    attrTransfer _ v = do
        unsafeCastTo Gtk.Widget.Widget v
    attrConstruct = constructSuggestionPopoverRelativeTo
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.SuggestionPopover.relativeTo"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-SuggestionPopover.html#g:attr:relativeTo"
        })
#endif

-- VVV Prop "selected"
   -- Type: TInterface (Name {namespace = "Dazzle", name = "Suggestion"})
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just True,Just False)

-- | Get the value of the “@selected@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' suggestionPopover #selected
-- @
getSuggestionPopoverSelected :: (MonadIO m, IsSuggestionPopover o) => o -> m (Maybe Dazzle.Suggestion.Suggestion)
getSuggestionPopoverSelected :: forall (m :: * -> *) o.
(MonadIO m, IsSuggestionPopover o) =>
o -> m (Maybe Suggestion)
getSuggestionPopoverSelected o
obj = IO (Maybe Suggestion) -> m (Maybe Suggestion)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Suggestion) -> m (Maybe Suggestion))
-> IO (Maybe Suggestion) -> m (Maybe Suggestion)
forall a b. (a -> b) -> a -> b
$ o
-> String
-> (ManagedPtr Suggestion -> Suggestion)
-> IO (Maybe Suggestion)
forall a b.
(GObject a, GObject b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyObject o
obj String
"selected" ManagedPtr Suggestion -> Suggestion
Dazzle.Suggestion.Suggestion

-- | Set the value of the “@selected@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' suggestionPopover [ #selected 'Data.GI.Base.Attributes.:=' value ]
-- @
setSuggestionPopoverSelected :: (MonadIO m, IsSuggestionPopover o, Dazzle.Suggestion.IsSuggestion a) => o -> a -> m ()
setSuggestionPopoverSelected :: forall (m :: * -> *) o a.
(MonadIO m, IsSuggestionPopover o, IsSuggestion a) =>
o -> a -> m ()
setSuggestionPopoverSelected 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
"selected" (a -> Maybe a
forall a. a -> Maybe a
Just a
val)

-- | Construct a `GValueConstruct` with valid value for the “@selected@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSuggestionPopoverSelected :: (IsSuggestionPopover o, MIO.MonadIO m, Dazzle.Suggestion.IsSuggestion a) => a -> m (GValueConstruct o)
constructSuggestionPopoverSelected :: forall o (m :: * -> *) a.
(IsSuggestionPopover o, MonadIO m, IsSuggestion a) =>
a -> m (GValueConstruct o)
constructSuggestionPopoverSelected 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
"selected" (a -> Maybe a
forall a. a -> Maybe a
P.Just a
val)

#if defined(ENABLE_OVERLOADING)
data SuggestionPopoverSelectedPropertyInfo
instance AttrInfo SuggestionPopoverSelectedPropertyInfo where
    type AttrAllowedOps SuggestionPopoverSelectedPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint SuggestionPopoverSelectedPropertyInfo = IsSuggestionPopover
    type AttrSetTypeConstraint SuggestionPopoverSelectedPropertyInfo = Dazzle.Suggestion.IsSuggestion
    type AttrTransferTypeConstraint SuggestionPopoverSelectedPropertyInfo = Dazzle.Suggestion.IsSuggestion
    type AttrTransferType SuggestionPopoverSelectedPropertyInfo = Dazzle.Suggestion.Suggestion
    type AttrGetType SuggestionPopoverSelectedPropertyInfo = (Maybe Dazzle.Suggestion.Suggestion)
    type AttrLabel SuggestionPopoverSelectedPropertyInfo = "selected"
    type AttrOrigin SuggestionPopoverSelectedPropertyInfo = SuggestionPopover
    attrGet = getSuggestionPopoverSelected
    attrSet = setSuggestionPopoverSelected
    attrTransfer _ v = do
        unsafeCastTo Dazzle.Suggestion.Suggestion v
    attrConstruct = constructSuggestionPopoverSelected
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.SuggestionPopover.selected"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-SuggestionPopover.html#g:attr:selected"
        })
#endif

-- VVV Prop "subtitle-ellipsize"
   -- Type: TInterface (Name {namespace = "Pango", name = "EllipsizeMode"})
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Nothing,Nothing)

-- | Get the value of the “@subtitle-ellipsize@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' suggestionPopover #subtitleEllipsize
-- @
getSuggestionPopoverSubtitleEllipsize :: (MonadIO m, IsSuggestionPopover o) => o -> m Pango.Enums.EllipsizeMode
getSuggestionPopoverSubtitleEllipsize :: forall (m :: * -> *) o.
(MonadIO m, IsSuggestionPopover o) =>
o -> m EllipsizeMode
getSuggestionPopoverSubtitleEllipsize o
obj = IO EllipsizeMode -> m EllipsizeMode
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO EllipsizeMode -> m EllipsizeMode)
-> IO EllipsizeMode -> m EllipsizeMode
forall a b. (a -> b) -> a -> b
$ o -> String -> IO EllipsizeMode
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"subtitle-ellipsize"

-- | Set the value of the “@subtitle-ellipsize@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' suggestionPopover [ #subtitleEllipsize 'Data.GI.Base.Attributes.:=' value ]
-- @
setSuggestionPopoverSubtitleEllipsize :: (MonadIO m, IsSuggestionPopover o) => o -> Pango.Enums.EllipsizeMode -> m ()
setSuggestionPopoverSubtitleEllipsize :: forall (m :: * -> *) o.
(MonadIO m, IsSuggestionPopover o) =>
o -> EllipsizeMode -> m ()
setSuggestionPopoverSubtitleEllipsize o
obj EllipsizeMode
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 -> EllipsizeMode -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"subtitle-ellipsize" EllipsizeMode
val

-- | Construct a `GValueConstruct` with valid value for the “@subtitle-ellipsize@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSuggestionPopoverSubtitleEllipsize :: (IsSuggestionPopover o, MIO.MonadIO m) => Pango.Enums.EllipsizeMode -> m (GValueConstruct o)
constructSuggestionPopoverSubtitleEllipsize :: forall o (m :: * -> *).
(IsSuggestionPopover o, MonadIO m) =>
EllipsizeMode -> m (GValueConstruct o)
constructSuggestionPopoverSubtitleEllipsize EllipsizeMode
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 -> EllipsizeMode -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"subtitle-ellipsize" EllipsizeMode
val

#if defined(ENABLE_OVERLOADING)
data SuggestionPopoverSubtitleEllipsizePropertyInfo
instance AttrInfo SuggestionPopoverSubtitleEllipsizePropertyInfo where
    type AttrAllowedOps SuggestionPopoverSubtitleEllipsizePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint SuggestionPopoverSubtitleEllipsizePropertyInfo = IsSuggestionPopover
    type AttrSetTypeConstraint SuggestionPopoverSubtitleEllipsizePropertyInfo = (~) Pango.Enums.EllipsizeMode
    type AttrTransferTypeConstraint SuggestionPopoverSubtitleEllipsizePropertyInfo = (~) Pango.Enums.EllipsizeMode
    type AttrTransferType SuggestionPopoverSubtitleEllipsizePropertyInfo = Pango.Enums.EllipsizeMode
    type AttrGetType SuggestionPopoverSubtitleEllipsizePropertyInfo = Pango.Enums.EllipsizeMode
    type AttrLabel SuggestionPopoverSubtitleEllipsizePropertyInfo = "subtitle-ellipsize"
    type AttrOrigin SuggestionPopoverSubtitleEllipsizePropertyInfo = SuggestionPopover
    attrGet = getSuggestionPopoverSubtitleEllipsize
    attrSet = setSuggestionPopoverSubtitleEllipsize
    attrTransfer _ v = do
        return v
    attrConstruct = constructSuggestionPopoverSubtitleEllipsize
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.SuggestionPopover.subtitleEllipsize"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-SuggestionPopover.html#g:attr:subtitleEllipsize"
        })
#endif

-- VVV Prop "title-ellipsize"
   -- Type: TInterface (Name {namespace = "Pango", name = "EllipsizeMode"})
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Nothing,Nothing)

-- | Get the value of the “@title-ellipsize@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' suggestionPopover #titleEllipsize
-- @
getSuggestionPopoverTitleEllipsize :: (MonadIO m, IsSuggestionPopover o) => o -> m Pango.Enums.EllipsizeMode
getSuggestionPopoverTitleEllipsize :: forall (m :: * -> *) o.
(MonadIO m, IsSuggestionPopover o) =>
o -> m EllipsizeMode
getSuggestionPopoverTitleEllipsize o
obj = IO EllipsizeMode -> m EllipsizeMode
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO EllipsizeMode -> m EllipsizeMode)
-> IO EllipsizeMode -> m EllipsizeMode
forall a b. (a -> b) -> a -> b
$ o -> String -> IO EllipsizeMode
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"title-ellipsize"

-- | Set the value of the “@title-ellipsize@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' suggestionPopover [ #titleEllipsize 'Data.GI.Base.Attributes.:=' value ]
-- @
setSuggestionPopoverTitleEllipsize :: (MonadIO m, IsSuggestionPopover o) => o -> Pango.Enums.EllipsizeMode -> m ()
setSuggestionPopoverTitleEllipsize :: forall (m :: * -> *) o.
(MonadIO m, IsSuggestionPopover o) =>
o -> EllipsizeMode -> m ()
setSuggestionPopoverTitleEllipsize o
obj EllipsizeMode
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 -> EllipsizeMode -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"title-ellipsize" EllipsizeMode
val

-- | Construct a `GValueConstruct` with valid value for the “@title-ellipsize@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructSuggestionPopoverTitleEllipsize :: (IsSuggestionPopover o, MIO.MonadIO m) => Pango.Enums.EllipsizeMode -> m (GValueConstruct o)
constructSuggestionPopoverTitleEllipsize :: forall o (m :: * -> *).
(IsSuggestionPopover o, MonadIO m) =>
EllipsizeMode -> m (GValueConstruct o)
constructSuggestionPopoverTitleEllipsize EllipsizeMode
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 -> EllipsizeMode -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"title-ellipsize" EllipsizeMode
val

#if defined(ENABLE_OVERLOADING)
data SuggestionPopoverTitleEllipsizePropertyInfo
instance AttrInfo SuggestionPopoverTitleEllipsizePropertyInfo where
    type AttrAllowedOps SuggestionPopoverTitleEllipsizePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint SuggestionPopoverTitleEllipsizePropertyInfo = IsSuggestionPopover
    type AttrSetTypeConstraint SuggestionPopoverTitleEllipsizePropertyInfo = (~) Pango.Enums.EllipsizeMode
    type AttrTransferTypeConstraint SuggestionPopoverTitleEllipsizePropertyInfo = (~) Pango.Enums.EllipsizeMode
    type AttrTransferType SuggestionPopoverTitleEllipsizePropertyInfo = Pango.Enums.EllipsizeMode
    type AttrGetType SuggestionPopoverTitleEllipsizePropertyInfo = Pango.Enums.EllipsizeMode
    type AttrLabel SuggestionPopoverTitleEllipsizePropertyInfo = "title-ellipsize"
    type AttrOrigin SuggestionPopoverTitleEllipsizePropertyInfo = SuggestionPopover
    attrGet = getSuggestionPopoverTitleEllipsize
    attrSet = setSuggestionPopoverTitleEllipsize
    attrTransfer _ v = do
        return v
    attrConstruct = constructSuggestionPopoverTitleEllipsize
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.SuggestionPopover.titleEllipsize"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-SuggestionPopover.html#g:attr:titleEllipsize"
        })
#endif

#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList SuggestionPopover
type instance O.AttributeList SuggestionPopover = SuggestionPopoverAttributeList
type SuggestionPopoverAttributeList = ('[ '("acceptFocus", Gtk.Window.WindowAcceptFocusPropertyInfo), '("appPaintable", Gtk.Widget.WidgetAppPaintablePropertyInfo), '("application", Gtk.Window.WindowApplicationPropertyInfo), '("attachedTo", Gtk.Window.WindowAttachedToPropertyInfo), '("borderWidth", Gtk.Container.ContainerBorderWidthPropertyInfo), '("canDefault", Gtk.Widget.WidgetCanDefaultPropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("child", Gtk.Container.ContainerChildPropertyInfo), '("compositeChild", Gtk.Widget.WidgetCompositeChildPropertyInfo), '("decorated", Gtk.Window.WindowDecoratedPropertyInfo), '("defaultHeight", Gtk.Window.WindowDefaultHeightPropertyInfo), '("defaultWidth", Gtk.Window.WindowDefaultWidthPropertyInfo), '("deletable", Gtk.Window.WindowDeletablePropertyInfo), '("destroyWithParent", Gtk.Window.WindowDestroyWithParentPropertyInfo), '("doubleBuffered", Gtk.Widget.WidgetDoubleBufferedPropertyInfo), '("events", Gtk.Widget.WidgetEventsPropertyInfo), '("expand", Gtk.Widget.WidgetExpandPropertyInfo), '("focusOnClick", Gtk.Widget.WidgetFocusOnClickPropertyInfo), '("focusOnMap", Gtk.Window.WindowFocusOnMapPropertyInfo), '("focusVisible", Gtk.Window.WindowFocusVisiblePropertyInfo), '("gravity", Gtk.Window.WindowGravityPropertyInfo), '("halign", Gtk.Widget.WidgetHalignPropertyInfo), '("hasDefault", Gtk.Widget.WidgetHasDefaultPropertyInfo), '("hasFocus", Gtk.Widget.WidgetHasFocusPropertyInfo), '("hasResizeGrip", Gtk.Window.WindowHasResizeGripPropertyInfo), '("hasTooltip", Gtk.Widget.WidgetHasTooltipPropertyInfo), '("hasToplevelFocus", Gtk.Window.WindowHasToplevelFocusPropertyInfo), '("heightRequest", Gtk.Widget.WidgetHeightRequestPropertyInfo), '("hexpand", Gtk.Widget.WidgetHexpandPropertyInfo), '("hexpandSet", Gtk.Widget.WidgetHexpandSetPropertyInfo), '("hideTitlebarWhenMaximized", Gtk.Window.WindowHideTitlebarWhenMaximizedPropertyInfo), '("icon", Gtk.Window.WindowIconPropertyInfo), '("iconName", Gtk.Window.WindowIconNamePropertyInfo), '("isActive", Gtk.Window.WindowIsActivePropertyInfo), '("isFocus", Gtk.Widget.WidgetIsFocusPropertyInfo), '("isMaximized", Gtk.Window.WindowIsMaximizedPropertyInfo), '("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), '("mnemonicsVisible", Gtk.Window.WindowMnemonicsVisiblePropertyInfo), '("modal", Gtk.Window.WindowModalPropertyInfo), '("model", SuggestionPopoverModelPropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("noShowAll", Gtk.Widget.WidgetNoShowAllPropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("relativeTo", SuggestionPopoverRelativeToPropertyInfo), '("resizable", Gtk.Window.WindowResizablePropertyInfo), '("resizeGripVisible", Gtk.Window.WindowResizeGripVisiblePropertyInfo), '("resizeMode", Gtk.Container.ContainerResizeModePropertyInfo), '("role", Gtk.Window.WindowRolePropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("screen", Gtk.Window.WindowScreenPropertyInfo), '("selected", SuggestionPopoverSelectedPropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("skipPagerHint", Gtk.Window.WindowSkipPagerHintPropertyInfo), '("skipTaskbarHint", Gtk.Window.WindowSkipTaskbarHintPropertyInfo), '("startupId", Gtk.Window.WindowStartupIdPropertyInfo), '("style", Gtk.Widget.WidgetStylePropertyInfo), '("subtitleEllipsize", SuggestionPopoverSubtitleEllipsizePropertyInfo), '("title", Gtk.Window.WindowTitlePropertyInfo), '("titleEllipsize", SuggestionPopoverTitleEllipsizePropertyInfo), '("tooltipMarkup", Gtk.Widget.WidgetTooltipMarkupPropertyInfo), '("tooltipText", Gtk.Widget.WidgetTooltipTextPropertyInfo), '("transientFor", Gtk.Window.WindowTransientForPropertyInfo), '("type", Gtk.Window.WindowTypePropertyInfo), '("typeHint", Gtk.Window.WindowTypeHintPropertyInfo), '("urgencyHint", Gtk.Window.WindowUrgencyHintPropertyInfo), '("valign", Gtk.Widget.WidgetValignPropertyInfo), '("vexpand", Gtk.Widget.WidgetVexpandPropertyInfo), '("vexpandSet", Gtk.Widget.WidgetVexpandSetPropertyInfo), '("visible", Gtk.Widget.WidgetVisiblePropertyInfo), '("widthRequest", Gtk.Widget.WidgetWidthRequestPropertyInfo), '("window", Gtk.Widget.WidgetWindowPropertyInfo), '("windowPosition", Gtk.Window.WindowWindowPositionPropertyInfo)] :: [(Symbol, DK.Type)])
#endif

#if defined(ENABLE_OVERLOADING)
suggestionPopoverModel :: AttrLabelProxy "model"
suggestionPopoverModel = AttrLabelProxy

suggestionPopoverRelativeTo :: AttrLabelProxy "relativeTo"
suggestionPopoverRelativeTo = AttrLabelProxy

suggestionPopoverSelected :: AttrLabelProxy "selected"
suggestionPopoverSelected = AttrLabelProxy

suggestionPopoverSubtitleEllipsize :: AttrLabelProxy "subtitleEllipsize"
suggestionPopoverSubtitleEllipsize = AttrLabelProxy

suggestionPopoverTitleEllipsize :: AttrLabelProxy "titleEllipsize"
suggestionPopoverTitleEllipsize = AttrLabelProxy

#endif

#if defined(ENABLE_OVERLOADING)
type instance O.SignalList SuggestionPopover = SuggestionPopoverSignalList
type SuggestionPopoverSignalList = ('[ '("accelClosuresChanged", Gtk.Widget.WidgetAccelClosuresChangedSignalInfo), '("activateDefault", Gtk.Window.WindowActivateDefaultSignalInfo), '("activateFocus", Gtk.Window.WindowActivateFocusSignalInfo), '("add", Gtk.Container.ContainerAddSignalInfo), '("buttonPressEvent", Gtk.Widget.WidgetButtonPressEventSignalInfo), '("buttonReleaseEvent", Gtk.Widget.WidgetButtonReleaseEventSignalInfo), '("canActivateAccel", Gtk.Widget.WidgetCanActivateAccelSignalInfo), '("checkResize", Gtk.Container.ContainerCheckResizeSignalInfo), '("childNotify", Gtk.Widget.WidgetChildNotifySignalInfo), '("compositedChanged", Gtk.Widget.WidgetCompositedChangedSignalInfo), '("configureEvent", Gtk.Widget.WidgetConfigureEventSignalInfo), '("damageEvent", Gtk.Widget.WidgetDamageEventSignalInfo), '("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), '("enableDebugging", Gtk.Window.WindowEnableDebuggingSignalInfo), '("enterNotifyEvent", Gtk.Widget.WidgetEnterNotifyEventSignalInfo), '("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), '("keyPressEvent", Gtk.Widget.WidgetKeyPressEventSignalInfo), '("keyReleaseEvent", Gtk.Widget.WidgetKeyReleaseEventSignalInfo), '("keynavFailed", Gtk.Widget.WidgetKeynavFailedSignalInfo), '("keysChanged", Gtk.Window.WindowKeysChangedSignalInfo), '("leaveNotifyEvent", Gtk.Widget.WidgetLeaveNotifyEventSignalInfo), '("map", Gtk.Widget.WidgetMapSignalInfo), '("mapEvent", Gtk.Widget.WidgetMapEventSignalInfo), '("mnemonicActivate", Gtk.Widget.WidgetMnemonicActivateSignalInfo), '("motionNotifyEvent", Gtk.Widget.WidgetMotionNotifyEventSignalInfo), '("moveFocus", Gtk.Widget.WidgetMoveFocusSignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo), '("parentSet", Gtk.Widget.WidgetParentSetSignalInfo), '("popupMenu", Gtk.Widget.WidgetPopupMenuSignalInfo), '("propertyNotifyEvent", Gtk.Widget.WidgetPropertyNotifyEventSignalInfo), '("proximityInEvent", Gtk.Widget.WidgetProximityInEventSignalInfo), '("proximityOutEvent", Gtk.Widget.WidgetProximityOutEventSignalInfo), '("queryTooltip", Gtk.Widget.WidgetQueryTooltipSignalInfo), '("realize", Gtk.Widget.WidgetRealizeSignalInfo), '("remove", Gtk.Container.ContainerRemoveSignalInfo), '("screenChanged", Gtk.Widget.WidgetScreenChangedSignalInfo), '("scrollEvent", Gtk.Widget.WidgetScrollEventSignalInfo), '("selectionClearEvent", Gtk.Widget.WidgetSelectionClearEventSignalInfo), '("selectionGet", Gtk.Widget.WidgetSelectionGetSignalInfo), '("selectionNotifyEvent", Gtk.Widget.WidgetSelectionNotifyEventSignalInfo), '("selectionReceived", Gtk.Widget.WidgetSelectionReceivedSignalInfo), '("selectionRequestEvent", Gtk.Widget.WidgetSelectionRequestEventSignalInfo), '("setFocus", Gtk.Window.WindowSetFocusSignalInfo), '("setFocusChild", Gtk.Container.ContainerSetFocusChildSignalInfo), '("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), '("suggestionActivated", SuggestionPopoverSuggestionActivatedSignalInfo), '("touchEvent", Gtk.Widget.WidgetTouchEventSignalInfo), '("unmap", Gtk.Widget.WidgetUnmapSignalInfo), '("unmapEvent", Gtk.Widget.WidgetUnmapEventSignalInfo), '("unrealize", Gtk.Widget.WidgetUnrealizeSignalInfo), '("visibilityNotifyEvent", Gtk.Widget.WidgetVisibilityNotifyEventSignalInfo), '("windowStateEvent", Gtk.Widget.WidgetWindowStateEventSignalInfo)] :: [(Symbol, DK.Type)])

#endif

-- method SuggestionPopover::new
-- method type : Constructor
-- Args: []
-- Lengths: []
-- returnType: Just
--               (TInterface
--                  Name { namespace = "Dazzle" , name = "SuggestionPopover" })
-- throws : False
-- Skip return : False

foreign import ccall "dzl_suggestion_popover_new" dzl_suggestion_popover_new :: 
    IO (Ptr SuggestionPopover)

-- | /No description available in the introspection data./
suggestionPopoverNew ::
    (B.CallStack.HasCallStack, MonadIO m) =>
    m SuggestionPopover
suggestionPopoverNew :: forall (m :: * -> *).
(HasCallStack, MonadIO m) =>
m SuggestionPopover
suggestionPopoverNew  = IO SuggestionPopover -> m SuggestionPopover
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SuggestionPopover -> m SuggestionPopover)
-> IO SuggestionPopover -> m SuggestionPopover
forall a b. (a -> b) -> a -> b
$ do
    Ptr SuggestionPopover
result <- IO (Ptr SuggestionPopover)
dzl_suggestion_popover_new
    Text -> Ptr SuggestionPopover -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"suggestionPopoverNew" Ptr SuggestionPopover
result
    SuggestionPopover
result' <- ((ManagedPtr SuggestionPopover -> SuggestionPopover)
-> Ptr SuggestionPopover -> IO SuggestionPopover
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr SuggestionPopover -> SuggestionPopover
SuggestionPopover) Ptr SuggestionPopover
result
    SuggestionPopover -> IO SuggestionPopover
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return SuggestionPopover
result'

#if defined(ENABLE_OVERLOADING)
#endif

-- method SuggestionPopover::activate_selected
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Dazzle" , name = "SuggestionPopover" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation { rawDocText = Nothing , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "dzl_suggestion_popover_activate_selected" dzl_suggestion_popover_activate_selected :: 
    Ptr SuggestionPopover ->                -- self : TInterface (Name {namespace = "Dazzle", name = "SuggestionPopover"})
    IO ()

-- | /No description available in the introspection data./
suggestionPopoverActivateSelected ::
    (B.CallStack.HasCallStack, MonadIO m, IsSuggestionPopover a) =>
    a
    -> m ()
suggestionPopoverActivateSelected :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSuggestionPopover a) =>
a -> m ()
suggestionPopoverActivateSelected a
self = 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 SuggestionPopover
self' <- a -> IO (Ptr SuggestionPopover)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr SuggestionPopover -> IO ()
dzl_suggestion_popover_activate_selected Ptr SuggestionPopover
self'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data SuggestionPopoverActivateSelectedMethodInfo
instance (signature ~ (m ()), MonadIO m, IsSuggestionPopover a) => O.OverloadedMethod SuggestionPopoverActivateSelectedMethodInfo a signature where
    overloadedMethod = suggestionPopoverActivateSelected

instance O.OverloadedMethodInfo SuggestionPopoverActivateSelectedMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.SuggestionPopover.suggestionPopoverActivateSelected",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-SuggestionPopover.html#v:suggestionPopoverActivateSelected"
        })


#endif

-- method SuggestionPopover::get_model
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Dazzle" , name = "SuggestionPopover" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a #DzlSuggestionPopover"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TInterface Name { namespace = "Gio" , name = "ListModel" })
-- throws : False
-- Skip return : False

foreign import ccall "dzl_suggestion_popover_get_model" dzl_suggestion_popover_get_model :: 
    Ptr SuggestionPopover ->                -- self : TInterface (Name {namespace = "Dazzle", name = "SuggestionPopover"})
    IO (Ptr Gio.ListModel.ListModel)

-- | Gets the model being visualized.
suggestionPopoverGetModel ::
    (B.CallStack.HasCallStack, MonadIO m, IsSuggestionPopover a) =>
    a
    -- ^ /@self@/: a t'GI.Dazzle.Objects.SuggestionPopover.SuggestionPopover'
    -> m (Maybe Gio.ListModel.ListModel)
    -- ^ __Returns:__ A t'GI.Gio.Interfaces.ListModel.ListModel' or 'P.Nothing'.
suggestionPopoverGetModel :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSuggestionPopover a) =>
a -> m (Maybe ListModel)
suggestionPopoverGetModel a
self = IO (Maybe ListModel) -> m (Maybe ListModel)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe ListModel) -> m (Maybe ListModel))
-> IO (Maybe ListModel) -> m (Maybe ListModel)
forall a b. (a -> b) -> a -> b
$ do
    Ptr SuggestionPopover
self' <- a -> IO (Ptr SuggestionPopover)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr ListModel
result <- Ptr SuggestionPopover -> IO (Ptr ListModel)
dzl_suggestion_popover_get_model Ptr SuggestionPopover
self'
    Maybe ListModel
maybeResult <- Ptr ListModel
-> (Ptr ListModel -> IO ListModel) -> IO (Maybe ListModel)
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull Ptr ListModel
result ((Ptr ListModel -> IO ListModel) -> IO (Maybe ListModel))
-> (Ptr ListModel -> IO ListModel) -> IO (Maybe ListModel)
forall a b. (a -> b) -> a -> b
$ \Ptr ListModel
result' -> do
        ListModel
result'' <- ((ManagedPtr ListModel -> ListModel)
-> Ptr ListModel -> IO ListModel
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr ListModel -> ListModel
Gio.ListModel.ListModel) Ptr ListModel
result'
        ListModel -> IO ListModel
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ListModel
result''
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Maybe ListModel -> IO (Maybe ListModel)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe ListModel
maybeResult

#if defined(ENABLE_OVERLOADING)
data SuggestionPopoverGetModelMethodInfo
instance (signature ~ (m (Maybe Gio.ListModel.ListModel)), MonadIO m, IsSuggestionPopover a) => O.OverloadedMethod SuggestionPopoverGetModelMethodInfo a signature where
    overloadedMethod = suggestionPopoverGetModel

instance O.OverloadedMethodInfo SuggestionPopoverGetModelMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.SuggestionPopover.suggestionPopoverGetModel",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-SuggestionPopover.html#v:suggestionPopoverGetModel"
        })


#endif

-- method SuggestionPopover::get_relative_to
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Dazzle" , name = "SuggestionPopover" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a #DzlSuggestionPopover"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TInterface Name { namespace = "Gtk" , name = "Widget" })
-- throws : False
-- Skip return : False

foreign import ccall "dzl_suggestion_popover_get_relative_to" dzl_suggestion_popover_get_relative_to :: 
    Ptr SuggestionPopover ->                -- self : TInterface (Name {namespace = "Dazzle", name = "SuggestionPopover"})
    IO (Ptr Gtk.Widget.Widget)

-- | /No description available in the introspection data./
suggestionPopoverGetRelativeTo ::
    (B.CallStack.HasCallStack, MonadIO m, IsSuggestionPopover a) =>
    a
    -- ^ /@self@/: a t'GI.Dazzle.Objects.SuggestionPopover.SuggestionPopover'
    -> m (Maybe Gtk.Widget.Widget)
    -- ^ __Returns:__ A t'GI.Gtk.Objects.Widget.Widget' or 'P.Nothing'.
suggestionPopoverGetRelativeTo :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSuggestionPopover a) =>
a -> m (Maybe Widget)
suggestionPopoverGetRelativeTo a
self = IO (Maybe Widget) -> m (Maybe Widget)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe Widget) -> m (Maybe Widget))
-> IO (Maybe Widget) -> m (Maybe Widget)
forall a b. (a -> b) -> a -> b
$ do
    Ptr SuggestionPopover
self' <- a -> IO (Ptr SuggestionPopover)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr Widget
result <- Ptr SuggestionPopover -> IO (Ptr Widget)
dzl_suggestion_popover_get_relative_to Ptr SuggestionPopover
self'
    Maybe Widget
maybeResult <- Ptr Widget -> (Ptr Widget -> IO Widget) -> IO (Maybe Widget)
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull Ptr Widget
result ((Ptr Widget -> IO Widget) -> IO (Maybe Widget))
-> (Ptr Widget -> IO Widget) -> IO (Maybe Widget)
forall a b. (a -> b) -> a -> b
$ \Ptr Widget
result' -> do
        Widget
result'' <- ((ManagedPtr Widget -> Widget) -> Ptr Widget -> IO Widget
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Widget -> Widget
Gtk.Widget.Widget) Ptr Widget
result'
        Widget -> IO Widget
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Widget
result''
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Maybe Widget -> IO (Maybe Widget)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe Widget
maybeResult

#if defined(ENABLE_OVERLOADING)
data SuggestionPopoverGetRelativeToMethodInfo
instance (signature ~ (m (Maybe Gtk.Widget.Widget)), MonadIO m, IsSuggestionPopover a) => O.OverloadedMethod SuggestionPopoverGetRelativeToMethodInfo a signature where
    overloadedMethod = suggestionPopoverGetRelativeTo

instance O.OverloadedMethodInfo SuggestionPopoverGetRelativeToMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.SuggestionPopover.suggestionPopoverGetRelativeTo",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-SuggestionPopover.html#v:suggestionPopoverGetRelativeTo"
        })


#endif

-- method SuggestionPopover::get_selected
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Dazzle" , name = "SuggestionPopover" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a #DzlSuggestionPopover"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just
--               (TInterface Name { namespace = "Dazzle" , name = "Suggestion" })
-- throws : False
-- Skip return : False

foreign import ccall "dzl_suggestion_popover_get_selected" dzl_suggestion_popover_get_selected :: 
    Ptr SuggestionPopover ->                -- self : TInterface (Name {namespace = "Dazzle", name = "SuggestionPopover"})
    IO (Ptr Dazzle.Suggestion.Suggestion)

-- | Gets the currently selected suggestion.
suggestionPopoverGetSelected ::
    (B.CallStack.HasCallStack, MonadIO m, IsSuggestionPopover a) =>
    a
    -- ^ /@self@/: a t'GI.Dazzle.Objects.SuggestionPopover.SuggestionPopover'
    -> m (Maybe Dazzle.Suggestion.Suggestion)
    -- ^ __Returns:__ An t'GI.Dazzle.Objects.Suggestion.Suggestion' or 'P.Nothing'.
suggestionPopoverGetSelected :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSuggestionPopover a) =>
a -> m (Maybe Suggestion)
suggestionPopoverGetSelected a
self = IO (Maybe Suggestion) -> m (Maybe Suggestion)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe Suggestion) -> m (Maybe Suggestion))
-> IO (Maybe Suggestion) -> m (Maybe Suggestion)
forall a b. (a -> b) -> a -> b
$ do
    Ptr SuggestionPopover
self' <- a -> IO (Ptr SuggestionPopover)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr Suggestion
result <- Ptr SuggestionPopover -> IO (Ptr Suggestion)
dzl_suggestion_popover_get_selected Ptr SuggestionPopover
self'
    Maybe Suggestion
maybeResult <- Ptr Suggestion
-> (Ptr Suggestion -> IO Suggestion) -> IO (Maybe Suggestion)
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull Ptr Suggestion
result ((Ptr Suggestion -> IO Suggestion) -> IO (Maybe Suggestion))
-> (Ptr Suggestion -> IO Suggestion) -> IO (Maybe Suggestion)
forall a b. (a -> b) -> a -> b
$ \Ptr Suggestion
result' -> do
        Suggestion
result'' <- ((ManagedPtr Suggestion -> Suggestion)
-> Ptr Suggestion -> IO Suggestion
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Suggestion -> Suggestion
Dazzle.Suggestion.Suggestion) Ptr Suggestion
result'
        Suggestion -> IO Suggestion
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Suggestion
result''
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Maybe Suggestion -> IO (Maybe Suggestion)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe Suggestion
maybeResult

#if defined(ENABLE_OVERLOADING)
data SuggestionPopoverGetSelectedMethodInfo
instance (signature ~ (m (Maybe Dazzle.Suggestion.Suggestion)), MonadIO m, IsSuggestionPopover a) => O.OverloadedMethod SuggestionPopoverGetSelectedMethodInfo a signature where
    overloadedMethod = suggestionPopoverGetSelected

instance O.OverloadedMethodInfo SuggestionPopoverGetSelectedMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.SuggestionPopover.suggestionPopoverGetSelected",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-SuggestionPopover.html#v:suggestionPopoverGetSelected"
        })


#endif

-- method SuggestionPopover::move_by
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Dazzle" , name = "SuggestionPopover" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation { rawDocText = Nothing , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "amount"
--           , argType = TBasicType TInt
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation { rawDocText = Nothing , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "dzl_suggestion_popover_move_by" dzl_suggestion_popover_move_by :: 
    Ptr SuggestionPopover ->                -- self : TInterface (Name {namespace = "Dazzle", name = "SuggestionPopover"})
    Int32 ->                                -- amount : TBasicType TInt
    IO ()

-- | /No description available in the introspection data./
suggestionPopoverMoveBy ::
    (B.CallStack.HasCallStack, MonadIO m, IsSuggestionPopover a) =>
    a
    -> Int32
    -> m ()
suggestionPopoverMoveBy :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSuggestionPopover a) =>
a -> Int32 -> m ()
suggestionPopoverMoveBy a
self Int32
amount = 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 SuggestionPopover
self' <- a -> IO (Ptr SuggestionPopover)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr SuggestionPopover -> Int32 -> IO ()
dzl_suggestion_popover_move_by Ptr SuggestionPopover
self' Int32
amount
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data SuggestionPopoverMoveByMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsSuggestionPopover a) => O.OverloadedMethod SuggestionPopoverMoveByMethodInfo a signature where
    overloadedMethod = suggestionPopoverMoveBy

instance O.OverloadedMethodInfo SuggestionPopoverMoveByMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.SuggestionPopover.suggestionPopoverMoveBy",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-SuggestionPopover.html#v:suggestionPopoverMoveBy"
        })


#endif

-- method SuggestionPopover::popdown
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Dazzle" , name = "SuggestionPopover" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation { rawDocText = Nothing , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "dzl_suggestion_popover_popdown" dzl_suggestion_popover_popdown :: 
    Ptr SuggestionPopover ->                -- self : TInterface (Name {namespace = "Dazzle", name = "SuggestionPopover"})
    IO ()

-- | /No description available in the introspection data./
suggestionPopoverPopdown ::
    (B.CallStack.HasCallStack, MonadIO m, IsSuggestionPopover a) =>
    a
    -> m ()
suggestionPopoverPopdown :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSuggestionPopover a) =>
a -> m ()
suggestionPopoverPopdown a
self = 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 SuggestionPopover
self' <- a -> IO (Ptr SuggestionPopover)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr SuggestionPopover -> IO ()
dzl_suggestion_popover_popdown Ptr SuggestionPopover
self'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data SuggestionPopoverPopdownMethodInfo
instance (signature ~ (m ()), MonadIO m, IsSuggestionPopover a) => O.OverloadedMethod SuggestionPopoverPopdownMethodInfo a signature where
    overloadedMethod = suggestionPopoverPopdown

instance O.OverloadedMethodInfo SuggestionPopoverPopdownMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.SuggestionPopover.suggestionPopoverPopdown",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-SuggestionPopover.html#v:suggestionPopoverPopdown"
        })


#endif

-- method SuggestionPopover::popup
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Dazzle" , name = "SuggestionPopover" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation { rawDocText = Nothing , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "dzl_suggestion_popover_popup" dzl_suggestion_popover_popup :: 
    Ptr SuggestionPopover ->                -- self : TInterface (Name {namespace = "Dazzle", name = "SuggestionPopover"})
    IO ()

-- | /No description available in the introspection data./
suggestionPopoverPopup ::
    (B.CallStack.HasCallStack, MonadIO m, IsSuggestionPopover a) =>
    a
    -> m ()
suggestionPopoverPopup :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSuggestionPopover a) =>
a -> m ()
suggestionPopoverPopup a
self = 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 SuggestionPopover
self' <- a -> IO (Ptr SuggestionPopover)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr SuggestionPopover -> IO ()
dzl_suggestion_popover_popup Ptr SuggestionPopover
self'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data SuggestionPopoverPopupMethodInfo
instance (signature ~ (m ()), MonadIO m, IsSuggestionPopover a) => O.OverloadedMethod SuggestionPopoverPopupMethodInfo a signature where
    overloadedMethod = suggestionPopoverPopup

instance O.OverloadedMethodInfo SuggestionPopoverPopupMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.SuggestionPopover.suggestionPopoverPopup",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-SuggestionPopover.html#v:suggestionPopoverPopup"
        })


#endif

-- method SuggestionPopover::set_model
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Dazzle" , name = "SuggestionPopover" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation { rawDocText = Nothing , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "model"
--           , argType =
--               TInterface Name { namespace = "Gio" , name = "ListModel" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation { rawDocText = Nothing , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "dzl_suggestion_popover_set_model" dzl_suggestion_popover_set_model :: 
    Ptr SuggestionPopover ->                -- self : TInterface (Name {namespace = "Dazzle", name = "SuggestionPopover"})
    Ptr Gio.ListModel.ListModel ->          -- model : TInterface (Name {namespace = "Gio", name = "ListModel"})
    IO ()

-- | /No description available in the introspection data./
suggestionPopoverSetModel ::
    (B.CallStack.HasCallStack, MonadIO m, IsSuggestionPopover a, Gio.ListModel.IsListModel b) =>
    a
    -> b
    -> m ()
suggestionPopoverSetModel :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsSuggestionPopover a, IsListModel b) =>
a -> b -> m ()
suggestionPopoverSetModel a
self b
model = 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 SuggestionPopover
self' <- a -> IO (Ptr SuggestionPopover)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr ListModel
model' <- b -> IO (Ptr ListModel)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
model
    Ptr SuggestionPopover -> Ptr ListModel -> IO ()
dzl_suggestion_popover_set_model Ptr SuggestionPopover
self' Ptr ListModel
model'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
model
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data SuggestionPopoverSetModelMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsSuggestionPopover a, Gio.ListModel.IsListModel b) => O.OverloadedMethod SuggestionPopoverSetModelMethodInfo a signature where
    overloadedMethod = suggestionPopoverSetModel

instance O.OverloadedMethodInfo SuggestionPopoverSetModelMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.SuggestionPopover.suggestionPopoverSetModel",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-SuggestionPopover.html#v:suggestionPopoverSetModel"
        })


#endif

-- method SuggestionPopover::set_relative_to
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Dazzle" , name = "SuggestionPopover" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation { rawDocText = Nothing , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "widget"
--           , argType = TInterface Name { namespace = "Gtk" , name = "Widget" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation { rawDocText = Nothing , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "dzl_suggestion_popover_set_relative_to" dzl_suggestion_popover_set_relative_to :: 
    Ptr SuggestionPopover ->                -- self : TInterface (Name {namespace = "Dazzle", name = "SuggestionPopover"})
    Ptr Gtk.Widget.Widget ->                -- widget : TInterface (Name {namespace = "Gtk", name = "Widget"})
    IO ()

-- | /No description available in the introspection data./
suggestionPopoverSetRelativeTo ::
    (B.CallStack.HasCallStack, MonadIO m, IsSuggestionPopover a, Gtk.Widget.IsWidget b) =>
    a
    -> b
    -> m ()
suggestionPopoverSetRelativeTo :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsSuggestionPopover a, IsWidget b) =>
a -> b -> m ()
suggestionPopoverSetRelativeTo a
self b
widget = 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 SuggestionPopover
self' <- a -> IO (Ptr SuggestionPopover)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr Widget
widget' <- b -> IO (Ptr Widget)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
widget
    Ptr SuggestionPopover -> Ptr Widget -> IO ()
dzl_suggestion_popover_set_relative_to Ptr SuggestionPopover
self' Ptr Widget
widget'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
widget
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data SuggestionPopoverSetRelativeToMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsSuggestionPopover a, Gtk.Widget.IsWidget b) => O.OverloadedMethod SuggestionPopoverSetRelativeToMethodInfo a signature where
    overloadedMethod = suggestionPopoverSetRelativeTo

instance O.OverloadedMethodInfo SuggestionPopoverSetRelativeToMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.SuggestionPopover.suggestionPopoverSetRelativeTo",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-SuggestionPopover.html#v:suggestionPopoverSetRelativeTo"
        })


#endif

-- method SuggestionPopover::set_selected
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Dazzle" , name = "SuggestionPopover" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation { rawDocText = Nothing , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "suggestion"
--           , argType =
--               TInterface Name { namespace = "Dazzle" , name = "Suggestion" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation { rawDocText = Nothing , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "dzl_suggestion_popover_set_selected" dzl_suggestion_popover_set_selected :: 
    Ptr SuggestionPopover ->                -- self : TInterface (Name {namespace = "Dazzle", name = "SuggestionPopover"})
    Ptr Dazzle.Suggestion.Suggestion ->     -- suggestion : TInterface (Name {namespace = "Dazzle", name = "Suggestion"})
    IO ()

-- | /No description available in the introspection data./
suggestionPopoverSetSelected ::
    (B.CallStack.HasCallStack, MonadIO m, IsSuggestionPopover a, Dazzle.Suggestion.IsSuggestion b) =>
    a
    -> b
    -> m ()
suggestionPopoverSetSelected :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsSuggestionPopover a, IsSuggestion b) =>
a -> b -> m ()
suggestionPopoverSetSelected a
self b
suggestion = 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 SuggestionPopover
self' <- a -> IO (Ptr SuggestionPopover)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr Suggestion
suggestion' <- b -> IO (Ptr Suggestion)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
suggestion
    Ptr SuggestionPopover -> Ptr Suggestion -> IO ()
dzl_suggestion_popover_set_selected Ptr SuggestionPopover
self' Ptr Suggestion
suggestion'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
suggestion
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data SuggestionPopoverSetSelectedMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsSuggestionPopover a, Dazzle.Suggestion.IsSuggestion b) => O.OverloadedMethod SuggestionPopoverSetSelectedMethodInfo a signature where
    overloadedMethod = suggestionPopoverSetSelected

instance O.OverloadedMethodInfo SuggestionPopoverSetSelectedMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Dazzle.Objects.SuggestionPopover.suggestionPopoverSetSelected",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-SuggestionPopover.html#v:suggestionPopoverSetSelected"
        })


#endif