{-# LANGUAGE ImplicitParams, RankNTypes, TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.Gtk.Objects.InfoBar
(
InfoBar(..) ,
IsInfoBar ,
toInfoBar ,
#if defined(ENABLE_OVERLOADING)
ResolveInfoBarMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
InfoBarAddActionWidgetMethodInfo ,
#endif
infoBarAddActionWidget ,
#if defined(ENABLE_OVERLOADING)
InfoBarAddButtonMethodInfo ,
#endif
infoBarAddButton ,
#if defined(ENABLE_OVERLOADING)
InfoBarGetActionAreaMethodInfo ,
#endif
infoBarGetActionArea ,
#if defined(ENABLE_OVERLOADING)
InfoBarGetContentAreaMethodInfo ,
#endif
infoBarGetContentArea ,
#if defined(ENABLE_OVERLOADING)
InfoBarGetMessageTypeMethodInfo ,
#endif
infoBarGetMessageType ,
#if defined(ENABLE_OVERLOADING)
InfoBarGetRevealedMethodInfo ,
#endif
infoBarGetRevealed ,
#if defined(ENABLE_OVERLOADING)
InfoBarGetShowCloseButtonMethodInfo ,
#endif
infoBarGetShowCloseButton ,
infoBarNew ,
#if defined(ENABLE_OVERLOADING)
InfoBarResponseMethodInfo ,
#endif
infoBarResponse ,
#if defined(ENABLE_OVERLOADING)
InfoBarSetDefaultResponseMethodInfo ,
#endif
infoBarSetDefaultResponse ,
#if defined(ENABLE_OVERLOADING)
InfoBarSetMessageTypeMethodInfo ,
#endif
infoBarSetMessageType ,
#if defined(ENABLE_OVERLOADING)
InfoBarSetResponseSensitiveMethodInfo ,
#endif
infoBarSetResponseSensitive ,
#if defined(ENABLE_OVERLOADING)
InfoBarSetRevealedMethodInfo ,
#endif
infoBarSetRevealed ,
#if defined(ENABLE_OVERLOADING)
InfoBarSetShowCloseButtonMethodInfo ,
#endif
infoBarSetShowCloseButton ,
#if defined(ENABLE_OVERLOADING)
InfoBarMessageTypePropertyInfo ,
#endif
constructInfoBarMessageType ,
getInfoBarMessageType ,
#if defined(ENABLE_OVERLOADING)
infoBarMessageType ,
#endif
setInfoBarMessageType ,
#if defined(ENABLE_OVERLOADING)
InfoBarRevealedPropertyInfo ,
#endif
constructInfoBarRevealed ,
getInfoBarRevealed ,
#if defined(ENABLE_OVERLOADING)
infoBarRevealed ,
#endif
setInfoBarRevealed ,
#if defined(ENABLE_OVERLOADING)
InfoBarShowCloseButtonPropertyInfo ,
#endif
constructInfoBarShowCloseButton ,
getInfoBarShowCloseButton ,
#if defined(ENABLE_OVERLOADING)
infoBarShowCloseButton ,
#endif
setInfoBarShowCloseButton ,
InfoBarCloseCallback ,
#if defined(ENABLE_OVERLOADING)
InfoBarCloseSignalInfo ,
#endif
afterInfoBarClose ,
onInfoBarClose ,
InfoBarResponseCallback ,
#if defined(ENABLE_OVERLOADING)
InfoBarResponseSignalInfo ,
#endif
afterInfoBarResponse ,
onInfoBarResponse ,
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.BasicTypes as B.Types
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GArray as B.GArray
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GHashTable as B.GHT
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.GI.Base.Signals as B.Signals
import qualified Control.Monad.IO.Class as MIO
import qualified Data.Coerce as Coerce
import qualified Data.Text as T
import qualified Data.Kind as DK
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
import qualified GHC.Records as R
import qualified GI.Atk.Interfaces.ImplementorIface as Atk.ImplementorIface
import qualified GI.GObject.Objects.Object as GObject.Object
import {-# SOURCE #-} qualified GI.Gtk.Enums as Gtk.Enums
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Orientable as Gtk.Orientable
import {-# SOURCE #-} qualified GI.Gtk.Objects.Box as Gtk.Box
import {-# SOURCE #-} qualified GI.Gtk.Objects.Button as Gtk.Button
import {-# SOURCE #-} qualified GI.Gtk.Objects.Container as Gtk.Container
import {-# SOURCE #-} qualified GI.Gtk.Objects.Widget as Gtk.Widget
newtype InfoBar = InfoBar (SP.ManagedPtr InfoBar)
deriving (InfoBar -> InfoBar -> Bool
(InfoBar -> InfoBar -> Bool)
-> (InfoBar -> InfoBar -> Bool) -> Eq InfoBar
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: InfoBar -> InfoBar -> Bool
== :: InfoBar -> InfoBar -> Bool
$c/= :: InfoBar -> InfoBar -> Bool
/= :: InfoBar -> InfoBar -> Bool
Eq)
instance SP.ManagedPtrNewtype InfoBar where
toManagedPtr :: InfoBar -> ManagedPtr InfoBar
toManagedPtr (InfoBar ManagedPtr InfoBar
p) = ManagedPtr InfoBar
p
foreign import ccall "gtk_info_bar_get_type"
c_gtk_info_bar_get_type :: IO B.Types.GType
instance B.Types.TypedObject InfoBar where
glibType :: IO GType
glibType = IO GType
c_gtk_info_bar_get_type
instance B.Types.GObject InfoBar
class (SP.GObject o, O.IsDescendantOf InfoBar o) => IsInfoBar o
instance (SP.GObject o, O.IsDescendantOf InfoBar o) => IsInfoBar o
instance O.HasParentTypes InfoBar
type instance O.ParentTypes InfoBar = '[Gtk.Box.Box, Gtk.Container.Container, Gtk.Widget.Widget, GObject.Object.Object, Atk.ImplementorIface.ImplementorIface, Gtk.Buildable.Buildable, Gtk.Orientable.Orientable]
toInfoBar :: (MIO.MonadIO m, IsInfoBar o) => o -> m InfoBar
toInfoBar :: forall (m :: * -> *) o. (MonadIO m, IsInfoBar o) => o -> m InfoBar
toInfoBar = IO InfoBar -> m InfoBar
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO InfoBar -> m InfoBar) -> (o -> IO InfoBar) -> o -> m InfoBar
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr InfoBar -> InfoBar) -> o -> IO InfoBar
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr InfoBar -> InfoBar
InfoBar
instance B.GValue.IsGValue (Maybe InfoBar) where
gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_gtk_info_bar_get_type
gvalueSet_ :: Ptr GValue -> Maybe InfoBar -> IO ()
gvalueSet_ Ptr GValue
gv Maybe InfoBar
P.Nothing = Ptr GValue -> Ptr InfoBar -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr InfoBar
forall a. Ptr a
FP.nullPtr :: FP.Ptr InfoBar)
gvalueSet_ Ptr GValue
gv (P.Just InfoBar
obj) = InfoBar -> (Ptr InfoBar -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr InfoBar
obj (Ptr GValue -> Ptr InfoBar -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
gvalueGet_ :: Ptr GValue -> IO (Maybe InfoBar)
gvalueGet_ Ptr GValue
gv = do
Ptr InfoBar
ptr <- Ptr GValue -> IO (Ptr InfoBar)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr InfoBar)
if Ptr InfoBar
ptr Ptr InfoBar -> Ptr InfoBar -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr InfoBar
forall a. Ptr a
FP.nullPtr
then InfoBar -> Maybe InfoBar
forall a. a -> Maybe a
P.Just (InfoBar -> Maybe InfoBar) -> IO InfoBar -> IO (Maybe InfoBar)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr InfoBar -> InfoBar) -> Ptr InfoBar -> IO InfoBar
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr InfoBar -> InfoBar
InfoBar Ptr InfoBar
ptr
else Maybe InfoBar -> IO (Maybe InfoBar)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe InfoBar
forall a. Maybe a
P.Nothing
#if defined(ENABLE_OVERLOADING)
type family ResolveInfoBarMethod (t :: Symbol) (o :: DK.Type) :: DK.Type where
ResolveInfoBarMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
ResolveInfoBarMethod "add" o = Gtk.Container.ContainerAddMethodInfo
ResolveInfoBarMethod "addAccelerator" o = Gtk.Widget.WidgetAddAcceleratorMethodInfo
ResolveInfoBarMethod "addActionWidget" o = InfoBarAddActionWidgetMethodInfo
ResolveInfoBarMethod "addButton" o = InfoBarAddButtonMethodInfo
ResolveInfoBarMethod "addChild" o = Gtk.Buildable.BuildableAddChildMethodInfo
ResolveInfoBarMethod "addDeviceEvents" o = Gtk.Widget.WidgetAddDeviceEventsMethodInfo
ResolveInfoBarMethod "addEvents" o = Gtk.Widget.WidgetAddEventsMethodInfo
ResolveInfoBarMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
ResolveInfoBarMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
ResolveInfoBarMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveInfoBarMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveInfoBarMethod "canActivateAccel" o = Gtk.Widget.WidgetCanActivateAccelMethodInfo
ResolveInfoBarMethod "checkResize" o = Gtk.Container.ContainerCheckResizeMethodInfo
ResolveInfoBarMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
ResolveInfoBarMethod "childGetProperty" o = Gtk.Container.ContainerChildGetPropertyMethodInfo
ResolveInfoBarMethod "childNotify" o = Gtk.Container.ContainerChildNotifyMethodInfo
ResolveInfoBarMethod "childNotifyByPspec" o = Gtk.Container.ContainerChildNotifyByPspecMethodInfo
ResolveInfoBarMethod "childSetProperty" o = Gtk.Container.ContainerChildSetPropertyMethodInfo
ResolveInfoBarMethod "childType" o = Gtk.Container.ContainerChildTypeMethodInfo
ResolveInfoBarMethod "classPath" o = Gtk.Widget.WidgetClassPathMethodInfo
ResolveInfoBarMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
ResolveInfoBarMethod "constructChild" o = Gtk.Buildable.BuildableConstructChildMethodInfo
ResolveInfoBarMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
ResolveInfoBarMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
ResolveInfoBarMethod "customFinished" o = Gtk.Buildable.BuildableCustomFinishedMethodInfo
ResolveInfoBarMethod "customTagEnd" o = Gtk.Buildable.BuildableCustomTagEndMethodInfo
ResolveInfoBarMethod "customTagStart" o = Gtk.Buildable.BuildableCustomTagStartMethodInfo
ResolveInfoBarMethod "destroy" o = Gtk.Widget.WidgetDestroyMethodInfo
ResolveInfoBarMethod "destroyed" o = Gtk.Widget.WidgetDestroyedMethodInfo
ResolveInfoBarMethod "deviceIsShadowed" o = Gtk.Widget.WidgetDeviceIsShadowedMethodInfo
ResolveInfoBarMethod "dragBegin" o = Gtk.Widget.WidgetDragBeginMethodInfo
ResolveInfoBarMethod "dragBeginWithCoordinates" o = Gtk.Widget.WidgetDragBeginWithCoordinatesMethodInfo
ResolveInfoBarMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
ResolveInfoBarMethod "dragDestAddImageTargets" o = Gtk.Widget.WidgetDragDestAddImageTargetsMethodInfo
ResolveInfoBarMethod "dragDestAddTextTargets" o = Gtk.Widget.WidgetDragDestAddTextTargetsMethodInfo
ResolveInfoBarMethod "dragDestAddUriTargets" o = Gtk.Widget.WidgetDragDestAddUriTargetsMethodInfo
ResolveInfoBarMethod "dragDestFindTarget" o = Gtk.Widget.WidgetDragDestFindTargetMethodInfo
ResolveInfoBarMethod "dragDestGetTargetList" o = Gtk.Widget.WidgetDragDestGetTargetListMethodInfo
ResolveInfoBarMethod "dragDestGetTrackMotion" o = Gtk.Widget.WidgetDragDestGetTrackMotionMethodInfo
ResolveInfoBarMethod "dragDestSet" o = Gtk.Widget.WidgetDragDestSetMethodInfo
ResolveInfoBarMethod "dragDestSetProxy" o = Gtk.Widget.WidgetDragDestSetProxyMethodInfo
ResolveInfoBarMethod "dragDestSetTargetList" o = Gtk.Widget.WidgetDragDestSetTargetListMethodInfo
ResolveInfoBarMethod "dragDestSetTrackMotion" o = Gtk.Widget.WidgetDragDestSetTrackMotionMethodInfo
ResolveInfoBarMethod "dragDestUnset" o = Gtk.Widget.WidgetDragDestUnsetMethodInfo
ResolveInfoBarMethod "dragGetData" o = Gtk.Widget.WidgetDragGetDataMethodInfo
ResolveInfoBarMethod "dragHighlight" o = Gtk.Widget.WidgetDragHighlightMethodInfo
ResolveInfoBarMethod "dragSourceAddImageTargets" o = Gtk.Widget.WidgetDragSourceAddImageTargetsMethodInfo
ResolveInfoBarMethod "dragSourceAddTextTargets" o = Gtk.Widget.WidgetDragSourceAddTextTargetsMethodInfo
ResolveInfoBarMethod "dragSourceAddUriTargets" o = Gtk.Widget.WidgetDragSourceAddUriTargetsMethodInfo
ResolveInfoBarMethod "dragSourceGetTargetList" o = Gtk.Widget.WidgetDragSourceGetTargetListMethodInfo
ResolveInfoBarMethod "dragSourceSet" o = Gtk.Widget.WidgetDragSourceSetMethodInfo
ResolveInfoBarMethod "dragSourceSetIconGicon" o = Gtk.Widget.WidgetDragSourceSetIconGiconMethodInfo
ResolveInfoBarMethod "dragSourceSetIconName" o = Gtk.Widget.WidgetDragSourceSetIconNameMethodInfo
ResolveInfoBarMethod "dragSourceSetIconPixbuf" o = Gtk.Widget.WidgetDragSourceSetIconPixbufMethodInfo
ResolveInfoBarMethod "dragSourceSetIconStock" o = Gtk.Widget.WidgetDragSourceSetIconStockMethodInfo
ResolveInfoBarMethod "dragSourceSetTargetList" o = Gtk.Widget.WidgetDragSourceSetTargetListMethodInfo
ResolveInfoBarMethod "dragSourceUnset" o = Gtk.Widget.WidgetDragSourceUnsetMethodInfo
ResolveInfoBarMethod "dragUnhighlight" o = Gtk.Widget.WidgetDragUnhighlightMethodInfo
ResolveInfoBarMethod "draw" o = Gtk.Widget.WidgetDrawMethodInfo
ResolveInfoBarMethod "ensureStyle" o = Gtk.Widget.WidgetEnsureStyleMethodInfo
ResolveInfoBarMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
ResolveInfoBarMethod "event" o = Gtk.Widget.WidgetEventMethodInfo
ResolveInfoBarMethod "forall" o = Gtk.Container.ContainerForallMethodInfo
ResolveInfoBarMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveInfoBarMethod "foreach" o = Gtk.Container.ContainerForeachMethodInfo
ResolveInfoBarMethod "freezeChildNotify" o = Gtk.Widget.WidgetFreezeChildNotifyMethodInfo
ResolveInfoBarMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveInfoBarMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveInfoBarMethod "grabAdd" o = Gtk.Widget.WidgetGrabAddMethodInfo
ResolveInfoBarMethod "grabDefault" o = Gtk.Widget.WidgetGrabDefaultMethodInfo
ResolveInfoBarMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
ResolveInfoBarMethod "grabRemove" o = Gtk.Widget.WidgetGrabRemoveMethodInfo
ResolveInfoBarMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
ResolveInfoBarMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
ResolveInfoBarMethod "hasGrab" o = Gtk.Widget.WidgetHasGrabMethodInfo
ResolveInfoBarMethod "hasRcStyle" o = Gtk.Widget.WidgetHasRcStyleMethodInfo
ResolveInfoBarMethod "hasScreen" o = Gtk.Widget.WidgetHasScreenMethodInfo
ResolveInfoBarMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
ResolveInfoBarMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
ResolveInfoBarMethod "hideOnDelete" o = Gtk.Widget.WidgetHideOnDeleteMethodInfo
ResolveInfoBarMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
ResolveInfoBarMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
ResolveInfoBarMethod "inputShapeCombineRegion" o = Gtk.Widget.WidgetInputShapeCombineRegionMethodInfo
ResolveInfoBarMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
ResolveInfoBarMethod "intersect" o = Gtk.Widget.WidgetIntersectMethodInfo
ResolveInfoBarMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
ResolveInfoBarMethod "isComposited" o = Gtk.Widget.WidgetIsCompositedMethodInfo
ResolveInfoBarMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
ResolveInfoBarMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveInfoBarMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
ResolveInfoBarMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
ResolveInfoBarMethod "isToplevel" o = Gtk.Widget.WidgetIsToplevelMethodInfo
ResolveInfoBarMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
ResolveInfoBarMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
ResolveInfoBarMethod "listAccelClosures" o = Gtk.Widget.WidgetListAccelClosuresMethodInfo
ResolveInfoBarMethod "listActionPrefixes" o = Gtk.Widget.WidgetListActionPrefixesMethodInfo
ResolveInfoBarMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
ResolveInfoBarMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
ResolveInfoBarMethod "mnemonicActivate" o = Gtk.Widget.WidgetMnemonicActivateMethodInfo
ResolveInfoBarMethod "modifyBase" o = Gtk.Widget.WidgetModifyBaseMethodInfo
ResolveInfoBarMethod "modifyBg" o = Gtk.Widget.WidgetModifyBgMethodInfo
ResolveInfoBarMethod "modifyCursor" o = Gtk.Widget.WidgetModifyCursorMethodInfo
ResolveInfoBarMethod "modifyFg" o = Gtk.Widget.WidgetModifyFgMethodInfo
ResolveInfoBarMethod "modifyFont" o = Gtk.Widget.WidgetModifyFontMethodInfo
ResolveInfoBarMethod "modifyStyle" o = Gtk.Widget.WidgetModifyStyleMethodInfo
ResolveInfoBarMethod "modifyText" o = Gtk.Widget.WidgetModifyTextMethodInfo
ResolveInfoBarMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveInfoBarMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveInfoBarMethod "overrideBackgroundColor" o = Gtk.Widget.WidgetOverrideBackgroundColorMethodInfo
ResolveInfoBarMethod "overrideColor" o = Gtk.Widget.WidgetOverrideColorMethodInfo
ResolveInfoBarMethod "overrideCursor" o = Gtk.Widget.WidgetOverrideCursorMethodInfo
ResolveInfoBarMethod "overrideFont" o = Gtk.Widget.WidgetOverrideFontMethodInfo
ResolveInfoBarMethod "overrideSymbolicColor" o = Gtk.Widget.WidgetOverrideSymbolicColorMethodInfo
ResolveInfoBarMethod "packEnd" o = Gtk.Box.BoxPackEndMethodInfo
ResolveInfoBarMethod "packStart" o = Gtk.Box.BoxPackStartMethodInfo
ResolveInfoBarMethod "parserFinished" o = Gtk.Buildable.BuildableParserFinishedMethodInfo
ResolveInfoBarMethod "path" o = Gtk.Widget.WidgetPathMethodInfo
ResolveInfoBarMethod "propagateDraw" o = Gtk.Container.ContainerPropagateDrawMethodInfo
ResolveInfoBarMethod "queryChildPacking" o = Gtk.Box.BoxQueryChildPackingMethodInfo
ResolveInfoBarMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
ResolveInfoBarMethod "queueComputeExpand" o = Gtk.Widget.WidgetQueueComputeExpandMethodInfo
ResolveInfoBarMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
ResolveInfoBarMethod "queueDrawArea" o = Gtk.Widget.WidgetQueueDrawAreaMethodInfo
ResolveInfoBarMethod "queueDrawRegion" o = Gtk.Widget.WidgetQueueDrawRegionMethodInfo
ResolveInfoBarMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
ResolveInfoBarMethod "queueResizeNoRedraw" o = Gtk.Widget.WidgetQueueResizeNoRedrawMethodInfo
ResolveInfoBarMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
ResolveInfoBarMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveInfoBarMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveInfoBarMethod "regionIntersect" o = Gtk.Widget.WidgetRegionIntersectMethodInfo
ResolveInfoBarMethod "registerWindow" o = Gtk.Widget.WidgetRegisterWindowMethodInfo
ResolveInfoBarMethod "remove" o = Gtk.Container.ContainerRemoveMethodInfo
ResolveInfoBarMethod "removeAccelerator" o = Gtk.Widget.WidgetRemoveAcceleratorMethodInfo
ResolveInfoBarMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
ResolveInfoBarMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
ResolveInfoBarMethod "renderIcon" o = Gtk.Widget.WidgetRenderIconMethodInfo
ResolveInfoBarMethod "renderIconPixbuf" o = Gtk.Widget.WidgetRenderIconPixbufMethodInfo
ResolveInfoBarMethod "reorderChild" o = Gtk.Box.BoxReorderChildMethodInfo
ResolveInfoBarMethod "reparent" o = Gtk.Widget.WidgetReparentMethodInfo
ResolveInfoBarMethod "resetRcStyles" o = Gtk.Widget.WidgetResetRcStylesMethodInfo
ResolveInfoBarMethod "resetStyle" o = Gtk.Widget.WidgetResetStyleMethodInfo
ResolveInfoBarMethod "resizeChildren" o = Gtk.Container.ContainerResizeChildrenMethodInfo
ResolveInfoBarMethod "response" o = InfoBarResponseMethodInfo
ResolveInfoBarMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveInfoBarMethod "sendExpose" o = Gtk.Widget.WidgetSendExposeMethodInfo
ResolveInfoBarMethod "sendFocusChange" o = Gtk.Widget.WidgetSendFocusChangeMethodInfo
ResolveInfoBarMethod "shapeCombineRegion" o = Gtk.Widget.WidgetShapeCombineRegionMethodInfo
ResolveInfoBarMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
ResolveInfoBarMethod "showAll" o = Gtk.Widget.WidgetShowAllMethodInfo
ResolveInfoBarMethod "showNow" o = Gtk.Widget.WidgetShowNowMethodInfo
ResolveInfoBarMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
ResolveInfoBarMethod "sizeAllocateWithBaseline" o = Gtk.Widget.WidgetSizeAllocateWithBaselineMethodInfo
ResolveInfoBarMethod "sizeRequest" o = Gtk.Widget.WidgetSizeRequestMethodInfo
ResolveInfoBarMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveInfoBarMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveInfoBarMethod "styleAttach" o = Gtk.Widget.WidgetStyleAttachMethodInfo
ResolveInfoBarMethod "styleGetProperty" o = Gtk.Widget.WidgetStyleGetPropertyMethodInfo
ResolveInfoBarMethod "thawChildNotify" o = Gtk.Widget.WidgetThawChildNotifyMethodInfo
ResolveInfoBarMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveInfoBarMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
ResolveInfoBarMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
ResolveInfoBarMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
ResolveInfoBarMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
ResolveInfoBarMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
ResolveInfoBarMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveInfoBarMethod "unregisterWindow" o = Gtk.Widget.WidgetUnregisterWindowMethodInfo
ResolveInfoBarMethod "unsetFocusChain" o = Gtk.Container.ContainerUnsetFocusChainMethodInfo
ResolveInfoBarMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
ResolveInfoBarMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveInfoBarMethod "getAccessible" o = Gtk.Widget.WidgetGetAccessibleMethodInfo
ResolveInfoBarMethod "getActionArea" o = InfoBarGetActionAreaMethodInfo
ResolveInfoBarMethod "getActionGroup" o = Gtk.Widget.WidgetGetActionGroupMethodInfo
ResolveInfoBarMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
ResolveInfoBarMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
ResolveInfoBarMethod "getAllocatedSize" o = Gtk.Widget.WidgetGetAllocatedSizeMethodInfo
ResolveInfoBarMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
ResolveInfoBarMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
ResolveInfoBarMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
ResolveInfoBarMethod "getAppPaintable" o = Gtk.Widget.WidgetGetAppPaintableMethodInfo
ResolveInfoBarMethod "getBaselinePosition" o = Gtk.Box.BoxGetBaselinePositionMethodInfo
ResolveInfoBarMethod "getBorderWidth" o = Gtk.Container.ContainerGetBorderWidthMethodInfo
ResolveInfoBarMethod "getCanDefault" o = Gtk.Widget.WidgetGetCanDefaultMethodInfo
ResolveInfoBarMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
ResolveInfoBarMethod "getCenterWidget" o = Gtk.Box.BoxGetCenterWidgetMethodInfo
ResolveInfoBarMethod "getChildRequisition" o = Gtk.Widget.WidgetGetChildRequisitionMethodInfo
ResolveInfoBarMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
ResolveInfoBarMethod "getChildren" o = Gtk.Container.ContainerGetChildrenMethodInfo
ResolveInfoBarMethod "getClip" o = Gtk.Widget.WidgetGetClipMethodInfo
ResolveInfoBarMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
ResolveInfoBarMethod "getCompositeName" o = Gtk.Widget.WidgetGetCompositeNameMethodInfo
ResolveInfoBarMethod "getContentArea" o = InfoBarGetContentAreaMethodInfo
ResolveInfoBarMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveInfoBarMethod "getDeviceEnabled" o = Gtk.Widget.WidgetGetDeviceEnabledMethodInfo
ResolveInfoBarMethod "getDeviceEvents" o = Gtk.Widget.WidgetGetDeviceEventsMethodInfo
ResolveInfoBarMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
ResolveInfoBarMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
ResolveInfoBarMethod "getDoubleBuffered" o = Gtk.Widget.WidgetGetDoubleBufferedMethodInfo
ResolveInfoBarMethod "getEvents" o = Gtk.Widget.WidgetGetEventsMethodInfo
ResolveInfoBarMethod "getFocusChain" o = Gtk.Container.ContainerGetFocusChainMethodInfo
ResolveInfoBarMethod "getFocusChild" o = Gtk.Container.ContainerGetFocusChildMethodInfo
ResolveInfoBarMethod "getFocusHadjustment" o = Gtk.Container.ContainerGetFocusHadjustmentMethodInfo
ResolveInfoBarMethod "getFocusOnClick" o = Gtk.Widget.WidgetGetFocusOnClickMethodInfo
ResolveInfoBarMethod "getFocusVadjustment" o = Gtk.Container.ContainerGetFocusVadjustmentMethodInfo
ResolveInfoBarMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
ResolveInfoBarMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
ResolveInfoBarMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
ResolveInfoBarMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
ResolveInfoBarMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
ResolveInfoBarMethod "getHasWindow" o = Gtk.Widget.WidgetGetHasWindowMethodInfo
ResolveInfoBarMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
ResolveInfoBarMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
ResolveInfoBarMethod "getHomogeneous" o = Gtk.Box.BoxGetHomogeneousMethodInfo
ResolveInfoBarMethod "getInternalChild" o = Gtk.Buildable.BuildableGetInternalChildMethodInfo
ResolveInfoBarMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
ResolveInfoBarMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
ResolveInfoBarMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
ResolveInfoBarMethod "getMarginLeft" o = Gtk.Widget.WidgetGetMarginLeftMethodInfo
ResolveInfoBarMethod "getMarginRight" o = Gtk.Widget.WidgetGetMarginRightMethodInfo
ResolveInfoBarMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
ResolveInfoBarMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
ResolveInfoBarMethod "getMessageType" o = InfoBarGetMessageTypeMethodInfo
ResolveInfoBarMethod "getModifierMask" o = Gtk.Widget.WidgetGetModifierMaskMethodInfo
ResolveInfoBarMethod "getModifierStyle" o = Gtk.Widget.WidgetGetModifierStyleMethodInfo
ResolveInfoBarMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
ResolveInfoBarMethod "getNoShowAll" o = Gtk.Widget.WidgetGetNoShowAllMethodInfo
ResolveInfoBarMethod "getOpacity" o = Gtk.Widget.WidgetGetOpacityMethodInfo
ResolveInfoBarMethod "getOrientation" o = Gtk.Orientable.OrientableGetOrientationMethodInfo
ResolveInfoBarMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
ResolveInfoBarMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
ResolveInfoBarMethod "getParentWindow" o = Gtk.Widget.WidgetGetParentWindowMethodInfo
ResolveInfoBarMethod "getPath" o = Gtk.Widget.WidgetGetPathMethodInfo
ResolveInfoBarMethod "getPathForChild" o = Gtk.Container.ContainerGetPathForChildMethodInfo
ResolveInfoBarMethod "getPointer" o = Gtk.Widget.WidgetGetPointerMethodInfo
ResolveInfoBarMethod "getPreferredHeight" o = Gtk.Widget.WidgetGetPreferredHeightMethodInfo
ResolveInfoBarMethod "getPreferredHeightAndBaselineForWidth" o = Gtk.Widget.WidgetGetPreferredHeightAndBaselineForWidthMethodInfo
ResolveInfoBarMethod "getPreferredHeightForWidth" o = Gtk.Widget.WidgetGetPreferredHeightForWidthMethodInfo
ResolveInfoBarMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
ResolveInfoBarMethod "getPreferredWidth" o = Gtk.Widget.WidgetGetPreferredWidthMethodInfo
ResolveInfoBarMethod "getPreferredWidthForHeight" o = Gtk.Widget.WidgetGetPreferredWidthForHeightMethodInfo
ResolveInfoBarMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveInfoBarMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveInfoBarMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
ResolveInfoBarMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
ResolveInfoBarMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
ResolveInfoBarMethod "getRequisition" o = Gtk.Widget.WidgetGetRequisitionMethodInfo
ResolveInfoBarMethod "getResizeMode" o = Gtk.Container.ContainerGetResizeModeMethodInfo
ResolveInfoBarMethod "getRevealed" o = InfoBarGetRevealedMethodInfo
ResolveInfoBarMethod "getRootWindow" o = Gtk.Widget.WidgetGetRootWindowMethodInfo
ResolveInfoBarMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
ResolveInfoBarMethod "getScreen" o = Gtk.Widget.WidgetGetScreenMethodInfo
ResolveInfoBarMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
ResolveInfoBarMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
ResolveInfoBarMethod "getShowCloseButton" o = InfoBarGetShowCloseButtonMethodInfo
ResolveInfoBarMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
ResolveInfoBarMethod "getSpacing" o = Gtk.Box.BoxGetSpacingMethodInfo
ResolveInfoBarMethod "getState" o = Gtk.Widget.WidgetGetStateMethodInfo
ResolveInfoBarMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
ResolveInfoBarMethod "getStyle" o = Gtk.Widget.WidgetGetStyleMethodInfo
ResolveInfoBarMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
ResolveInfoBarMethod "getSupportMultidevice" o = Gtk.Widget.WidgetGetSupportMultideviceMethodInfo
ResolveInfoBarMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
ResolveInfoBarMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
ResolveInfoBarMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
ResolveInfoBarMethod "getTooltipWindow" o = Gtk.Widget.WidgetGetTooltipWindowMethodInfo
ResolveInfoBarMethod "getToplevel" o = Gtk.Widget.WidgetGetToplevelMethodInfo
ResolveInfoBarMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
ResolveInfoBarMethod "getValignWithBaseline" o = Gtk.Widget.WidgetGetValignWithBaselineMethodInfo
ResolveInfoBarMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
ResolveInfoBarMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
ResolveInfoBarMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
ResolveInfoBarMethod "getVisual" o = Gtk.Widget.WidgetGetVisualMethodInfo
ResolveInfoBarMethod "getWindow" o = Gtk.Widget.WidgetGetWindowMethodInfo
ResolveInfoBarMethod "setAccelPath" o = Gtk.Widget.WidgetSetAccelPathMethodInfo
ResolveInfoBarMethod "setAllocation" o = Gtk.Widget.WidgetSetAllocationMethodInfo
ResolveInfoBarMethod "setAppPaintable" o = Gtk.Widget.WidgetSetAppPaintableMethodInfo
ResolveInfoBarMethod "setBaselinePosition" o = Gtk.Box.BoxSetBaselinePositionMethodInfo
ResolveInfoBarMethod "setBorderWidth" o = Gtk.Container.ContainerSetBorderWidthMethodInfo
ResolveInfoBarMethod "setBuildableProperty" o = Gtk.Buildable.BuildableSetBuildablePropertyMethodInfo
ResolveInfoBarMethod "setCanDefault" o = Gtk.Widget.WidgetSetCanDefaultMethodInfo
ResolveInfoBarMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
ResolveInfoBarMethod "setCenterWidget" o = Gtk.Box.BoxSetCenterWidgetMethodInfo
ResolveInfoBarMethod "setChildPacking" o = Gtk.Box.BoxSetChildPackingMethodInfo
ResolveInfoBarMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
ResolveInfoBarMethod "setClip" o = Gtk.Widget.WidgetSetClipMethodInfo
ResolveInfoBarMethod "setCompositeName" o = Gtk.Widget.WidgetSetCompositeNameMethodInfo
ResolveInfoBarMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveInfoBarMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveInfoBarMethod "setDefaultResponse" o = InfoBarSetDefaultResponseMethodInfo
ResolveInfoBarMethod "setDeviceEnabled" o = Gtk.Widget.WidgetSetDeviceEnabledMethodInfo
ResolveInfoBarMethod "setDeviceEvents" o = Gtk.Widget.WidgetSetDeviceEventsMethodInfo
ResolveInfoBarMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
ResolveInfoBarMethod "setDoubleBuffered" o = Gtk.Widget.WidgetSetDoubleBufferedMethodInfo
ResolveInfoBarMethod "setEvents" o = Gtk.Widget.WidgetSetEventsMethodInfo
ResolveInfoBarMethod "setFocusChain" o = Gtk.Container.ContainerSetFocusChainMethodInfo
ResolveInfoBarMethod "setFocusChild" o = Gtk.Container.ContainerSetFocusChildMethodInfo
ResolveInfoBarMethod "setFocusHadjustment" o = Gtk.Container.ContainerSetFocusHadjustmentMethodInfo
ResolveInfoBarMethod "setFocusOnClick" o = Gtk.Widget.WidgetSetFocusOnClickMethodInfo
ResolveInfoBarMethod "setFocusVadjustment" o = Gtk.Container.ContainerSetFocusVadjustmentMethodInfo
ResolveInfoBarMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
ResolveInfoBarMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
ResolveInfoBarMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
ResolveInfoBarMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
ResolveInfoBarMethod "setHasWindow" o = Gtk.Widget.WidgetSetHasWindowMethodInfo
ResolveInfoBarMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
ResolveInfoBarMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
ResolveInfoBarMethod "setHomogeneous" o = Gtk.Box.BoxSetHomogeneousMethodInfo
ResolveInfoBarMethod "setMapped" o = Gtk.Widget.WidgetSetMappedMethodInfo
ResolveInfoBarMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
ResolveInfoBarMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
ResolveInfoBarMethod "setMarginLeft" o = Gtk.Widget.WidgetSetMarginLeftMethodInfo
ResolveInfoBarMethod "setMarginRight" o = Gtk.Widget.WidgetSetMarginRightMethodInfo
ResolveInfoBarMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
ResolveInfoBarMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
ResolveInfoBarMethod "setMessageType" o = InfoBarSetMessageTypeMethodInfo
ResolveInfoBarMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
ResolveInfoBarMethod "setNoShowAll" o = Gtk.Widget.WidgetSetNoShowAllMethodInfo
ResolveInfoBarMethod "setOpacity" o = Gtk.Widget.WidgetSetOpacityMethodInfo
ResolveInfoBarMethod "setOrientation" o = Gtk.Orientable.OrientableSetOrientationMethodInfo
ResolveInfoBarMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
ResolveInfoBarMethod "setParentWindow" o = Gtk.Widget.WidgetSetParentWindowMethodInfo
ResolveInfoBarMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveInfoBarMethod "setRealized" o = Gtk.Widget.WidgetSetRealizedMethodInfo
ResolveInfoBarMethod "setReallocateRedraws" o = Gtk.Container.ContainerSetReallocateRedrawsMethodInfo
ResolveInfoBarMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
ResolveInfoBarMethod "setRedrawOnAllocate" o = Gtk.Widget.WidgetSetRedrawOnAllocateMethodInfo
ResolveInfoBarMethod "setResizeMode" o = Gtk.Container.ContainerSetResizeModeMethodInfo
ResolveInfoBarMethod "setResponseSensitive" o = InfoBarSetResponseSensitiveMethodInfo
ResolveInfoBarMethod "setRevealed" o = InfoBarSetRevealedMethodInfo
ResolveInfoBarMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
ResolveInfoBarMethod "setShowCloseButton" o = InfoBarSetShowCloseButtonMethodInfo
ResolveInfoBarMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
ResolveInfoBarMethod "setSpacing" o = Gtk.Box.BoxSetSpacingMethodInfo
ResolveInfoBarMethod "setState" o = Gtk.Widget.WidgetSetStateMethodInfo
ResolveInfoBarMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
ResolveInfoBarMethod "setStyle" o = Gtk.Widget.WidgetSetStyleMethodInfo
ResolveInfoBarMethod "setSupportMultidevice" o = Gtk.Widget.WidgetSetSupportMultideviceMethodInfo
ResolveInfoBarMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
ResolveInfoBarMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
ResolveInfoBarMethod "setTooltipWindow" o = Gtk.Widget.WidgetSetTooltipWindowMethodInfo
ResolveInfoBarMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
ResolveInfoBarMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
ResolveInfoBarMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
ResolveInfoBarMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
ResolveInfoBarMethod "setVisual" o = Gtk.Widget.WidgetSetVisualMethodInfo
ResolveInfoBarMethod "setWindow" o = Gtk.Widget.WidgetSetWindowMethodInfo
ResolveInfoBarMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveInfoBarMethod t InfoBar, O.OverloadedMethod info InfoBar p) => OL.IsLabel t (InfoBar -> 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 ~ ResolveInfoBarMethod t InfoBar, O.OverloadedMethod info InfoBar p, R.HasField t InfoBar p) => R.HasField t InfoBar p where
getField = O.overloadedMethod @info
#endif
instance (info ~ ResolveInfoBarMethod t InfoBar, O.OverloadedMethodInfo info InfoBar) => OL.IsLabel t (O.MethodProxy info InfoBar) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.MethodProxy
#else
fromLabel _ = O.MethodProxy
#endif
#endif
type InfoBarCloseCallback =
IO ()
type C_InfoBarCloseCallback =
Ptr InfoBar ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_InfoBarCloseCallback :: C_InfoBarCloseCallback -> IO (FunPtr C_InfoBarCloseCallback)
wrap_InfoBarCloseCallback ::
GObject a => (a -> InfoBarCloseCallback) ->
C_InfoBarCloseCallback
wrap_InfoBarCloseCallback :: forall a. GObject a => (a -> IO ()) -> C_InfoBarCloseCallback
wrap_InfoBarCloseCallback a -> IO ()
gi'cb Ptr InfoBar
gi'selfPtr Ptr ()
_ = do
Ptr InfoBar -> (InfoBar -> IO ()) -> IO ()
forall a b.
(HasCallStack, ManagedPtrNewtype a) =>
Ptr a -> (a -> IO b) -> IO b
B.ManagedPtr.withTransient Ptr InfoBar
gi'selfPtr ((InfoBar -> IO ()) -> IO ()) -> (InfoBar -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \InfoBar
gi'self -> a -> IO ()
gi'cb (InfoBar -> a
forall a b. Coercible a b => a -> b
Coerce.coerce InfoBar
gi'self)
onInfoBarClose :: (IsInfoBar a, MonadIO m) => a -> ((?self :: a) => InfoBarCloseCallback) -> m SignalHandlerId
onInfoBarClose :: forall a (m :: * -> *).
(IsInfoBar a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
onInfoBarClose a
obj (?self::a) => IO ()
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 -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_InfoBarCloseCallback
wrapped' = (a -> IO ()) -> C_InfoBarCloseCallback
forall a. GObject a => (a -> IO ()) -> C_InfoBarCloseCallback
wrap_InfoBarCloseCallback a -> IO ()
wrapped
FunPtr C_InfoBarCloseCallback
wrapped'' <- C_InfoBarCloseCallback -> IO (FunPtr C_InfoBarCloseCallback)
mk_InfoBarCloseCallback C_InfoBarCloseCallback
wrapped'
a
-> Text
-> FunPtr C_InfoBarCloseCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"close" FunPtr C_InfoBarCloseCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterInfoBarClose :: (IsInfoBar a, MonadIO m) => a -> ((?self :: a) => InfoBarCloseCallback) -> m SignalHandlerId
afterInfoBarClose :: forall a (m :: * -> *).
(IsInfoBar a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
afterInfoBarClose a
obj (?self::a) => IO ()
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 -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_InfoBarCloseCallback
wrapped' = (a -> IO ()) -> C_InfoBarCloseCallback
forall a. GObject a => (a -> IO ()) -> C_InfoBarCloseCallback
wrap_InfoBarCloseCallback a -> IO ()
wrapped
FunPtr C_InfoBarCloseCallback
wrapped'' <- C_InfoBarCloseCallback -> IO (FunPtr C_InfoBarCloseCallback)
mk_InfoBarCloseCallback C_InfoBarCloseCallback
wrapped'
a
-> Text
-> FunPtr C_InfoBarCloseCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"close" FunPtr C_InfoBarCloseCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data InfoBarCloseSignalInfo
instance SignalInfo InfoBarCloseSignalInfo where
type HaskellCallbackType InfoBarCloseSignalInfo = InfoBarCloseCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_InfoBarCloseCallback cb
cb'' <- mk_InfoBarCloseCallback cb'
connectSignalFunPtr obj "close" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar::close"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#g:signal:close"})
#endif
type InfoBarResponseCallback =
Int32
-> IO ()
type C_InfoBarResponseCallback =
Ptr InfoBar ->
Int32 ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_InfoBarResponseCallback :: C_InfoBarResponseCallback -> IO (FunPtr C_InfoBarResponseCallback)
wrap_InfoBarResponseCallback ::
GObject a => (a -> InfoBarResponseCallback) ->
C_InfoBarResponseCallback
wrap_InfoBarResponseCallback :: forall a.
GObject a =>
(a -> InfoBarResponseCallback) -> C_InfoBarResponseCallback
wrap_InfoBarResponseCallback a -> InfoBarResponseCallback
gi'cb Ptr InfoBar
gi'selfPtr Int32
responseId Ptr ()
_ = do
Ptr InfoBar -> (InfoBar -> IO ()) -> IO ()
forall a b.
(HasCallStack, ManagedPtrNewtype a) =>
Ptr a -> (a -> IO b) -> IO b
B.ManagedPtr.withTransient Ptr InfoBar
gi'selfPtr ((InfoBar -> IO ()) -> IO ()) -> (InfoBar -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \InfoBar
gi'self -> a -> InfoBarResponseCallback
gi'cb (InfoBar -> a
forall a b. Coercible a b => a -> b
Coerce.coerce InfoBar
gi'self) Int32
responseId
onInfoBarResponse :: (IsInfoBar a, MonadIO m) => a -> ((?self :: a) => InfoBarResponseCallback) -> m SignalHandlerId
onInfoBarResponse :: forall a (m :: * -> *).
(IsInfoBar a, MonadIO m) =>
a -> ((?self::a) => InfoBarResponseCallback) -> m SignalHandlerId
onInfoBarResponse a
obj (?self::a) => InfoBarResponseCallback
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 -> InfoBarResponseCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => InfoBarResponseCallback
InfoBarResponseCallback
cb
let wrapped' :: C_InfoBarResponseCallback
wrapped' = (a -> InfoBarResponseCallback) -> C_InfoBarResponseCallback
forall a.
GObject a =>
(a -> InfoBarResponseCallback) -> C_InfoBarResponseCallback
wrap_InfoBarResponseCallback a -> InfoBarResponseCallback
wrapped
FunPtr C_InfoBarResponseCallback
wrapped'' <- C_InfoBarResponseCallback -> IO (FunPtr C_InfoBarResponseCallback)
mk_InfoBarResponseCallback C_InfoBarResponseCallback
wrapped'
a
-> Text
-> FunPtr C_InfoBarResponseCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"response" FunPtr C_InfoBarResponseCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterInfoBarResponse :: (IsInfoBar a, MonadIO m) => a -> ((?self :: a) => InfoBarResponseCallback) -> m SignalHandlerId
afterInfoBarResponse :: forall a (m :: * -> *).
(IsInfoBar a, MonadIO m) =>
a -> ((?self::a) => InfoBarResponseCallback) -> m SignalHandlerId
afterInfoBarResponse a
obj (?self::a) => InfoBarResponseCallback
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 -> InfoBarResponseCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => InfoBarResponseCallback
InfoBarResponseCallback
cb
let wrapped' :: C_InfoBarResponseCallback
wrapped' = (a -> InfoBarResponseCallback) -> C_InfoBarResponseCallback
forall a.
GObject a =>
(a -> InfoBarResponseCallback) -> C_InfoBarResponseCallback
wrap_InfoBarResponseCallback a -> InfoBarResponseCallback
wrapped
FunPtr C_InfoBarResponseCallback
wrapped'' <- C_InfoBarResponseCallback -> IO (FunPtr C_InfoBarResponseCallback)
mk_InfoBarResponseCallback C_InfoBarResponseCallback
wrapped'
a
-> Text
-> FunPtr C_InfoBarResponseCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"response" FunPtr C_InfoBarResponseCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data InfoBarResponseSignalInfo
instance SignalInfo InfoBarResponseSignalInfo where
type HaskellCallbackType InfoBarResponseSignalInfo = InfoBarResponseCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_InfoBarResponseCallback cb
cb'' <- mk_InfoBarResponseCallback cb'
connectSignalFunPtr obj "response" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar::response"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#g:signal:response"})
#endif
getInfoBarMessageType :: (MonadIO m, IsInfoBar o) => o -> m Gtk.Enums.MessageType
getInfoBarMessageType :: forall (m :: * -> *) o.
(MonadIO m, IsInfoBar o) =>
o -> m MessageType
getInfoBarMessageType o
obj = IO MessageType -> m MessageType
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO MessageType -> m MessageType)
-> IO MessageType -> m MessageType
forall a b. (a -> b) -> a -> b
$ o -> String -> IO MessageType
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"message-type"
setInfoBarMessageType :: (MonadIO m, IsInfoBar o) => o -> Gtk.Enums.MessageType -> m ()
setInfoBarMessageType :: forall (m :: * -> *) o.
(MonadIO m, IsInfoBar o) =>
o -> MessageType -> m ()
setInfoBarMessageType o
obj MessageType
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 -> MessageType -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"message-type" MessageType
val
constructInfoBarMessageType :: (IsInfoBar o, MIO.MonadIO m) => Gtk.Enums.MessageType -> m (GValueConstruct o)
constructInfoBarMessageType :: forall o (m :: * -> *).
(IsInfoBar o, MonadIO m) =>
MessageType -> m (GValueConstruct o)
constructInfoBarMessageType MessageType
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 -> MessageType -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"message-type" MessageType
val
#if defined(ENABLE_OVERLOADING)
data InfoBarMessageTypePropertyInfo
instance AttrInfo InfoBarMessageTypePropertyInfo where
type AttrAllowedOps InfoBarMessageTypePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint InfoBarMessageTypePropertyInfo = IsInfoBar
type AttrSetTypeConstraint InfoBarMessageTypePropertyInfo = (~) Gtk.Enums.MessageType
type AttrTransferTypeConstraint InfoBarMessageTypePropertyInfo = (~) Gtk.Enums.MessageType
type AttrTransferType InfoBarMessageTypePropertyInfo = Gtk.Enums.MessageType
type AttrGetType InfoBarMessageTypePropertyInfo = Gtk.Enums.MessageType
type AttrLabel InfoBarMessageTypePropertyInfo = "message-type"
type AttrOrigin InfoBarMessageTypePropertyInfo = InfoBar
attrGet = getInfoBarMessageType
attrSet = setInfoBarMessageType
attrTransfer _ v = do
return v
attrConstruct = constructInfoBarMessageType
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar.messageType"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#g:attr:messageType"
})
#endif
getInfoBarRevealed :: (MonadIO m, IsInfoBar o) => o -> m Bool
getInfoBarRevealed :: forall (m :: * -> *) o. (MonadIO m, IsInfoBar o) => o -> m Bool
getInfoBarRevealed o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"revealed"
setInfoBarRevealed :: (MonadIO m, IsInfoBar o) => o -> Bool -> m ()
setInfoBarRevealed :: forall (m :: * -> *) o.
(MonadIO m, IsInfoBar o) =>
o -> Bool -> m ()
setInfoBarRevealed o
obj Bool
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 -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"revealed" Bool
val
constructInfoBarRevealed :: (IsInfoBar o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructInfoBarRevealed :: forall o (m :: * -> *).
(IsInfoBar o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructInfoBarRevealed Bool
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 -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"revealed" Bool
val
#if defined(ENABLE_OVERLOADING)
data InfoBarRevealedPropertyInfo
instance AttrInfo InfoBarRevealedPropertyInfo where
type AttrAllowedOps InfoBarRevealedPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint InfoBarRevealedPropertyInfo = IsInfoBar
type AttrSetTypeConstraint InfoBarRevealedPropertyInfo = (~) Bool
type AttrTransferTypeConstraint InfoBarRevealedPropertyInfo = (~) Bool
type AttrTransferType InfoBarRevealedPropertyInfo = Bool
type AttrGetType InfoBarRevealedPropertyInfo = Bool
type AttrLabel InfoBarRevealedPropertyInfo = "revealed"
type AttrOrigin InfoBarRevealedPropertyInfo = InfoBar
attrGet = getInfoBarRevealed
attrSet = setInfoBarRevealed
attrTransfer _ v = do
return v
attrConstruct = constructInfoBarRevealed
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar.revealed"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#g:attr:revealed"
})
#endif
getInfoBarShowCloseButton :: (MonadIO m, IsInfoBar o) => o -> m Bool
getInfoBarShowCloseButton :: forall (m :: * -> *) o. (MonadIO m, IsInfoBar o) => o -> m Bool
getInfoBarShowCloseButton o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"show-close-button"
setInfoBarShowCloseButton :: (MonadIO m, IsInfoBar o) => o -> Bool -> m ()
setInfoBarShowCloseButton :: forall (m :: * -> *) o.
(MonadIO m, IsInfoBar o) =>
o -> Bool -> m ()
setInfoBarShowCloseButton o
obj Bool
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 -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"show-close-button" Bool
val
constructInfoBarShowCloseButton :: (IsInfoBar o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructInfoBarShowCloseButton :: forall o (m :: * -> *).
(IsInfoBar o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructInfoBarShowCloseButton Bool
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 -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"show-close-button" Bool
val
#if defined(ENABLE_OVERLOADING)
data InfoBarShowCloseButtonPropertyInfo
instance AttrInfo InfoBarShowCloseButtonPropertyInfo where
type AttrAllowedOps InfoBarShowCloseButtonPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint InfoBarShowCloseButtonPropertyInfo = IsInfoBar
type AttrSetTypeConstraint InfoBarShowCloseButtonPropertyInfo = (~) Bool
type AttrTransferTypeConstraint InfoBarShowCloseButtonPropertyInfo = (~) Bool
type AttrTransferType InfoBarShowCloseButtonPropertyInfo = Bool
type AttrGetType InfoBarShowCloseButtonPropertyInfo = Bool
type AttrLabel InfoBarShowCloseButtonPropertyInfo = "show-close-button"
type AttrOrigin InfoBarShowCloseButtonPropertyInfo = InfoBar
attrGet = getInfoBarShowCloseButton
attrSet = setInfoBarShowCloseButton
attrTransfer _ v = do
return v
attrConstruct = constructInfoBarShowCloseButton
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar.showCloseButton"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#g:attr:showCloseButton"
})
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList InfoBar
type instance O.AttributeList InfoBar = InfoBarAttributeList
type InfoBarAttributeList = ('[ '("appPaintable", Gtk.Widget.WidgetAppPaintablePropertyInfo), '("baselinePosition", Gtk.Box.BoxBaselinePositionPropertyInfo), '("borderWidth", Gtk.Container.ContainerBorderWidthPropertyInfo), '("canDefault", Gtk.Widget.WidgetCanDefaultPropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("child", Gtk.Container.ContainerChildPropertyInfo), '("compositeChild", Gtk.Widget.WidgetCompositeChildPropertyInfo), '("doubleBuffered", Gtk.Widget.WidgetDoubleBufferedPropertyInfo), '("events", Gtk.Widget.WidgetEventsPropertyInfo), '("expand", Gtk.Widget.WidgetExpandPropertyInfo), '("focusOnClick", Gtk.Widget.WidgetFocusOnClickPropertyInfo), '("halign", Gtk.Widget.WidgetHalignPropertyInfo), '("hasDefault", Gtk.Widget.WidgetHasDefaultPropertyInfo), '("hasFocus", Gtk.Widget.WidgetHasFocusPropertyInfo), '("hasTooltip", Gtk.Widget.WidgetHasTooltipPropertyInfo), '("heightRequest", Gtk.Widget.WidgetHeightRequestPropertyInfo), '("hexpand", Gtk.Widget.WidgetHexpandPropertyInfo), '("hexpandSet", Gtk.Widget.WidgetHexpandSetPropertyInfo), '("homogeneous", Gtk.Box.BoxHomogeneousPropertyInfo), '("isFocus", Gtk.Widget.WidgetIsFocusPropertyInfo), '("margin", Gtk.Widget.WidgetMarginPropertyInfo), '("marginBottom", Gtk.Widget.WidgetMarginBottomPropertyInfo), '("marginEnd", Gtk.Widget.WidgetMarginEndPropertyInfo), '("marginLeft", Gtk.Widget.WidgetMarginLeftPropertyInfo), '("marginRight", Gtk.Widget.WidgetMarginRightPropertyInfo), '("marginStart", Gtk.Widget.WidgetMarginStartPropertyInfo), '("marginTop", Gtk.Widget.WidgetMarginTopPropertyInfo), '("messageType", InfoBarMessageTypePropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("noShowAll", Gtk.Widget.WidgetNoShowAllPropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("orientation", Gtk.Orientable.OrientableOrientationPropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("resizeMode", Gtk.Container.ContainerResizeModePropertyInfo), '("revealed", InfoBarRevealedPropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("showCloseButton", InfoBarShowCloseButtonPropertyInfo), '("spacing", Gtk.Box.BoxSpacingPropertyInfo), '("style", Gtk.Widget.WidgetStylePropertyInfo), '("tooltipMarkup", Gtk.Widget.WidgetTooltipMarkupPropertyInfo), '("tooltipText", Gtk.Widget.WidgetTooltipTextPropertyInfo), '("valign", Gtk.Widget.WidgetValignPropertyInfo), '("vexpand", Gtk.Widget.WidgetVexpandPropertyInfo), '("vexpandSet", Gtk.Widget.WidgetVexpandSetPropertyInfo), '("visible", Gtk.Widget.WidgetVisiblePropertyInfo), '("widthRequest", Gtk.Widget.WidgetWidthRequestPropertyInfo), '("window", Gtk.Widget.WidgetWindowPropertyInfo)] :: [(Symbol, DK.Type)])
#endif
#if defined(ENABLE_OVERLOADING)
infoBarMessageType :: AttrLabelProxy "messageType"
infoBarMessageType = AttrLabelProxy
infoBarRevealed :: AttrLabelProxy "revealed"
infoBarRevealed = AttrLabelProxy
infoBarShowCloseButton :: AttrLabelProxy "showCloseButton"
infoBarShowCloseButton = AttrLabelProxy
#endif
#if defined(ENABLE_OVERLOADING)
type instance O.SignalList InfoBar = InfoBarSignalList
type InfoBarSignalList = ('[ '("accelClosuresChanged", Gtk.Widget.WidgetAccelClosuresChangedSignalInfo), '("add", Gtk.Container.ContainerAddSignalInfo), '("buttonPressEvent", Gtk.Widget.WidgetButtonPressEventSignalInfo), '("buttonReleaseEvent", Gtk.Widget.WidgetButtonReleaseEventSignalInfo), '("canActivateAccel", Gtk.Widget.WidgetCanActivateAccelSignalInfo), '("checkResize", Gtk.Container.ContainerCheckResizeSignalInfo), '("childNotify", Gtk.Widget.WidgetChildNotifySignalInfo), '("close", InfoBarCloseSignalInfo), '("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), '("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), '("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), '("response", InfoBarResponseSignalInfo), '("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), '("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), '("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
foreign import ccall "gtk_info_bar_new" gtk_info_bar_new ::
IO (Ptr InfoBar)
infoBarNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m InfoBar
infoBarNew :: forall (m :: * -> *). (HasCallStack, MonadIO m) => m InfoBar
infoBarNew = IO InfoBar -> m InfoBar
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO InfoBar -> m InfoBar) -> IO InfoBar -> m InfoBar
forall a b. (a -> b) -> a -> b
$ do
Ptr InfoBar
result <- IO (Ptr InfoBar)
gtk_info_bar_new
Text -> Ptr InfoBar -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"infoBarNew" Ptr InfoBar
result
InfoBar
result' <- ((ManagedPtr InfoBar -> InfoBar) -> Ptr InfoBar -> IO InfoBar
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr InfoBar -> InfoBar
InfoBar) Ptr InfoBar
result
InfoBar -> IO InfoBar
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return InfoBar
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "gtk_info_bar_add_action_widget" gtk_info_bar_add_action_widget ::
Ptr InfoBar ->
Ptr Gtk.Widget.Widget ->
Int32 ->
IO ()
infoBarAddActionWidget ::
(B.CallStack.HasCallStack, MonadIO m, IsInfoBar a, Gtk.Widget.IsWidget b) =>
a
-> b
-> Int32
-> m ()
infoBarAddActionWidget :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsInfoBar a, IsWidget b) =>
a -> b -> Int32 -> m ()
infoBarAddActionWidget a
infoBar b
child Int32
responseId = 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 InfoBar
infoBar' <- a -> IO (Ptr InfoBar)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
infoBar
Ptr Widget
child' <- b -> IO (Ptr Widget)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
child
Ptr InfoBar -> Ptr Widget -> InfoBarResponseCallback
gtk_info_bar_add_action_widget Ptr InfoBar
infoBar' Ptr Widget
child' Int32
responseId
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
infoBar
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
child
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data InfoBarAddActionWidgetMethodInfo
instance (signature ~ (b -> Int32 -> m ()), MonadIO m, IsInfoBar a, Gtk.Widget.IsWidget b) => O.OverloadedMethod InfoBarAddActionWidgetMethodInfo a signature where
overloadedMethod = infoBarAddActionWidget
instance O.OverloadedMethodInfo InfoBarAddActionWidgetMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar.infoBarAddActionWidget",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#v:infoBarAddActionWidget"
})
#endif
foreign import ccall "gtk_info_bar_add_button" gtk_info_bar_add_button ::
Ptr InfoBar ->
CString ->
Int32 ->
IO (Ptr Gtk.Button.Button)
infoBarAddButton ::
(B.CallStack.HasCallStack, MonadIO m, IsInfoBar a) =>
a
-> T.Text
-> Int32
-> m Gtk.Button.Button
infoBarAddButton :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsInfoBar a) =>
a -> Text -> Int32 -> m Button
infoBarAddButton a
infoBar Text
buttonText Int32
responseId = IO Button -> m Button
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Button -> m Button) -> IO Button -> m Button
forall a b. (a -> b) -> a -> b
$ do
Ptr InfoBar
infoBar' <- a -> IO (Ptr InfoBar)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
infoBar
CString
buttonText' <- Text -> IO CString
textToCString Text
buttonText
Ptr Button
result <- Ptr InfoBar -> CString -> Int32 -> IO (Ptr Button)
gtk_info_bar_add_button Ptr InfoBar
infoBar' CString
buttonText' Int32
responseId
Text -> Ptr Button -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"infoBarAddButton" Ptr Button
result
Button
result' <- ((ManagedPtr Button -> Button) -> Ptr Button -> IO Button
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Button -> Button
Gtk.Button.Button) Ptr Button
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
infoBar
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
buttonText'
Button -> IO Button
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Button
result'
#if defined(ENABLE_OVERLOADING)
data InfoBarAddButtonMethodInfo
instance (signature ~ (T.Text -> Int32 -> m Gtk.Button.Button), MonadIO m, IsInfoBar a) => O.OverloadedMethod InfoBarAddButtonMethodInfo a signature where
overloadedMethod = infoBarAddButton
instance O.OverloadedMethodInfo InfoBarAddButtonMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar.infoBarAddButton",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#v:infoBarAddButton"
})
#endif
foreign import ccall "gtk_info_bar_get_action_area" gtk_info_bar_get_action_area ::
Ptr InfoBar ->
IO (Ptr Gtk.Box.Box)
infoBarGetActionArea ::
(B.CallStack.HasCallStack, MonadIO m, IsInfoBar a) =>
a
-> m Gtk.Box.Box
infoBarGetActionArea :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsInfoBar a) =>
a -> m Box
infoBarGetActionArea a
infoBar = IO Box -> m Box
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Box -> m Box) -> IO Box -> m Box
forall a b. (a -> b) -> a -> b
$ do
Ptr InfoBar
infoBar' <- a -> IO (Ptr InfoBar)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
infoBar
Ptr Box
result <- Ptr InfoBar -> IO (Ptr Box)
gtk_info_bar_get_action_area Ptr InfoBar
infoBar'
Text -> Ptr Box -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"infoBarGetActionArea" Ptr Box
result
Box
result' <- ((ManagedPtr Box -> Box) -> Ptr Box -> IO Box
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Box -> Box
Gtk.Box.Box) Ptr Box
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
infoBar
Box -> IO Box
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Box
result'
#if defined(ENABLE_OVERLOADING)
data InfoBarGetActionAreaMethodInfo
instance (signature ~ (m Gtk.Box.Box), MonadIO m, IsInfoBar a) => O.OverloadedMethod InfoBarGetActionAreaMethodInfo a signature where
overloadedMethod = infoBarGetActionArea
instance O.OverloadedMethodInfo InfoBarGetActionAreaMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar.infoBarGetActionArea",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#v:infoBarGetActionArea"
})
#endif
foreign import ccall "gtk_info_bar_get_content_area" gtk_info_bar_get_content_area ::
Ptr InfoBar ->
IO (Ptr Gtk.Box.Box)
infoBarGetContentArea ::
(B.CallStack.HasCallStack, MonadIO m, IsInfoBar a) =>
a
-> m Gtk.Box.Box
infoBarGetContentArea :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsInfoBar a) =>
a -> m Box
infoBarGetContentArea a
infoBar = IO Box -> m Box
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Box -> m Box) -> IO Box -> m Box
forall a b. (a -> b) -> a -> b
$ do
Ptr InfoBar
infoBar' <- a -> IO (Ptr InfoBar)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
infoBar
Ptr Box
result <- Ptr InfoBar -> IO (Ptr Box)
gtk_info_bar_get_content_area Ptr InfoBar
infoBar'
Text -> Ptr Box -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"infoBarGetContentArea" Ptr Box
result
Box
result' <- ((ManagedPtr Box -> Box) -> Ptr Box -> IO Box
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Box -> Box
Gtk.Box.Box) Ptr Box
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
infoBar
Box -> IO Box
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Box
result'
#if defined(ENABLE_OVERLOADING)
data InfoBarGetContentAreaMethodInfo
instance (signature ~ (m Gtk.Box.Box), MonadIO m, IsInfoBar a) => O.OverloadedMethod InfoBarGetContentAreaMethodInfo a signature where
overloadedMethod = infoBarGetContentArea
instance O.OverloadedMethodInfo InfoBarGetContentAreaMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar.infoBarGetContentArea",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#v:infoBarGetContentArea"
})
#endif
foreign import ccall "gtk_info_bar_get_message_type" gtk_info_bar_get_message_type ::
Ptr InfoBar ->
IO CUInt
infoBarGetMessageType ::
(B.CallStack.HasCallStack, MonadIO m, IsInfoBar a) =>
a
-> m Gtk.Enums.MessageType
infoBarGetMessageType :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsInfoBar a) =>
a -> m MessageType
infoBarGetMessageType a
infoBar = IO MessageType -> m MessageType
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO MessageType -> m MessageType)
-> IO MessageType -> m MessageType
forall a b. (a -> b) -> a -> b
$ do
Ptr InfoBar
infoBar' <- a -> IO (Ptr InfoBar)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
infoBar
CUInt
result <- Ptr InfoBar -> IO CUInt
gtk_info_bar_get_message_type Ptr InfoBar
infoBar'
let result' :: MessageType
result' = (Int -> MessageType
forall a. Enum a => Int -> a
toEnum (Int -> MessageType) -> (CUInt -> Int) -> CUInt -> MessageType
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
infoBar
MessageType -> IO MessageType
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return MessageType
result'
#if defined(ENABLE_OVERLOADING)
data InfoBarGetMessageTypeMethodInfo
instance (signature ~ (m Gtk.Enums.MessageType), MonadIO m, IsInfoBar a) => O.OverloadedMethod InfoBarGetMessageTypeMethodInfo a signature where
overloadedMethod = infoBarGetMessageType
instance O.OverloadedMethodInfo InfoBarGetMessageTypeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar.infoBarGetMessageType",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#v:infoBarGetMessageType"
})
#endif
foreign import ccall "gtk_info_bar_get_revealed" gtk_info_bar_get_revealed ::
Ptr InfoBar ->
IO CInt
infoBarGetRevealed ::
(B.CallStack.HasCallStack, MonadIO m, IsInfoBar a) =>
a
-> m Bool
infoBarGetRevealed :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsInfoBar a) =>
a -> m Bool
infoBarGetRevealed a
infoBar = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr InfoBar
infoBar' <- a -> IO (Ptr InfoBar)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
infoBar
CInt
result <- Ptr InfoBar -> IO CInt
gtk_info_bar_get_revealed Ptr InfoBar
infoBar'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
infoBar
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data InfoBarGetRevealedMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsInfoBar a) => O.OverloadedMethod InfoBarGetRevealedMethodInfo a signature where
overloadedMethod = infoBarGetRevealed
instance O.OverloadedMethodInfo InfoBarGetRevealedMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar.infoBarGetRevealed",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#v:infoBarGetRevealed"
})
#endif
foreign import ccall "gtk_info_bar_get_show_close_button" gtk_info_bar_get_show_close_button ::
Ptr InfoBar ->
IO CInt
infoBarGetShowCloseButton ::
(B.CallStack.HasCallStack, MonadIO m, IsInfoBar a) =>
a
-> m Bool
infoBarGetShowCloseButton :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsInfoBar a) =>
a -> m Bool
infoBarGetShowCloseButton a
infoBar = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr InfoBar
infoBar' <- a -> IO (Ptr InfoBar)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
infoBar
CInt
result <- Ptr InfoBar -> IO CInt
gtk_info_bar_get_show_close_button Ptr InfoBar
infoBar'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
infoBar
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data InfoBarGetShowCloseButtonMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsInfoBar a) => O.OverloadedMethod InfoBarGetShowCloseButtonMethodInfo a signature where
overloadedMethod = infoBarGetShowCloseButton
instance O.OverloadedMethodInfo InfoBarGetShowCloseButtonMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar.infoBarGetShowCloseButton",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#v:infoBarGetShowCloseButton"
})
#endif
foreign import ccall "gtk_info_bar_response" gtk_info_bar_response ::
Ptr InfoBar ->
Int32 ->
IO ()
infoBarResponse ::
(B.CallStack.HasCallStack, MonadIO m, IsInfoBar a) =>
a
-> Int32
-> m ()
infoBarResponse :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsInfoBar a) =>
a -> Int32 -> m ()
infoBarResponse a
infoBar Int32
responseId = 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 InfoBar
infoBar' <- a -> IO (Ptr InfoBar)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
infoBar
Ptr InfoBar -> InfoBarResponseCallback
gtk_info_bar_response Ptr InfoBar
infoBar' Int32
responseId
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
infoBar
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data InfoBarResponseMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsInfoBar a) => O.OverloadedMethod InfoBarResponseMethodInfo a signature where
overloadedMethod = infoBarResponse
instance O.OverloadedMethodInfo InfoBarResponseMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar.infoBarResponse",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#v:infoBarResponse"
})
#endif
foreign import ccall "gtk_info_bar_set_default_response" gtk_info_bar_set_default_response ::
Ptr InfoBar ->
Int32 ->
IO ()
infoBarSetDefaultResponse ::
(B.CallStack.HasCallStack, MonadIO m, IsInfoBar a) =>
a
-> Int32
-> m ()
infoBarSetDefaultResponse :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsInfoBar a) =>
a -> Int32 -> m ()
infoBarSetDefaultResponse a
infoBar Int32
responseId = 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 InfoBar
infoBar' <- a -> IO (Ptr InfoBar)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
infoBar
Ptr InfoBar -> InfoBarResponseCallback
gtk_info_bar_set_default_response Ptr InfoBar
infoBar' Int32
responseId
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
infoBar
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data InfoBarSetDefaultResponseMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsInfoBar a) => O.OverloadedMethod InfoBarSetDefaultResponseMethodInfo a signature where
overloadedMethod = infoBarSetDefaultResponse
instance O.OverloadedMethodInfo InfoBarSetDefaultResponseMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar.infoBarSetDefaultResponse",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#v:infoBarSetDefaultResponse"
})
#endif
foreign import ccall "gtk_info_bar_set_message_type" gtk_info_bar_set_message_type ::
Ptr InfoBar ->
CUInt ->
IO ()
infoBarSetMessageType ::
(B.CallStack.HasCallStack, MonadIO m, IsInfoBar a) =>
a
-> Gtk.Enums.MessageType
-> m ()
infoBarSetMessageType :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsInfoBar a) =>
a -> MessageType -> m ()
infoBarSetMessageType a
infoBar MessageType
messageType = 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 InfoBar
infoBar' <- a -> IO (Ptr InfoBar)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
infoBar
let messageType' :: CUInt
messageType' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (MessageType -> Int) -> MessageType -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. MessageType -> Int
forall a. Enum a => a -> Int
fromEnum) MessageType
messageType
Ptr InfoBar -> CUInt -> IO ()
gtk_info_bar_set_message_type Ptr InfoBar
infoBar' CUInt
messageType'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
infoBar
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data InfoBarSetMessageTypeMethodInfo
instance (signature ~ (Gtk.Enums.MessageType -> m ()), MonadIO m, IsInfoBar a) => O.OverloadedMethod InfoBarSetMessageTypeMethodInfo a signature where
overloadedMethod = infoBarSetMessageType
instance O.OverloadedMethodInfo InfoBarSetMessageTypeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar.infoBarSetMessageType",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#v:infoBarSetMessageType"
})
#endif
foreign import ccall "gtk_info_bar_set_response_sensitive" gtk_info_bar_set_response_sensitive ::
Ptr InfoBar ->
Int32 ->
CInt ->
IO ()
infoBarSetResponseSensitive ::
(B.CallStack.HasCallStack, MonadIO m, IsInfoBar a) =>
a
-> Int32
-> Bool
-> m ()
infoBarSetResponseSensitive :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsInfoBar a) =>
a -> Int32 -> Bool -> m ()
infoBarSetResponseSensitive a
infoBar Int32
responseId Bool
setting = 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 InfoBar
infoBar' <- a -> IO (Ptr InfoBar)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
infoBar
let setting' :: CInt
setting' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
setting
Ptr InfoBar -> Int32 -> CInt -> IO ()
gtk_info_bar_set_response_sensitive Ptr InfoBar
infoBar' Int32
responseId CInt
setting'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
infoBar
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data InfoBarSetResponseSensitiveMethodInfo
instance (signature ~ (Int32 -> Bool -> m ()), MonadIO m, IsInfoBar a) => O.OverloadedMethod InfoBarSetResponseSensitiveMethodInfo a signature where
overloadedMethod = infoBarSetResponseSensitive
instance O.OverloadedMethodInfo InfoBarSetResponseSensitiveMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar.infoBarSetResponseSensitive",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#v:infoBarSetResponseSensitive"
})
#endif
foreign import ccall "gtk_info_bar_set_revealed" gtk_info_bar_set_revealed ::
Ptr InfoBar ->
CInt ->
IO ()
infoBarSetRevealed ::
(B.CallStack.HasCallStack, MonadIO m, IsInfoBar a) =>
a
-> Bool
-> m ()
infoBarSetRevealed :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsInfoBar a) =>
a -> Bool -> m ()
infoBarSetRevealed a
infoBar Bool
revealed = 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 InfoBar
infoBar' <- a -> IO (Ptr InfoBar)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
infoBar
let revealed' :: CInt
revealed' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
revealed
Ptr InfoBar -> CInt -> IO ()
gtk_info_bar_set_revealed Ptr InfoBar
infoBar' CInt
revealed'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
infoBar
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data InfoBarSetRevealedMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsInfoBar a) => O.OverloadedMethod InfoBarSetRevealedMethodInfo a signature where
overloadedMethod = infoBarSetRevealed
instance O.OverloadedMethodInfo InfoBarSetRevealedMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar.infoBarSetRevealed",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#v:infoBarSetRevealed"
})
#endif
foreign import ccall "gtk_info_bar_set_show_close_button" gtk_info_bar_set_show_close_button ::
Ptr InfoBar ->
CInt ->
IO ()
infoBarSetShowCloseButton ::
(B.CallStack.HasCallStack, MonadIO m, IsInfoBar a) =>
a
-> Bool
-> m ()
infoBarSetShowCloseButton :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsInfoBar a) =>
a -> Bool -> m ()
infoBarSetShowCloseButton a
infoBar Bool
setting = 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 InfoBar
infoBar' <- a -> IO (Ptr InfoBar)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
infoBar
let setting' :: CInt
setting' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
setting
Ptr InfoBar -> CInt -> IO ()
gtk_info_bar_set_show_close_button Ptr InfoBar
infoBar' CInt
setting'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
infoBar
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data InfoBarSetShowCloseButtonMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsInfoBar a) => O.OverloadedMethod InfoBarSetShowCloseButtonMethodInfo a signature where
overloadedMethod = infoBarSetShowCloseButton
instance O.OverloadedMethodInfo InfoBarSetShowCloseButtonMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Gtk.Objects.InfoBar.infoBarSetShowCloseButton",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk-Objects-InfoBar.html#v:infoBarSetShowCloseButton"
})
#endif