{-# LANGUAGE TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.Gtk.Objects.Revealer
(
Revealer(..) ,
IsRevealer ,
toRevealer ,
noRevealer ,
#if defined(ENABLE_OVERLOADING)
ResolveRevealerMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
RevealerGetChildRevealedMethodInfo ,
#endif
revealerGetChildRevealed ,
#if defined(ENABLE_OVERLOADING)
RevealerGetRevealChildMethodInfo ,
#endif
revealerGetRevealChild ,
#if defined(ENABLE_OVERLOADING)
RevealerGetTransitionDurationMethodInfo ,
#endif
revealerGetTransitionDuration ,
#if defined(ENABLE_OVERLOADING)
RevealerGetTransitionTypeMethodInfo ,
#endif
revealerGetTransitionType ,
revealerNew ,
#if defined(ENABLE_OVERLOADING)
RevealerSetRevealChildMethodInfo ,
#endif
revealerSetRevealChild ,
#if defined(ENABLE_OVERLOADING)
RevealerSetTransitionDurationMethodInfo ,
#endif
revealerSetTransitionDuration ,
#if defined(ENABLE_OVERLOADING)
RevealerSetTransitionTypeMethodInfo ,
#endif
revealerSetTransitionType ,
#if defined(ENABLE_OVERLOADING)
RevealerChildRevealedPropertyInfo ,
#endif
getRevealerChildRevealed ,
#if defined(ENABLE_OVERLOADING)
revealerChildRevealed ,
#endif
#if defined(ENABLE_OVERLOADING)
RevealerRevealChildPropertyInfo ,
#endif
constructRevealerRevealChild ,
getRevealerRevealChild ,
#if defined(ENABLE_OVERLOADING)
revealerRevealChild ,
#endif
setRevealerRevealChild ,
#if defined(ENABLE_OVERLOADING)
RevealerTransitionDurationPropertyInfo ,
#endif
constructRevealerTransitionDuration ,
getRevealerTransitionDuration ,
#if defined(ENABLE_OVERLOADING)
revealerTransitionDuration ,
#endif
setRevealerTransitionDuration ,
#if defined(ENABLE_OVERLOADING)
RevealerTransitionTypePropertyInfo ,
#endif
constructRevealerTransitionType ,
getRevealerTransitionType ,
#if defined(ENABLE_OVERLOADING)
revealerTransitionType ,
#endif
setRevealerTransitionType ,
) 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.GI.Base.Signals as B.Signals
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.Objects.Bin as Gtk.Bin
import {-# SOURCE #-} qualified GI.Gtk.Objects.Container as Gtk.Container
import {-# SOURCE #-} qualified GI.Gtk.Objects.Widget as Gtk.Widget
newtype Revealer = Revealer (ManagedPtr Revealer)
deriving (Revealer -> Revealer -> Bool
(Revealer -> Revealer -> Bool)
-> (Revealer -> Revealer -> Bool) -> Eq Revealer
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Revealer -> Revealer -> Bool
$c/= :: Revealer -> Revealer -> Bool
== :: Revealer -> Revealer -> Bool
$c== :: Revealer -> Revealer -> Bool
Eq)
foreign import ccall "gtk_revealer_get_type"
c_gtk_revealer_get_type :: IO GType
instance GObject Revealer where
gobjectType :: IO GType
gobjectType = IO GType
c_gtk_revealer_get_type
instance B.GValue.IsGValue Revealer where
toGValue :: Revealer -> IO GValue
toGValue o :: Revealer
o = do
GType
gtype <- IO GType
c_gtk_revealer_get_type
Revealer -> (Ptr Revealer -> IO GValue) -> IO GValue
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr Revealer
o (GType
-> (GValue -> Ptr Revealer -> IO ()) -> Ptr Revealer -> IO GValue
forall a. GType -> (GValue -> a -> IO ()) -> a -> IO GValue
B.GValue.buildGValue GType
gtype GValue -> Ptr Revealer -> IO ()
forall a. GObject a => GValue -> Ptr a -> IO ()
B.GValue.set_object)
fromGValue :: GValue -> IO Revealer
fromGValue gv :: GValue
gv = do
Ptr Revealer
ptr <- GValue -> IO (Ptr Revealer)
forall b. GObject b => GValue -> IO (Ptr b)
B.GValue.get_object GValue
gv :: IO (Ptr Revealer)
(ManagedPtr Revealer -> Revealer) -> Ptr Revealer -> IO Revealer
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr Revealer -> Revealer
Revealer Ptr Revealer
ptr
class (GObject o, O.IsDescendantOf Revealer o) => IsRevealer o
instance (GObject o, O.IsDescendantOf Revealer o) => IsRevealer o
instance O.HasParentTypes Revealer
type instance O.ParentTypes Revealer = '[Gtk.Bin.Bin, Gtk.Container.Container, Gtk.Widget.Widget, GObject.Object.Object, Atk.ImplementorIface.ImplementorIface, Gtk.Buildable.Buildable]
toRevealer :: (MonadIO m, IsRevealer o) => o -> m Revealer
toRevealer :: o -> m Revealer
toRevealer = IO Revealer -> m Revealer
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Revealer -> m Revealer)
-> (o -> IO Revealer) -> o -> m Revealer
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr Revealer -> Revealer) -> o -> IO Revealer
forall o o'.
(HasCallStack, GObject o, GObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
unsafeCastTo ManagedPtr Revealer -> Revealer
Revealer
noRevealer :: Maybe Revealer
noRevealer :: Maybe Revealer
noRevealer = Maybe Revealer
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
type family ResolveRevealerMethod (t :: Symbol) (o :: *) :: * where
ResolveRevealerMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
ResolveRevealerMethod "activateAction" o = Gtk.Widget.WidgetActivateActionMethodInfo
ResolveRevealerMethod "activateDefault" o = Gtk.Widget.WidgetActivateDefaultMethodInfo
ResolveRevealerMethod "add" o = Gtk.Container.ContainerAddMethodInfo
ResolveRevealerMethod "addAccelerator" o = Gtk.Widget.WidgetAddAcceleratorMethodInfo
ResolveRevealerMethod "addChild" o = Gtk.Buildable.BuildableAddChildMethodInfo
ResolveRevealerMethod "addController" o = Gtk.Widget.WidgetAddControllerMethodInfo
ResolveRevealerMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
ResolveRevealerMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
ResolveRevealerMethod "allocate" o = Gtk.Widget.WidgetAllocateMethodInfo
ResolveRevealerMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveRevealerMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveRevealerMethod "canActivateAccel" o = Gtk.Widget.WidgetCanActivateAccelMethodInfo
ResolveRevealerMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
ResolveRevealerMethod "childType" o = Gtk.Container.ContainerChildTypeMethodInfo
ResolveRevealerMethod "computeBounds" o = Gtk.Widget.WidgetComputeBoundsMethodInfo
ResolveRevealerMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
ResolveRevealerMethod "computePoint" o = Gtk.Widget.WidgetComputePointMethodInfo
ResolveRevealerMethod "computeTransform" o = Gtk.Widget.WidgetComputeTransformMethodInfo
ResolveRevealerMethod "constructChild" o = Gtk.Buildable.BuildableConstructChildMethodInfo
ResolveRevealerMethod "contains" o = Gtk.Widget.WidgetContainsMethodInfo
ResolveRevealerMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
ResolveRevealerMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
ResolveRevealerMethod "customFinished" o = Gtk.Buildable.BuildableCustomFinishedMethodInfo
ResolveRevealerMethod "customTagEnd" o = Gtk.Buildable.BuildableCustomTagEndMethodInfo
ResolveRevealerMethod "customTagStart" o = Gtk.Buildable.BuildableCustomTagStartMethodInfo
ResolveRevealerMethod "destroy" o = Gtk.Widget.WidgetDestroyMethodInfo
ResolveRevealerMethod "destroyed" o = Gtk.Widget.WidgetDestroyedMethodInfo
ResolveRevealerMethod "deviceIsShadowed" o = Gtk.Widget.WidgetDeviceIsShadowedMethodInfo
ResolveRevealerMethod "dragBegin" o = Gtk.Widget.WidgetDragBeginMethodInfo
ResolveRevealerMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
ResolveRevealerMethod "dragDestAddImageTargets" o = Gtk.Widget.WidgetDragDestAddImageTargetsMethodInfo
ResolveRevealerMethod "dragDestAddTextTargets" o = Gtk.Widget.WidgetDragDestAddTextTargetsMethodInfo
ResolveRevealerMethod "dragDestAddUriTargets" o = Gtk.Widget.WidgetDragDestAddUriTargetsMethodInfo
ResolveRevealerMethod "dragDestFindTarget" o = Gtk.Widget.WidgetDragDestFindTargetMethodInfo
ResolveRevealerMethod "dragDestGetTargetList" o = Gtk.Widget.WidgetDragDestGetTargetListMethodInfo
ResolveRevealerMethod "dragDestGetTrackMotion" o = Gtk.Widget.WidgetDragDestGetTrackMotionMethodInfo
ResolveRevealerMethod "dragDestSet" o = Gtk.Widget.WidgetDragDestSetMethodInfo
ResolveRevealerMethod "dragDestSetTargetList" o = Gtk.Widget.WidgetDragDestSetTargetListMethodInfo
ResolveRevealerMethod "dragDestSetTrackMotion" o = Gtk.Widget.WidgetDragDestSetTrackMotionMethodInfo
ResolveRevealerMethod "dragDestUnset" o = Gtk.Widget.WidgetDragDestUnsetMethodInfo
ResolveRevealerMethod "dragGetData" o = Gtk.Widget.WidgetDragGetDataMethodInfo
ResolveRevealerMethod "dragHighlight" o = Gtk.Widget.WidgetDragHighlightMethodInfo
ResolveRevealerMethod "dragSourceAddImageTargets" o = Gtk.Widget.WidgetDragSourceAddImageTargetsMethodInfo
ResolveRevealerMethod "dragSourceAddTextTargets" o = Gtk.Widget.WidgetDragSourceAddTextTargetsMethodInfo
ResolveRevealerMethod "dragSourceAddUriTargets" o = Gtk.Widget.WidgetDragSourceAddUriTargetsMethodInfo
ResolveRevealerMethod "dragSourceGetTargetList" o = Gtk.Widget.WidgetDragSourceGetTargetListMethodInfo
ResolveRevealerMethod "dragSourceSet" o = Gtk.Widget.WidgetDragSourceSetMethodInfo
ResolveRevealerMethod "dragSourceSetIconGicon" o = Gtk.Widget.WidgetDragSourceSetIconGiconMethodInfo
ResolveRevealerMethod "dragSourceSetIconName" o = Gtk.Widget.WidgetDragSourceSetIconNameMethodInfo
ResolveRevealerMethod "dragSourceSetIconPaintable" o = Gtk.Widget.WidgetDragSourceSetIconPaintableMethodInfo
ResolveRevealerMethod "dragSourceSetTargetList" o = Gtk.Widget.WidgetDragSourceSetTargetListMethodInfo
ResolveRevealerMethod "dragSourceUnset" o = Gtk.Widget.WidgetDragSourceUnsetMethodInfo
ResolveRevealerMethod "dragUnhighlight" o = Gtk.Widget.WidgetDragUnhighlightMethodInfo
ResolveRevealerMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
ResolveRevealerMethod "event" o = Gtk.Widget.WidgetEventMethodInfo
ResolveRevealerMethod "forall" o = Gtk.Container.ContainerForallMethodInfo
ResolveRevealerMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveRevealerMethod "foreach" o = Gtk.Container.ContainerForeachMethodInfo
ResolveRevealerMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveRevealerMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveRevealerMethod "grabAdd" o = Gtk.Widget.WidgetGrabAddMethodInfo
ResolveRevealerMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
ResolveRevealerMethod "grabRemove" o = Gtk.Widget.WidgetGrabRemoveMethodInfo
ResolveRevealerMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
ResolveRevealerMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
ResolveRevealerMethod "hasGrab" o = Gtk.Widget.WidgetHasGrabMethodInfo
ResolveRevealerMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
ResolveRevealerMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
ResolveRevealerMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
ResolveRevealerMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
ResolveRevealerMethod "inputShapeCombineRegion" o = Gtk.Widget.WidgetInputShapeCombineRegionMethodInfo
ResolveRevealerMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
ResolveRevealerMethod "insertAfter" o = Gtk.Widget.WidgetInsertAfterMethodInfo
ResolveRevealerMethod "insertBefore" o = Gtk.Widget.WidgetInsertBeforeMethodInfo
ResolveRevealerMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
ResolveRevealerMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
ResolveRevealerMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveRevealerMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
ResolveRevealerMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
ResolveRevealerMethod "isToplevel" o = Gtk.Widget.WidgetIsToplevelMethodInfo
ResolveRevealerMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
ResolveRevealerMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
ResolveRevealerMethod "listAccelClosures" o = Gtk.Widget.WidgetListAccelClosuresMethodInfo
ResolveRevealerMethod "listActionPrefixes" o = Gtk.Widget.WidgetListActionPrefixesMethodInfo
ResolveRevealerMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
ResolveRevealerMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
ResolveRevealerMethod "measure" o = Gtk.Widget.WidgetMeasureMethodInfo
ResolveRevealerMethod "mnemonicActivate" o = Gtk.Widget.WidgetMnemonicActivateMethodInfo
ResolveRevealerMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveRevealerMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveRevealerMethod "observeChildren" o = Gtk.Widget.WidgetObserveChildrenMethodInfo
ResolveRevealerMethod "observeControllers" o = Gtk.Widget.WidgetObserveControllersMethodInfo
ResolveRevealerMethod "parserFinished" o = Gtk.Buildable.BuildableParserFinishedMethodInfo
ResolveRevealerMethod "pick" o = Gtk.Widget.WidgetPickMethodInfo
ResolveRevealerMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
ResolveRevealerMethod "queueComputeExpand" o = Gtk.Widget.WidgetQueueComputeExpandMethodInfo
ResolveRevealerMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
ResolveRevealerMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
ResolveRevealerMethod "queueResizeNoRedraw" o = Gtk.Widget.WidgetQueueResizeNoRedrawMethodInfo
ResolveRevealerMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
ResolveRevealerMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveRevealerMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveRevealerMethod "registerSurface" o = Gtk.Widget.WidgetRegisterSurfaceMethodInfo
ResolveRevealerMethod "remove" o = Gtk.Container.ContainerRemoveMethodInfo
ResolveRevealerMethod "removeAccelerator" o = Gtk.Widget.WidgetRemoveAcceleratorMethodInfo
ResolveRevealerMethod "removeController" o = Gtk.Widget.WidgetRemoveControllerMethodInfo
ResolveRevealerMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
ResolveRevealerMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
ResolveRevealerMethod "resetStyle" o = Gtk.Widget.WidgetResetStyleMethodInfo
ResolveRevealerMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveRevealerMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
ResolveRevealerMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
ResolveRevealerMethod "snapshotChild" o = Gtk.Widget.WidgetSnapshotChildMethodInfo
ResolveRevealerMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveRevealerMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveRevealerMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveRevealerMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
ResolveRevealerMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
ResolveRevealerMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
ResolveRevealerMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
ResolveRevealerMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
ResolveRevealerMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveRevealerMethod "unregisterSurface" o = Gtk.Widget.WidgetUnregisterSurfaceMethodInfo
ResolveRevealerMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
ResolveRevealerMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveRevealerMethod "getAccessible" o = Gtk.Widget.WidgetGetAccessibleMethodInfo
ResolveRevealerMethod "getActionGroup" o = Gtk.Widget.WidgetGetActionGroupMethodInfo
ResolveRevealerMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
ResolveRevealerMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
ResolveRevealerMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
ResolveRevealerMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
ResolveRevealerMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
ResolveRevealerMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
ResolveRevealerMethod "getCanTarget" o = Gtk.Widget.WidgetGetCanTargetMethodInfo
ResolveRevealerMethod "getChild" o = Gtk.Bin.BinGetChildMethodInfo
ResolveRevealerMethod "getChildRevealed" o = RevealerGetChildRevealedMethodInfo
ResolveRevealerMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
ResolveRevealerMethod "getChildren" o = Gtk.Container.ContainerGetChildrenMethodInfo
ResolveRevealerMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
ResolveRevealerMethod "getCursor" o = Gtk.Widget.WidgetGetCursorMethodInfo
ResolveRevealerMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveRevealerMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
ResolveRevealerMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
ResolveRevealerMethod "getFirstChild" o = Gtk.Widget.WidgetGetFirstChildMethodInfo
ResolveRevealerMethod "getFocusChild" o = Gtk.Widget.WidgetGetFocusChildMethodInfo
ResolveRevealerMethod "getFocusHadjustment" o = Gtk.Container.ContainerGetFocusHadjustmentMethodInfo
ResolveRevealerMethod "getFocusOnClick" o = Gtk.Widget.WidgetGetFocusOnClickMethodInfo
ResolveRevealerMethod "getFocusVadjustment" o = Gtk.Container.ContainerGetFocusVadjustmentMethodInfo
ResolveRevealerMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
ResolveRevealerMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
ResolveRevealerMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
ResolveRevealerMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
ResolveRevealerMethod "getHasSurface" o = Gtk.Widget.WidgetGetHasSurfaceMethodInfo
ResolveRevealerMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
ResolveRevealerMethod "getHeight" o = Gtk.Widget.WidgetGetHeightMethodInfo
ResolveRevealerMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
ResolveRevealerMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
ResolveRevealerMethod "getInternalChild" o = Gtk.Buildable.BuildableGetInternalChildMethodInfo
ResolveRevealerMethod "getLastChild" o = Gtk.Widget.WidgetGetLastChildMethodInfo
ResolveRevealerMethod "getLayoutManager" o = Gtk.Widget.WidgetGetLayoutManagerMethodInfo
ResolveRevealerMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
ResolveRevealerMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
ResolveRevealerMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
ResolveRevealerMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
ResolveRevealerMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
ResolveRevealerMethod "getModifierMask" o = Gtk.Widget.WidgetGetModifierMaskMethodInfo
ResolveRevealerMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
ResolveRevealerMethod "getNextSibling" o = Gtk.Widget.WidgetGetNextSiblingMethodInfo
ResolveRevealerMethod "getOpacity" o = Gtk.Widget.WidgetGetOpacityMethodInfo
ResolveRevealerMethod "getOverflow" o = Gtk.Widget.WidgetGetOverflowMethodInfo
ResolveRevealerMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
ResolveRevealerMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
ResolveRevealerMethod "getPath" o = Gtk.Widget.WidgetGetPathMethodInfo
ResolveRevealerMethod "getPathForChild" o = Gtk.Container.ContainerGetPathForChildMethodInfo
ResolveRevealerMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
ResolveRevealerMethod "getPrevSibling" o = Gtk.Widget.WidgetGetPrevSiblingMethodInfo
ResolveRevealerMethod "getPrimaryClipboard" o = Gtk.Widget.WidgetGetPrimaryClipboardMethodInfo
ResolveRevealerMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveRevealerMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveRevealerMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
ResolveRevealerMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
ResolveRevealerMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
ResolveRevealerMethod "getRevealChild" o = RevealerGetRevealChildMethodInfo
ResolveRevealerMethod "getRoot" o = Gtk.Widget.WidgetGetRootMethodInfo
ResolveRevealerMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
ResolveRevealerMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
ResolveRevealerMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
ResolveRevealerMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
ResolveRevealerMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
ResolveRevealerMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
ResolveRevealerMethod "getSupportMultidevice" o = Gtk.Widget.WidgetGetSupportMultideviceMethodInfo
ResolveRevealerMethod "getSurface" o = Gtk.Widget.WidgetGetSurfaceMethodInfo
ResolveRevealerMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
ResolveRevealerMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
ResolveRevealerMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
ResolveRevealerMethod "getTooltipWindow" o = Gtk.Widget.WidgetGetTooltipWindowMethodInfo
ResolveRevealerMethod "getToplevel" o = Gtk.Widget.WidgetGetToplevelMethodInfo
ResolveRevealerMethod "getTransitionDuration" o = RevealerGetTransitionDurationMethodInfo
ResolveRevealerMethod "getTransitionType" o = RevealerGetTransitionTypeMethodInfo
ResolveRevealerMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
ResolveRevealerMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
ResolveRevealerMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
ResolveRevealerMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
ResolveRevealerMethod "getWidth" o = Gtk.Widget.WidgetGetWidthMethodInfo
ResolveRevealerMethod "setAccelPath" o = Gtk.Widget.WidgetSetAccelPathMethodInfo
ResolveRevealerMethod "setBuildableProperty" o = Gtk.Buildable.BuildableSetBuildablePropertyMethodInfo
ResolveRevealerMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
ResolveRevealerMethod "setCanTarget" o = Gtk.Widget.WidgetSetCanTargetMethodInfo
ResolveRevealerMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
ResolveRevealerMethod "setCursor" o = Gtk.Widget.WidgetSetCursorMethodInfo
ResolveRevealerMethod "setCursorFromName" o = Gtk.Widget.WidgetSetCursorFromNameMethodInfo
ResolveRevealerMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveRevealerMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveRevealerMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
ResolveRevealerMethod "setFocusChild" o = Gtk.Widget.WidgetSetFocusChildMethodInfo
ResolveRevealerMethod "setFocusHadjustment" o = Gtk.Container.ContainerSetFocusHadjustmentMethodInfo
ResolveRevealerMethod "setFocusOnClick" o = Gtk.Widget.WidgetSetFocusOnClickMethodInfo
ResolveRevealerMethod "setFocusVadjustment" o = Gtk.Container.ContainerSetFocusVadjustmentMethodInfo
ResolveRevealerMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
ResolveRevealerMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
ResolveRevealerMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
ResolveRevealerMethod "setHasSurface" o = Gtk.Widget.WidgetSetHasSurfaceMethodInfo
ResolveRevealerMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
ResolveRevealerMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
ResolveRevealerMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
ResolveRevealerMethod "setLayoutManager" o = Gtk.Widget.WidgetSetLayoutManagerMethodInfo
ResolveRevealerMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
ResolveRevealerMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
ResolveRevealerMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
ResolveRevealerMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
ResolveRevealerMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
ResolveRevealerMethod "setOpacity" o = Gtk.Widget.WidgetSetOpacityMethodInfo
ResolveRevealerMethod "setOverflow" o = Gtk.Widget.WidgetSetOverflowMethodInfo
ResolveRevealerMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
ResolveRevealerMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveRevealerMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
ResolveRevealerMethod "setRevealChild" o = RevealerSetRevealChildMethodInfo
ResolveRevealerMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
ResolveRevealerMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
ResolveRevealerMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
ResolveRevealerMethod "setSupportMultidevice" o = Gtk.Widget.WidgetSetSupportMultideviceMethodInfo
ResolveRevealerMethod "setSurface" o = Gtk.Widget.WidgetSetSurfaceMethodInfo
ResolveRevealerMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
ResolveRevealerMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
ResolveRevealerMethod "setTooltipWindow" o = Gtk.Widget.WidgetSetTooltipWindowMethodInfo
ResolveRevealerMethod "setTransitionDuration" o = RevealerSetTransitionDurationMethodInfo
ResolveRevealerMethod "setTransitionType" o = RevealerSetTransitionTypeMethodInfo
ResolveRevealerMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
ResolveRevealerMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
ResolveRevealerMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
ResolveRevealerMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
ResolveRevealerMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveRevealerMethod t Revealer, O.MethodInfo info Revealer p) => OL.IsLabel t (Revealer -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod @info
#else
fromLabel _ = O.overloadedMethod @info
#endif
#endif
getRevealerChildRevealed :: (MonadIO m, IsRevealer o) => o -> m Bool
getRevealerChildRevealed :: o -> m Bool
getRevealerChildRevealed obj :: o
obj = IO Bool -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj "child-revealed"
#if defined(ENABLE_OVERLOADING)
data RevealerChildRevealedPropertyInfo
instance AttrInfo RevealerChildRevealedPropertyInfo where
type AttrAllowedOps RevealerChildRevealedPropertyInfo = '[ 'AttrGet]
type AttrBaseTypeConstraint RevealerChildRevealedPropertyInfo = IsRevealer
type AttrSetTypeConstraint RevealerChildRevealedPropertyInfo = (~) ()
type AttrTransferTypeConstraint RevealerChildRevealedPropertyInfo = (~) ()
type AttrTransferType RevealerChildRevealedPropertyInfo = ()
type AttrGetType RevealerChildRevealedPropertyInfo = Bool
type AttrLabel RevealerChildRevealedPropertyInfo = "child-revealed"
type AttrOrigin RevealerChildRevealedPropertyInfo = Revealer
attrGet = getRevealerChildRevealed
attrSet = undefined
attrTransfer _ = undefined
attrConstruct = undefined
attrClear = undefined
#endif
getRevealerRevealChild :: (MonadIO m, IsRevealer o) => o -> m Bool
getRevealerRevealChild :: o -> m Bool
getRevealerRevealChild obj :: o
obj = IO Bool -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj "reveal-child"
setRevealerRevealChild :: (MonadIO m, IsRevealer o) => o -> Bool -> m ()
setRevealerRevealChild :: o -> Bool -> m ()
setRevealerRevealChild obj :: o
obj val :: Bool
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj "reveal-child" Bool
val
constructRevealerRevealChild :: (IsRevealer o) => Bool -> IO (GValueConstruct o)
constructRevealerRevealChild :: Bool -> IO (GValueConstruct o)
constructRevealerRevealChild val :: Bool
val = String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool "reveal-child" Bool
val
#if defined(ENABLE_OVERLOADING)
data RevealerRevealChildPropertyInfo
instance AttrInfo RevealerRevealChildPropertyInfo where
type AttrAllowedOps RevealerRevealChildPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint RevealerRevealChildPropertyInfo = IsRevealer
type AttrSetTypeConstraint RevealerRevealChildPropertyInfo = (~) Bool
type AttrTransferTypeConstraint RevealerRevealChildPropertyInfo = (~) Bool
type AttrTransferType RevealerRevealChildPropertyInfo = Bool
type AttrGetType RevealerRevealChildPropertyInfo = Bool
type AttrLabel RevealerRevealChildPropertyInfo = "reveal-child"
type AttrOrigin RevealerRevealChildPropertyInfo = Revealer
attrGet = getRevealerRevealChild
attrSet = setRevealerRevealChild
attrTransfer _ v = do
return v
attrConstruct = constructRevealerRevealChild
attrClear = undefined
#endif
getRevealerTransitionDuration :: (MonadIO m, IsRevealer o) => o -> m Word32
getRevealerTransitionDuration :: o -> m Word32
getRevealerTransitionDuration obj :: o
obj = IO Word32 -> m Word32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Word32 -> m Word32) -> IO Word32 -> m Word32
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Word32
forall a. GObject a => a -> String -> IO Word32
B.Properties.getObjectPropertyUInt32 o
obj "transition-duration"
setRevealerTransitionDuration :: (MonadIO m, IsRevealer o) => o -> Word32 -> m ()
setRevealerTransitionDuration :: o -> Word32 -> m ()
setRevealerTransitionDuration obj :: o
obj val :: Word32
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Word32 -> IO ()
forall a. GObject a => a -> String -> Word32 -> IO ()
B.Properties.setObjectPropertyUInt32 o
obj "transition-duration" Word32
val
constructRevealerTransitionDuration :: (IsRevealer o) => Word32 -> IO (GValueConstruct o)
constructRevealerTransitionDuration :: Word32 -> IO (GValueConstruct o)
constructRevealerTransitionDuration val :: Word32
val = String -> Word32 -> IO (GValueConstruct o)
forall o. String -> Word32 -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyUInt32 "transition-duration" Word32
val
#if defined(ENABLE_OVERLOADING)
data RevealerTransitionDurationPropertyInfo
instance AttrInfo RevealerTransitionDurationPropertyInfo where
type AttrAllowedOps RevealerTransitionDurationPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint RevealerTransitionDurationPropertyInfo = IsRevealer
type AttrSetTypeConstraint RevealerTransitionDurationPropertyInfo = (~) Word32
type AttrTransferTypeConstraint RevealerTransitionDurationPropertyInfo = (~) Word32
type AttrTransferType RevealerTransitionDurationPropertyInfo = Word32
type AttrGetType RevealerTransitionDurationPropertyInfo = Word32
type AttrLabel RevealerTransitionDurationPropertyInfo = "transition-duration"
type AttrOrigin RevealerTransitionDurationPropertyInfo = Revealer
attrGet = getRevealerTransitionDuration
attrSet = setRevealerTransitionDuration
attrTransfer _ v = do
return v
attrConstruct = constructRevealerTransitionDuration
attrClear = undefined
#endif
getRevealerTransitionType :: (MonadIO m, IsRevealer o) => o -> m Gtk.Enums.RevealerTransitionType
getRevealerTransitionType :: o -> m RevealerTransitionType
getRevealerTransitionType obj :: o
obj = IO RevealerTransitionType -> m RevealerTransitionType
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO RevealerTransitionType -> m RevealerTransitionType)
-> IO RevealerTransitionType -> m RevealerTransitionType
forall a b. (a -> b) -> a -> b
$ o -> String -> IO RevealerTransitionType
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj "transition-type"
setRevealerTransitionType :: (MonadIO m, IsRevealer o) => o -> Gtk.Enums.RevealerTransitionType -> m ()
setRevealerTransitionType :: o -> RevealerTransitionType -> m ()
setRevealerTransitionType obj :: o
obj val :: RevealerTransitionType
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> RevealerTransitionType -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj "transition-type" RevealerTransitionType
val
constructRevealerTransitionType :: (IsRevealer o) => Gtk.Enums.RevealerTransitionType -> IO (GValueConstruct o)
constructRevealerTransitionType :: RevealerTransitionType -> IO (GValueConstruct o)
constructRevealerTransitionType val :: RevealerTransitionType
val = String -> RevealerTransitionType -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum "transition-type" RevealerTransitionType
val
#if defined(ENABLE_OVERLOADING)
data RevealerTransitionTypePropertyInfo
instance AttrInfo RevealerTransitionTypePropertyInfo where
type AttrAllowedOps RevealerTransitionTypePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint RevealerTransitionTypePropertyInfo = IsRevealer
type AttrSetTypeConstraint RevealerTransitionTypePropertyInfo = (~) Gtk.Enums.RevealerTransitionType
type AttrTransferTypeConstraint RevealerTransitionTypePropertyInfo = (~) Gtk.Enums.RevealerTransitionType
type AttrTransferType RevealerTransitionTypePropertyInfo = Gtk.Enums.RevealerTransitionType
type AttrGetType RevealerTransitionTypePropertyInfo = Gtk.Enums.RevealerTransitionType
type AttrLabel RevealerTransitionTypePropertyInfo = "transition-type"
type AttrOrigin RevealerTransitionTypePropertyInfo = Revealer
attrGet = getRevealerTransitionType
attrSet = setRevealerTransitionType
attrTransfer _ v = do
return v
attrConstruct = constructRevealerTransitionType
attrClear = undefined
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList Revealer
type instance O.AttributeList Revealer = RevealerAttributeList
type RevealerAttributeList = ('[ '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("canTarget", Gtk.Widget.WidgetCanTargetPropertyInfo), '("childRevealed", RevealerChildRevealedPropertyInfo), '("cssName", Gtk.Widget.WidgetCssNamePropertyInfo), '("cursor", Gtk.Widget.WidgetCursorPropertyInfo), '("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), '("layoutManager", Gtk.Widget.WidgetLayoutManagerPropertyInfo), '("margin", Gtk.Widget.WidgetMarginPropertyInfo), '("marginBottom", Gtk.Widget.WidgetMarginBottomPropertyInfo), '("marginEnd", Gtk.Widget.WidgetMarginEndPropertyInfo), '("marginStart", Gtk.Widget.WidgetMarginStartPropertyInfo), '("marginTop", Gtk.Widget.WidgetMarginTopPropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("overflow", Gtk.Widget.WidgetOverflowPropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("revealChild", RevealerRevealChildPropertyInfo), '("root", Gtk.Widget.WidgetRootPropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("surface", Gtk.Widget.WidgetSurfacePropertyInfo), '("tooltipMarkup", Gtk.Widget.WidgetTooltipMarkupPropertyInfo), '("tooltipText", Gtk.Widget.WidgetTooltipTextPropertyInfo), '("transitionDuration", RevealerTransitionDurationPropertyInfo), '("transitionType", RevealerTransitionTypePropertyInfo), '("valign", Gtk.Widget.WidgetValignPropertyInfo), '("vexpand", Gtk.Widget.WidgetVexpandPropertyInfo), '("vexpandSet", Gtk.Widget.WidgetVexpandSetPropertyInfo), '("visible", Gtk.Widget.WidgetVisiblePropertyInfo), '("widthRequest", Gtk.Widget.WidgetWidthRequestPropertyInfo)] :: [(Symbol, *)])
#endif
#if defined(ENABLE_OVERLOADING)
revealerChildRevealed :: AttrLabelProxy "childRevealed"
revealerChildRevealed = AttrLabelProxy
revealerRevealChild :: AttrLabelProxy "revealChild"
revealerRevealChild = AttrLabelProxy
revealerTransitionDuration :: AttrLabelProxy "transitionDuration"
revealerTransitionDuration = AttrLabelProxy
revealerTransitionType :: AttrLabelProxy "transitionType"
revealerTransitionType = AttrLabelProxy
#endif
#if defined(ENABLE_OVERLOADING)
type instance O.SignalList Revealer = RevealerSignalList
type RevealerSignalList = ('[ '("accelClosuresChanged", Gtk.Widget.WidgetAccelClosuresChangedSignalInfo), '("add", Gtk.Container.ContainerAddSignalInfo), '("canActivateAccel", Gtk.Widget.WidgetCanActivateAccelSignalInfo), '("destroy", Gtk.Widget.WidgetDestroySignalInfo), '("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), '("grabNotify", Gtk.Widget.WidgetGrabNotifySignalInfo), '("hide", Gtk.Widget.WidgetHideSignalInfo), '("keynavFailed", Gtk.Widget.WidgetKeynavFailedSignalInfo), '("map", Gtk.Widget.WidgetMapSignalInfo), '("mnemonicActivate", Gtk.Widget.WidgetMnemonicActivateSignalInfo), '("moveFocus", Gtk.Widget.WidgetMoveFocusSignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo), '("popupMenu", Gtk.Widget.WidgetPopupMenuSignalInfo), '("queryTooltip", Gtk.Widget.WidgetQueryTooltipSignalInfo), '("realize", Gtk.Widget.WidgetRealizeSignalInfo), '("remove", Gtk.Container.ContainerRemoveSignalInfo), '("show", Gtk.Widget.WidgetShowSignalInfo), '("sizeAllocate", Gtk.Widget.WidgetSizeAllocateSignalInfo), '("stateFlagsChanged", Gtk.Widget.WidgetStateFlagsChangedSignalInfo), '("styleUpdated", Gtk.Widget.WidgetStyleUpdatedSignalInfo), '("unmap", Gtk.Widget.WidgetUnmapSignalInfo), '("unrealize", Gtk.Widget.WidgetUnrealizeSignalInfo)] :: [(Symbol, *)])
#endif
foreign import ccall "gtk_revealer_new" gtk_revealer_new ::
IO (Ptr Revealer)
revealerNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m Revealer
revealerNew :: m Revealer
revealerNew = IO Revealer -> m Revealer
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Revealer -> m Revealer) -> IO Revealer -> m Revealer
forall a b. (a -> b) -> a -> b
$ do
Ptr Revealer
result <- IO (Ptr Revealer)
gtk_revealer_new
Text -> Ptr Revealer -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL "revealerNew" Ptr Revealer
result
Revealer
result' <- ((ManagedPtr Revealer -> Revealer) -> Ptr Revealer -> IO Revealer
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Revealer -> Revealer
Revealer) Ptr Revealer
result
Revealer -> IO Revealer
forall (m :: * -> *) a. Monad m => a -> m a
return Revealer
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "gtk_revealer_get_child_revealed" gtk_revealer_get_child_revealed ::
Ptr Revealer ->
IO CInt
revealerGetChildRevealed ::
(B.CallStack.HasCallStack, MonadIO m, IsRevealer a) =>
a
-> m Bool
revealerGetChildRevealed :: a -> m Bool
revealerGetChildRevealed revealer :: a
revealer = IO Bool -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Revealer
revealer' <- a -> IO (Ptr Revealer)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
revealer
CInt
result <- Ptr Revealer -> IO CInt
gtk_revealer_get_child_revealed Ptr Revealer
revealer'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= 0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
revealer
Bool -> IO Bool
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data RevealerGetChildRevealedMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsRevealer a) => O.MethodInfo RevealerGetChildRevealedMethodInfo a signature where
overloadedMethod = revealerGetChildRevealed
#endif
foreign import ccall "gtk_revealer_get_reveal_child" gtk_revealer_get_reveal_child ::
Ptr Revealer ->
IO CInt
revealerGetRevealChild ::
(B.CallStack.HasCallStack, MonadIO m, IsRevealer a) =>
a
-> m Bool
revealerGetRevealChild :: a -> m Bool
revealerGetRevealChild revealer :: a
revealer = IO Bool -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr Revealer
revealer' <- a -> IO (Ptr Revealer)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
revealer
CInt
result <- Ptr Revealer -> IO CInt
gtk_revealer_get_reveal_child Ptr Revealer
revealer'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= 0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
revealer
Bool -> IO Bool
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data RevealerGetRevealChildMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsRevealer a) => O.MethodInfo RevealerGetRevealChildMethodInfo a signature where
overloadedMethod = revealerGetRevealChild
#endif
foreign import ccall "gtk_revealer_get_transition_duration" gtk_revealer_get_transition_duration ::
Ptr Revealer ->
IO Word32
revealerGetTransitionDuration ::
(B.CallStack.HasCallStack, MonadIO m, IsRevealer a) =>
a
-> m Word32
revealerGetTransitionDuration :: a -> m Word32
revealerGetTransitionDuration revealer :: a
revealer = IO Word32 -> m Word32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Word32 -> m Word32) -> IO Word32 -> m Word32
forall a b. (a -> b) -> a -> b
$ do
Ptr Revealer
revealer' <- a -> IO (Ptr Revealer)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
revealer
Word32
result <- Ptr Revealer -> IO Word32
gtk_revealer_get_transition_duration Ptr Revealer
revealer'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
revealer
Word32 -> IO Word32
forall (m :: * -> *) a. Monad m => a -> m a
return Word32
result
#if defined(ENABLE_OVERLOADING)
data RevealerGetTransitionDurationMethodInfo
instance (signature ~ (m Word32), MonadIO m, IsRevealer a) => O.MethodInfo RevealerGetTransitionDurationMethodInfo a signature where
overloadedMethod = revealerGetTransitionDuration
#endif
foreign import ccall "gtk_revealer_get_transition_type" gtk_revealer_get_transition_type ::
Ptr Revealer ->
IO CUInt
revealerGetTransitionType ::
(B.CallStack.HasCallStack, MonadIO m, IsRevealer a) =>
a
-> m Gtk.Enums.RevealerTransitionType
revealerGetTransitionType :: a -> m RevealerTransitionType
revealerGetTransitionType revealer :: a
revealer = IO RevealerTransitionType -> m RevealerTransitionType
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO RevealerTransitionType -> m RevealerTransitionType)
-> IO RevealerTransitionType -> m RevealerTransitionType
forall a b. (a -> b) -> a -> b
$ do
Ptr Revealer
revealer' <- a -> IO (Ptr Revealer)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
revealer
CUInt
result <- Ptr Revealer -> IO CUInt
gtk_revealer_get_transition_type Ptr Revealer
revealer'
let result' :: RevealerTransitionType
result' = (Int -> RevealerTransitionType
forall a. Enum a => Int -> a
toEnum (Int -> RevealerTransitionType)
-> (CUInt -> Int) -> CUInt -> RevealerTransitionType
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
revealer
RevealerTransitionType -> IO RevealerTransitionType
forall (m :: * -> *) a. Monad m => a -> m a
return RevealerTransitionType
result'
#if defined(ENABLE_OVERLOADING)
data RevealerGetTransitionTypeMethodInfo
instance (signature ~ (m Gtk.Enums.RevealerTransitionType), MonadIO m, IsRevealer a) => O.MethodInfo RevealerGetTransitionTypeMethodInfo a signature where
overloadedMethod = revealerGetTransitionType
#endif
foreign import ccall "gtk_revealer_set_reveal_child" gtk_revealer_set_reveal_child ::
Ptr Revealer ->
CInt ->
IO ()
revealerSetRevealChild ::
(B.CallStack.HasCallStack, MonadIO m, IsRevealer a) =>
a
-> Bool
-> m ()
revealerSetRevealChild :: a -> Bool -> m ()
revealerSetRevealChild revealer :: a
revealer revealChild :: Bool
revealChild = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Revealer
revealer' <- a -> IO (Ptr Revealer)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
revealer
let revealChild' :: CInt
revealChild' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
fromEnum) Bool
revealChild
Ptr Revealer -> CInt -> IO ()
gtk_revealer_set_reveal_child Ptr Revealer
revealer' CInt
revealChild'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
revealer
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data RevealerSetRevealChildMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsRevealer a) => O.MethodInfo RevealerSetRevealChildMethodInfo a signature where
overloadedMethod = revealerSetRevealChild
#endif
foreign import ccall "gtk_revealer_set_transition_duration" gtk_revealer_set_transition_duration ::
Ptr Revealer ->
Word32 ->
IO ()
revealerSetTransitionDuration ::
(B.CallStack.HasCallStack, MonadIO m, IsRevealer a) =>
a
-> Word32
-> m ()
revealerSetTransitionDuration :: a -> Word32 -> m ()
revealerSetTransitionDuration revealer :: a
revealer duration :: Word32
duration = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Revealer
revealer' <- a -> IO (Ptr Revealer)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
revealer
Ptr Revealer -> Word32 -> IO ()
gtk_revealer_set_transition_duration Ptr Revealer
revealer' Word32
duration
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
revealer
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data RevealerSetTransitionDurationMethodInfo
instance (signature ~ (Word32 -> m ()), MonadIO m, IsRevealer a) => O.MethodInfo RevealerSetTransitionDurationMethodInfo a signature where
overloadedMethod = revealerSetTransitionDuration
#endif
foreign import ccall "gtk_revealer_set_transition_type" gtk_revealer_set_transition_type ::
Ptr Revealer ->
CUInt ->
IO ()
revealerSetTransitionType ::
(B.CallStack.HasCallStack, MonadIO m, IsRevealer a) =>
a
-> Gtk.Enums.RevealerTransitionType
-> m ()
revealerSetTransitionType :: a -> RevealerTransitionType -> m ()
revealerSetTransitionType revealer :: a
revealer transition :: RevealerTransitionType
transition = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr Revealer
revealer' <- a -> IO (Ptr Revealer)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
revealer
let transition' :: CUInt
transition' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt)
-> (RevealerTransitionType -> Int)
-> RevealerTransitionType
-> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. RevealerTransitionType -> Int
forall a. Enum a => a -> Int
fromEnum) RevealerTransitionType
transition
Ptr Revealer -> CUInt -> IO ()
gtk_revealer_set_transition_type Ptr Revealer
revealer' CUInt
transition'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
revealer
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data RevealerSetTransitionTypeMethodInfo
instance (signature ~ (Gtk.Enums.RevealerTransitionType -> m ()), MonadIO m, IsRevealer a) => O.MethodInfo RevealerSetTransitionTypeMethodInfo a signature where
overloadedMethod = revealerSetTransitionType
#endif