#define ENABLE_OVERLOADING (MIN_VERSION_haskell_gi_overloading(1,0,0) \
&& !defined(__HADDOCK_VERSION__))
module GI.Gtk.Objects.Misc
(
Misc(..) ,
IsMisc ,
toMisc ,
noMisc ,
#if ENABLE_OVERLOADING
MiscGetAlignmentMethodInfo ,
#endif
miscGetAlignment ,
#if ENABLE_OVERLOADING
MiscGetPaddingMethodInfo ,
#endif
miscGetPadding ,
#if ENABLE_OVERLOADING
MiscSetAlignmentMethodInfo ,
#endif
miscSetAlignment ,
#if ENABLE_OVERLOADING
MiscSetPaddingMethodInfo ,
#endif
miscSetPadding ,
#if ENABLE_OVERLOADING
MiscXalignPropertyInfo ,
#endif
constructMiscXalign ,
getMiscXalign ,
#if ENABLE_OVERLOADING
miscXalign ,
#endif
setMiscXalign ,
#if ENABLE_OVERLOADING
MiscXpadPropertyInfo ,
#endif
constructMiscXpad ,
getMiscXpad ,
#if ENABLE_OVERLOADING
miscXpad ,
#endif
setMiscXpad ,
#if ENABLE_OVERLOADING
MiscYalignPropertyInfo ,
#endif
constructMiscYalign ,
getMiscYalign ,
#if ENABLE_OVERLOADING
miscYalign ,
#endif
setMiscYalign ,
#if ENABLE_OVERLOADING
MiscYpadPropertyInfo ,
#endif
constructMiscYpad ,
getMiscYpad ,
#if ENABLE_OVERLOADING
miscYpad ,
#endif
setMiscYpad ,
) 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.Interfaces.Buildable as Gtk.Buildable
import {-# SOURCE #-} qualified GI.Gtk.Objects.Widget as Gtk.Widget
newtype Misc = Misc (ManagedPtr Misc)
foreign import ccall "gtk_misc_get_type"
c_gtk_misc_get_type :: IO GType
instance GObject Misc where
gobjectType = c_gtk_misc_get_type
class (GObject o, O.IsDescendantOf Misc o) => IsMisc o
instance (GObject o, O.IsDescendantOf Misc o) => IsMisc o
instance O.HasParentTypes Misc
type instance O.ParentTypes Misc = '[Gtk.Widget.Widget, GObject.Object.Object, Atk.ImplementorIface.ImplementorIface, Gtk.Buildable.Buildable]
toMisc :: (MonadIO m, IsMisc o) => o -> m Misc
toMisc = liftIO . unsafeCastTo Misc
noMisc :: Maybe Misc
noMisc = Nothing
#if ENABLE_OVERLOADING
type family ResolveMiscMethod (t :: Symbol) (o :: *) :: * where
ResolveMiscMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
ResolveMiscMethod "addAccelerator" o = Gtk.Widget.WidgetAddAcceleratorMethodInfo
ResolveMiscMethod "addChild" o = Gtk.Buildable.BuildableAddChildMethodInfo
ResolveMiscMethod "addDeviceEvents" o = Gtk.Widget.WidgetAddDeviceEventsMethodInfo
ResolveMiscMethod "addEvents" o = Gtk.Widget.WidgetAddEventsMethodInfo
ResolveMiscMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
ResolveMiscMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
ResolveMiscMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveMiscMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveMiscMethod "canActivateAccel" o = Gtk.Widget.WidgetCanActivateAccelMethodInfo
ResolveMiscMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
ResolveMiscMethod "childNotify" o = Gtk.Widget.WidgetChildNotifyMethodInfo
ResolveMiscMethod "classPath" o = Gtk.Widget.WidgetClassPathMethodInfo
ResolveMiscMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
ResolveMiscMethod "constructChild" o = Gtk.Buildable.BuildableConstructChildMethodInfo
ResolveMiscMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
ResolveMiscMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
ResolveMiscMethod "customFinished" o = Gtk.Buildable.BuildableCustomFinishedMethodInfo
ResolveMiscMethod "customTagEnd" o = Gtk.Buildable.BuildableCustomTagEndMethodInfo
ResolveMiscMethod "customTagStart" o = Gtk.Buildable.BuildableCustomTagStartMethodInfo
ResolveMiscMethod "destroy" o = Gtk.Widget.WidgetDestroyMethodInfo
ResolveMiscMethod "destroyed" o = Gtk.Widget.WidgetDestroyedMethodInfo
ResolveMiscMethod "deviceIsShadowed" o = Gtk.Widget.WidgetDeviceIsShadowedMethodInfo
ResolveMiscMethod "dragBegin" o = Gtk.Widget.WidgetDragBeginMethodInfo
ResolveMiscMethod "dragBeginWithCoordinates" o = Gtk.Widget.WidgetDragBeginWithCoordinatesMethodInfo
ResolveMiscMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
ResolveMiscMethod "dragDestAddImageTargets" o = Gtk.Widget.WidgetDragDestAddImageTargetsMethodInfo
ResolveMiscMethod "dragDestAddTextTargets" o = Gtk.Widget.WidgetDragDestAddTextTargetsMethodInfo
ResolveMiscMethod "dragDestAddUriTargets" o = Gtk.Widget.WidgetDragDestAddUriTargetsMethodInfo
ResolveMiscMethod "dragDestFindTarget" o = Gtk.Widget.WidgetDragDestFindTargetMethodInfo
ResolveMiscMethod "dragDestGetTargetList" o = Gtk.Widget.WidgetDragDestGetTargetListMethodInfo
ResolveMiscMethod "dragDestGetTrackMotion" o = Gtk.Widget.WidgetDragDestGetTrackMotionMethodInfo
ResolveMiscMethod "dragDestSet" o = Gtk.Widget.WidgetDragDestSetMethodInfo
ResolveMiscMethod "dragDestSetProxy" o = Gtk.Widget.WidgetDragDestSetProxyMethodInfo
ResolveMiscMethod "dragDestSetTargetList" o = Gtk.Widget.WidgetDragDestSetTargetListMethodInfo
ResolveMiscMethod "dragDestSetTrackMotion" o = Gtk.Widget.WidgetDragDestSetTrackMotionMethodInfo
ResolveMiscMethod "dragDestUnset" o = Gtk.Widget.WidgetDragDestUnsetMethodInfo
ResolveMiscMethod "dragGetData" o = Gtk.Widget.WidgetDragGetDataMethodInfo
ResolveMiscMethod "dragHighlight" o = Gtk.Widget.WidgetDragHighlightMethodInfo
ResolveMiscMethod "dragSourceAddImageTargets" o = Gtk.Widget.WidgetDragSourceAddImageTargetsMethodInfo
ResolveMiscMethod "dragSourceAddTextTargets" o = Gtk.Widget.WidgetDragSourceAddTextTargetsMethodInfo
ResolveMiscMethod "dragSourceAddUriTargets" o = Gtk.Widget.WidgetDragSourceAddUriTargetsMethodInfo
ResolveMiscMethod "dragSourceGetTargetList" o = Gtk.Widget.WidgetDragSourceGetTargetListMethodInfo
ResolveMiscMethod "dragSourceSet" o = Gtk.Widget.WidgetDragSourceSetMethodInfo
ResolveMiscMethod "dragSourceSetIconGicon" o = Gtk.Widget.WidgetDragSourceSetIconGiconMethodInfo
ResolveMiscMethod "dragSourceSetIconName" o = Gtk.Widget.WidgetDragSourceSetIconNameMethodInfo
ResolveMiscMethod "dragSourceSetIconPixbuf" o = Gtk.Widget.WidgetDragSourceSetIconPixbufMethodInfo
ResolveMiscMethod "dragSourceSetIconStock" o = Gtk.Widget.WidgetDragSourceSetIconStockMethodInfo
ResolveMiscMethod "dragSourceSetTargetList" o = Gtk.Widget.WidgetDragSourceSetTargetListMethodInfo
ResolveMiscMethod "dragSourceUnset" o = Gtk.Widget.WidgetDragSourceUnsetMethodInfo
ResolveMiscMethod "dragUnhighlight" o = Gtk.Widget.WidgetDragUnhighlightMethodInfo
ResolveMiscMethod "draw" o = Gtk.Widget.WidgetDrawMethodInfo
ResolveMiscMethod "ensureStyle" o = Gtk.Widget.WidgetEnsureStyleMethodInfo
ResolveMiscMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
ResolveMiscMethod "event" o = Gtk.Widget.WidgetEventMethodInfo
ResolveMiscMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveMiscMethod "freezeChildNotify" o = Gtk.Widget.WidgetFreezeChildNotifyMethodInfo
ResolveMiscMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveMiscMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveMiscMethod "grabAdd" o = Gtk.Widget.WidgetGrabAddMethodInfo
ResolveMiscMethod "grabDefault" o = Gtk.Widget.WidgetGrabDefaultMethodInfo
ResolveMiscMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
ResolveMiscMethod "grabRemove" o = Gtk.Widget.WidgetGrabRemoveMethodInfo
ResolveMiscMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
ResolveMiscMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
ResolveMiscMethod "hasGrab" o = Gtk.Widget.WidgetHasGrabMethodInfo
ResolveMiscMethod "hasRcStyle" o = Gtk.Widget.WidgetHasRcStyleMethodInfo
ResolveMiscMethod "hasScreen" o = Gtk.Widget.WidgetHasScreenMethodInfo
ResolveMiscMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
ResolveMiscMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
ResolveMiscMethod "hideOnDelete" o = Gtk.Widget.WidgetHideOnDeleteMethodInfo
ResolveMiscMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
ResolveMiscMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
ResolveMiscMethod "inputShapeCombineRegion" o = Gtk.Widget.WidgetInputShapeCombineRegionMethodInfo
ResolveMiscMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
ResolveMiscMethod "intersect" o = Gtk.Widget.WidgetIntersectMethodInfo
ResolveMiscMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
ResolveMiscMethod "isComposited" o = Gtk.Widget.WidgetIsCompositedMethodInfo
ResolveMiscMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
ResolveMiscMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveMiscMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
ResolveMiscMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
ResolveMiscMethod "isToplevel" o = Gtk.Widget.WidgetIsToplevelMethodInfo
ResolveMiscMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
ResolveMiscMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
ResolveMiscMethod "listAccelClosures" o = Gtk.Widget.WidgetListAccelClosuresMethodInfo
ResolveMiscMethod "listActionPrefixes" o = Gtk.Widget.WidgetListActionPrefixesMethodInfo
ResolveMiscMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
ResolveMiscMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
ResolveMiscMethod "mnemonicActivate" o = Gtk.Widget.WidgetMnemonicActivateMethodInfo
ResolveMiscMethod "modifyBase" o = Gtk.Widget.WidgetModifyBaseMethodInfo
ResolveMiscMethod "modifyBg" o = Gtk.Widget.WidgetModifyBgMethodInfo
ResolveMiscMethod "modifyCursor" o = Gtk.Widget.WidgetModifyCursorMethodInfo
ResolveMiscMethod "modifyFg" o = Gtk.Widget.WidgetModifyFgMethodInfo
ResolveMiscMethod "modifyFont" o = Gtk.Widget.WidgetModifyFontMethodInfo
ResolveMiscMethod "modifyStyle" o = Gtk.Widget.WidgetModifyStyleMethodInfo
ResolveMiscMethod "modifyText" o = Gtk.Widget.WidgetModifyTextMethodInfo
ResolveMiscMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveMiscMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveMiscMethod "overrideBackgroundColor" o = Gtk.Widget.WidgetOverrideBackgroundColorMethodInfo
ResolveMiscMethod "overrideColor" o = Gtk.Widget.WidgetOverrideColorMethodInfo
ResolveMiscMethod "overrideCursor" o = Gtk.Widget.WidgetOverrideCursorMethodInfo
ResolveMiscMethod "overrideFont" o = Gtk.Widget.WidgetOverrideFontMethodInfo
ResolveMiscMethod "overrideSymbolicColor" o = Gtk.Widget.WidgetOverrideSymbolicColorMethodInfo
ResolveMiscMethod "parserFinished" o = Gtk.Buildable.BuildableParserFinishedMethodInfo
ResolveMiscMethod "path" o = Gtk.Widget.WidgetPathMethodInfo
ResolveMiscMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
ResolveMiscMethod "queueComputeExpand" o = Gtk.Widget.WidgetQueueComputeExpandMethodInfo
ResolveMiscMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
ResolveMiscMethod "queueDrawArea" o = Gtk.Widget.WidgetQueueDrawAreaMethodInfo
ResolveMiscMethod "queueDrawRegion" o = Gtk.Widget.WidgetQueueDrawRegionMethodInfo
ResolveMiscMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
ResolveMiscMethod "queueResizeNoRedraw" o = Gtk.Widget.WidgetQueueResizeNoRedrawMethodInfo
ResolveMiscMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
ResolveMiscMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveMiscMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveMiscMethod "regionIntersect" o = Gtk.Widget.WidgetRegionIntersectMethodInfo
ResolveMiscMethod "registerWindow" o = Gtk.Widget.WidgetRegisterWindowMethodInfo
ResolveMiscMethod "removeAccelerator" o = Gtk.Widget.WidgetRemoveAcceleratorMethodInfo
ResolveMiscMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
ResolveMiscMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
ResolveMiscMethod "renderIcon" o = Gtk.Widget.WidgetRenderIconMethodInfo
ResolveMiscMethod "renderIconPixbuf" o = Gtk.Widget.WidgetRenderIconPixbufMethodInfo
ResolveMiscMethod "reparent" o = Gtk.Widget.WidgetReparentMethodInfo
ResolveMiscMethod "resetRcStyles" o = Gtk.Widget.WidgetResetRcStylesMethodInfo
ResolveMiscMethod "resetStyle" o = Gtk.Widget.WidgetResetStyleMethodInfo
ResolveMiscMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveMiscMethod "sendExpose" o = Gtk.Widget.WidgetSendExposeMethodInfo
ResolveMiscMethod "sendFocusChange" o = Gtk.Widget.WidgetSendFocusChangeMethodInfo
ResolveMiscMethod "shapeCombineRegion" o = Gtk.Widget.WidgetShapeCombineRegionMethodInfo
ResolveMiscMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
ResolveMiscMethod "showAll" o = Gtk.Widget.WidgetShowAllMethodInfo
ResolveMiscMethod "showNow" o = Gtk.Widget.WidgetShowNowMethodInfo
ResolveMiscMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
ResolveMiscMethod "sizeAllocateWithBaseline" o = Gtk.Widget.WidgetSizeAllocateWithBaselineMethodInfo
ResolveMiscMethod "sizeRequest" o = Gtk.Widget.WidgetSizeRequestMethodInfo
ResolveMiscMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveMiscMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveMiscMethod "styleAttach" o = Gtk.Widget.WidgetStyleAttachMethodInfo
ResolveMiscMethod "styleGetProperty" o = Gtk.Widget.WidgetStyleGetPropertyMethodInfo
ResolveMiscMethod "thawChildNotify" o = Gtk.Widget.WidgetThawChildNotifyMethodInfo
ResolveMiscMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveMiscMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
ResolveMiscMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
ResolveMiscMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
ResolveMiscMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
ResolveMiscMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
ResolveMiscMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveMiscMethod "unregisterWindow" o = Gtk.Widget.WidgetUnregisterWindowMethodInfo
ResolveMiscMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
ResolveMiscMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveMiscMethod "getAccessible" o = Gtk.Widget.WidgetGetAccessibleMethodInfo
ResolveMiscMethod "getActionGroup" o = Gtk.Widget.WidgetGetActionGroupMethodInfo
ResolveMiscMethod "getAlignment" o = MiscGetAlignmentMethodInfo
ResolveMiscMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
ResolveMiscMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
ResolveMiscMethod "getAllocatedSize" o = Gtk.Widget.WidgetGetAllocatedSizeMethodInfo
ResolveMiscMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
ResolveMiscMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
ResolveMiscMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
ResolveMiscMethod "getAppPaintable" o = Gtk.Widget.WidgetGetAppPaintableMethodInfo
ResolveMiscMethod "getCanDefault" o = Gtk.Widget.WidgetGetCanDefaultMethodInfo
ResolveMiscMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
ResolveMiscMethod "getChildRequisition" o = Gtk.Widget.WidgetGetChildRequisitionMethodInfo
ResolveMiscMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
ResolveMiscMethod "getClip" o = Gtk.Widget.WidgetGetClipMethodInfo
ResolveMiscMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
ResolveMiscMethod "getCompositeName" o = Gtk.Widget.WidgetGetCompositeNameMethodInfo
ResolveMiscMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveMiscMethod "getDeviceEnabled" o = Gtk.Widget.WidgetGetDeviceEnabledMethodInfo
ResolveMiscMethod "getDeviceEvents" o = Gtk.Widget.WidgetGetDeviceEventsMethodInfo
ResolveMiscMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
ResolveMiscMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
ResolveMiscMethod "getDoubleBuffered" o = Gtk.Widget.WidgetGetDoubleBufferedMethodInfo
ResolveMiscMethod "getEvents" o = Gtk.Widget.WidgetGetEventsMethodInfo
ResolveMiscMethod "getFocusOnClick" o = Gtk.Widget.WidgetGetFocusOnClickMethodInfo
ResolveMiscMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
ResolveMiscMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
ResolveMiscMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
ResolveMiscMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
ResolveMiscMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
ResolveMiscMethod "getHasWindow" o = Gtk.Widget.WidgetGetHasWindowMethodInfo
ResolveMiscMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
ResolveMiscMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
ResolveMiscMethod "getInternalChild" o = Gtk.Buildable.BuildableGetInternalChildMethodInfo
ResolveMiscMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
ResolveMiscMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
ResolveMiscMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
ResolveMiscMethod "getMarginLeft" o = Gtk.Widget.WidgetGetMarginLeftMethodInfo
ResolveMiscMethod "getMarginRight" o = Gtk.Widget.WidgetGetMarginRightMethodInfo
ResolveMiscMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
ResolveMiscMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
ResolveMiscMethod "getModifierMask" o = Gtk.Widget.WidgetGetModifierMaskMethodInfo
ResolveMiscMethod "getModifierStyle" o = Gtk.Widget.WidgetGetModifierStyleMethodInfo
ResolveMiscMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
ResolveMiscMethod "getNoShowAll" o = Gtk.Widget.WidgetGetNoShowAllMethodInfo
ResolveMiscMethod "getOpacity" o = Gtk.Widget.WidgetGetOpacityMethodInfo
ResolveMiscMethod "getPadding" o = MiscGetPaddingMethodInfo
ResolveMiscMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
ResolveMiscMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
ResolveMiscMethod "getParentWindow" o = Gtk.Widget.WidgetGetParentWindowMethodInfo
ResolveMiscMethod "getPath" o = Gtk.Widget.WidgetGetPathMethodInfo
ResolveMiscMethod "getPointer" o = Gtk.Widget.WidgetGetPointerMethodInfo
ResolveMiscMethod "getPreferredHeight" o = Gtk.Widget.WidgetGetPreferredHeightMethodInfo
ResolveMiscMethod "getPreferredHeightAndBaselineForWidth" o = Gtk.Widget.WidgetGetPreferredHeightAndBaselineForWidthMethodInfo
ResolveMiscMethod "getPreferredHeightForWidth" o = Gtk.Widget.WidgetGetPreferredHeightForWidthMethodInfo
ResolveMiscMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
ResolveMiscMethod "getPreferredWidth" o = Gtk.Widget.WidgetGetPreferredWidthMethodInfo
ResolveMiscMethod "getPreferredWidthForHeight" o = Gtk.Widget.WidgetGetPreferredWidthForHeightMethodInfo
ResolveMiscMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveMiscMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveMiscMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
ResolveMiscMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
ResolveMiscMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
ResolveMiscMethod "getRequisition" o = Gtk.Widget.WidgetGetRequisitionMethodInfo
ResolveMiscMethod "getRootWindow" o = Gtk.Widget.WidgetGetRootWindowMethodInfo
ResolveMiscMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
ResolveMiscMethod "getScreen" o = Gtk.Widget.WidgetGetScreenMethodInfo
ResolveMiscMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
ResolveMiscMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
ResolveMiscMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
ResolveMiscMethod "getState" o = Gtk.Widget.WidgetGetStateMethodInfo
ResolveMiscMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
ResolveMiscMethod "getStyle" o = Gtk.Widget.WidgetGetStyleMethodInfo
ResolveMiscMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
ResolveMiscMethod "getSupportMultidevice" o = Gtk.Widget.WidgetGetSupportMultideviceMethodInfo
ResolveMiscMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
ResolveMiscMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
ResolveMiscMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
ResolveMiscMethod "getTooltipWindow" o = Gtk.Widget.WidgetGetTooltipWindowMethodInfo
ResolveMiscMethod "getToplevel" o = Gtk.Widget.WidgetGetToplevelMethodInfo
ResolveMiscMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
ResolveMiscMethod "getValignWithBaseline" o = Gtk.Widget.WidgetGetValignWithBaselineMethodInfo
ResolveMiscMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
ResolveMiscMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
ResolveMiscMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
ResolveMiscMethod "getVisual" o = Gtk.Widget.WidgetGetVisualMethodInfo
ResolveMiscMethod "getWindow" o = Gtk.Widget.WidgetGetWindowMethodInfo
ResolveMiscMethod "setAccelPath" o = Gtk.Widget.WidgetSetAccelPathMethodInfo
ResolveMiscMethod "setAlignment" o = MiscSetAlignmentMethodInfo
ResolveMiscMethod "setAllocation" o = Gtk.Widget.WidgetSetAllocationMethodInfo
ResolveMiscMethod "setAppPaintable" o = Gtk.Widget.WidgetSetAppPaintableMethodInfo
ResolveMiscMethod "setBuildableProperty" o = Gtk.Buildable.BuildableSetBuildablePropertyMethodInfo
ResolveMiscMethod "setCanDefault" o = Gtk.Widget.WidgetSetCanDefaultMethodInfo
ResolveMiscMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
ResolveMiscMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
ResolveMiscMethod "setClip" o = Gtk.Widget.WidgetSetClipMethodInfo
ResolveMiscMethod "setCompositeName" o = Gtk.Widget.WidgetSetCompositeNameMethodInfo
ResolveMiscMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveMiscMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveMiscMethod "setDeviceEnabled" o = Gtk.Widget.WidgetSetDeviceEnabledMethodInfo
ResolveMiscMethod "setDeviceEvents" o = Gtk.Widget.WidgetSetDeviceEventsMethodInfo
ResolveMiscMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
ResolveMiscMethod "setDoubleBuffered" o = Gtk.Widget.WidgetSetDoubleBufferedMethodInfo
ResolveMiscMethod "setEvents" o = Gtk.Widget.WidgetSetEventsMethodInfo
ResolveMiscMethod "setFocusOnClick" o = Gtk.Widget.WidgetSetFocusOnClickMethodInfo
ResolveMiscMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
ResolveMiscMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
ResolveMiscMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
ResolveMiscMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
ResolveMiscMethod "setHasWindow" o = Gtk.Widget.WidgetSetHasWindowMethodInfo
ResolveMiscMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
ResolveMiscMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
ResolveMiscMethod "setMapped" o = Gtk.Widget.WidgetSetMappedMethodInfo
ResolveMiscMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
ResolveMiscMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
ResolveMiscMethod "setMarginLeft" o = Gtk.Widget.WidgetSetMarginLeftMethodInfo
ResolveMiscMethod "setMarginRight" o = Gtk.Widget.WidgetSetMarginRightMethodInfo
ResolveMiscMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
ResolveMiscMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
ResolveMiscMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
ResolveMiscMethod "setNoShowAll" o = Gtk.Widget.WidgetSetNoShowAllMethodInfo
ResolveMiscMethod "setOpacity" o = Gtk.Widget.WidgetSetOpacityMethodInfo
ResolveMiscMethod "setPadding" o = MiscSetPaddingMethodInfo
ResolveMiscMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
ResolveMiscMethod "setParentWindow" o = Gtk.Widget.WidgetSetParentWindowMethodInfo
ResolveMiscMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveMiscMethod "setRealized" o = Gtk.Widget.WidgetSetRealizedMethodInfo
ResolveMiscMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
ResolveMiscMethod "setRedrawOnAllocate" o = Gtk.Widget.WidgetSetRedrawOnAllocateMethodInfo
ResolveMiscMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
ResolveMiscMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
ResolveMiscMethod "setState" o = Gtk.Widget.WidgetSetStateMethodInfo
ResolveMiscMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
ResolveMiscMethod "setStyle" o = Gtk.Widget.WidgetSetStyleMethodInfo
ResolveMiscMethod "setSupportMultidevice" o = Gtk.Widget.WidgetSetSupportMultideviceMethodInfo
ResolveMiscMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
ResolveMiscMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
ResolveMiscMethod "setTooltipWindow" o = Gtk.Widget.WidgetSetTooltipWindowMethodInfo
ResolveMiscMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
ResolveMiscMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
ResolveMiscMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
ResolveMiscMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
ResolveMiscMethod "setVisual" o = Gtk.Widget.WidgetSetVisualMethodInfo
ResolveMiscMethod "setWindow" o = Gtk.Widget.WidgetSetWindowMethodInfo
ResolveMiscMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveMiscMethod t Misc, O.MethodInfo info Misc p) => OL.IsLabel t (Misc -> 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
getMiscXalign :: (MonadIO m, IsMisc o) => o -> m Float
getMiscXalign obj = liftIO $ B.Properties.getObjectPropertyFloat obj "xalign"
setMiscXalign :: (MonadIO m, IsMisc o) => o -> Float -> m ()
setMiscXalign obj val = liftIO $ B.Properties.setObjectPropertyFloat obj "xalign" val
constructMiscXalign :: (IsMisc o) => Float -> IO (GValueConstruct o)
constructMiscXalign val = B.Properties.constructObjectPropertyFloat "xalign" val
#if ENABLE_OVERLOADING
data MiscXalignPropertyInfo
instance AttrInfo MiscXalignPropertyInfo where
type AttrAllowedOps MiscXalignPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint MiscXalignPropertyInfo = (~) Float
type AttrBaseTypeConstraint MiscXalignPropertyInfo = IsMisc
type AttrGetType MiscXalignPropertyInfo = Float
type AttrLabel MiscXalignPropertyInfo = "xalign"
type AttrOrigin MiscXalignPropertyInfo = Misc
attrGet _ = getMiscXalign
attrSet _ = setMiscXalign
attrConstruct _ = constructMiscXalign
attrClear _ = undefined
#endif
getMiscXpad :: (MonadIO m, IsMisc o) => o -> m Int32
getMiscXpad obj = liftIO $ B.Properties.getObjectPropertyInt32 obj "xpad"
setMiscXpad :: (MonadIO m, IsMisc o) => o -> Int32 -> m ()
setMiscXpad obj val = liftIO $ B.Properties.setObjectPropertyInt32 obj "xpad" val
constructMiscXpad :: (IsMisc o) => Int32 -> IO (GValueConstruct o)
constructMiscXpad val = B.Properties.constructObjectPropertyInt32 "xpad" val
#if ENABLE_OVERLOADING
data MiscXpadPropertyInfo
instance AttrInfo MiscXpadPropertyInfo where
type AttrAllowedOps MiscXpadPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint MiscXpadPropertyInfo = (~) Int32
type AttrBaseTypeConstraint MiscXpadPropertyInfo = IsMisc
type AttrGetType MiscXpadPropertyInfo = Int32
type AttrLabel MiscXpadPropertyInfo = "xpad"
type AttrOrigin MiscXpadPropertyInfo = Misc
attrGet _ = getMiscXpad
attrSet _ = setMiscXpad
attrConstruct _ = constructMiscXpad
attrClear _ = undefined
#endif
getMiscYalign :: (MonadIO m, IsMisc o) => o -> m Float
getMiscYalign obj = liftIO $ B.Properties.getObjectPropertyFloat obj "yalign"
setMiscYalign :: (MonadIO m, IsMisc o) => o -> Float -> m ()
setMiscYalign obj val = liftIO $ B.Properties.setObjectPropertyFloat obj "yalign" val
constructMiscYalign :: (IsMisc o) => Float -> IO (GValueConstruct o)
constructMiscYalign val = B.Properties.constructObjectPropertyFloat "yalign" val
#if ENABLE_OVERLOADING
data MiscYalignPropertyInfo
instance AttrInfo MiscYalignPropertyInfo where
type AttrAllowedOps MiscYalignPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint MiscYalignPropertyInfo = (~) Float
type AttrBaseTypeConstraint MiscYalignPropertyInfo = IsMisc
type AttrGetType MiscYalignPropertyInfo = Float
type AttrLabel MiscYalignPropertyInfo = "yalign"
type AttrOrigin MiscYalignPropertyInfo = Misc
attrGet _ = getMiscYalign
attrSet _ = setMiscYalign
attrConstruct _ = constructMiscYalign
attrClear _ = undefined
#endif
getMiscYpad :: (MonadIO m, IsMisc o) => o -> m Int32
getMiscYpad obj = liftIO $ B.Properties.getObjectPropertyInt32 obj "ypad"
setMiscYpad :: (MonadIO m, IsMisc o) => o -> Int32 -> m ()
setMiscYpad obj val = liftIO $ B.Properties.setObjectPropertyInt32 obj "ypad" val
constructMiscYpad :: (IsMisc o) => Int32 -> IO (GValueConstruct o)
constructMiscYpad val = B.Properties.constructObjectPropertyInt32 "ypad" val
#if ENABLE_OVERLOADING
data MiscYpadPropertyInfo
instance AttrInfo MiscYpadPropertyInfo where
type AttrAllowedOps MiscYpadPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint MiscYpadPropertyInfo = (~) Int32
type AttrBaseTypeConstraint MiscYpadPropertyInfo = IsMisc
type AttrGetType MiscYpadPropertyInfo = Int32
type AttrLabel MiscYpadPropertyInfo = "ypad"
type AttrOrigin MiscYpadPropertyInfo = Misc
attrGet _ = getMiscYpad
attrSet _ = setMiscYpad
attrConstruct _ = constructMiscYpad
attrClear _ = undefined
#endif
#if ENABLE_OVERLOADING
instance O.HasAttributeList Misc
type instance O.AttributeList Misc = MiscAttributeList
type MiscAttributeList = ('[ '("appPaintable", Gtk.Widget.WidgetAppPaintablePropertyInfo), '("canDefault", Gtk.Widget.WidgetCanDefaultPropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("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), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("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), '("xalign", MiscXalignPropertyInfo), '("xpad", MiscXpadPropertyInfo), '("yalign", MiscYalignPropertyInfo), '("ypad", MiscYpadPropertyInfo)] :: [(Symbol, *)])
#endif
#if ENABLE_OVERLOADING
miscXalign :: AttrLabelProxy "xalign"
miscXalign = AttrLabelProxy
miscXpad :: AttrLabelProxy "xpad"
miscXpad = AttrLabelProxy
miscYalign :: AttrLabelProxy "yalign"
miscYalign = AttrLabelProxy
miscYpad :: AttrLabelProxy "ypad"
miscYpad = AttrLabelProxy
#endif
#if ENABLE_OVERLOADING
type instance O.SignalList Misc = MiscSignalList
type MiscSignalList = ('[ '("accelClosuresChanged", Gtk.Widget.WidgetAccelClosuresChangedSignalInfo), '("buttonPressEvent", Gtk.Widget.WidgetButtonPressEventSignalInfo), '("buttonReleaseEvent", Gtk.Widget.WidgetButtonReleaseEventSignalInfo), '("canActivateAccel", Gtk.Widget.WidgetCanActivateAccelSignalInfo), '("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), '("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), '("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_misc_get_alignment" gtk_misc_get_alignment ::
Ptr Misc ->
Ptr CFloat ->
Ptr CFloat ->
IO ()
{-# DEPRECATED miscGetAlignment ["(Since version 3.14)","Use 'GI.Gtk.Objects.Widget.Widget' alignment and margin properties."] #-}
miscGetAlignment ::
(B.CallStack.HasCallStack, MonadIO m, IsMisc a) =>
a
-> m ((Float, Float))
miscGetAlignment misc = liftIO $ do
misc' <- unsafeManagedPtrCastPtr misc
xalign <- allocMem :: IO (Ptr CFloat)
yalign <- allocMem :: IO (Ptr CFloat)
gtk_misc_get_alignment misc' xalign yalign
xalign' <- peek xalign
let xalign'' = realToFrac xalign'
yalign' <- peek yalign
let yalign'' = realToFrac yalign'
touchManagedPtr misc
freeMem xalign
freeMem yalign
return (xalign'', yalign'')
#if ENABLE_OVERLOADING
data MiscGetAlignmentMethodInfo
instance (signature ~ (m ((Float, Float))), MonadIO m, IsMisc a) => O.MethodInfo MiscGetAlignmentMethodInfo a signature where
overloadedMethod _ = miscGetAlignment
#endif
foreign import ccall "gtk_misc_get_padding" gtk_misc_get_padding ::
Ptr Misc ->
Ptr Int32 ->
Ptr Int32 ->
IO ()
{-# DEPRECATED miscGetPadding ["(Since version 3.14)","Use 'GI.Gtk.Objects.Widget.Widget' alignment and margin properties."] #-}
miscGetPadding ::
(B.CallStack.HasCallStack, MonadIO m, IsMisc a) =>
a
-> m ((Int32, Int32))
miscGetPadding misc = liftIO $ do
misc' <- unsafeManagedPtrCastPtr misc
xpad <- allocMem :: IO (Ptr Int32)
ypad <- allocMem :: IO (Ptr Int32)
gtk_misc_get_padding misc' xpad ypad
xpad' <- peek xpad
ypad' <- peek ypad
touchManagedPtr misc
freeMem xpad
freeMem ypad
return (xpad', ypad')
#if ENABLE_OVERLOADING
data MiscGetPaddingMethodInfo
instance (signature ~ (m ((Int32, Int32))), MonadIO m, IsMisc a) => O.MethodInfo MiscGetPaddingMethodInfo a signature where
overloadedMethod _ = miscGetPadding
#endif
foreign import ccall "gtk_misc_set_alignment" gtk_misc_set_alignment ::
Ptr Misc ->
CFloat ->
CFloat ->
IO ()
{-# DEPRECATED miscSetAlignment ["(Since version 3.14)","Use 'GI.Gtk.Objects.Widget.Widget'\\'s alignment ('GI.Gtk.Objects.Widget.Widget':@/halign/@ and 'GI.Gtk.Objects.Widget.Widget':@/valign/@) and margin properties or 'GI.Gtk.Objects.Label.Label'\\'s 'GI.Gtk.Objects.Label.Label':@/xalign/@ and 'GI.Gtk.Objects.Label.Label':@/yalign/@ properties."] #-}
miscSetAlignment ::
(B.CallStack.HasCallStack, MonadIO m, IsMisc a) =>
a
-> Float
-> Float
-> m ()
miscSetAlignment misc xalign yalign = liftIO $ do
misc' <- unsafeManagedPtrCastPtr misc
let xalign' = realToFrac xalign
let yalign' = realToFrac yalign
gtk_misc_set_alignment misc' xalign' yalign'
touchManagedPtr misc
return ()
#if ENABLE_OVERLOADING
data MiscSetAlignmentMethodInfo
instance (signature ~ (Float -> Float -> m ()), MonadIO m, IsMisc a) => O.MethodInfo MiscSetAlignmentMethodInfo a signature where
overloadedMethod _ = miscSetAlignment
#endif
foreign import ccall "gtk_misc_set_padding" gtk_misc_set_padding ::
Ptr Misc ->
Int32 ->
Int32 ->
IO ()
{-# DEPRECATED miscSetPadding ["(Since version 3.14)","Use 'GI.Gtk.Objects.Widget.Widget' alignment and margin properties."] #-}
miscSetPadding ::
(B.CallStack.HasCallStack, MonadIO m, IsMisc a) =>
a
-> Int32
-> Int32
-> m ()
miscSetPadding misc xpad ypad = liftIO $ do
misc' <- unsafeManagedPtrCastPtr misc
gtk_misc_set_padding misc' xpad ypad
touchManagedPtr misc
return ()
#if ENABLE_OVERLOADING
data MiscSetPaddingMethodInfo
instance (signature ~ (Int32 -> Int32 -> m ()), MonadIO m, IsMisc a) => O.MethodInfo MiscSetPaddingMethodInfo a signature where
overloadedMethod _ = miscSetPadding
#endif