#define ENABLE_OVERLOADING (MIN_VERSION_haskell_gi_overloading(1,0,0) \
&& !defined(__HADDOCK_VERSION__))
module GI.Gtk.Objects.Grid
(
Grid(..) ,
IsGrid ,
toGrid ,
noGrid ,
#if ENABLE_OVERLOADING
GridAttachMethodInfo ,
#endif
gridAttach ,
#if ENABLE_OVERLOADING
GridAttachNextToMethodInfo ,
#endif
gridAttachNextTo ,
#if ENABLE_OVERLOADING
GridGetBaselineRowMethodInfo ,
#endif
gridGetBaselineRow ,
#if ENABLE_OVERLOADING
GridGetChildAtMethodInfo ,
#endif
gridGetChildAt ,
#if ENABLE_OVERLOADING
GridGetColumnHomogeneousMethodInfo ,
#endif
gridGetColumnHomogeneous ,
#if ENABLE_OVERLOADING
GridGetColumnSpacingMethodInfo ,
#endif
gridGetColumnSpacing ,
#if ENABLE_OVERLOADING
GridGetRowBaselinePositionMethodInfo ,
#endif
gridGetRowBaselinePosition ,
#if ENABLE_OVERLOADING
GridGetRowHomogeneousMethodInfo ,
#endif
gridGetRowHomogeneous ,
#if ENABLE_OVERLOADING
GridGetRowSpacingMethodInfo ,
#endif
gridGetRowSpacing ,
#if ENABLE_OVERLOADING
GridInsertColumnMethodInfo ,
#endif
gridInsertColumn ,
#if ENABLE_OVERLOADING
GridInsertNextToMethodInfo ,
#endif
gridInsertNextTo ,
#if ENABLE_OVERLOADING
GridInsertRowMethodInfo ,
#endif
gridInsertRow ,
gridNew ,
#if ENABLE_OVERLOADING
GridRemoveColumnMethodInfo ,
#endif
gridRemoveColumn ,
#if ENABLE_OVERLOADING
GridRemoveRowMethodInfo ,
#endif
gridRemoveRow ,
#if ENABLE_OVERLOADING
GridSetBaselineRowMethodInfo ,
#endif
gridSetBaselineRow ,
#if ENABLE_OVERLOADING
GridSetColumnHomogeneousMethodInfo ,
#endif
gridSetColumnHomogeneous ,
#if ENABLE_OVERLOADING
GridSetColumnSpacingMethodInfo ,
#endif
gridSetColumnSpacing ,
#if ENABLE_OVERLOADING
GridSetRowBaselinePositionMethodInfo ,
#endif
gridSetRowBaselinePosition ,
#if ENABLE_OVERLOADING
GridSetRowHomogeneousMethodInfo ,
#endif
gridSetRowHomogeneous ,
#if ENABLE_OVERLOADING
GridSetRowSpacingMethodInfo ,
#endif
gridSetRowSpacing ,
#if ENABLE_OVERLOADING
GridBaselineRowPropertyInfo ,
#endif
constructGridBaselineRow ,
getGridBaselineRow ,
#if ENABLE_OVERLOADING
gridBaselineRow ,
#endif
setGridBaselineRow ,
#if ENABLE_OVERLOADING
GridColumnHomogeneousPropertyInfo ,
#endif
constructGridColumnHomogeneous ,
getGridColumnHomogeneous ,
#if ENABLE_OVERLOADING
gridColumnHomogeneous ,
#endif
setGridColumnHomogeneous ,
#if ENABLE_OVERLOADING
GridColumnSpacingPropertyInfo ,
#endif
constructGridColumnSpacing ,
getGridColumnSpacing ,
#if ENABLE_OVERLOADING
gridColumnSpacing ,
#endif
setGridColumnSpacing ,
#if ENABLE_OVERLOADING
GridRowHomogeneousPropertyInfo ,
#endif
constructGridRowHomogeneous ,
getGridRowHomogeneous ,
#if ENABLE_OVERLOADING
gridRowHomogeneous ,
#endif
setGridRowHomogeneous ,
#if ENABLE_OVERLOADING
GridRowSpacingPropertyInfo ,
#endif
constructGridRowSpacing ,
getGridRowSpacing ,
#if ENABLE_OVERLOADING
gridRowSpacing ,
#endif
setGridRowSpacing ,
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
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.Container as Gtk.Container
import {-# SOURCE #-} qualified GI.Gtk.Objects.Widget as Gtk.Widget
newtype Grid = Grid (ManagedPtr Grid)
foreign import ccall "gtk_grid_get_type"
c_gtk_grid_get_type :: IO GType
instance GObject Grid where
gobjectType = c_gtk_grid_get_type
class (GObject o, O.IsDescendantOf Grid o) => IsGrid o
instance (GObject o, O.IsDescendantOf Grid o) => IsGrid o
instance O.HasParentTypes Grid
type instance O.ParentTypes Grid = '[Gtk.Container.Container, Gtk.Widget.Widget, GObject.Object.Object, Atk.ImplementorIface.ImplementorIface, Gtk.Buildable.Buildable, Gtk.Orientable.Orientable]
toGrid :: (MonadIO m, IsGrid o) => o -> m Grid
toGrid = liftIO . unsafeCastTo Grid
noGrid :: Maybe Grid
noGrid = Nothing
#if ENABLE_OVERLOADING
type family ResolveGridMethod (t :: Symbol) (o :: *) :: * where
ResolveGridMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
ResolveGridMethod "add" o = Gtk.Container.ContainerAddMethodInfo
ResolveGridMethod "addAccelerator" o = Gtk.Widget.WidgetAddAcceleratorMethodInfo
ResolveGridMethod "addChild" o = Gtk.Buildable.BuildableAddChildMethodInfo
ResolveGridMethod "addDeviceEvents" o = Gtk.Widget.WidgetAddDeviceEventsMethodInfo
ResolveGridMethod "addEvents" o = Gtk.Widget.WidgetAddEventsMethodInfo
ResolveGridMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
ResolveGridMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
ResolveGridMethod "attach" o = GridAttachMethodInfo
ResolveGridMethod "attachNextTo" o = GridAttachNextToMethodInfo
ResolveGridMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveGridMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveGridMethod "canActivateAccel" o = Gtk.Widget.WidgetCanActivateAccelMethodInfo
ResolveGridMethod "checkResize" o = Gtk.Container.ContainerCheckResizeMethodInfo
ResolveGridMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
ResolveGridMethod "childGetProperty" o = Gtk.Container.ContainerChildGetPropertyMethodInfo
ResolveGridMethod "childNotify" o = Gtk.Container.ContainerChildNotifyMethodInfo
ResolveGridMethod "childNotifyByPspec" o = Gtk.Container.ContainerChildNotifyByPspecMethodInfo
ResolveGridMethod "childSetProperty" o = Gtk.Container.ContainerChildSetPropertyMethodInfo
ResolveGridMethod "childType" o = Gtk.Container.ContainerChildTypeMethodInfo
ResolveGridMethod "classPath" o = Gtk.Widget.WidgetClassPathMethodInfo
ResolveGridMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
ResolveGridMethod "constructChild" o = Gtk.Buildable.BuildableConstructChildMethodInfo
ResolveGridMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
ResolveGridMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
ResolveGridMethod "customFinished" o = Gtk.Buildable.BuildableCustomFinishedMethodInfo
ResolveGridMethod "customTagEnd" o = Gtk.Buildable.BuildableCustomTagEndMethodInfo
ResolveGridMethod "customTagStart" o = Gtk.Buildable.BuildableCustomTagStartMethodInfo
ResolveGridMethod "destroy" o = Gtk.Widget.WidgetDestroyMethodInfo
ResolveGridMethod "destroyed" o = Gtk.Widget.WidgetDestroyedMethodInfo
ResolveGridMethod "deviceIsShadowed" o = Gtk.Widget.WidgetDeviceIsShadowedMethodInfo
ResolveGridMethod "dragBegin" o = Gtk.Widget.WidgetDragBeginMethodInfo
ResolveGridMethod "dragBeginWithCoordinates" o = Gtk.Widget.WidgetDragBeginWithCoordinatesMethodInfo
ResolveGridMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
ResolveGridMethod "dragDestAddImageTargets" o = Gtk.Widget.WidgetDragDestAddImageTargetsMethodInfo
ResolveGridMethod "dragDestAddTextTargets" o = Gtk.Widget.WidgetDragDestAddTextTargetsMethodInfo
ResolveGridMethod "dragDestAddUriTargets" o = Gtk.Widget.WidgetDragDestAddUriTargetsMethodInfo
ResolveGridMethod "dragDestFindTarget" o = Gtk.Widget.WidgetDragDestFindTargetMethodInfo
ResolveGridMethod "dragDestGetTargetList" o = Gtk.Widget.WidgetDragDestGetTargetListMethodInfo
ResolveGridMethod "dragDestGetTrackMotion" o = Gtk.Widget.WidgetDragDestGetTrackMotionMethodInfo
ResolveGridMethod "dragDestSet" o = Gtk.Widget.WidgetDragDestSetMethodInfo
ResolveGridMethod "dragDestSetProxy" o = Gtk.Widget.WidgetDragDestSetProxyMethodInfo
ResolveGridMethod "dragDestSetTargetList" o = Gtk.Widget.WidgetDragDestSetTargetListMethodInfo
ResolveGridMethod "dragDestSetTrackMotion" o = Gtk.Widget.WidgetDragDestSetTrackMotionMethodInfo
ResolveGridMethod "dragDestUnset" o = Gtk.Widget.WidgetDragDestUnsetMethodInfo
ResolveGridMethod "dragGetData" o = Gtk.Widget.WidgetDragGetDataMethodInfo
ResolveGridMethod "dragHighlight" o = Gtk.Widget.WidgetDragHighlightMethodInfo
ResolveGridMethod "dragSourceAddImageTargets" o = Gtk.Widget.WidgetDragSourceAddImageTargetsMethodInfo
ResolveGridMethod "dragSourceAddTextTargets" o = Gtk.Widget.WidgetDragSourceAddTextTargetsMethodInfo
ResolveGridMethod "dragSourceAddUriTargets" o = Gtk.Widget.WidgetDragSourceAddUriTargetsMethodInfo
ResolveGridMethod "dragSourceGetTargetList" o = Gtk.Widget.WidgetDragSourceGetTargetListMethodInfo
ResolveGridMethod "dragSourceSet" o = Gtk.Widget.WidgetDragSourceSetMethodInfo
ResolveGridMethod "dragSourceSetIconGicon" o = Gtk.Widget.WidgetDragSourceSetIconGiconMethodInfo
ResolveGridMethod "dragSourceSetIconName" o = Gtk.Widget.WidgetDragSourceSetIconNameMethodInfo
ResolveGridMethod "dragSourceSetIconPixbuf" o = Gtk.Widget.WidgetDragSourceSetIconPixbufMethodInfo
ResolveGridMethod "dragSourceSetIconStock" o = Gtk.Widget.WidgetDragSourceSetIconStockMethodInfo
ResolveGridMethod "dragSourceSetTargetList" o = Gtk.Widget.WidgetDragSourceSetTargetListMethodInfo
ResolveGridMethod "dragSourceUnset" o = Gtk.Widget.WidgetDragSourceUnsetMethodInfo
ResolveGridMethod "dragUnhighlight" o = Gtk.Widget.WidgetDragUnhighlightMethodInfo
ResolveGridMethod "draw" o = Gtk.Widget.WidgetDrawMethodInfo
ResolveGridMethod "ensureStyle" o = Gtk.Widget.WidgetEnsureStyleMethodInfo
ResolveGridMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
ResolveGridMethod "event" o = Gtk.Widget.WidgetEventMethodInfo
ResolveGridMethod "forall" o = Gtk.Container.ContainerForallMethodInfo
ResolveGridMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveGridMethod "foreach" o = Gtk.Container.ContainerForeachMethodInfo
ResolveGridMethod "freezeChildNotify" o = Gtk.Widget.WidgetFreezeChildNotifyMethodInfo
ResolveGridMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveGridMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveGridMethod "grabAdd" o = Gtk.Widget.WidgetGrabAddMethodInfo
ResolveGridMethod "grabDefault" o = Gtk.Widget.WidgetGrabDefaultMethodInfo
ResolveGridMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
ResolveGridMethod "grabRemove" o = Gtk.Widget.WidgetGrabRemoveMethodInfo
ResolveGridMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
ResolveGridMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
ResolveGridMethod "hasGrab" o = Gtk.Widget.WidgetHasGrabMethodInfo
ResolveGridMethod "hasRcStyle" o = Gtk.Widget.WidgetHasRcStyleMethodInfo
ResolveGridMethod "hasScreen" o = Gtk.Widget.WidgetHasScreenMethodInfo
ResolveGridMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
ResolveGridMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
ResolveGridMethod "hideOnDelete" o = Gtk.Widget.WidgetHideOnDeleteMethodInfo
ResolveGridMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
ResolveGridMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
ResolveGridMethod "inputShapeCombineRegion" o = Gtk.Widget.WidgetInputShapeCombineRegionMethodInfo
ResolveGridMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
ResolveGridMethod "insertColumn" o = GridInsertColumnMethodInfo
ResolveGridMethod "insertNextTo" o = GridInsertNextToMethodInfo
ResolveGridMethod "insertRow" o = GridInsertRowMethodInfo
ResolveGridMethod "intersect" o = Gtk.Widget.WidgetIntersectMethodInfo
ResolveGridMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
ResolveGridMethod "isComposited" o = Gtk.Widget.WidgetIsCompositedMethodInfo
ResolveGridMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
ResolveGridMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveGridMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
ResolveGridMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
ResolveGridMethod "isToplevel" o = Gtk.Widget.WidgetIsToplevelMethodInfo
ResolveGridMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
ResolveGridMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
ResolveGridMethod "listAccelClosures" o = Gtk.Widget.WidgetListAccelClosuresMethodInfo
ResolveGridMethod "listActionPrefixes" o = Gtk.Widget.WidgetListActionPrefixesMethodInfo
ResolveGridMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
ResolveGridMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
ResolveGridMethod "mnemonicActivate" o = Gtk.Widget.WidgetMnemonicActivateMethodInfo
ResolveGridMethod "modifyBase" o = Gtk.Widget.WidgetModifyBaseMethodInfo
ResolveGridMethod "modifyBg" o = Gtk.Widget.WidgetModifyBgMethodInfo
ResolveGridMethod "modifyCursor" o = Gtk.Widget.WidgetModifyCursorMethodInfo
ResolveGridMethod "modifyFg" o = Gtk.Widget.WidgetModifyFgMethodInfo
ResolveGridMethod "modifyFont" o = Gtk.Widget.WidgetModifyFontMethodInfo
ResolveGridMethod "modifyStyle" o = Gtk.Widget.WidgetModifyStyleMethodInfo
ResolveGridMethod "modifyText" o = Gtk.Widget.WidgetModifyTextMethodInfo
ResolveGridMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveGridMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveGridMethod "overrideBackgroundColor" o = Gtk.Widget.WidgetOverrideBackgroundColorMethodInfo
ResolveGridMethod "overrideColor" o = Gtk.Widget.WidgetOverrideColorMethodInfo
ResolveGridMethod "overrideCursor" o = Gtk.Widget.WidgetOverrideCursorMethodInfo
ResolveGridMethod "overrideFont" o = Gtk.Widget.WidgetOverrideFontMethodInfo
ResolveGridMethod "overrideSymbolicColor" o = Gtk.Widget.WidgetOverrideSymbolicColorMethodInfo
ResolveGridMethod "parserFinished" o = Gtk.Buildable.BuildableParserFinishedMethodInfo
ResolveGridMethod "path" o = Gtk.Widget.WidgetPathMethodInfo
ResolveGridMethod "propagateDraw" o = Gtk.Container.ContainerPropagateDrawMethodInfo
ResolveGridMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
ResolveGridMethod "queueComputeExpand" o = Gtk.Widget.WidgetQueueComputeExpandMethodInfo
ResolveGridMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
ResolveGridMethod "queueDrawArea" o = Gtk.Widget.WidgetQueueDrawAreaMethodInfo
ResolveGridMethod "queueDrawRegion" o = Gtk.Widget.WidgetQueueDrawRegionMethodInfo
ResolveGridMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
ResolveGridMethod "queueResizeNoRedraw" o = Gtk.Widget.WidgetQueueResizeNoRedrawMethodInfo
ResolveGridMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
ResolveGridMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveGridMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveGridMethod "regionIntersect" o = Gtk.Widget.WidgetRegionIntersectMethodInfo
ResolveGridMethod "registerWindow" o = Gtk.Widget.WidgetRegisterWindowMethodInfo
ResolveGridMethod "remove" o = Gtk.Container.ContainerRemoveMethodInfo
ResolveGridMethod "removeAccelerator" o = Gtk.Widget.WidgetRemoveAcceleratorMethodInfo
ResolveGridMethod "removeColumn" o = GridRemoveColumnMethodInfo
ResolveGridMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
ResolveGridMethod "removeRow" o = GridRemoveRowMethodInfo
ResolveGridMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
ResolveGridMethod "renderIcon" o = Gtk.Widget.WidgetRenderIconMethodInfo
ResolveGridMethod "renderIconPixbuf" o = Gtk.Widget.WidgetRenderIconPixbufMethodInfo
ResolveGridMethod "reparent" o = Gtk.Widget.WidgetReparentMethodInfo
ResolveGridMethod "resetRcStyles" o = Gtk.Widget.WidgetResetRcStylesMethodInfo
ResolveGridMethod "resetStyle" o = Gtk.Widget.WidgetResetStyleMethodInfo
ResolveGridMethod "resizeChildren" o = Gtk.Container.ContainerResizeChildrenMethodInfo
ResolveGridMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveGridMethod "sendExpose" o = Gtk.Widget.WidgetSendExposeMethodInfo
ResolveGridMethod "sendFocusChange" o = Gtk.Widget.WidgetSendFocusChangeMethodInfo
ResolveGridMethod "shapeCombineRegion" o = Gtk.Widget.WidgetShapeCombineRegionMethodInfo
ResolveGridMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
ResolveGridMethod "showAll" o = Gtk.Widget.WidgetShowAllMethodInfo
ResolveGridMethod "showNow" o = Gtk.Widget.WidgetShowNowMethodInfo
ResolveGridMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
ResolveGridMethod "sizeAllocateWithBaseline" o = Gtk.Widget.WidgetSizeAllocateWithBaselineMethodInfo
ResolveGridMethod "sizeRequest" o = Gtk.Widget.WidgetSizeRequestMethodInfo
ResolveGridMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveGridMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveGridMethod "styleAttach" o = Gtk.Widget.WidgetStyleAttachMethodInfo
ResolveGridMethod "styleGetProperty" o = Gtk.Widget.WidgetStyleGetPropertyMethodInfo
ResolveGridMethod "thawChildNotify" o = Gtk.Widget.WidgetThawChildNotifyMethodInfo
ResolveGridMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveGridMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
ResolveGridMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
ResolveGridMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
ResolveGridMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
ResolveGridMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
ResolveGridMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveGridMethod "unregisterWindow" o = Gtk.Widget.WidgetUnregisterWindowMethodInfo
ResolveGridMethod "unsetFocusChain" o = Gtk.Container.ContainerUnsetFocusChainMethodInfo
ResolveGridMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
ResolveGridMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveGridMethod "getAccessible" o = Gtk.Widget.WidgetGetAccessibleMethodInfo
ResolveGridMethod "getActionGroup" o = Gtk.Widget.WidgetGetActionGroupMethodInfo
ResolveGridMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
ResolveGridMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
ResolveGridMethod "getAllocatedSize" o = Gtk.Widget.WidgetGetAllocatedSizeMethodInfo
ResolveGridMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
ResolveGridMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
ResolveGridMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
ResolveGridMethod "getAppPaintable" o = Gtk.Widget.WidgetGetAppPaintableMethodInfo
ResolveGridMethod "getBaselineRow" o = GridGetBaselineRowMethodInfo
ResolveGridMethod "getBorderWidth" o = Gtk.Container.ContainerGetBorderWidthMethodInfo
ResolveGridMethod "getCanDefault" o = Gtk.Widget.WidgetGetCanDefaultMethodInfo
ResolveGridMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
ResolveGridMethod "getChildAt" o = GridGetChildAtMethodInfo
ResolveGridMethod "getChildRequisition" o = Gtk.Widget.WidgetGetChildRequisitionMethodInfo
ResolveGridMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
ResolveGridMethod "getChildren" o = Gtk.Container.ContainerGetChildrenMethodInfo
ResolveGridMethod "getClip" o = Gtk.Widget.WidgetGetClipMethodInfo
ResolveGridMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
ResolveGridMethod "getColumnHomogeneous" o = GridGetColumnHomogeneousMethodInfo
ResolveGridMethod "getColumnSpacing" o = GridGetColumnSpacingMethodInfo
ResolveGridMethod "getCompositeName" o = Gtk.Widget.WidgetGetCompositeNameMethodInfo
ResolveGridMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveGridMethod "getDeviceEnabled" o = Gtk.Widget.WidgetGetDeviceEnabledMethodInfo
ResolveGridMethod "getDeviceEvents" o = Gtk.Widget.WidgetGetDeviceEventsMethodInfo
ResolveGridMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
ResolveGridMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
ResolveGridMethod "getDoubleBuffered" o = Gtk.Widget.WidgetGetDoubleBufferedMethodInfo
ResolveGridMethod "getEvents" o = Gtk.Widget.WidgetGetEventsMethodInfo
ResolveGridMethod "getFocusChain" o = Gtk.Container.ContainerGetFocusChainMethodInfo
ResolveGridMethod "getFocusChild" o = Gtk.Container.ContainerGetFocusChildMethodInfo
ResolveGridMethod "getFocusHadjustment" o = Gtk.Container.ContainerGetFocusHadjustmentMethodInfo
ResolveGridMethod "getFocusOnClick" o = Gtk.Widget.WidgetGetFocusOnClickMethodInfo
ResolveGridMethod "getFocusVadjustment" o = Gtk.Container.ContainerGetFocusVadjustmentMethodInfo
ResolveGridMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
ResolveGridMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
ResolveGridMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
ResolveGridMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
ResolveGridMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
ResolveGridMethod "getHasWindow" o = Gtk.Widget.WidgetGetHasWindowMethodInfo
ResolveGridMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
ResolveGridMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
ResolveGridMethod "getInternalChild" o = Gtk.Buildable.BuildableGetInternalChildMethodInfo
ResolveGridMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
ResolveGridMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
ResolveGridMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
ResolveGridMethod "getMarginLeft" o = Gtk.Widget.WidgetGetMarginLeftMethodInfo
ResolveGridMethod "getMarginRight" o = Gtk.Widget.WidgetGetMarginRightMethodInfo
ResolveGridMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
ResolveGridMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
ResolveGridMethod "getModifierMask" o = Gtk.Widget.WidgetGetModifierMaskMethodInfo
ResolveGridMethod "getModifierStyle" o = Gtk.Widget.WidgetGetModifierStyleMethodInfo
ResolveGridMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
ResolveGridMethod "getNoShowAll" o = Gtk.Widget.WidgetGetNoShowAllMethodInfo
ResolveGridMethod "getOpacity" o = Gtk.Widget.WidgetGetOpacityMethodInfo
ResolveGridMethod "getOrientation" o = Gtk.Orientable.OrientableGetOrientationMethodInfo
ResolveGridMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
ResolveGridMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
ResolveGridMethod "getParentWindow" o = Gtk.Widget.WidgetGetParentWindowMethodInfo
ResolveGridMethod "getPath" o = Gtk.Widget.WidgetGetPathMethodInfo
ResolveGridMethod "getPathForChild" o = Gtk.Container.ContainerGetPathForChildMethodInfo
ResolveGridMethod "getPointer" o = Gtk.Widget.WidgetGetPointerMethodInfo
ResolveGridMethod "getPreferredHeight" o = Gtk.Widget.WidgetGetPreferredHeightMethodInfo
ResolveGridMethod "getPreferredHeightAndBaselineForWidth" o = Gtk.Widget.WidgetGetPreferredHeightAndBaselineForWidthMethodInfo
ResolveGridMethod "getPreferredHeightForWidth" o = Gtk.Widget.WidgetGetPreferredHeightForWidthMethodInfo
ResolveGridMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
ResolveGridMethod "getPreferredWidth" o = Gtk.Widget.WidgetGetPreferredWidthMethodInfo
ResolveGridMethod "getPreferredWidthForHeight" o = Gtk.Widget.WidgetGetPreferredWidthForHeightMethodInfo
ResolveGridMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveGridMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveGridMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
ResolveGridMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
ResolveGridMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
ResolveGridMethod "getRequisition" o = Gtk.Widget.WidgetGetRequisitionMethodInfo
ResolveGridMethod "getResizeMode" o = Gtk.Container.ContainerGetResizeModeMethodInfo
ResolveGridMethod "getRootWindow" o = Gtk.Widget.WidgetGetRootWindowMethodInfo
ResolveGridMethod "getRowBaselinePosition" o = GridGetRowBaselinePositionMethodInfo
ResolveGridMethod "getRowHomogeneous" o = GridGetRowHomogeneousMethodInfo
ResolveGridMethod "getRowSpacing" o = GridGetRowSpacingMethodInfo
ResolveGridMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
ResolveGridMethod "getScreen" o = Gtk.Widget.WidgetGetScreenMethodInfo
ResolveGridMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
ResolveGridMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
ResolveGridMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
ResolveGridMethod "getState" o = Gtk.Widget.WidgetGetStateMethodInfo
ResolveGridMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
ResolveGridMethod "getStyle" o = Gtk.Widget.WidgetGetStyleMethodInfo
ResolveGridMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
ResolveGridMethod "getSupportMultidevice" o = Gtk.Widget.WidgetGetSupportMultideviceMethodInfo
ResolveGridMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
ResolveGridMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
ResolveGridMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
ResolveGridMethod "getTooltipWindow" o = Gtk.Widget.WidgetGetTooltipWindowMethodInfo
ResolveGridMethod "getToplevel" o = Gtk.Widget.WidgetGetToplevelMethodInfo
ResolveGridMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
ResolveGridMethod "getValignWithBaseline" o = Gtk.Widget.WidgetGetValignWithBaselineMethodInfo
ResolveGridMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
ResolveGridMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
ResolveGridMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
ResolveGridMethod "getVisual" o = Gtk.Widget.WidgetGetVisualMethodInfo
ResolveGridMethod "getWindow" o = Gtk.Widget.WidgetGetWindowMethodInfo
ResolveGridMethod "setAccelPath" o = Gtk.Widget.WidgetSetAccelPathMethodInfo
ResolveGridMethod "setAllocation" o = Gtk.Widget.WidgetSetAllocationMethodInfo
ResolveGridMethod "setAppPaintable" o = Gtk.Widget.WidgetSetAppPaintableMethodInfo
ResolveGridMethod "setBaselineRow" o = GridSetBaselineRowMethodInfo
ResolveGridMethod "setBorderWidth" o = Gtk.Container.ContainerSetBorderWidthMethodInfo
ResolveGridMethod "setBuildableProperty" o = Gtk.Buildable.BuildableSetBuildablePropertyMethodInfo
ResolveGridMethod "setCanDefault" o = Gtk.Widget.WidgetSetCanDefaultMethodInfo
ResolveGridMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
ResolveGridMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
ResolveGridMethod "setClip" o = Gtk.Widget.WidgetSetClipMethodInfo
ResolveGridMethod "setColumnHomogeneous" o = GridSetColumnHomogeneousMethodInfo
ResolveGridMethod "setColumnSpacing" o = GridSetColumnSpacingMethodInfo
ResolveGridMethod "setCompositeName" o = Gtk.Widget.WidgetSetCompositeNameMethodInfo
ResolveGridMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveGridMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveGridMethod "setDeviceEnabled" o = Gtk.Widget.WidgetSetDeviceEnabledMethodInfo
ResolveGridMethod "setDeviceEvents" o = Gtk.Widget.WidgetSetDeviceEventsMethodInfo
ResolveGridMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
ResolveGridMethod "setDoubleBuffered" o = Gtk.Widget.WidgetSetDoubleBufferedMethodInfo
ResolveGridMethod "setEvents" o = Gtk.Widget.WidgetSetEventsMethodInfo
ResolveGridMethod "setFocusChain" o = Gtk.Container.ContainerSetFocusChainMethodInfo
ResolveGridMethod "setFocusChild" o = Gtk.Container.ContainerSetFocusChildMethodInfo
ResolveGridMethod "setFocusHadjustment" o = Gtk.Container.ContainerSetFocusHadjustmentMethodInfo
ResolveGridMethod "setFocusOnClick" o = Gtk.Widget.WidgetSetFocusOnClickMethodInfo
ResolveGridMethod "setFocusVadjustment" o = Gtk.Container.ContainerSetFocusVadjustmentMethodInfo
ResolveGridMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
ResolveGridMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
ResolveGridMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
ResolveGridMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
ResolveGridMethod "setHasWindow" o = Gtk.Widget.WidgetSetHasWindowMethodInfo
ResolveGridMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
ResolveGridMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
ResolveGridMethod "setMapped" o = Gtk.Widget.WidgetSetMappedMethodInfo
ResolveGridMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
ResolveGridMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
ResolveGridMethod "setMarginLeft" o = Gtk.Widget.WidgetSetMarginLeftMethodInfo
ResolveGridMethod "setMarginRight" o = Gtk.Widget.WidgetSetMarginRightMethodInfo
ResolveGridMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
ResolveGridMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
ResolveGridMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
ResolveGridMethod "setNoShowAll" o = Gtk.Widget.WidgetSetNoShowAllMethodInfo
ResolveGridMethod "setOpacity" o = Gtk.Widget.WidgetSetOpacityMethodInfo
ResolveGridMethod "setOrientation" o = Gtk.Orientable.OrientableSetOrientationMethodInfo
ResolveGridMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
ResolveGridMethod "setParentWindow" o = Gtk.Widget.WidgetSetParentWindowMethodInfo
ResolveGridMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveGridMethod "setRealized" o = Gtk.Widget.WidgetSetRealizedMethodInfo
ResolveGridMethod "setReallocateRedraws" o = Gtk.Container.ContainerSetReallocateRedrawsMethodInfo
ResolveGridMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
ResolveGridMethod "setRedrawOnAllocate" o = Gtk.Widget.WidgetSetRedrawOnAllocateMethodInfo
ResolveGridMethod "setResizeMode" o = Gtk.Container.ContainerSetResizeModeMethodInfo
ResolveGridMethod "setRowBaselinePosition" o = GridSetRowBaselinePositionMethodInfo
ResolveGridMethod "setRowHomogeneous" o = GridSetRowHomogeneousMethodInfo
ResolveGridMethod "setRowSpacing" o = GridSetRowSpacingMethodInfo
ResolveGridMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
ResolveGridMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
ResolveGridMethod "setState" o = Gtk.Widget.WidgetSetStateMethodInfo
ResolveGridMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
ResolveGridMethod "setStyle" o = Gtk.Widget.WidgetSetStyleMethodInfo
ResolveGridMethod "setSupportMultidevice" o = Gtk.Widget.WidgetSetSupportMultideviceMethodInfo
ResolveGridMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
ResolveGridMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
ResolveGridMethod "setTooltipWindow" o = Gtk.Widget.WidgetSetTooltipWindowMethodInfo
ResolveGridMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
ResolveGridMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
ResolveGridMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
ResolveGridMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
ResolveGridMethod "setVisual" o = Gtk.Widget.WidgetSetVisualMethodInfo
ResolveGridMethod "setWindow" o = Gtk.Widget.WidgetSetWindowMethodInfo
ResolveGridMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveGridMethod t Grid, O.MethodInfo info Grid p) => OL.IsLabel t (Grid -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#else
fromLabel _ = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#endif
#endif
getGridBaselineRow :: (MonadIO m, IsGrid o) => o -> m Int32
getGridBaselineRow obj = liftIO $ B.Properties.getObjectPropertyInt32 obj "baseline-row"
setGridBaselineRow :: (MonadIO m, IsGrid o) => o -> Int32 -> m ()
setGridBaselineRow obj val = liftIO $ B.Properties.setObjectPropertyInt32 obj "baseline-row" val
constructGridBaselineRow :: (IsGrid o) => Int32 -> IO (GValueConstruct o)
constructGridBaselineRow val = B.Properties.constructObjectPropertyInt32 "baseline-row" val
#if ENABLE_OVERLOADING
data GridBaselineRowPropertyInfo
instance AttrInfo GridBaselineRowPropertyInfo where
type AttrAllowedOps GridBaselineRowPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint GridBaselineRowPropertyInfo = (~) Int32
type AttrBaseTypeConstraint GridBaselineRowPropertyInfo = IsGrid
type AttrGetType GridBaselineRowPropertyInfo = Int32
type AttrLabel GridBaselineRowPropertyInfo = "baseline-row"
type AttrOrigin GridBaselineRowPropertyInfo = Grid
attrGet _ = getGridBaselineRow
attrSet _ = setGridBaselineRow
attrConstruct _ = constructGridBaselineRow
attrClear _ = undefined
#endif
getGridColumnHomogeneous :: (MonadIO m, IsGrid o) => o -> m Bool
getGridColumnHomogeneous obj = liftIO $ B.Properties.getObjectPropertyBool obj "column-homogeneous"
setGridColumnHomogeneous :: (MonadIO m, IsGrid o) => o -> Bool -> m ()
setGridColumnHomogeneous obj val = liftIO $ B.Properties.setObjectPropertyBool obj "column-homogeneous" val
constructGridColumnHomogeneous :: (IsGrid o) => Bool -> IO (GValueConstruct o)
constructGridColumnHomogeneous val = B.Properties.constructObjectPropertyBool "column-homogeneous" val
#if ENABLE_OVERLOADING
data GridColumnHomogeneousPropertyInfo
instance AttrInfo GridColumnHomogeneousPropertyInfo where
type AttrAllowedOps GridColumnHomogeneousPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint GridColumnHomogeneousPropertyInfo = (~) Bool
type AttrBaseTypeConstraint GridColumnHomogeneousPropertyInfo = IsGrid
type AttrGetType GridColumnHomogeneousPropertyInfo = Bool
type AttrLabel GridColumnHomogeneousPropertyInfo = "column-homogeneous"
type AttrOrigin GridColumnHomogeneousPropertyInfo = Grid
attrGet _ = getGridColumnHomogeneous
attrSet _ = setGridColumnHomogeneous
attrConstruct _ = constructGridColumnHomogeneous
attrClear _ = undefined
#endif
getGridColumnSpacing :: (MonadIO m, IsGrid o) => o -> m Int32
getGridColumnSpacing obj = liftIO $ B.Properties.getObjectPropertyInt32 obj "column-spacing"
setGridColumnSpacing :: (MonadIO m, IsGrid o) => o -> Int32 -> m ()
setGridColumnSpacing obj val = liftIO $ B.Properties.setObjectPropertyInt32 obj "column-spacing" val
constructGridColumnSpacing :: (IsGrid o) => Int32 -> IO (GValueConstruct o)
constructGridColumnSpacing val = B.Properties.constructObjectPropertyInt32 "column-spacing" val
#if ENABLE_OVERLOADING
data GridColumnSpacingPropertyInfo
instance AttrInfo GridColumnSpacingPropertyInfo where
type AttrAllowedOps GridColumnSpacingPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint GridColumnSpacingPropertyInfo = (~) Int32
type AttrBaseTypeConstraint GridColumnSpacingPropertyInfo = IsGrid
type AttrGetType GridColumnSpacingPropertyInfo = Int32
type AttrLabel GridColumnSpacingPropertyInfo = "column-spacing"
type AttrOrigin GridColumnSpacingPropertyInfo = Grid
attrGet _ = getGridColumnSpacing
attrSet _ = setGridColumnSpacing
attrConstruct _ = constructGridColumnSpacing
attrClear _ = undefined
#endif
getGridRowHomogeneous :: (MonadIO m, IsGrid o) => o -> m Bool
getGridRowHomogeneous obj = liftIO $ B.Properties.getObjectPropertyBool obj "row-homogeneous"
setGridRowHomogeneous :: (MonadIO m, IsGrid o) => o -> Bool -> m ()
setGridRowHomogeneous obj val = liftIO $ B.Properties.setObjectPropertyBool obj "row-homogeneous" val
constructGridRowHomogeneous :: (IsGrid o) => Bool -> IO (GValueConstruct o)
constructGridRowHomogeneous val = B.Properties.constructObjectPropertyBool "row-homogeneous" val
#if ENABLE_OVERLOADING
data GridRowHomogeneousPropertyInfo
instance AttrInfo GridRowHomogeneousPropertyInfo where
type AttrAllowedOps GridRowHomogeneousPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint GridRowHomogeneousPropertyInfo = (~) Bool
type AttrBaseTypeConstraint GridRowHomogeneousPropertyInfo = IsGrid
type AttrGetType GridRowHomogeneousPropertyInfo = Bool
type AttrLabel GridRowHomogeneousPropertyInfo = "row-homogeneous"
type AttrOrigin GridRowHomogeneousPropertyInfo = Grid
attrGet _ = getGridRowHomogeneous
attrSet _ = setGridRowHomogeneous
attrConstruct _ = constructGridRowHomogeneous
attrClear _ = undefined
#endif
getGridRowSpacing :: (MonadIO m, IsGrid o) => o -> m Int32
getGridRowSpacing obj = liftIO $ B.Properties.getObjectPropertyInt32 obj "row-spacing"
setGridRowSpacing :: (MonadIO m, IsGrid o) => o -> Int32 -> m ()
setGridRowSpacing obj val = liftIO $ B.Properties.setObjectPropertyInt32 obj "row-spacing" val
constructGridRowSpacing :: (IsGrid o) => Int32 -> IO (GValueConstruct o)
constructGridRowSpacing val = B.Properties.constructObjectPropertyInt32 "row-spacing" val
#if ENABLE_OVERLOADING
data GridRowSpacingPropertyInfo
instance AttrInfo GridRowSpacingPropertyInfo where
type AttrAllowedOps GridRowSpacingPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint GridRowSpacingPropertyInfo = (~) Int32
type AttrBaseTypeConstraint GridRowSpacingPropertyInfo = IsGrid
type AttrGetType GridRowSpacingPropertyInfo = Int32
type AttrLabel GridRowSpacingPropertyInfo = "row-spacing"
type AttrOrigin GridRowSpacingPropertyInfo = Grid
attrGet _ = getGridRowSpacing
attrSet _ = setGridRowSpacing
attrConstruct _ = constructGridRowSpacing
attrClear _ = undefined
#endif
#if ENABLE_OVERLOADING
instance O.HasAttributeList Grid
type instance O.AttributeList Grid = GridAttributeList
type GridAttributeList = ('[ '("appPaintable", Gtk.Widget.WidgetAppPaintablePropertyInfo), '("baselineRow", GridBaselineRowPropertyInfo), '("borderWidth", Gtk.Container.ContainerBorderWidthPropertyInfo), '("canDefault", Gtk.Widget.WidgetCanDefaultPropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("child", Gtk.Container.ContainerChildPropertyInfo), '("columnHomogeneous", GridColumnHomogeneousPropertyInfo), '("columnSpacing", GridColumnSpacingPropertyInfo), '("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), '("isFocus", Gtk.Widget.WidgetIsFocusPropertyInfo), '("margin", Gtk.Widget.WidgetMarginPropertyInfo), '("marginBottom", Gtk.Widget.WidgetMarginBottomPropertyInfo), '("marginEnd", Gtk.Widget.WidgetMarginEndPropertyInfo), '("marginLeft", Gtk.Widget.WidgetMarginLeftPropertyInfo), '("marginRight", Gtk.Widget.WidgetMarginRightPropertyInfo), '("marginStart", Gtk.Widget.WidgetMarginStartPropertyInfo), '("marginTop", Gtk.Widget.WidgetMarginTopPropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("noShowAll", Gtk.Widget.WidgetNoShowAllPropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("orientation", Gtk.Orientable.OrientableOrientationPropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("resizeMode", Gtk.Container.ContainerResizeModePropertyInfo), '("rowHomogeneous", GridRowHomogeneousPropertyInfo), '("rowSpacing", GridRowSpacingPropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("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, *)])
#endif
#if ENABLE_OVERLOADING
gridBaselineRow :: AttrLabelProxy "baselineRow"
gridBaselineRow = AttrLabelProxy
gridColumnHomogeneous :: AttrLabelProxy "columnHomogeneous"
gridColumnHomogeneous = AttrLabelProxy
gridColumnSpacing :: AttrLabelProxy "columnSpacing"
gridColumnSpacing = AttrLabelProxy
gridRowHomogeneous :: AttrLabelProxy "rowHomogeneous"
gridRowHomogeneous = AttrLabelProxy
gridRowSpacing :: AttrLabelProxy "rowSpacing"
gridRowSpacing = AttrLabelProxy
#endif
#if ENABLE_OVERLOADING
type instance O.SignalList Grid = GridSignalList
type GridSignalList = ('[ '("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), '("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), '("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, *)])
#endif
foreign import ccall "gtk_grid_new" gtk_grid_new ::
IO (Ptr Grid)
gridNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m Grid
gridNew = liftIO $ do
result <- gtk_grid_new
checkUnexpectedReturnNULL "gridNew" result
result' <- (newObject Grid) result
return result'
#if ENABLE_OVERLOADING
#endif
foreign import ccall "gtk_grid_attach" gtk_grid_attach ::
Ptr Grid ->
Ptr Gtk.Widget.Widget ->
Int32 ->
Int32 ->
Int32 ->
Int32 ->
IO ()
gridAttach ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a, Gtk.Widget.IsWidget b) =>
a
-> b
-> Int32
-> Int32
-> Int32
-> Int32
-> m ()
gridAttach grid child left top width height = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
child' <- unsafeManagedPtrCastPtr child
gtk_grid_attach grid' child' left top width height
touchManagedPtr grid
touchManagedPtr child
return ()
#if ENABLE_OVERLOADING
data GridAttachMethodInfo
instance (signature ~ (b -> Int32 -> Int32 -> Int32 -> Int32 -> m ()), MonadIO m, IsGrid a, Gtk.Widget.IsWidget b) => O.MethodInfo GridAttachMethodInfo a signature where
overloadedMethod _ = gridAttach
#endif
foreign import ccall "gtk_grid_attach_next_to" gtk_grid_attach_next_to ::
Ptr Grid ->
Ptr Gtk.Widget.Widget ->
Ptr Gtk.Widget.Widget ->
CUInt ->
Int32 ->
Int32 ->
IO ()
gridAttachNextTo ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a, Gtk.Widget.IsWidget b, Gtk.Widget.IsWidget c) =>
a
-> b
-> Maybe (c)
-> Gtk.Enums.PositionType
-> Int32
-> Int32
-> m ()
gridAttachNextTo grid child sibling side width height = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
child' <- unsafeManagedPtrCastPtr child
maybeSibling <- case sibling of
Nothing -> return nullPtr
Just jSibling -> do
jSibling' <- unsafeManagedPtrCastPtr jSibling
return jSibling'
let side' = (fromIntegral . fromEnum) side
gtk_grid_attach_next_to grid' child' maybeSibling side' width height
touchManagedPtr grid
touchManagedPtr child
whenJust sibling touchManagedPtr
return ()
#if ENABLE_OVERLOADING
data GridAttachNextToMethodInfo
instance (signature ~ (b -> Maybe (c) -> Gtk.Enums.PositionType -> Int32 -> Int32 -> m ()), MonadIO m, IsGrid a, Gtk.Widget.IsWidget b, Gtk.Widget.IsWidget c) => O.MethodInfo GridAttachNextToMethodInfo a signature where
overloadedMethod _ = gridAttachNextTo
#endif
foreign import ccall "gtk_grid_get_baseline_row" gtk_grid_get_baseline_row ::
Ptr Grid ->
IO Int32
gridGetBaselineRow ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a) =>
a
-> m Int32
gridGetBaselineRow grid = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
result <- gtk_grid_get_baseline_row grid'
touchManagedPtr grid
return result
#if ENABLE_OVERLOADING
data GridGetBaselineRowMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsGrid a) => O.MethodInfo GridGetBaselineRowMethodInfo a signature where
overloadedMethod _ = gridGetBaselineRow
#endif
foreign import ccall "gtk_grid_get_child_at" gtk_grid_get_child_at ::
Ptr Grid ->
Int32 ->
Int32 ->
IO (Ptr Gtk.Widget.Widget)
gridGetChildAt ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a) =>
a
-> Int32
-> Int32
-> m (Maybe Gtk.Widget.Widget)
gridGetChildAt grid left top = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
result <- gtk_grid_get_child_at grid' left top
maybeResult <- convertIfNonNull result $ \result' -> do
result'' <- (newObject Gtk.Widget.Widget) result'
return result''
touchManagedPtr grid
return maybeResult
#if ENABLE_OVERLOADING
data GridGetChildAtMethodInfo
instance (signature ~ (Int32 -> Int32 -> m (Maybe Gtk.Widget.Widget)), MonadIO m, IsGrid a) => O.MethodInfo GridGetChildAtMethodInfo a signature where
overloadedMethod _ = gridGetChildAt
#endif
foreign import ccall "gtk_grid_get_column_homogeneous" gtk_grid_get_column_homogeneous ::
Ptr Grid ->
IO CInt
gridGetColumnHomogeneous ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a) =>
a
-> m Bool
gridGetColumnHomogeneous grid = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
result <- gtk_grid_get_column_homogeneous grid'
let result' = (/= 0) result
touchManagedPtr grid
return result'
#if ENABLE_OVERLOADING
data GridGetColumnHomogeneousMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsGrid a) => O.MethodInfo GridGetColumnHomogeneousMethodInfo a signature where
overloadedMethod _ = gridGetColumnHomogeneous
#endif
foreign import ccall "gtk_grid_get_column_spacing" gtk_grid_get_column_spacing ::
Ptr Grid ->
IO Word32
gridGetColumnSpacing ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a) =>
a
-> m Word32
gridGetColumnSpacing grid = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
result <- gtk_grid_get_column_spacing grid'
touchManagedPtr grid
return result
#if ENABLE_OVERLOADING
data GridGetColumnSpacingMethodInfo
instance (signature ~ (m Word32), MonadIO m, IsGrid a) => O.MethodInfo GridGetColumnSpacingMethodInfo a signature where
overloadedMethod _ = gridGetColumnSpacing
#endif
foreign import ccall "gtk_grid_get_row_baseline_position" gtk_grid_get_row_baseline_position ::
Ptr Grid ->
Int32 ->
IO CUInt
gridGetRowBaselinePosition ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a) =>
a
-> Int32
-> m Gtk.Enums.BaselinePosition
gridGetRowBaselinePosition grid row = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
result <- gtk_grid_get_row_baseline_position grid' row
let result' = (toEnum . fromIntegral) result
touchManagedPtr grid
return result'
#if ENABLE_OVERLOADING
data GridGetRowBaselinePositionMethodInfo
instance (signature ~ (Int32 -> m Gtk.Enums.BaselinePosition), MonadIO m, IsGrid a) => O.MethodInfo GridGetRowBaselinePositionMethodInfo a signature where
overloadedMethod _ = gridGetRowBaselinePosition
#endif
foreign import ccall "gtk_grid_get_row_homogeneous" gtk_grid_get_row_homogeneous ::
Ptr Grid ->
IO CInt
gridGetRowHomogeneous ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a) =>
a
-> m Bool
gridGetRowHomogeneous grid = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
result <- gtk_grid_get_row_homogeneous grid'
let result' = (/= 0) result
touchManagedPtr grid
return result'
#if ENABLE_OVERLOADING
data GridGetRowHomogeneousMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsGrid a) => O.MethodInfo GridGetRowHomogeneousMethodInfo a signature where
overloadedMethod _ = gridGetRowHomogeneous
#endif
foreign import ccall "gtk_grid_get_row_spacing" gtk_grid_get_row_spacing ::
Ptr Grid ->
IO Word32
gridGetRowSpacing ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a) =>
a
-> m Word32
gridGetRowSpacing grid = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
result <- gtk_grid_get_row_spacing grid'
touchManagedPtr grid
return result
#if ENABLE_OVERLOADING
data GridGetRowSpacingMethodInfo
instance (signature ~ (m Word32), MonadIO m, IsGrid a) => O.MethodInfo GridGetRowSpacingMethodInfo a signature where
overloadedMethod _ = gridGetRowSpacing
#endif
foreign import ccall "gtk_grid_insert_column" gtk_grid_insert_column ::
Ptr Grid ->
Int32 ->
IO ()
gridInsertColumn ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a) =>
a
-> Int32
-> m ()
gridInsertColumn grid position = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
gtk_grid_insert_column grid' position
touchManagedPtr grid
return ()
#if ENABLE_OVERLOADING
data GridInsertColumnMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsGrid a) => O.MethodInfo GridInsertColumnMethodInfo a signature where
overloadedMethod _ = gridInsertColumn
#endif
foreign import ccall "gtk_grid_insert_next_to" gtk_grid_insert_next_to ::
Ptr Grid ->
Ptr Gtk.Widget.Widget ->
CUInt ->
IO ()
gridInsertNextTo ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a, Gtk.Widget.IsWidget b) =>
a
-> b
-> Gtk.Enums.PositionType
-> m ()
gridInsertNextTo grid sibling side = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
sibling' <- unsafeManagedPtrCastPtr sibling
let side' = (fromIntegral . fromEnum) side
gtk_grid_insert_next_to grid' sibling' side'
touchManagedPtr grid
touchManagedPtr sibling
return ()
#if ENABLE_OVERLOADING
data GridInsertNextToMethodInfo
instance (signature ~ (b -> Gtk.Enums.PositionType -> m ()), MonadIO m, IsGrid a, Gtk.Widget.IsWidget b) => O.MethodInfo GridInsertNextToMethodInfo a signature where
overloadedMethod _ = gridInsertNextTo
#endif
foreign import ccall "gtk_grid_insert_row" gtk_grid_insert_row ::
Ptr Grid ->
Int32 ->
IO ()
gridInsertRow ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a) =>
a
-> Int32
-> m ()
gridInsertRow grid position = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
gtk_grid_insert_row grid' position
touchManagedPtr grid
return ()
#if ENABLE_OVERLOADING
data GridInsertRowMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsGrid a) => O.MethodInfo GridInsertRowMethodInfo a signature where
overloadedMethod _ = gridInsertRow
#endif
foreign import ccall "gtk_grid_remove_column" gtk_grid_remove_column ::
Ptr Grid ->
Int32 ->
IO ()
gridRemoveColumn ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a) =>
a
-> Int32
-> m ()
gridRemoveColumn grid position = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
gtk_grid_remove_column grid' position
touchManagedPtr grid
return ()
#if ENABLE_OVERLOADING
data GridRemoveColumnMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsGrid a) => O.MethodInfo GridRemoveColumnMethodInfo a signature where
overloadedMethod _ = gridRemoveColumn
#endif
foreign import ccall "gtk_grid_remove_row" gtk_grid_remove_row ::
Ptr Grid ->
Int32 ->
IO ()
gridRemoveRow ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a) =>
a
-> Int32
-> m ()
gridRemoveRow grid position = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
gtk_grid_remove_row grid' position
touchManagedPtr grid
return ()
#if ENABLE_OVERLOADING
data GridRemoveRowMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsGrid a) => O.MethodInfo GridRemoveRowMethodInfo a signature where
overloadedMethod _ = gridRemoveRow
#endif
foreign import ccall "gtk_grid_set_baseline_row" gtk_grid_set_baseline_row ::
Ptr Grid ->
Int32 ->
IO ()
gridSetBaselineRow ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a) =>
a
-> Int32
-> m ()
gridSetBaselineRow grid row = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
gtk_grid_set_baseline_row grid' row
touchManagedPtr grid
return ()
#if ENABLE_OVERLOADING
data GridSetBaselineRowMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsGrid a) => O.MethodInfo GridSetBaselineRowMethodInfo a signature where
overloadedMethod _ = gridSetBaselineRow
#endif
foreign import ccall "gtk_grid_set_column_homogeneous" gtk_grid_set_column_homogeneous ::
Ptr Grid ->
CInt ->
IO ()
gridSetColumnHomogeneous ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a) =>
a
-> Bool
-> m ()
gridSetColumnHomogeneous grid homogeneous = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
let homogeneous' = (fromIntegral . fromEnum) homogeneous
gtk_grid_set_column_homogeneous grid' homogeneous'
touchManagedPtr grid
return ()
#if ENABLE_OVERLOADING
data GridSetColumnHomogeneousMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsGrid a) => O.MethodInfo GridSetColumnHomogeneousMethodInfo a signature where
overloadedMethod _ = gridSetColumnHomogeneous
#endif
foreign import ccall "gtk_grid_set_column_spacing" gtk_grid_set_column_spacing ::
Ptr Grid ->
Word32 ->
IO ()
gridSetColumnSpacing ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a) =>
a
-> Word32
-> m ()
gridSetColumnSpacing grid spacing = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
gtk_grid_set_column_spacing grid' spacing
touchManagedPtr grid
return ()
#if ENABLE_OVERLOADING
data GridSetColumnSpacingMethodInfo
instance (signature ~ (Word32 -> m ()), MonadIO m, IsGrid a) => O.MethodInfo GridSetColumnSpacingMethodInfo a signature where
overloadedMethod _ = gridSetColumnSpacing
#endif
foreign import ccall "gtk_grid_set_row_baseline_position" gtk_grid_set_row_baseline_position ::
Ptr Grid ->
Int32 ->
CUInt ->
IO ()
gridSetRowBaselinePosition ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a) =>
a
-> Int32
-> Gtk.Enums.BaselinePosition
-> m ()
gridSetRowBaselinePosition grid row pos = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
let pos' = (fromIntegral . fromEnum) pos
gtk_grid_set_row_baseline_position grid' row pos'
touchManagedPtr grid
return ()
#if ENABLE_OVERLOADING
data GridSetRowBaselinePositionMethodInfo
instance (signature ~ (Int32 -> Gtk.Enums.BaselinePosition -> m ()), MonadIO m, IsGrid a) => O.MethodInfo GridSetRowBaselinePositionMethodInfo a signature where
overloadedMethod _ = gridSetRowBaselinePosition
#endif
foreign import ccall "gtk_grid_set_row_homogeneous" gtk_grid_set_row_homogeneous ::
Ptr Grid ->
CInt ->
IO ()
gridSetRowHomogeneous ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a) =>
a
-> Bool
-> m ()
gridSetRowHomogeneous grid homogeneous = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
let homogeneous' = (fromIntegral . fromEnum) homogeneous
gtk_grid_set_row_homogeneous grid' homogeneous'
touchManagedPtr grid
return ()
#if ENABLE_OVERLOADING
data GridSetRowHomogeneousMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsGrid a) => O.MethodInfo GridSetRowHomogeneousMethodInfo a signature where
overloadedMethod _ = gridSetRowHomogeneous
#endif
foreign import ccall "gtk_grid_set_row_spacing" gtk_grid_set_row_spacing ::
Ptr Grid ->
Word32 ->
IO ()
gridSetRowSpacing ::
(B.CallStack.HasCallStack, MonadIO m, IsGrid a) =>
a
-> Word32
-> m ()
gridSetRowSpacing grid spacing = liftIO $ do
grid' <- unsafeManagedPtrCastPtr grid
gtk_grid_set_row_spacing grid' spacing
touchManagedPtr grid
return ()
#if ENABLE_OVERLOADING
data GridSetRowSpacingMethodInfo
instance (signature ~ (Word32 -> m ()), MonadIO m, IsGrid a) => O.MethodInfo GridSetRowSpacingMethodInfo a signature where
overloadedMethod _ = gridSetRowSpacing
#endif