{-# LANGUAGE TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.Handy.Objects.PreferencesWindow
(
PreferencesWindow(..) ,
IsPreferencesWindow ,
toPreferencesWindow ,
#if defined(ENABLE_OVERLOADING)
ResolvePreferencesWindowMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
PreferencesWindowCloseSubpageMethodInfo ,
#endif
preferencesWindowCloseSubpage ,
#if defined(ENABLE_OVERLOADING)
PreferencesWindowGetCanSwipeBackMethodInfo,
#endif
preferencesWindowGetCanSwipeBack ,
#if defined(ENABLE_OVERLOADING)
PreferencesWindowGetSearchEnabledMethodInfo,
#endif
preferencesWindowGetSearchEnabled ,
preferencesWindowNew ,
#if defined(ENABLE_OVERLOADING)
PreferencesWindowPresentSubpageMethodInfo,
#endif
preferencesWindowPresentSubpage ,
#if defined(ENABLE_OVERLOADING)
PreferencesWindowSetCanSwipeBackMethodInfo,
#endif
preferencesWindowSetCanSwipeBack ,
#if defined(ENABLE_OVERLOADING)
PreferencesWindowSetSearchEnabledMethodInfo,
#endif
preferencesWindowSetSearchEnabled ,
#if defined(ENABLE_OVERLOADING)
PreferencesWindowCanSwipeBackPropertyInfo,
#endif
constructPreferencesWindowCanSwipeBack ,
getPreferencesWindowCanSwipeBack ,
#if defined(ENABLE_OVERLOADING)
preferencesWindowCanSwipeBack ,
#endif
setPreferencesWindowCanSwipeBack ,
#if defined(ENABLE_OVERLOADING)
PreferencesWindowSearchEnabledPropertyInfo,
#endif
constructPreferencesWindowSearchEnabled ,
getPreferencesWindowSearchEnabled ,
#if defined(ENABLE_OVERLOADING)
preferencesWindowSearchEnabled ,
#endif
setPreferencesWindowSearchEnabled ,
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.BasicTypes as B.Types
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GArray as B.GArray
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GHashTable as B.GHT
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.GI.Base.Signals as B.Signals
import qualified Control.Monad.IO.Class as MIO
import qualified Data.Coerce as Coerce
import qualified Data.Text as T
import qualified Data.Kind as DK
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
import qualified GHC.Records as R
import qualified GI.Atk.Interfaces.ImplementorIface as Atk.ImplementorIface
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
import qualified GI.Gtk.Objects.Bin as Gtk.Bin
import qualified GI.Gtk.Objects.Container as Gtk.Container
import qualified GI.Gtk.Objects.Widget as Gtk.Widget
import qualified GI.Gtk.Objects.Window as Gtk.Window
import {-# SOURCE #-} qualified GI.Handy.Objects.Window as Handy.Window
newtype PreferencesWindow = PreferencesWindow (SP.ManagedPtr PreferencesWindow)
deriving (PreferencesWindow -> PreferencesWindow -> Bool
(PreferencesWindow -> PreferencesWindow -> Bool)
-> (PreferencesWindow -> PreferencesWindow -> Bool)
-> Eq PreferencesWindow
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: PreferencesWindow -> PreferencesWindow -> Bool
== :: PreferencesWindow -> PreferencesWindow -> Bool
$c/= :: PreferencesWindow -> PreferencesWindow -> Bool
/= :: PreferencesWindow -> PreferencesWindow -> Bool
Eq)
instance SP.ManagedPtrNewtype PreferencesWindow where
toManagedPtr :: PreferencesWindow -> ManagedPtr PreferencesWindow
toManagedPtr (PreferencesWindow ManagedPtr PreferencesWindow
p) = ManagedPtr PreferencesWindow
p
foreign import ccall "hdy_preferences_window_get_type"
c_hdy_preferences_window_get_type :: IO B.Types.GType
instance B.Types.TypedObject PreferencesWindow where
glibType :: IO GType
glibType = IO GType
c_hdy_preferences_window_get_type
instance B.Types.GObject PreferencesWindow
class (SP.GObject o, O.IsDescendantOf PreferencesWindow o) => IsPreferencesWindow o
instance (SP.GObject o, O.IsDescendantOf PreferencesWindow o) => IsPreferencesWindow o
instance O.HasParentTypes PreferencesWindow
type instance O.ParentTypes PreferencesWindow = '[Handy.Window.Window, Gtk.Window.Window, Gtk.Bin.Bin, Gtk.Container.Container, Gtk.Widget.Widget, GObject.Object.Object, Atk.ImplementorIface.ImplementorIface, Gtk.Buildable.Buildable]
toPreferencesWindow :: (MIO.MonadIO m, IsPreferencesWindow o) => o -> m PreferencesWindow
toPreferencesWindow :: forall (m :: * -> *) o.
(MonadIO m, IsPreferencesWindow o) =>
o -> m PreferencesWindow
toPreferencesWindow = IO PreferencesWindow -> m PreferencesWindow
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO PreferencesWindow -> m PreferencesWindow)
-> (o -> IO PreferencesWindow) -> o -> m PreferencesWindow
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr PreferencesWindow -> PreferencesWindow)
-> o -> IO PreferencesWindow
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr PreferencesWindow -> PreferencesWindow
PreferencesWindow
instance B.GValue.IsGValue (Maybe PreferencesWindow) where
gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_hdy_preferences_window_get_type
gvalueSet_ :: Ptr GValue -> Maybe PreferencesWindow -> IO ()
gvalueSet_ Ptr GValue
gv Maybe PreferencesWindow
P.Nothing = Ptr GValue -> Ptr PreferencesWindow -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr PreferencesWindow
forall a. Ptr a
FP.nullPtr :: FP.Ptr PreferencesWindow)
gvalueSet_ Ptr GValue
gv (P.Just PreferencesWindow
obj) = PreferencesWindow -> (Ptr PreferencesWindow -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr PreferencesWindow
obj (Ptr GValue -> Ptr PreferencesWindow -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
gvalueGet_ :: Ptr GValue -> IO (Maybe PreferencesWindow)
gvalueGet_ Ptr GValue
gv = do
Ptr PreferencesWindow
ptr <- Ptr GValue -> IO (Ptr PreferencesWindow)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr PreferencesWindow)
if Ptr PreferencesWindow
ptr Ptr PreferencesWindow -> Ptr PreferencesWindow -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr PreferencesWindow
forall a. Ptr a
FP.nullPtr
then PreferencesWindow -> Maybe PreferencesWindow
forall a. a -> Maybe a
P.Just (PreferencesWindow -> Maybe PreferencesWindow)
-> IO PreferencesWindow -> IO (Maybe PreferencesWindow)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr PreferencesWindow -> PreferencesWindow)
-> Ptr PreferencesWindow -> IO PreferencesWindow
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr PreferencesWindow -> PreferencesWindow
PreferencesWindow Ptr PreferencesWindow
ptr
else Maybe PreferencesWindow -> IO (Maybe PreferencesWindow)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe PreferencesWindow
forall a. Maybe a
P.Nothing
#if defined(ENABLE_OVERLOADING)
type family ResolvePreferencesWindowMethod (t :: Symbol) (o :: DK.Type) :: DK.Type where
ResolvePreferencesWindowMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
ResolvePreferencesWindowMethod "activateDefault" o = Gtk.Window.WindowActivateDefaultMethodInfo
ResolvePreferencesWindowMethod "activateFocus" o = Gtk.Window.WindowActivateFocusMethodInfo
ResolvePreferencesWindowMethod "activateKey" o = Gtk.Window.WindowActivateKeyMethodInfo
ResolvePreferencesWindowMethod "add" o = Gtk.Container.ContainerAddMethodInfo
ResolvePreferencesWindowMethod "addAccelGroup" o = Gtk.Window.WindowAddAccelGroupMethodInfo
ResolvePreferencesWindowMethod "addAccelerator" o = Gtk.Widget.WidgetAddAcceleratorMethodInfo
ResolvePreferencesWindowMethod "addChild" o = Gtk.Buildable.BuildableAddChildMethodInfo
ResolvePreferencesWindowMethod "addDeviceEvents" o = Gtk.Widget.WidgetAddDeviceEventsMethodInfo
ResolvePreferencesWindowMethod "addEvents" o = Gtk.Widget.WidgetAddEventsMethodInfo
ResolvePreferencesWindowMethod "addMnemonic" o = Gtk.Window.WindowAddMnemonicMethodInfo
ResolvePreferencesWindowMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
ResolvePreferencesWindowMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
ResolvePreferencesWindowMethod "beginMoveDrag" o = Gtk.Window.WindowBeginMoveDragMethodInfo
ResolvePreferencesWindowMethod "beginResizeDrag" o = Gtk.Window.WindowBeginResizeDragMethodInfo
ResolvePreferencesWindowMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolvePreferencesWindowMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolvePreferencesWindowMethod "canActivateAccel" o = Gtk.Widget.WidgetCanActivateAccelMethodInfo
ResolvePreferencesWindowMethod "checkResize" o = Gtk.Container.ContainerCheckResizeMethodInfo
ResolvePreferencesWindowMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
ResolvePreferencesWindowMethod "childGetProperty" o = Gtk.Container.ContainerChildGetPropertyMethodInfo
ResolvePreferencesWindowMethod "childNotify" o = Gtk.Container.ContainerChildNotifyMethodInfo
ResolvePreferencesWindowMethod "childNotifyByPspec" o = Gtk.Container.ContainerChildNotifyByPspecMethodInfo
ResolvePreferencesWindowMethod "childSetProperty" o = Gtk.Container.ContainerChildSetPropertyMethodInfo
ResolvePreferencesWindowMethod "childType" o = Gtk.Container.ContainerChildTypeMethodInfo
ResolvePreferencesWindowMethod "classPath" o = Gtk.Widget.WidgetClassPathMethodInfo
ResolvePreferencesWindowMethod "close" o = Gtk.Window.WindowCloseMethodInfo
ResolvePreferencesWindowMethod "closeSubpage" o = PreferencesWindowCloseSubpageMethodInfo
ResolvePreferencesWindowMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
ResolvePreferencesWindowMethod "constructChild" o = Gtk.Buildable.BuildableConstructChildMethodInfo
ResolvePreferencesWindowMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
ResolvePreferencesWindowMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
ResolvePreferencesWindowMethod "customFinished" o = Gtk.Buildable.BuildableCustomFinishedMethodInfo
ResolvePreferencesWindowMethod "customTagEnd" o = Gtk.Buildable.BuildableCustomTagEndMethodInfo
ResolvePreferencesWindowMethod "customTagStart" o = Gtk.Buildable.BuildableCustomTagStartMethodInfo
ResolvePreferencesWindowMethod "deiconify" o = Gtk.Window.WindowDeiconifyMethodInfo
ResolvePreferencesWindowMethod "destroy" o = Gtk.Widget.WidgetDestroyMethodInfo
ResolvePreferencesWindowMethod "destroyed" o = Gtk.Widget.WidgetDestroyedMethodInfo
ResolvePreferencesWindowMethod "deviceIsShadowed" o = Gtk.Widget.WidgetDeviceIsShadowedMethodInfo
ResolvePreferencesWindowMethod "dragBegin" o = Gtk.Widget.WidgetDragBeginMethodInfo
ResolvePreferencesWindowMethod "dragBeginWithCoordinates" o = Gtk.Widget.WidgetDragBeginWithCoordinatesMethodInfo
ResolvePreferencesWindowMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
ResolvePreferencesWindowMethod "dragDestAddImageTargets" o = Gtk.Widget.WidgetDragDestAddImageTargetsMethodInfo
ResolvePreferencesWindowMethod "dragDestAddTextTargets" o = Gtk.Widget.WidgetDragDestAddTextTargetsMethodInfo
ResolvePreferencesWindowMethod "dragDestAddUriTargets" o = Gtk.Widget.WidgetDragDestAddUriTargetsMethodInfo
ResolvePreferencesWindowMethod "dragDestFindTarget" o = Gtk.Widget.WidgetDragDestFindTargetMethodInfo
ResolvePreferencesWindowMethod "dragDestGetTargetList" o = Gtk.Widget.WidgetDragDestGetTargetListMethodInfo
ResolvePreferencesWindowMethod "dragDestGetTrackMotion" o = Gtk.Widget.WidgetDragDestGetTrackMotionMethodInfo
ResolvePreferencesWindowMethod "dragDestSet" o = Gtk.Widget.WidgetDragDestSetMethodInfo
ResolvePreferencesWindowMethod "dragDestSetProxy" o = Gtk.Widget.WidgetDragDestSetProxyMethodInfo
ResolvePreferencesWindowMethod "dragDestSetTargetList" o = Gtk.Widget.WidgetDragDestSetTargetListMethodInfo
ResolvePreferencesWindowMethod "dragDestSetTrackMotion" o = Gtk.Widget.WidgetDragDestSetTrackMotionMethodInfo
ResolvePreferencesWindowMethod "dragDestUnset" o = Gtk.Widget.WidgetDragDestUnsetMethodInfo
ResolvePreferencesWindowMethod "dragGetData" o = Gtk.Widget.WidgetDragGetDataMethodInfo
ResolvePreferencesWindowMethod "dragHighlight" o = Gtk.Widget.WidgetDragHighlightMethodInfo
ResolvePreferencesWindowMethod "dragSourceAddImageTargets" o = Gtk.Widget.WidgetDragSourceAddImageTargetsMethodInfo
ResolvePreferencesWindowMethod "dragSourceAddTextTargets" o = Gtk.Widget.WidgetDragSourceAddTextTargetsMethodInfo
ResolvePreferencesWindowMethod "dragSourceAddUriTargets" o = Gtk.Widget.WidgetDragSourceAddUriTargetsMethodInfo
ResolvePreferencesWindowMethod "dragSourceGetTargetList" o = Gtk.Widget.WidgetDragSourceGetTargetListMethodInfo
ResolvePreferencesWindowMethod "dragSourceSet" o = Gtk.Widget.WidgetDragSourceSetMethodInfo
ResolvePreferencesWindowMethod "dragSourceSetIconGicon" o = Gtk.Widget.WidgetDragSourceSetIconGiconMethodInfo
ResolvePreferencesWindowMethod "dragSourceSetIconName" o = Gtk.Widget.WidgetDragSourceSetIconNameMethodInfo
ResolvePreferencesWindowMethod "dragSourceSetIconPixbuf" o = Gtk.Widget.WidgetDragSourceSetIconPixbufMethodInfo
ResolvePreferencesWindowMethod "dragSourceSetIconStock" o = Gtk.Widget.WidgetDragSourceSetIconStockMethodInfo
ResolvePreferencesWindowMethod "dragSourceSetTargetList" o = Gtk.Widget.WidgetDragSourceSetTargetListMethodInfo
ResolvePreferencesWindowMethod "dragSourceUnset" o = Gtk.Widget.WidgetDragSourceUnsetMethodInfo
ResolvePreferencesWindowMethod "dragUnhighlight" o = Gtk.Widget.WidgetDragUnhighlightMethodInfo
ResolvePreferencesWindowMethod "draw" o = Gtk.Widget.WidgetDrawMethodInfo
ResolvePreferencesWindowMethod "ensureStyle" o = Gtk.Widget.WidgetEnsureStyleMethodInfo
ResolvePreferencesWindowMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
ResolvePreferencesWindowMethod "event" o = Gtk.Widget.WidgetEventMethodInfo
ResolvePreferencesWindowMethod "forall" o = Gtk.Container.ContainerForallMethodInfo
ResolvePreferencesWindowMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolvePreferencesWindowMethod "foreach" o = Gtk.Container.ContainerForeachMethodInfo
ResolvePreferencesWindowMethod "freezeChildNotify" o = Gtk.Widget.WidgetFreezeChildNotifyMethodInfo
ResolvePreferencesWindowMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolvePreferencesWindowMethod "fullscreen" o = Gtk.Window.WindowFullscreenMethodInfo
ResolvePreferencesWindowMethod "fullscreenOnMonitor" o = Gtk.Window.WindowFullscreenOnMonitorMethodInfo
ResolvePreferencesWindowMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolvePreferencesWindowMethod "grabAdd" o = Gtk.Widget.WidgetGrabAddMethodInfo
ResolvePreferencesWindowMethod "grabDefault" o = Gtk.Widget.WidgetGrabDefaultMethodInfo
ResolvePreferencesWindowMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
ResolvePreferencesWindowMethod "grabRemove" o = Gtk.Widget.WidgetGrabRemoveMethodInfo
ResolvePreferencesWindowMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
ResolvePreferencesWindowMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
ResolvePreferencesWindowMethod "hasGrab" o = Gtk.Widget.WidgetHasGrabMethodInfo
ResolvePreferencesWindowMethod "hasGroup" o = Gtk.Window.WindowHasGroupMethodInfo
ResolvePreferencesWindowMethod "hasRcStyle" o = Gtk.Widget.WidgetHasRcStyleMethodInfo
ResolvePreferencesWindowMethod "hasScreen" o = Gtk.Widget.WidgetHasScreenMethodInfo
ResolvePreferencesWindowMethod "hasToplevelFocus" o = Gtk.Window.WindowHasToplevelFocusMethodInfo
ResolvePreferencesWindowMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
ResolvePreferencesWindowMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
ResolvePreferencesWindowMethod "hideOnDelete" o = Gtk.Widget.WidgetHideOnDeleteMethodInfo
ResolvePreferencesWindowMethod "iconify" o = Gtk.Window.WindowIconifyMethodInfo
ResolvePreferencesWindowMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
ResolvePreferencesWindowMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
ResolvePreferencesWindowMethod "inputShapeCombineRegion" o = Gtk.Widget.WidgetInputShapeCombineRegionMethodInfo
ResolvePreferencesWindowMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
ResolvePreferencesWindowMethod "intersect" o = Gtk.Widget.WidgetIntersectMethodInfo
ResolvePreferencesWindowMethod "isActive" o = Gtk.Window.WindowIsActiveMethodInfo
ResolvePreferencesWindowMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
ResolvePreferencesWindowMethod "isComposited" o = Gtk.Widget.WidgetIsCompositedMethodInfo
ResolvePreferencesWindowMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
ResolvePreferencesWindowMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolvePreferencesWindowMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
ResolvePreferencesWindowMethod "isMaximized" o = Gtk.Window.WindowIsMaximizedMethodInfo
ResolvePreferencesWindowMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
ResolvePreferencesWindowMethod "isToplevel" o = Gtk.Widget.WidgetIsToplevelMethodInfo
ResolvePreferencesWindowMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
ResolvePreferencesWindowMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
ResolvePreferencesWindowMethod "listAccelClosures" o = Gtk.Widget.WidgetListAccelClosuresMethodInfo
ResolvePreferencesWindowMethod "listActionPrefixes" o = Gtk.Widget.WidgetListActionPrefixesMethodInfo
ResolvePreferencesWindowMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
ResolvePreferencesWindowMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
ResolvePreferencesWindowMethod "maximize" o = Gtk.Window.WindowMaximizeMethodInfo
ResolvePreferencesWindowMethod "mnemonicActivate" o = Gtk.Window.WindowMnemonicActivateMethodInfo
ResolvePreferencesWindowMethod "modifyBase" o = Gtk.Widget.WidgetModifyBaseMethodInfo
ResolvePreferencesWindowMethod "modifyBg" o = Gtk.Widget.WidgetModifyBgMethodInfo
ResolvePreferencesWindowMethod "modifyCursor" o = Gtk.Widget.WidgetModifyCursorMethodInfo
ResolvePreferencesWindowMethod "modifyFg" o = Gtk.Widget.WidgetModifyFgMethodInfo
ResolvePreferencesWindowMethod "modifyFont" o = Gtk.Widget.WidgetModifyFontMethodInfo
ResolvePreferencesWindowMethod "modifyStyle" o = Gtk.Widget.WidgetModifyStyleMethodInfo
ResolvePreferencesWindowMethod "modifyText" o = Gtk.Widget.WidgetModifyTextMethodInfo
ResolvePreferencesWindowMethod "move" o = Gtk.Window.WindowMoveMethodInfo
ResolvePreferencesWindowMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolvePreferencesWindowMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolvePreferencesWindowMethod "overrideBackgroundColor" o = Gtk.Widget.WidgetOverrideBackgroundColorMethodInfo
ResolvePreferencesWindowMethod "overrideColor" o = Gtk.Widget.WidgetOverrideColorMethodInfo
ResolvePreferencesWindowMethod "overrideCursor" o = Gtk.Widget.WidgetOverrideCursorMethodInfo
ResolvePreferencesWindowMethod "overrideFont" o = Gtk.Widget.WidgetOverrideFontMethodInfo
ResolvePreferencesWindowMethod "overrideSymbolicColor" o = Gtk.Widget.WidgetOverrideSymbolicColorMethodInfo
ResolvePreferencesWindowMethod "parseGeometry" o = Gtk.Window.WindowParseGeometryMethodInfo
ResolvePreferencesWindowMethod "parserFinished" o = Gtk.Buildable.BuildableParserFinishedMethodInfo
ResolvePreferencesWindowMethod "path" o = Gtk.Widget.WidgetPathMethodInfo
ResolvePreferencesWindowMethod "present" o = Gtk.Window.WindowPresentMethodInfo
ResolvePreferencesWindowMethod "presentSubpage" o = PreferencesWindowPresentSubpageMethodInfo
ResolvePreferencesWindowMethod "presentWithTime" o = Gtk.Window.WindowPresentWithTimeMethodInfo
ResolvePreferencesWindowMethod "propagateDraw" o = Gtk.Container.ContainerPropagateDrawMethodInfo
ResolvePreferencesWindowMethod "propagateKeyEvent" o = Gtk.Window.WindowPropagateKeyEventMethodInfo
ResolvePreferencesWindowMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
ResolvePreferencesWindowMethod "queueComputeExpand" o = Gtk.Widget.WidgetQueueComputeExpandMethodInfo
ResolvePreferencesWindowMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
ResolvePreferencesWindowMethod "queueDrawArea" o = Gtk.Widget.WidgetQueueDrawAreaMethodInfo
ResolvePreferencesWindowMethod "queueDrawRegion" o = Gtk.Widget.WidgetQueueDrawRegionMethodInfo
ResolvePreferencesWindowMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
ResolvePreferencesWindowMethod "queueResizeNoRedraw" o = Gtk.Widget.WidgetQueueResizeNoRedrawMethodInfo
ResolvePreferencesWindowMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
ResolvePreferencesWindowMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolvePreferencesWindowMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolvePreferencesWindowMethod "regionIntersect" o = Gtk.Widget.WidgetRegionIntersectMethodInfo
ResolvePreferencesWindowMethod "registerWindow" o = Gtk.Widget.WidgetRegisterWindowMethodInfo
ResolvePreferencesWindowMethod "remove" o = Gtk.Container.ContainerRemoveMethodInfo
ResolvePreferencesWindowMethod "removeAccelGroup" o = Gtk.Window.WindowRemoveAccelGroupMethodInfo
ResolvePreferencesWindowMethod "removeAccelerator" o = Gtk.Widget.WidgetRemoveAcceleratorMethodInfo
ResolvePreferencesWindowMethod "removeMnemonic" o = Gtk.Window.WindowRemoveMnemonicMethodInfo
ResolvePreferencesWindowMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
ResolvePreferencesWindowMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
ResolvePreferencesWindowMethod "renderIcon" o = Gtk.Widget.WidgetRenderIconMethodInfo
ResolvePreferencesWindowMethod "renderIconPixbuf" o = Gtk.Widget.WidgetRenderIconPixbufMethodInfo
ResolvePreferencesWindowMethod "reparent" o = Gtk.Widget.WidgetReparentMethodInfo
ResolvePreferencesWindowMethod "resetRcStyles" o = Gtk.Widget.WidgetResetRcStylesMethodInfo
ResolvePreferencesWindowMethod "resetStyle" o = Gtk.Widget.WidgetResetStyleMethodInfo
ResolvePreferencesWindowMethod "reshowWithInitialSize" o = Gtk.Window.WindowReshowWithInitialSizeMethodInfo
ResolvePreferencesWindowMethod "resize" o = Gtk.Window.WindowResizeMethodInfo
ResolvePreferencesWindowMethod "resizeChildren" o = Gtk.Container.ContainerResizeChildrenMethodInfo
ResolvePreferencesWindowMethod "resizeGripIsVisible" o = Gtk.Window.WindowResizeGripIsVisibleMethodInfo
ResolvePreferencesWindowMethod "resizeToGeometry" o = Gtk.Window.WindowResizeToGeometryMethodInfo
ResolvePreferencesWindowMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolvePreferencesWindowMethod "sendExpose" o = Gtk.Widget.WidgetSendExposeMethodInfo
ResolvePreferencesWindowMethod "sendFocusChange" o = Gtk.Widget.WidgetSendFocusChangeMethodInfo
ResolvePreferencesWindowMethod "shapeCombineRegion" o = Gtk.Widget.WidgetShapeCombineRegionMethodInfo
ResolvePreferencesWindowMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
ResolvePreferencesWindowMethod "showAll" o = Gtk.Widget.WidgetShowAllMethodInfo
ResolvePreferencesWindowMethod "showNow" o = Gtk.Widget.WidgetShowNowMethodInfo
ResolvePreferencesWindowMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
ResolvePreferencesWindowMethod "sizeAllocateWithBaseline" o = Gtk.Widget.WidgetSizeAllocateWithBaselineMethodInfo
ResolvePreferencesWindowMethod "sizeRequest" o = Gtk.Widget.WidgetSizeRequestMethodInfo
ResolvePreferencesWindowMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolvePreferencesWindowMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolvePreferencesWindowMethod "stick" o = Gtk.Window.WindowStickMethodInfo
ResolvePreferencesWindowMethod "styleAttach" o = Gtk.Widget.WidgetStyleAttachMethodInfo
ResolvePreferencesWindowMethod "styleGetProperty" o = Gtk.Widget.WidgetStyleGetPropertyMethodInfo
ResolvePreferencesWindowMethod "thawChildNotify" o = Gtk.Widget.WidgetThawChildNotifyMethodInfo
ResolvePreferencesWindowMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolvePreferencesWindowMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
ResolvePreferencesWindowMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
ResolvePreferencesWindowMethod "unfullscreen" o = Gtk.Window.WindowUnfullscreenMethodInfo
ResolvePreferencesWindowMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
ResolvePreferencesWindowMethod "unmaximize" o = Gtk.Window.WindowUnmaximizeMethodInfo
ResolvePreferencesWindowMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
ResolvePreferencesWindowMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
ResolvePreferencesWindowMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolvePreferencesWindowMethod "unregisterWindow" o = Gtk.Widget.WidgetUnregisterWindowMethodInfo
ResolvePreferencesWindowMethod "unsetFocusChain" o = Gtk.Container.ContainerUnsetFocusChainMethodInfo
ResolvePreferencesWindowMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
ResolvePreferencesWindowMethod "unstick" o = Gtk.Window.WindowUnstickMethodInfo
ResolvePreferencesWindowMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolvePreferencesWindowMethod "getAcceptFocus" o = Gtk.Window.WindowGetAcceptFocusMethodInfo
ResolvePreferencesWindowMethod "getAccessible" o = Gtk.Widget.WidgetGetAccessibleMethodInfo
ResolvePreferencesWindowMethod "getActionGroup" o = Gtk.Widget.WidgetGetActionGroupMethodInfo
ResolvePreferencesWindowMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
ResolvePreferencesWindowMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
ResolvePreferencesWindowMethod "getAllocatedSize" o = Gtk.Widget.WidgetGetAllocatedSizeMethodInfo
ResolvePreferencesWindowMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
ResolvePreferencesWindowMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
ResolvePreferencesWindowMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
ResolvePreferencesWindowMethod "getAppPaintable" o = Gtk.Widget.WidgetGetAppPaintableMethodInfo
ResolvePreferencesWindowMethod "getApplication" o = Gtk.Window.WindowGetApplicationMethodInfo
ResolvePreferencesWindowMethod "getAttachedTo" o = Gtk.Window.WindowGetAttachedToMethodInfo
ResolvePreferencesWindowMethod "getBorderWidth" o = Gtk.Container.ContainerGetBorderWidthMethodInfo
ResolvePreferencesWindowMethod "getCanDefault" o = Gtk.Widget.WidgetGetCanDefaultMethodInfo
ResolvePreferencesWindowMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
ResolvePreferencesWindowMethod "getCanSwipeBack" o = PreferencesWindowGetCanSwipeBackMethodInfo
ResolvePreferencesWindowMethod "getChild" o = Gtk.Bin.BinGetChildMethodInfo
ResolvePreferencesWindowMethod "getChildRequisition" o = Gtk.Widget.WidgetGetChildRequisitionMethodInfo
ResolvePreferencesWindowMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
ResolvePreferencesWindowMethod "getChildren" o = Gtk.Container.ContainerGetChildrenMethodInfo
ResolvePreferencesWindowMethod "getClip" o = Gtk.Widget.WidgetGetClipMethodInfo
ResolvePreferencesWindowMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
ResolvePreferencesWindowMethod "getCompositeName" o = Gtk.Widget.WidgetGetCompositeNameMethodInfo
ResolvePreferencesWindowMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolvePreferencesWindowMethod "getDecorated" o = Gtk.Window.WindowGetDecoratedMethodInfo
ResolvePreferencesWindowMethod "getDefaultSize" o = Gtk.Window.WindowGetDefaultSizeMethodInfo
ResolvePreferencesWindowMethod "getDefaultWidget" o = Gtk.Window.WindowGetDefaultWidgetMethodInfo
ResolvePreferencesWindowMethod "getDeletable" o = Gtk.Window.WindowGetDeletableMethodInfo
ResolvePreferencesWindowMethod "getDestroyWithParent" o = Gtk.Window.WindowGetDestroyWithParentMethodInfo
ResolvePreferencesWindowMethod "getDeviceEnabled" o = Gtk.Widget.WidgetGetDeviceEnabledMethodInfo
ResolvePreferencesWindowMethod "getDeviceEvents" o = Gtk.Widget.WidgetGetDeviceEventsMethodInfo
ResolvePreferencesWindowMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
ResolvePreferencesWindowMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
ResolvePreferencesWindowMethod "getDoubleBuffered" o = Gtk.Widget.WidgetGetDoubleBufferedMethodInfo
ResolvePreferencesWindowMethod "getEvents" o = Gtk.Widget.WidgetGetEventsMethodInfo
ResolvePreferencesWindowMethod "getFocus" o = Gtk.Window.WindowGetFocusMethodInfo
ResolvePreferencesWindowMethod "getFocusChain" o = Gtk.Container.ContainerGetFocusChainMethodInfo
ResolvePreferencesWindowMethod "getFocusChild" o = Gtk.Container.ContainerGetFocusChildMethodInfo
ResolvePreferencesWindowMethod "getFocusHadjustment" o = Gtk.Container.ContainerGetFocusHadjustmentMethodInfo
ResolvePreferencesWindowMethod "getFocusOnClick" o = Gtk.Widget.WidgetGetFocusOnClickMethodInfo
ResolvePreferencesWindowMethod "getFocusOnMap" o = Gtk.Window.WindowGetFocusOnMapMethodInfo
ResolvePreferencesWindowMethod "getFocusVadjustment" o = Gtk.Container.ContainerGetFocusVadjustmentMethodInfo
ResolvePreferencesWindowMethod "getFocusVisible" o = Gtk.Window.WindowGetFocusVisibleMethodInfo
ResolvePreferencesWindowMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
ResolvePreferencesWindowMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
ResolvePreferencesWindowMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
ResolvePreferencesWindowMethod "getGravity" o = Gtk.Window.WindowGetGravityMethodInfo
ResolvePreferencesWindowMethod "getGroup" o = Gtk.Window.WindowGetGroupMethodInfo
ResolvePreferencesWindowMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
ResolvePreferencesWindowMethod "getHasResizeGrip" o = Gtk.Window.WindowGetHasResizeGripMethodInfo
ResolvePreferencesWindowMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
ResolvePreferencesWindowMethod "getHasWindow" o = Gtk.Widget.WidgetGetHasWindowMethodInfo
ResolvePreferencesWindowMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
ResolvePreferencesWindowMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
ResolvePreferencesWindowMethod "getHideTitlebarWhenMaximized" o = Gtk.Window.WindowGetHideTitlebarWhenMaximizedMethodInfo
ResolvePreferencesWindowMethod "getIcon" o = Gtk.Window.WindowGetIconMethodInfo
ResolvePreferencesWindowMethod "getIconList" o = Gtk.Window.WindowGetIconListMethodInfo
ResolvePreferencesWindowMethod "getIconName" o = Gtk.Window.WindowGetIconNameMethodInfo
ResolvePreferencesWindowMethod "getInternalChild" o = Gtk.Buildable.BuildableGetInternalChildMethodInfo
ResolvePreferencesWindowMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
ResolvePreferencesWindowMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
ResolvePreferencesWindowMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
ResolvePreferencesWindowMethod "getMarginLeft" o = Gtk.Widget.WidgetGetMarginLeftMethodInfo
ResolvePreferencesWindowMethod "getMarginRight" o = Gtk.Widget.WidgetGetMarginRightMethodInfo
ResolvePreferencesWindowMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
ResolvePreferencesWindowMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
ResolvePreferencesWindowMethod "getMnemonicModifier" o = Gtk.Window.WindowGetMnemonicModifierMethodInfo
ResolvePreferencesWindowMethod "getMnemonicsVisible" o = Gtk.Window.WindowGetMnemonicsVisibleMethodInfo
ResolvePreferencesWindowMethod "getModal" o = Gtk.Window.WindowGetModalMethodInfo
ResolvePreferencesWindowMethod "getModifierMask" o = Gtk.Widget.WidgetGetModifierMaskMethodInfo
ResolvePreferencesWindowMethod "getModifierStyle" o = Gtk.Widget.WidgetGetModifierStyleMethodInfo
ResolvePreferencesWindowMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
ResolvePreferencesWindowMethod "getNoShowAll" o = Gtk.Widget.WidgetGetNoShowAllMethodInfo
ResolvePreferencesWindowMethod "getOpacity" o = Gtk.Window.WindowGetOpacityMethodInfo
ResolvePreferencesWindowMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
ResolvePreferencesWindowMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
ResolvePreferencesWindowMethod "getParentWindow" o = Gtk.Widget.WidgetGetParentWindowMethodInfo
ResolvePreferencesWindowMethod "getPath" o = Gtk.Widget.WidgetGetPathMethodInfo
ResolvePreferencesWindowMethod "getPathForChild" o = Gtk.Container.ContainerGetPathForChildMethodInfo
ResolvePreferencesWindowMethod "getPointer" o = Gtk.Widget.WidgetGetPointerMethodInfo
ResolvePreferencesWindowMethod "getPosition" o = Gtk.Window.WindowGetPositionMethodInfo
ResolvePreferencesWindowMethod "getPreferredHeight" o = Gtk.Widget.WidgetGetPreferredHeightMethodInfo
ResolvePreferencesWindowMethod "getPreferredHeightAndBaselineForWidth" o = Gtk.Widget.WidgetGetPreferredHeightAndBaselineForWidthMethodInfo
ResolvePreferencesWindowMethod "getPreferredHeightForWidth" o = Gtk.Widget.WidgetGetPreferredHeightForWidthMethodInfo
ResolvePreferencesWindowMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
ResolvePreferencesWindowMethod "getPreferredWidth" o = Gtk.Widget.WidgetGetPreferredWidthMethodInfo
ResolvePreferencesWindowMethod "getPreferredWidthForHeight" o = Gtk.Widget.WidgetGetPreferredWidthForHeightMethodInfo
ResolvePreferencesWindowMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolvePreferencesWindowMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolvePreferencesWindowMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
ResolvePreferencesWindowMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
ResolvePreferencesWindowMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
ResolvePreferencesWindowMethod "getRequisition" o = Gtk.Widget.WidgetGetRequisitionMethodInfo
ResolvePreferencesWindowMethod "getResizable" o = Gtk.Window.WindowGetResizableMethodInfo
ResolvePreferencesWindowMethod "getResizeGripArea" o = Gtk.Window.WindowGetResizeGripAreaMethodInfo
ResolvePreferencesWindowMethod "getResizeMode" o = Gtk.Container.ContainerGetResizeModeMethodInfo
ResolvePreferencesWindowMethod "getRole" o = Gtk.Window.WindowGetRoleMethodInfo
ResolvePreferencesWindowMethod "getRootWindow" o = Gtk.Widget.WidgetGetRootWindowMethodInfo
ResolvePreferencesWindowMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
ResolvePreferencesWindowMethod "getScreen" o = Gtk.Window.WindowGetScreenMethodInfo
ResolvePreferencesWindowMethod "getSearchEnabled" o = PreferencesWindowGetSearchEnabledMethodInfo
ResolvePreferencesWindowMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
ResolvePreferencesWindowMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
ResolvePreferencesWindowMethod "getSize" o = Gtk.Window.WindowGetSizeMethodInfo
ResolvePreferencesWindowMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
ResolvePreferencesWindowMethod "getSkipPagerHint" o = Gtk.Window.WindowGetSkipPagerHintMethodInfo
ResolvePreferencesWindowMethod "getSkipTaskbarHint" o = Gtk.Window.WindowGetSkipTaskbarHintMethodInfo
ResolvePreferencesWindowMethod "getState" o = Gtk.Widget.WidgetGetStateMethodInfo
ResolvePreferencesWindowMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
ResolvePreferencesWindowMethod "getStyle" o = Gtk.Widget.WidgetGetStyleMethodInfo
ResolvePreferencesWindowMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
ResolvePreferencesWindowMethod "getSupportMultidevice" o = Gtk.Widget.WidgetGetSupportMultideviceMethodInfo
ResolvePreferencesWindowMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
ResolvePreferencesWindowMethod "getTitle" o = Gtk.Window.WindowGetTitleMethodInfo
ResolvePreferencesWindowMethod "getTitlebar" o = Gtk.Window.WindowGetTitlebarMethodInfo
ResolvePreferencesWindowMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
ResolvePreferencesWindowMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
ResolvePreferencesWindowMethod "getTooltipWindow" o = Gtk.Widget.WidgetGetTooltipWindowMethodInfo
ResolvePreferencesWindowMethod "getToplevel" o = Gtk.Widget.WidgetGetToplevelMethodInfo
ResolvePreferencesWindowMethod "getTransientFor" o = Gtk.Window.WindowGetTransientForMethodInfo
ResolvePreferencesWindowMethod "getTypeHint" o = Gtk.Window.WindowGetTypeHintMethodInfo
ResolvePreferencesWindowMethod "getUrgencyHint" o = Gtk.Window.WindowGetUrgencyHintMethodInfo
ResolvePreferencesWindowMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
ResolvePreferencesWindowMethod "getValignWithBaseline" o = Gtk.Widget.WidgetGetValignWithBaselineMethodInfo
ResolvePreferencesWindowMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
ResolvePreferencesWindowMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
ResolvePreferencesWindowMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
ResolvePreferencesWindowMethod "getVisual" o = Gtk.Widget.WidgetGetVisualMethodInfo
ResolvePreferencesWindowMethod "getWindow" o = Gtk.Widget.WidgetGetWindowMethodInfo
ResolvePreferencesWindowMethod "getWindowType" o = Gtk.Window.WindowGetWindowTypeMethodInfo
ResolvePreferencesWindowMethod "setAccelPath" o = Gtk.Widget.WidgetSetAccelPathMethodInfo
ResolvePreferencesWindowMethod "setAcceptFocus" o = Gtk.Window.WindowSetAcceptFocusMethodInfo
ResolvePreferencesWindowMethod "setAllocation" o = Gtk.Widget.WidgetSetAllocationMethodInfo
ResolvePreferencesWindowMethod "setAppPaintable" o = Gtk.Widget.WidgetSetAppPaintableMethodInfo
ResolvePreferencesWindowMethod "setApplication" o = Gtk.Window.WindowSetApplicationMethodInfo
ResolvePreferencesWindowMethod "setAttachedTo" o = Gtk.Window.WindowSetAttachedToMethodInfo
ResolvePreferencesWindowMethod "setBorderWidth" o = Gtk.Container.ContainerSetBorderWidthMethodInfo
ResolvePreferencesWindowMethod "setBuildableProperty" o = Gtk.Buildable.BuildableSetBuildablePropertyMethodInfo
ResolvePreferencesWindowMethod "setCanDefault" o = Gtk.Widget.WidgetSetCanDefaultMethodInfo
ResolvePreferencesWindowMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
ResolvePreferencesWindowMethod "setCanSwipeBack" o = PreferencesWindowSetCanSwipeBackMethodInfo
ResolvePreferencesWindowMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
ResolvePreferencesWindowMethod "setClip" o = Gtk.Widget.WidgetSetClipMethodInfo
ResolvePreferencesWindowMethod "setCompositeName" o = Gtk.Widget.WidgetSetCompositeNameMethodInfo
ResolvePreferencesWindowMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolvePreferencesWindowMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolvePreferencesWindowMethod "setDecorated" o = Gtk.Window.WindowSetDecoratedMethodInfo
ResolvePreferencesWindowMethod "setDefault" o = Gtk.Window.WindowSetDefaultMethodInfo
ResolvePreferencesWindowMethod "setDefaultGeometry" o = Gtk.Window.WindowSetDefaultGeometryMethodInfo
ResolvePreferencesWindowMethod "setDefaultSize" o = Gtk.Window.WindowSetDefaultSizeMethodInfo
ResolvePreferencesWindowMethod "setDeletable" o = Gtk.Window.WindowSetDeletableMethodInfo
ResolvePreferencesWindowMethod "setDestroyWithParent" o = Gtk.Window.WindowSetDestroyWithParentMethodInfo
ResolvePreferencesWindowMethod "setDeviceEnabled" o = Gtk.Widget.WidgetSetDeviceEnabledMethodInfo
ResolvePreferencesWindowMethod "setDeviceEvents" o = Gtk.Widget.WidgetSetDeviceEventsMethodInfo
ResolvePreferencesWindowMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
ResolvePreferencesWindowMethod "setDoubleBuffered" o = Gtk.Widget.WidgetSetDoubleBufferedMethodInfo
ResolvePreferencesWindowMethod "setEvents" o = Gtk.Widget.WidgetSetEventsMethodInfo
ResolvePreferencesWindowMethod "setFocus" o = Gtk.Window.WindowSetFocusMethodInfo
ResolvePreferencesWindowMethod "setFocusChain" o = Gtk.Container.ContainerSetFocusChainMethodInfo
ResolvePreferencesWindowMethod "setFocusChild" o = Gtk.Container.ContainerSetFocusChildMethodInfo
ResolvePreferencesWindowMethod "setFocusHadjustment" o = Gtk.Container.ContainerSetFocusHadjustmentMethodInfo
ResolvePreferencesWindowMethod "setFocusOnClick" o = Gtk.Widget.WidgetSetFocusOnClickMethodInfo
ResolvePreferencesWindowMethod "setFocusOnMap" o = Gtk.Window.WindowSetFocusOnMapMethodInfo
ResolvePreferencesWindowMethod "setFocusVadjustment" o = Gtk.Container.ContainerSetFocusVadjustmentMethodInfo
ResolvePreferencesWindowMethod "setFocusVisible" o = Gtk.Window.WindowSetFocusVisibleMethodInfo
ResolvePreferencesWindowMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
ResolvePreferencesWindowMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
ResolvePreferencesWindowMethod "setGeometryHints" o = Gtk.Window.WindowSetGeometryHintsMethodInfo
ResolvePreferencesWindowMethod "setGravity" o = Gtk.Window.WindowSetGravityMethodInfo
ResolvePreferencesWindowMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
ResolvePreferencesWindowMethod "setHasResizeGrip" o = Gtk.Window.WindowSetHasResizeGripMethodInfo
ResolvePreferencesWindowMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
ResolvePreferencesWindowMethod "setHasUserRefCount" o = Gtk.Window.WindowSetHasUserRefCountMethodInfo
ResolvePreferencesWindowMethod "setHasWindow" o = Gtk.Widget.WidgetSetHasWindowMethodInfo
ResolvePreferencesWindowMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
ResolvePreferencesWindowMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
ResolvePreferencesWindowMethod "setHideTitlebarWhenMaximized" o = Gtk.Window.WindowSetHideTitlebarWhenMaximizedMethodInfo
ResolvePreferencesWindowMethod "setIcon" o = Gtk.Window.WindowSetIconMethodInfo
ResolvePreferencesWindowMethod "setIconFromFile" o = Gtk.Window.WindowSetIconFromFileMethodInfo
ResolvePreferencesWindowMethod "setIconList" o = Gtk.Window.WindowSetIconListMethodInfo
ResolvePreferencesWindowMethod "setIconName" o = Gtk.Window.WindowSetIconNameMethodInfo
ResolvePreferencesWindowMethod "setKeepAbove" o = Gtk.Window.WindowSetKeepAboveMethodInfo
ResolvePreferencesWindowMethod "setKeepBelow" o = Gtk.Window.WindowSetKeepBelowMethodInfo
ResolvePreferencesWindowMethod "setMapped" o = Gtk.Widget.WidgetSetMappedMethodInfo
ResolvePreferencesWindowMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
ResolvePreferencesWindowMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
ResolvePreferencesWindowMethod "setMarginLeft" o = Gtk.Widget.WidgetSetMarginLeftMethodInfo
ResolvePreferencesWindowMethod "setMarginRight" o = Gtk.Widget.WidgetSetMarginRightMethodInfo
ResolvePreferencesWindowMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
ResolvePreferencesWindowMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
ResolvePreferencesWindowMethod "setMnemonicModifier" o = Gtk.Window.WindowSetMnemonicModifierMethodInfo
ResolvePreferencesWindowMethod "setMnemonicsVisible" o = Gtk.Window.WindowSetMnemonicsVisibleMethodInfo
ResolvePreferencesWindowMethod "setModal" o = Gtk.Window.WindowSetModalMethodInfo
ResolvePreferencesWindowMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
ResolvePreferencesWindowMethod "setNoShowAll" o = Gtk.Widget.WidgetSetNoShowAllMethodInfo
ResolvePreferencesWindowMethod "setOpacity" o = Gtk.Window.WindowSetOpacityMethodInfo
ResolvePreferencesWindowMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
ResolvePreferencesWindowMethod "setParentWindow" o = Gtk.Widget.WidgetSetParentWindowMethodInfo
ResolvePreferencesWindowMethod "setPosition" o = Gtk.Window.WindowSetPositionMethodInfo
ResolvePreferencesWindowMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolvePreferencesWindowMethod "setRealized" o = Gtk.Widget.WidgetSetRealizedMethodInfo
ResolvePreferencesWindowMethod "setReallocateRedraws" o = Gtk.Container.ContainerSetReallocateRedrawsMethodInfo
ResolvePreferencesWindowMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
ResolvePreferencesWindowMethod "setRedrawOnAllocate" o = Gtk.Widget.WidgetSetRedrawOnAllocateMethodInfo
ResolvePreferencesWindowMethod "setResizable" o = Gtk.Window.WindowSetResizableMethodInfo
ResolvePreferencesWindowMethod "setResizeMode" o = Gtk.Container.ContainerSetResizeModeMethodInfo
ResolvePreferencesWindowMethod "setRole" o = Gtk.Window.WindowSetRoleMethodInfo
ResolvePreferencesWindowMethod "setScreen" o = Gtk.Window.WindowSetScreenMethodInfo
ResolvePreferencesWindowMethod "setSearchEnabled" o = PreferencesWindowSetSearchEnabledMethodInfo
ResolvePreferencesWindowMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
ResolvePreferencesWindowMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
ResolvePreferencesWindowMethod "setSkipPagerHint" o = Gtk.Window.WindowSetSkipPagerHintMethodInfo
ResolvePreferencesWindowMethod "setSkipTaskbarHint" o = Gtk.Window.WindowSetSkipTaskbarHintMethodInfo
ResolvePreferencesWindowMethod "setStartupId" o = Gtk.Window.WindowSetStartupIdMethodInfo
ResolvePreferencesWindowMethod "setState" o = Gtk.Widget.WidgetSetStateMethodInfo
ResolvePreferencesWindowMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
ResolvePreferencesWindowMethod "setStyle" o = Gtk.Widget.WidgetSetStyleMethodInfo
ResolvePreferencesWindowMethod "setSupportMultidevice" o = Gtk.Widget.WidgetSetSupportMultideviceMethodInfo
ResolvePreferencesWindowMethod "setTitle" o = Gtk.Window.WindowSetTitleMethodInfo
ResolvePreferencesWindowMethod "setTitlebar" o = Gtk.Window.WindowSetTitlebarMethodInfo
ResolvePreferencesWindowMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
ResolvePreferencesWindowMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
ResolvePreferencesWindowMethod "setTooltipWindow" o = Gtk.Widget.WidgetSetTooltipWindowMethodInfo
ResolvePreferencesWindowMethod "setTransientFor" o = Gtk.Window.WindowSetTransientForMethodInfo
ResolvePreferencesWindowMethod "setTypeHint" o = Gtk.Window.WindowSetTypeHintMethodInfo
ResolvePreferencesWindowMethod "setUrgencyHint" o = Gtk.Window.WindowSetUrgencyHintMethodInfo
ResolvePreferencesWindowMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
ResolvePreferencesWindowMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
ResolvePreferencesWindowMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
ResolvePreferencesWindowMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
ResolvePreferencesWindowMethod "setVisual" o = Gtk.Widget.WidgetSetVisualMethodInfo
ResolvePreferencesWindowMethod "setWindow" o = Gtk.Widget.WidgetSetWindowMethodInfo
ResolvePreferencesWindowMethod "setWmclass" o = Gtk.Window.WindowSetWmclassMethodInfo
ResolvePreferencesWindowMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolvePreferencesWindowMethod t PreferencesWindow, O.OverloadedMethod info PreferencesWindow p) => OL.IsLabel t (PreferencesWindow -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod @info
#else
fromLabel _ = O.overloadedMethod @info
#endif
#if MIN_VERSION_base(4,13,0)
instance (info ~ ResolvePreferencesWindowMethod t PreferencesWindow, O.OverloadedMethod info PreferencesWindow p, R.HasField t PreferencesWindow p) => R.HasField t PreferencesWindow p where
getField = O.overloadedMethod @info
#endif
instance (info ~ ResolvePreferencesWindowMethod t PreferencesWindow, O.OverloadedMethodInfo info PreferencesWindow) => OL.IsLabel t (O.MethodProxy info PreferencesWindow) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.MethodProxy
#else
fromLabel _ = O.MethodProxy
#endif
#endif
getPreferencesWindowCanSwipeBack :: (MonadIO m, IsPreferencesWindow o) => o -> m Bool
getPreferencesWindowCanSwipeBack :: forall (m :: * -> *) o.
(MonadIO m, IsPreferencesWindow o) =>
o -> m Bool
getPreferencesWindowCanSwipeBack o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"can-swipe-back"
setPreferencesWindowCanSwipeBack :: (MonadIO m, IsPreferencesWindow o) => o -> Bool -> m ()
setPreferencesWindowCanSwipeBack :: forall (m :: * -> *) o.
(MonadIO m, IsPreferencesWindow o) =>
o -> Bool -> m ()
setPreferencesWindowCanSwipeBack o
obj Bool
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"can-swipe-back" Bool
val
constructPreferencesWindowCanSwipeBack :: (IsPreferencesWindow o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructPreferencesWindowCanSwipeBack :: forall o (m :: * -> *).
(IsPreferencesWindow o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructPreferencesWindowCanSwipeBack Bool
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"can-swipe-back" Bool
val
#if defined(ENABLE_OVERLOADING)
data PreferencesWindowCanSwipeBackPropertyInfo
instance AttrInfo PreferencesWindowCanSwipeBackPropertyInfo where
type AttrAllowedOps PreferencesWindowCanSwipeBackPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint PreferencesWindowCanSwipeBackPropertyInfo = IsPreferencesWindow
type AttrSetTypeConstraint PreferencesWindowCanSwipeBackPropertyInfo = (~) Bool
type AttrTransferTypeConstraint PreferencesWindowCanSwipeBackPropertyInfo = (~) Bool
type AttrTransferType PreferencesWindowCanSwipeBackPropertyInfo = Bool
type AttrGetType PreferencesWindowCanSwipeBackPropertyInfo = Bool
type AttrLabel PreferencesWindowCanSwipeBackPropertyInfo = "can-swipe-back"
type AttrOrigin PreferencesWindowCanSwipeBackPropertyInfo = PreferencesWindow
attrGet = getPreferencesWindowCanSwipeBack
attrSet = setPreferencesWindowCanSwipeBack
attrTransfer _ v = do
return v
attrConstruct = constructPreferencesWindowCanSwipeBack
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.PreferencesWindow.canSwipeBack"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.4/docs/GI-Handy-Objects-PreferencesWindow.html#g:attr:canSwipeBack"
})
#endif
getPreferencesWindowSearchEnabled :: (MonadIO m, IsPreferencesWindow o) => o -> m Bool
getPreferencesWindowSearchEnabled :: forall (m :: * -> *) o.
(MonadIO m, IsPreferencesWindow o) =>
o -> m Bool
getPreferencesWindowSearchEnabled o
obj = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"search-enabled"
setPreferencesWindowSearchEnabled :: (MonadIO m, IsPreferencesWindow o) => o -> Bool -> m ()
setPreferencesWindowSearchEnabled :: forall (m :: * -> *) o.
(MonadIO m, IsPreferencesWindow o) =>
o -> Bool -> m ()
setPreferencesWindowSearchEnabled o
obj Bool
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"search-enabled" Bool
val
constructPreferencesWindowSearchEnabled :: (IsPreferencesWindow o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructPreferencesWindowSearchEnabled :: forall o (m :: * -> *).
(IsPreferencesWindow o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructPreferencesWindowSearchEnabled Bool
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"search-enabled" Bool
val
#if defined(ENABLE_OVERLOADING)
data PreferencesWindowSearchEnabledPropertyInfo
instance AttrInfo PreferencesWindowSearchEnabledPropertyInfo where
type AttrAllowedOps PreferencesWindowSearchEnabledPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint PreferencesWindowSearchEnabledPropertyInfo = IsPreferencesWindow
type AttrSetTypeConstraint PreferencesWindowSearchEnabledPropertyInfo = (~) Bool
type AttrTransferTypeConstraint PreferencesWindowSearchEnabledPropertyInfo = (~) Bool
type AttrTransferType PreferencesWindowSearchEnabledPropertyInfo = Bool
type AttrGetType PreferencesWindowSearchEnabledPropertyInfo = Bool
type AttrLabel PreferencesWindowSearchEnabledPropertyInfo = "search-enabled"
type AttrOrigin PreferencesWindowSearchEnabledPropertyInfo = PreferencesWindow
attrGet = getPreferencesWindowSearchEnabled
attrSet = setPreferencesWindowSearchEnabled
attrTransfer _ v = do
return v
attrConstruct = constructPreferencesWindowSearchEnabled
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.PreferencesWindow.searchEnabled"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.4/docs/GI-Handy-Objects-PreferencesWindow.html#g:attr:searchEnabled"
})
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList PreferencesWindow
type instance O.AttributeList PreferencesWindow = PreferencesWindowAttributeList
type PreferencesWindowAttributeList = ('[ '("acceptFocus", Gtk.Window.WindowAcceptFocusPropertyInfo), '("appPaintable", Gtk.Widget.WidgetAppPaintablePropertyInfo), '("application", Gtk.Window.WindowApplicationPropertyInfo), '("attachedTo", Gtk.Window.WindowAttachedToPropertyInfo), '("borderWidth", Gtk.Container.ContainerBorderWidthPropertyInfo), '("canDefault", Gtk.Widget.WidgetCanDefaultPropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("canSwipeBack", PreferencesWindowCanSwipeBackPropertyInfo), '("child", Gtk.Container.ContainerChildPropertyInfo), '("compositeChild", Gtk.Widget.WidgetCompositeChildPropertyInfo), '("decorated", Gtk.Window.WindowDecoratedPropertyInfo), '("defaultHeight", Gtk.Window.WindowDefaultHeightPropertyInfo), '("defaultWidth", Gtk.Window.WindowDefaultWidthPropertyInfo), '("deletable", Gtk.Window.WindowDeletablePropertyInfo), '("destroyWithParent", Gtk.Window.WindowDestroyWithParentPropertyInfo), '("doubleBuffered", Gtk.Widget.WidgetDoubleBufferedPropertyInfo), '("events", Gtk.Widget.WidgetEventsPropertyInfo), '("expand", Gtk.Widget.WidgetExpandPropertyInfo), '("focusOnClick", Gtk.Widget.WidgetFocusOnClickPropertyInfo), '("focusOnMap", Gtk.Window.WindowFocusOnMapPropertyInfo), '("focusVisible", Gtk.Window.WindowFocusVisiblePropertyInfo), '("gravity", Gtk.Window.WindowGravityPropertyInfo), '("halign", Gtk.Widget.WidgetHalignPropertyInfo), '("hasDefault", Gtk.Widget.WidgetHasDefaultPropertyInfo), '("hasFocus", Gtk.Widget.WidgetHasFocusPropertyInfo), '("hasResizeGrip", Gtk.Window.WindowHasResizeGripPropertyInfo), '("hasTooltip", Gtk.Widget.WidgetHasTooltipPropertyInfo), '("hasToplevelFocus", Gtk.Window.WindowHasToplevelFocusPropertyInfo), '("heightRequest", Gtk.Widget.WidgetHeightRequestPropertyInfo), '("hexpand", Gtk.Widget.WidgetHexpandPropertyInfo), '("hexpandSet", Gtk.Widget.WidgetHexpandSetPropertyInfo), '("hideTitlebarWhenMaximized", Gtk.Window.WindowHideTitlebarWhenMaximizedPropertyInfo), '("icon", Gtk.Window.WindowIconPropertyInfo), '("iconName", Gtk.Window.WindowIconNamePropertyInfo), '("isActive", Gtk.Window.WindowIsActivePropertyInfo), '("isFocus", Gtk.Widget.WidgetIsFocusPropertyInfo), '("isMaximized", Gtk.Window.WindowIsMaximizedPropertyInfo), '("margin", Gtk.Widget.WidgetMarginPropertyInfo), '("marginBottom", Gtk.Widget.WidgetMarginBottomPropertyInfo), '("marginEnd", Gtk.Widget.WidgetMarginEndPropertyInfo), '("marginLeft", Gtk.Widget.WidgetMarginLeftPropertyInfo), '("marginRight", Gtk.Widget.WidgetMarginRightPropertyInfo), '("marginStart", Gtk.Widget.WidgetMarginStartPropertyInfo), '("marginTop", Gtk.Widget.WidgetMarginTopPropertyInfo), '("mnemonicsVisible", Gtk.Window.WindowMnemonicsVisiblePropertyInfo), '("modal", Gtk.Window.WindowModalPropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("noShowAll", Gtk.Widget.WidgetNoShowAllPropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("resizable", Gtk.Window.WindowResizablePropertyInfo), '("resizeGripVisible", Gtk.Window.WindowResizeGripVisiblePropertyInfo), '("resizeMode", Gtk.Container.ContainerResizeModePropertyInfo), '("role", Gtk.Window.WindowRolePropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("screen", Gtk.Window.WindowScreenPropertyInfo), '("searchEnabled", PreferencesWindowSearchEnabledPropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("skipPagerHint", Gtk.Window.WindowSkipPagerHintPropertyInfo), '("skipTaskbarHint", Gtk.Window.WindowSkipTaskbarHintPropertyInfo), '("startupId", Gtk.Window.WindowStartupIdPropertyInfo), '("style", Gtk.Widget.WidgetStylePropertyInfo), '("title", Gtk.Window.WindowTitlePropertyInfo), '("tooltipMarkup", Gtk.Widget.WidgetTooltipMarkupPropertyInfo), '("tooltipText", Gtk.Widget.WidgetTooltipTextPropertyInfo), '("transientFor", Gtk.Window.WindowTransientForPropertyInfo), '("type", Gtk.Window.WindowTypePropertyInfo), '("typeHint", Gtk.Window.WindowTypeHintPropertyInfo), '("urgencyHint", Gtk.Window.WindowUrgencyHintPropertyInfo), '("valign", Gtk.Widget.WidgetValignPropertyInfo), '("vexpand", Gtk.Widget.WidgetVexpandPropertyInfo), '("vexpandSet", Gtk.Widget.WidgetVexpandSetPropertyInfo), '("visible", Gtk.Widget.WidgetVisiblePropertyInfo), '("widthRequest", Gtk.Widget.WidgetWidthRequestPropertyInfo), '("window", Gtk.Widget.WidgetWindowPropertyInfo), '("windowPosition", Gtk.Window.WindowWindowPositionPropertyInfo)] :: [(Symbol, DK.Type)])
#endif
#if defined(ENABLE_OVERLOADING)
preferencesWindowCanSwipeBack :: AttrLabelProxy "canSwipeBack"
preferencesWindowCanSwipeBack = AttrLabelProxy
preferencesWindowSearchEnabled :: AttrLabelProxy "searchEnabled"
preferencesWindowSearchEnabled = AttrLabelProxy
#endif
#if defined(ENABLE_OVERLOADING)
type instance O.SignalList PreferencesWindow = PreferencesWindowSignalList
type PreferencesWindowSignalList = ('[ '("accelClosuresChanged", Gtk.Widget.WidgetAccelClosuresChangedSignalInfo), '("activateDefault", Gtk.Window.WindowActivateDefaultSignalInfo), '("activateFocus", Gtk.Window.WindowActivateFocusSignalInfo), '("add", Gtk.Container.ContainerAddSignalInfo), '("buttonPressEvent", Gtk.Widget.WidgetButtonPressEventSignalInfo), '("buttonReleaseEvent", Gtk.Widget.WidgetButtonReleaseEventSignalInfo), '("canActivateAccel", Gtk.Widget.WidgetCanActivateAccelSignalInfo), '("checkResize", Gtk.Container.ContainerCheckResizeSignalInfo), '("childNotify", Gtk.Widget.WidgetChildNotifySignalInfo), '("compositedChanged", Gtk.Widget.WidgetCompositedChangedSignalInfo), '("configureEvent", Gtk.Widget.WidgetConfigureEventSignalInfo), '("damageEvent", Gtk.Widget.WidgetDamageEventSignalInfo), '("deleteEvent", Gtk.Widget.WidgetDeleteEventSignalInfo), '("destroy", Gtk.Widget.WidgetDestroySignalInfo), '("destroyEvent", Gtk.Widget.WidgetDestroyEventSignalInfo), '("directionChanged", Gtk.Widget.WidgetDirectionChangedSignalInfo), '("dragBegin", Gtk.Widget.WidgetDragBeginSignalInfo), '("dragDataDelete", Gtk.Widget.WidgetDragDataDeleteSignalInfo), '("dragDataGet", Gtk.Widget.WidgetDragDataGetSignalInfo), '("dragDataReceived", Gtk.Widget.WidgetDragDataReceivedSignalInfo), '("dragDrop", Gtk.Widget.WidgetDragDropSignalInfo), '("dragEnd", Gtk.Widget.WidgetDragEndSignalInfo), '("dragFailed", Gtk.Widget.WidgetDragFailedSignalInfo), '("dragLeave", Gtk.Widget.WidgetDragLeaveSignalInfo), '("dragMotion", Gtk.Widget.WidgetDragMotionSignalInfo), '("draw", Gtk.Widget.WidgetDrawSignalInfo), '("enableDebugging", Gtk.Window.WindowEnableDebuggingSignalInfo), '("enterNotifyEvent", Gtk.Widget.WidgetEnterNotifyEventSignalInfo), '("event", Gtk.Widget.WidgetEventSignalInfo), '("eventAfter", Gtk.Widget.WidgetEventAfterSignalInfo), '("focus", Gtk.Widget.WidgetFocusSignalInfo), '("focusInEvent", Gtk.Widget.WidgetFocusInEventSignalInfo), '("focusOutEvent", Gtk.Widget.WidgetFocusOutEventSignalInfo), '("grabBrokenEvent", Gtk.Widget.WidgetGrabBrokenEventSignalInfo), '("grabFocus", Gtk.Widget.WidgetGrabFocusSignalInfo), '("grabNotify", Gtk.Widget.WidgetGrabNotifySignalInfo), '("hide", Gtk.Widget.WidgetHideSignalInfo), '("hierarchyChanged", Gtk.Widget.WidgetHierarchyChangedSignalInfo), '("keyPressEvent", Gtk.Widget.WidgetKeyPressEventSignalInfo), '("keyReleaseEvent", Gtk.Widget.WidgetKeyReleaseEventSignalInfo), '("keynavFailed", Gtk.Widget.WidgetKeynavFailedSignalInfo), '("keysChanged", Gtk.Window.WindowKeysChangedSignalInfo), '("leaveNotifyEvent", Gtk.Widget.WidgetLeaveNotifyEventSignalInfo), '("map", Gtk.Widget.WidgetMapSignalInfo), '("mapEvent", Gtk.Widget.WidgetMapEventSignalInfo), '("mnemonicActivate", Gtk.Widget.WidgetMnemonicActivateSignalInfo), '("motionNotifyEvent", Gtk.Widget.WidgetMotionNotifyEventSignalInfo), '("moveFocus", Gtk.Widget.WidgetMoveFocusSignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo), '("parentSet", Gtk.Widget.WidgetParentSetSignalInfo), '("popupMenu", Gtk.Widget.WidgetPopupMenuSignalInfo), '("propertyNotifyEvent", Gtk.Widget.WidgetPropertyNotifyEventSignalInfo), '("proximityInEvent", Gtk.Widget.WidgetProximityInEventSignalInfo), '("proximityOutEvent", Gtk.Widget.WidgetProximityOutEventSignalInfo), '("queryTooltip", Gtk.Widget.WidgetQueryTooltipSignalInfo), '("realize", Gtk.Widget.WidgetRealizeSignalInfo), '("remove", Gtk.Container.ContainerRemoveSignalInfo), '("screenChanged", Gtk.Widget.WidgetScreenChangedSignalInfo), '("scrollEvent", Gtk.Widget.WidgetScrollEventSignalInfo), '("selectionClearEvent", Gtk.Widget.WidgetSelectionClearEventSignalInfo), '("selectionGet", Gtk.Widget.WidgetSelectionGetSignalInfo), '("selectionNotifyEvent", Gtk.Widget.WidgetSelectionNotifyEventSignalInfo), '("selectionReceived", Gtk.Widget.WidgetSelectionReceivedSignalInfo), '("selectionRequestEvent", Gtk.Widget.WidgetSelectionRequestEventSignalInfo), '("setFocus", Gtk.Window.WindowSetFocusSignalInfo), '("setFocusChild", Gtk.Container.ContainerSetFocusChildSignalInfo), '("show", Gtk.Widget.WidgetShowSignalInfo), '("showHelp", Gtk.Widget.WidgetShowHelpSignalInfo), '("sizeAllocate", Gtk.Widget.WidgetSizeAllocateSignalInfo), '("stateChanged", Gtk.Widget.WidgetStateChangedSignalInfo), '("stateFlagsChanged", Gtk.Widget.WidgetStateFlagsChangedSignalInfo), '("styleSet", Gtk.Widget.WidgetStyleSetSignalInfo), '("styleUpdated", Gtk.Widget.WidgetStyleUpdatedSignalInfo), '("touchEvent", Gtk.Widget.WidgetTouchEventSignalInfo), '("unmap", Gtk.Widget.WidgetUnmapSignalInfo), '("unmapEvent", Gtk.Widget.WidgetUnmapEventSignalInfo), '("unrealize", Gtk.Widget.WidgetUnrealizeSignalInfo), '("visibilityNotifyEvent", Gtk.Widget.WidgetVisibilityNotifyEventSignalInfo), '("windowStateEvent", Gtk.Widget.WidgetWindowStateEventSignalInfo)] :: [(Symbol, DK.Type)])
#endif
foreign import ccall "hdy_preferences_window_new" hdy_preferences_window_new ::
IO (Ptr PreferencesWindow)
preferencesWindowNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m PreferencesWindow
preferencesWindowNew :: forall (m :: * -> *).
(HasCallStack, MonadIO m) =>
m PreferencesWindow
preferencesWindowNew = IO PreferencesWindow -> m PreferencesWindow
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO PreferencesWindow -> m PreferencesWindow)
-> IO PreferencesWindow -> m PreferencesWindow
forall a b. (a -> b) -> a -> b
$ do
Ptr PreferencesWindow
result <- IO (Ptr PreferencesWindow)
hdy_preferences_window_new
Text -> Ptr PreferencesWindow -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"preferencesWindowNew" Ptr PreferencesWindow
result
PreferencesWindow
result' <- ((ManagedPtr PreferencesWindow -> PreferencesWindow)
-> Ptr PreferencesWindow -> IO PreferencesWindow
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr PreferencesWindow -> PreferencesWindow
PreferencesWindow) Ptr PreferencesWindow
result
PreferencesWindow -> IO PreferencesWindow
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return PreferencesWindow
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "hdy_preferences_window_close_subpage" hdy_preferences_window_close_subpage ::
Ptr PreferencesWindow ->
IO ()
preferencesWindowCloseSubpage ::
(B.CallStack.HasCallStack, MonadIO m, IsPreferencesWindow a) =>
a
-> m ()
preferencesWindowCloseSubpage :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsPreferencesWindow a) =>
a -> m ()
preferencesWindowCloseSubpage a
self = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr PreferencesWindow
self' <- a -> IO (Ptr PreferencesWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr PreferencesWindow -> IO ()
hdy_preferences_window_close_subpage Ptr PreferencesWindow
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data PreferencesWindowCloseSubpageMethodInfo
instance (signature ~ (m ()), MonadIO m, IsPreferencesWindow a) => O.OverloadedMethod PreferencesWindowCloseSubpageMethodInfo a signature where
overloadedMethod = preferencesWindowCloseSubpage
instance O.OverloadedMethodInfo PreferencesWindowCloseSubpageMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.PreferencesWindow.preferencesWindowCloseSubpage",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.4/docs/GI-Handy-Objects-PreferencesWindow.html#v:preferencesWindowCloseSubpage"
})
#endif
foreign import ccall "hdy_preferences_window_get_can_swipe_back" hdy_preferences_window_get_can_swipe_back ::
Ptr PreferencesWindow ->
IO CInt
preferencesWindowGetCanSwipeBack ::
(B.CallStack.HasCallStack, MonadIO m, IsPreferencesWindow a) =>
a
-> m Bool
preferencesWindowGetCanSwipeBack :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsPreferencesWindow a) =>
a -> m Bool
preferencesWindowGetCanSwipeBack a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr PreferencesWindow
self' <- a -> IO (Ptr PreferencesWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr PreferencesWindow -> IO CInt
hdy_preferences_window_get_can_swipe_back Ptr PreferencesWindow
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data PreferencesWindowGetCanSwipeBackMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsPreferencesWindow a) => O.OverloadedMethod PreferencesWindowGetCanSwipeBackMethodInfo a signature where
overloadedMethod = preferencesWindowGetCanSwipeBack
instance O.OverloadedMethodInfo PreferencesWindowGetCanSwipeBackMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.PreferencesWindow.preferencesWindowGetCanSwipeBack",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.4/docs/GI-Handy-Objects-PreferencesWindow.html#v:preferencesWindowGetCanSwipeBack"
})
#endif
foreign import ccall "hdy_preferences_window_get_search_enabled" hdy_preferences_window_get_search_enabled ::
Ptr PreferencesWindow ->
IO CInt
preferencesWindowGetSearchEnabled ::
(B.CallStack.HasCallStack, MonadIO m, IsPreferencesWindow a) =>
a
-> m Bool
preferencesWindowGetSearchEnabled :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsPreferencesWindow a) =>
a -> m Bool
preferencesWindowGetSearchEnabled a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr PreferencesWindow
self' <- a -> IO (Ptr PreferencesWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr PreferencesWindow -> IO CInt
hdy_preferences_window_get_search_enabled Ptr PreferencesWindow
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data PreferencesWindowGetSearchEnabledMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsPreferencesWindow a) => O.OverloadedMethod PreferencesWindowGetSearchEnabledMethodInfo a signature where
overloadedMethod = preferencesWindowGetSearchEnabled
instance O.OverloadedMethodInfo PreferencesWindowGetSearchEnabledMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.PreferencesWindow.preferencesWindowGetSearchEnabled",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.4/docs/GI-Handy-Objects-PreferencesWindow.html#v:preferencesWindowGetSearchEnabled"
})
#endif
foreign import ccall "hdy_preferences_window_present_subpage" hdy_preferences_window_present_subpage ::
Ptr PreferencesWindow ->
Ptr Gtk.Widget.Widget ->
IO ()
preferencesWindowPresentSubpage ::
(B.CallStack.HasCallStack, MonadIO m, IsPreferencesWindow a, Gtk.Widget.IsWidget b) =>
a
-> b
-> m ()
preferencesWindowPresentSubpage :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsPreferencesWindow a, IsWidget b) =>
a -> b -> m ()
preferencesWindowPresentSubpage a
self b
subpage = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr PreferencesWindow
self' <- a -> IO (Ptr PreferencesWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Widget
subpage' <- b -> IO (Ptr Widget)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
subpage
Ptr PreferencesWindow -> Ptr Widget -> IO ()
hdy_preferences_window_present_subpage Ptr PreferencesWindow
self' Ptr Widget
subpage'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
subpage
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data PreferencesWindowPresentSubpageMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsPreferencesWindow a, Gtk.Widget.IsWidget b) => O.OverloadedMethod PreferencesWindowPresentSubpageMethodInfo a signature where
overloadedMethod = preferencesWindowPresentSubpage
instance O.OverloadedMethodInfo PreferencesWindowPresentSubpageMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.PreferencesWindow.preferencesWindowPresentSubpage",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.4/docs/GI-Handy-Objects-PreferencesWindow.html#v:preferencesWindowPresentSubpage"
})
#endif
foreign import ccall "hdy_preferences_window_set_can_swipe_back" hdy_preferences_window_set_can_swipe_back ::
Ptr PreferencesWindow ->
CInt ->
IO ()
preferencesWindowSetCanSwipeBack ::
(B.CallStack.HasCallStack, MonadIO m, IsPreferencesWindow a) =>
a
-> Bool
-> m ()
preferencesWindowSetCanSwipeBack :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsPreferencesWindow a) =>
a -> Bool -> m ()
preferencesWindowSetCanSwipeBack a
self Bool
canSwipeBack = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr PreferencesWindow
self' <- a -> IO (Ptr PreferencesWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let canSwipeBack' :: CInt
canSwipeBack' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
canSwipeBack
Ptr PreferencesWindow -> CInt -> IO ()
hdy_preferences_window_set_can_swipe_back Ptr PreferencesWindow
self' CInt
canSwipeBack'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data PreferencesWindowSetCanSwipeBackMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsPreferencesWindow a) => O.OverloadedMethod PreferencesWindowSetCanSwipeBackMethodInfo a signature where
overloadedMethod = preferencesWindowSetCanSwipeBack
instance O.OverloadedMethodInfo PreferencesWindowSetCanSwipeBackMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.PreferencesWindow.preferencesWindowSetCanSwipeBack",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.4/docs/GI-Handy-Objects-PreferencesWindow.html#v:preferencesWindowSetCanSwipeBack"
})
#endif
foreign import ccall "hdy_preferences_window_set_search_enabled" hdy_preferences_window_set_search_enabled ::
Ptr PreferencesWindow ->
CInt ->
IO ()
preferencesWindowSetSearchEnabled ::
(B.CallStack.HasCallStack, MonadIO m, IsPreferencesWindow a) =>
a
-> Bool
-> m ()
preferencesWindowSetSearchEnabled :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsPreferencesWindow a) =>
a -> Bool -> m ()
preferencesWindowSetSearchEnabled a
self Bool
searchEnabled = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr PreferencesWindow
self' <- a -> IO (Ptr PreferencesWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let searchEnabled' :: CInt
searchEnabled' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
P.fromEnum) Bool
searchEnabled
Ptr PreferencesWindow -> CInt -> IO ()
hdy_preferences_window_set_search_enabled Ptr PreferencesWindow
self' CInt
searchEnabled'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data PreferencesWindowSetSearchEnabledMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsPreferencesWindow a) => O.OverloadedMethod PreferencesWindowSetSearchEnabledMethodInfo a signature where
overloadedMethod = preferencesWindowSetSearchEnabled
instance O.OverloadedMethodInfo PreferencesWindowSetSearchEnabledMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.PreferencesWindow.preferencesWindowSetSearchEnabled",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.4/docs/GI-Handy-Objects-PreferencesWindow.html#v:preferencesWindowSetSearchEnabled"
})
#endif