#define ENABLE_OVERLOADING (MIN_VERSION_haskell_gi_overloading(1,0,0) \
&& !defined(__HADDOCK_VERSION__))
module GI.Gtk.Objects.Window
(
Window(..) ,
IsWindow ,
toWindow ,
noWindow ,
#if ENABLE_OVERLOADING
WindowActivateDefaultMethodInfo ,
#endif
windowActivateDefault ,
#if ENABLE_OVERLOADING
WindowActivateFocusMethodInfo ,
#endif
windowActivateFocus ,
#if ENABLE_OVERLOADING
WindowActivateKeyMethodInfo ,
#endif
windowActivateKey ,
#if ENABLE_OVERLOADING
WindowAddAccelGroupMethodInfo ,
#endif
windowAddAccelGroup ,
#if ENABLE_OVERLOADING
WindowAddMnemonicMethodInfo ,
#endif
windowAddMnemonic ,
#if ENABLE_OVERLOADING
WindowBeginMoveDragMethodInfo ,
#endif
windowBeginMoveDrag ,
#if ENABLE_OVERLOADING
WindowBeginResizeDragMethodInfo ,
#endif
windowBeginResizeDrag ,
#if ENABLE_OVERLOADING
WindowCloseMethodInfo ,
#endif
windowClose ,
#if ENABLE_OVERLOADING
WindowDeiconifyMethodInfo ,
#endif
windowDeiconify ,
#if ENABLE_OVERLOADING
WindowFullscreenMethodInfo ,
#endif
windowFullscreen ,
#if ENABLE_OVERLOADING
WindowFullscreenOnMonitorMethodInfo ,
#endif
windowFullscreenOnMonitor ,
#if ENABLE_OVERLOADING
WindowGetAcceptFocusMethodInfo ,
#endif
windowGetAcceptFocus ,
#if ENABLE_OVERLOADING
WindowGetApplicationMethodInfo ,
#endif
windowGetApplication ,
#if ENABLE_OVERLOADING
WindowGetAttachedToMethodInfo ,
#endif
windowGetAttachedTo ,
#if ENABLE_OVERLOADING
WindowGetDecoratedMethodInfo ,
#endif
windowGetDecorated ,
windowGetDefaultIconList ,
windowGetDefaultIconName ,
#if ENABLE_OVERLOADING
WindowGetDefaultSizeMethodInfo ,
#endif
windowGetDefaultSize ,
#if ENABLE_OVERLOADING
WindowGetDefaultWidgetMethodInfo ,
#endif
windowGetDefaultWidget ,
#if ENABLE_OVERLOADING
WindowGetDeletableMethodInfo ,
#endif
windowGetDeletable ,
#if ENABLE_OVERLOADING
WindowGetDestroyWithParentMethodInfo ,
#endif
windowGetDestroyWithParent ,
#if ENABLE_OVERLOADING
WindowGetFocusMethodInfo ,
#endif
windowGetFocus ,
#if ENABLE_OVERLOADING
WindowGetFocusOnMapMethodInfo ,
#endif
windowGetFocusOnMap ,
#if ENABLE_OVERLOADING
WindowGetFocusVisibleMethodInfo ,
#endif
windowGetFocusVisible ,
#if ENABLE_OVERLOADING
WindowGetGravityMethodInfo ,
#endif
windowGetGravity ,
#if ENABLE_OVERLOADING
WindowGetGroupMethodInfo ,
#endif
windowGetGroup ,
#if ENABLE_OVERLOADING
WindowGetHasResizeGripMethodInfo ,
#endif
windowGetHasResizeGrip ,
#if ENABLE_OVERLOADING
WindowGetHideTitlebarWhenMaximizedMethodInfo,
#endif
windowGetHideTitlebarWhenMaximized ,
#if ENABLE_OVERLOADING
WindowGetIconMethodInfo ,
#endif
windowGetIcon ,
#if ENABLE_OVERLOADING
WindowGetIconListMethodInfo ,
#endif
windowGetIconList ,
#if ENABLE_OVERLOADING
WindowGetIconNameMethodInfo ,
#endif
windowGetIconName ,
#if ENABLE_OVERLOADING
WindowGetMnemonicModifierMethodInfo ,
#endif
windowGetMnemonicModifier ,
#if ENABLE_OVERLOADING
WindowGetMnemonicsVisibleMethodInfo ,
#endif
windowGetMnemonicsVisible ,
#if ENABLE_OVERLOADING
WindowGetModalMethodInfo ,
#endif
windowGetModal ,
#if ENABLE_OVERLOADING
WindowGetOpacityMethodInfo ,
#endif
windowGetOpacity ,
#if ENABLE_OVERLOADING
WindowGetPositionMethodInfo ,
#endif
windowGetPosition ,
#if ENABLE_OVERLOADING
WindowGetResizableMethodInfo ,
#endif
windowGetResizable ,
#if ENABLE_OVERLOADING
WindowGetResizeGripAreaMethodInfo ,
#endif
windowGetResizeGripArea ,
#if ENABLE_OVERLOADING
WindowGetRoleMethodInfo ,
#endif
windowGetRole ,
#if ENABLE_OVERLOADING
WindowGetScreenMethodInfo ,
#endif
windowGetScreen ,
#if ENABLE_OVERLOADING
WindowGetSizeMethodInfo ,
#endif
windowGetSize ,
#if ENABLE_OVERLOADING
WindowGetSkipPagerHintMethodInfo ,
#endif
windowGetSkipPagerHint ,
#if ENABLE_OVERLOADING
WindowGetSkipTaskbarHintMethodInfo ,
#endif
windowGetSkipTaskbarHint ,
#if ENABLE_OVERLOADING
WindowGetTitleMethodInfo ,
#endif
windowGetTitle ,
#if ENABLE_OVERLOADING
WindowGetTitlebarMethodInfo ,
#endif
windowGetTitlebar ,
#if ENABLE_OVERLOADING
WindowGetTransientForMethodInfo ,
#endif
windowGetTransientFor ,
#if ENABLE_OVERLOADING
WindowGetTypeHintMethodInfo ,
#endif
windowGetTypeHint ,
#if ENABLE_OVERLOADING
WindowGetUrgencyHintMethodInfo ,
#endif
windowGetUrgencyHint ,
#if ENABLE_OVERLOADING
WindowGetWindowTypeMethodInfo ,
#endif
windowGetWindowType ,
#if ENABLE_OVERLOADING
WindowHasGroupMethodInfo ,
#endif
windowHasGroup ,
#if ENABLE_OVERLOADING
WindowHasToplevelFocusMethodInfo ,
#endif
windowHasToplevelFocus ,
#if ENABLE_OVERLOADING
WindowIconifyMethodInfo ,
#endif
windowIconify ,
#if ENABLE_OVERLOADING
WindowIsActiveMethodInfo ,
#endif
windowIsActive ,
#if ENABLE_OVERLOADING
WindowIsMaximizedMethodInfo ,
#endif
windowIsMaximized ,
windowListToplevels ,
#if ENABLE_OVERLOADING
WindowMaximizeMethodInfo ,
#endif
windowMaximize ,
#if ENABLE_OVERLOADING
WindowMnemonicActivateMethodInfo ,
#endif
windowMnemonicActivate ,
#if ENABLE_OVERLOADING
WindowMoveMethodInfo ,
#endif
windowMove ,
windowNew ,
#if ENABLE_OVERLOADING
WindowParseGeometryMethodInfo ,
#endif
windowParseGeometry ,
#if ENABLE_OVERLOADING
WindowPresentMethodInfo ,
#endif
windowPresent ,
#if ENABLE_OVERLOADING
WindowPresentWithTimeMethodInfo ,
#endif
windowPresentWithTime ,
#if ENABLE_OVERLOADING
WindowPropagateKeyEventMethodInfo ,
#endif
windowPropagateKeyEvent ,
#if ENABLE_OVERLOADING
WindowRemoveAccelGroupMethodInfo ,
#endif
windowRemoveAccelGroup ,
#if ENABLE_OVERLOADING
WindowRemoveMnemonicMethodInfo ,
#endif
windowRemoveMnemonic ,
#if ENABLE_OVERLOADING
WindowReshowWithInitialSizeMethodInfo ,
#endif
windowReshowWithInitialSize ,
#if ENABLE_OVERLOADING
WindowResizeMethodInfo ,
#endif
windowResize ,
#if ENABLE_OVERLOADING
WindowResizeGripIsVisibleMethodInfo ,
#endif
windowResizeGripIsVisible ,
#if ENABLE_OVERLOADING
WindowResizeToGeometryMethodInfo ,
#endif
windowResizeToGeometry ,
#if ENABLE_OVERLOADING
WindowSetAcceptFocusMethodInfo ,
#endif
windowSetAcceptFocus ,
#if ENABLE_OVERLOADING
WindowSetApplicationMethodInfo ,
#endif
windowSetApplication ,
#if ENABLE_OVERLOADING
WindowSetAttachedToMethodInfo ,
#endif
windowSetAttachedTo ,
windowSetAutoStartupNotification ,
#if ENABLE_OVERLOADING
WindowSetDecoratedMethodInfo ,
#endif
windowSetDecorated ,
#if ENABLE_OVERLOADING
WindowSetDefaultMethodInfo ,
#endif
windowSetDefault ,
#if ENABLE_OVERLOADING
WindowSetDefaultGeometryMethodInfo ,
#endif
windowSetDefaultGeometry ,
windowSetDefaultIcon ,
windowSetDefaultIconFromFile ,
windowSetDefaultIconList ,
windowSetDefaultIconName ,
#if ENABLE_OVERLOADING
WindowSetDefaultSizeMethodInfo ,
#endif
windowSetDefaultSize ,
#if ENABLE_OVERLOADING
WindowSetDeletableMethodInfo ,
#endif
windowSetDeletable ,
#if ENABLE_OVERLOADING
WindowSetDestroyWithParentMethodInfo ,
#endif
windowSetDestroyWithParent ,
#if ENABLE_OVERLOADING
WindowSetFocusMethodInfo ,
#endif
windowSetFocus ,
#if ENABLE_OVERLOADING
WindowSetFocusOnMapMethodInfo ,
#endif
windowSetFocusOnMap ,
#if ENABLE_OVERLOADING
WindowSetFocusVisibleMethodInfo ,
#endif
windowSetFocusVisible ,
#if ENABLE_OVERLOADING
WindowSetGeometryHintsMethodInfo ,
#endif
windowSetGeometryHints ,
#if ENABLE_OVERLOADING
WindowSetGravityMethodInfo ,
#endif
windowSetGravity ,
#if ENABLE_OVERLOADING
WindowSetHasResizeGripMethodInfo ,
#endif
windowSetHasResizeGrip ,
#if ENABLE_OVERLOADING
WindowSetHasUserRefCountMethodInfo ,
#endif
windowSetHasUserRefCount ,
#if ENABLE_OVERLOADING
WindowSetHideTitlebarWhenMaximizedMethodInfo,
#endif
windowSetHideTitlebarWhenMaximized ,
#if ENABLE_OVERLOADING
WindowSetIconMethodInfo ,
#endif
windowSetIcon ,
#if ENABLE_OVERLOADING
WindowSetIconFromFileMethodInfo ,
#endif
windowSetIconFromFile ,
#if ENABLE_OVERLOADING
WindowSetIconListMethodInfo ,
#endif
windowSetIconList ,
#if ENABLE_OVERLOADING
WindowSetIconNameMethodInfo ,
#endif
windowSetIconName ,
windowSetInteractiveDebugging ,
#if ENABLE_OVERLOADING
WindowSetKeepAboveMethodInfo ,
#endif
windowSetKeepAbove ,
#if ENABLE_OVERLOADING
WindowSetKeepBelowMethodInfo ,
#endif
windowSetKeepBelow ,
#if ENABLE_OVERLOADING
WindowSetMnemonicModifierMethodInfo ,
#endif
windowSetMnemonicModifier ,
#if ENABLE_OVERLOADING
WindowSetMnemonicsVisibleMethodInfo ,
#endif
windowSetMnemonicsVisible ,
#if ENABLE_OVERLOADING
WindowSetModalMethodInfo ,
#endif
windowSetModal ,
#if ENABLE_OVERLOADING
WindowSetOpacityMethodInfo ,
#endif
windowSetOpacity ,
#if ENABLE_OVERLOADING
WindowSetPositionMethodInfo ,
#endif
windowSetPosition ,
#if ENABLE_OVERLOADING
WindowSetResizableMethodInfo ,
#endif
windowSetResizable ,
#if ENABLE_OVERLOADING
WindowSetRoleMethodInfo ,
#endif
windowSetRole ,
#if ENABLE_OVERLOADING
WindowSetScreenMethodInfo ,
#endif
windowSetScreen ,
#if ENABLE_OVERLOADING
WindowSetSkipPagerHintMethodInfo ,
#endif
windowSetSkipPagerHint ,
#if ENABLE_OVERLOADING
WindowSetSkipTaskbarHintMethodInfo ,
#endif
windowSetSkipTaskbarHint ,
#if ENABLE_OVERLOADING
WindowSetStartupIdMethodInfo ,
#endif
windowSetStartupId ,
#if ENABLE_OVERLOADING
WindowSetTitleMethodInfo ,
#endif
windowSetTitle ,
#if ENABLE_OVERLOADING
WindowSetTitlebarMethodInfo ,
#endif
windowSetTitlebar ,
#if ENABLE_OVERLOADING
WindowSetTransientForMethodInfo ,
#endif
windowSetTransientFor ,
#if ENABLE_OVERLOADING
WindowSetTypeHintMethodInfo ,
#endif
windowSetTypeHint ,
#if ENABLE_OVERLOADING
WindowSetUrgencyHintMethodInfo ,
#endif
windowSetUrgencyHint ,
#if ENABLE_OVERLOADING
WindowSetWmclassMethodInfo ,
#endif
windowSetWmclass ,
#if ENABLE_OVERLOADING
WindowStickMethodInfo ,
#endif
windowStick ,
#if ENABLE_OVERLOADING
WindowUnfullscreenMethodInfo ,
#endif
windowUnfullscreen ,
#if ENABLE_OVERLOADING
WindowUnmaximizeMethodInfo ,
#endif
windowUnmaximize ,
#if ENABLE_OVERLOADING
WindowUnstickMethodInfo ,
#endif
windowUnstick ,
#if ENABLE_OVERLOADING
WindowAcceptFocusPropertyInfo ,
#endif
constructWindowAcceptFocus ,
getWindowAcceptFocus ,
setWindowAcceptFocus ,
#if ENABLE_OVERLOADING
windowAcceptFocus ,
#endif
#if ENABLE_OVERLOADING
WindowApplicationPropertyInfo ,
#endif
clearWindowApplication ,
constructWindowApplication ,
getWindowApplication ,
setWindowApplication ,
#if ENABLE_OVERLOADING
windowApplication ,
#endif
#if ENABLE_OVERLOADING
WindowAttachedToPropertyInfo ,
#endif
clearWindowAttachedTo ,
constructWindowAttachedTo ,
getWindowAttachedTo ,
setWindowAttachedTo ,
#if ENABLE_OVERLOADING
windowAttachedTo ,
#endif
#if ENABLE_OVERLOADING
WindowDecoratedPropertyInfo ,
#endif
constructWindowDecorated ,
getWindowDecorated ,
setWindowDecorated ,
#if ENABLE_OVERLOADING
windowDecorated ,
#endif
#if ENABLE_OVERLOADING
WindowDefaultHeightPropertyInfo ,
#endif
constructWindowDefaultHeight ,
getWindowDefaultHeight ,
setWindowDefaultHeight ,
#if ENABLE_OVERLOADING
windowDefaultHeight ,
#endif
#if ENABLE_OVERLOADING
WindowDefaultWidthPropertyInfo ,
#endif
constructWindowDefaultWidth ,
getWindowDefaultWidth ,
setWindowDefaultWidth ,
#if ENABLE_OVERLOADING
windowDefaultWidth ,
#endif
#if ENABLE_OVERLOADING
WindowDeletablePropertyInfo ,
#endif
constructWindowDeletable ,
getWindowDeletable ,
setWindowDeletable ,
#if ENABLE_OVERLOADING
windowDeletable ,
#endif
#if ENABLE_OVERLOADING
WindowDestroyWithParentPropertyInfo ,
#endif
constructWindowDestroyWithParent ,
getWindowDestroyWithParent ,
setWindowDestroyWithParent ,
#if ENABLE_OVERLOADING
windowDestroyWithParent ,
#endif
#if ENABLE_OVERLOADING
WindowFocusOnMapPropertyInfo ,
#endif
constructWindowFocusOnMap ,
getWindowFocusOnMap ,
setWindowFocusOnMap ,
#if ENABLE_OVERLOADING
windowFocusOnMap ,
#endif
#if ENABLE_OVERLOADING
WindowFocusVisiblePropertyInfo ,
#endif
constructWindowFocusVisible ,
getWindowFocusVisible ,
setWindowFocusVisible ,
#if ENABLE_OVERLOADING
windowFocusVisible ,
#endif
#if ENABLE_OVERLOADING
WindowGravityPropertyInfo ,
#endif
constructWindowGravity ,
getWindowGravity ,
setWindowGravity ,
#if ENABLE_OVERLOADING
windowGravity ,
#endif
#if ENABLE_OVERLOADING
WindowHasResizeGripPropertyInfo ,
#endif
constructWindowHasResizeGrip ,
getWindowHasResizeGrip ,
setWindowHasResizeGrip ,
#if ENABLE_OVERLOADING
windowHasResizeGrip ,
#endif
#if ENABLE_OVERLOADING
WindowHasToplevelFocusPropertyInfo ,
#endif
getWindowHasToplevelFocus ,
#if ENABLE_OVERLOADING
WindowHideTitlebarWhenMaximizedPropertyInfo,
#endif
constructWindowHideTitlebarWhenMaximized,
getWindowHideTitlebarWhenMaximized ,
setWindowHideTitlebarWhenMaximized ,
#if ENABLE_OVERLOADING
windowHideTitlebarWhenMaximized ,
#endif
#if ENABLE_OVERLOADING
WindowIconPropertyInfo ,
#endif
clearWindowIcon ,
constructWindowIcon ,
getWindowIcon ,
setWindowIcon ,
#if ENABLE_OVERLOADING
windowIcon ,
#endif
#if ENABLE_OVERLOADING
WindowIconNamePropertyInfo ,
#endif
clearWindowIconName ,
constructWindowIconName ,
getWindowIconName ,
setWindowIconName ,
#if ENABLE_OVERLOADING
windowIconName ,
#endif
#if ENABLE_OVERLOADING
WindowIsActivePropertyInfo ,
#endif
getWindowIsActive ,
#if ENABLE_OVERLOADING
WindowIsMaximizedPropertyInfo ,
#endif
getWindowIsMaximized ,
#if ENABLE_OVERLOADING
WindowMnemonicsVisiblePropertyInfo ,
#endif
constructWindowMnemonicsVisible ,
getWindowMnemonicsVisible ,
setWindowMnemonicsVisible ,
#if ENABLE_OVERLOADING
windowMnemonicsVisible ,
#endif
#if ENABLE_OVERLOADING
WindowModalPropertyInfo ,
#endif
constructWindowModal ,
getWindowModal ,
setWindowModal ,
#if ENABLE_OVERLOADING
windowModal ,
#endif
#if ENABLE_OVERLOADING
WindowResizablePropertyInfo ,
#endif
constructWindowResizable ,
getWindowResizable ,
setWindowResizable ,
#if ENABLE_OVERLOADING
windowResizable ,
#endif
#if ENABLE_OVERLOADING
WindowResizeGripVisiblePropertyInfo ,
#endif
getWindowResizeGripVisible ,
#if ENABLE_OVERLOADING
windowResizeGripVisible ,
#endif
#if ENABLE_OVERLOADING
WindowRolePropertyInfo ,
#endif
constructWindowRole ,
getWindowRole ,
setWindowRole ,
#if ENABLE_OVERLOADING
windowRole ,
#endif
#if ENABLE_OVERLOADING
WindowScreenPropertyInfo ,
#endif
constructWindowScreen ,
getWindowScreen ,
setWindowScreen ,
#if ENABLE_OVERLOADING
windowScreen ,
#endif
#if ENABLE_OVERLOADING
WindowSkipPagerHintPropertyInfo ,
#endif
constructWindowSkipPagerHint ,
getWindowSkipPagerHint ,
setWindowSkipPagerHint ,
#if ENABLE_OVERLOADING
windowSkipPagerHint ,
#endif
#if ENABLE_OVERLOADING
WindowSkipTaskbarHintPropertyInfo ,
#endif
constructWindowSkipTaskbarHint ,
getWindowSkipTaskbarHint ,
setWindowSkipTaskbarHint ,
#if ENABLE_OVERLOADING
windowSkipTaskbarHint ,
#endif
#if ENABLE_OVERLOADING
WindowStartupIdPropertyInfo ,
#endif
constructWindowStartupId ,
setWindowStartupId ,
#if ENABLE_OVERLOADING
windowStartupId ,
#endif
#if ENABLE_OVERLOADING
WindowTitlePropertyInfo ,
#endif
constructWindowTitle ,
getWindowTitle ,
setWindowTitle ,
#if ENABLE_OVERLOADING
windowTitle ,
#endif
#if ENABLE_OVERLOADING
WindowTransientForPropertyInfo ,
#endif
clearWindowTransientFor ,
constructWindowTransientFor ,
getWindowTransientFor ,
setWindowTransientFor ,
#if ENABLE_OVERLOADING
windowTransientFor ,
#endif
#if ENABLE_OVERLOADING
WindowTypePropertyInfo ,
#endif
constructWindowType ,
getWindowType ,
#if ENABLE_OVERLOADING
windowType ,
#endif
#if ENABLE_OVERLOADING
WindowTypeHintPropertyInfo ,
#endif
constructWindowTypeHint ,
getWindowTypeHint ,
setWindowTypeHint ,
#if ENABLE_OVERLOADING
windowTypeHint ,
#endif
#if ENABLE_OVERLOADING
WindowUrgencyHintPropertyInfo ,
#endif
constructWindowUrgencyHint ,
getWindowUrgencyHint ,
setWindowUrgencyHint ,
#if ENABLE_OVERLOADING
windowUrgencyHint ,
#endif
#if ENABLE_OVERLOADING
WindowWindowPositionPropertyInfo ,
#endif
constructWindowWindowPosition ,
getWindowWindowPosition ,
setWindowWindowPosition ,
#if ENABLE_OVERLOADING
windowWindowPosition ,
#endif
C_WindowActivateDefaultCallback ,
WindowActivateDefaultCallback ,
#if ENABLE_OVERLOADING
WindowActivateDefaultSignalInfo ,
#endif
afterWindowActivateDefault ,
genClosure_WindowActivateDefault ,
mk_WindowActivateDefaultCallback ,
noWindowActivateDefaultCallback ,
onWindowActivateDefault ,
wrap_WindowActivateDefaultCallback ,
C_WindowActivateFocusCallback ,
WindowActivateFocusCallback ,
#if ENABLE_OVERLOADING
WindowActivateFocusSignalInfo ,
#endif
afterWindowActivateFocus ,
genClosure_WindowActivateFocus ,
mk_WindowActivateFocusCallback ,
noWindowActivateFocusCallback ,
onWindowActivateFocus ,
wrap_WindowActivateFocusCallback ,
C_WindowEnableDebuggingCallback ,
WindowEnableDebuggingCallback ,
#if ENABLE_OVERLOADING
WindowEnableDebuggingSignalInfo ,
#endif
afterWindowEnableDebugging ,
genClosure_WindowEnableDebugging ,
mk_WindowEnableDebuggingCallback ,
noWindowEnableDebuggingCallback ,
onWindowEnableDebugging ,
wrap_WindowEnableDebuggingCallback ,
C_WindowKeysChangedCallback ,
WindowKeysChangedCallback ,
#if ENABLE_OVERLOADING
WindowKeysChangedSignalInfo ,
#endif
afterWindowKeysChanged ,
genClosure_WindowKeysChanged ,
mk_WindowKeysChangedCallback ,
noWindowKeysChangedCallback ,
onWindowKeysChanged ,
wrap_WindowKeysChangedCallback ,
C_WindowSetFocusCallback ,
WindowSetFocusCallback ,
#if ENABLE_OVERLOADING
WindowSetFocusSignalInfo ,
#endif
afterWindowSetFocus ,
genClosure_WindowSetFocus ,
mk_WindowSetFocusCallback ,
noWindowSetFocusCallback ,
onWindowSetFocus ,
wrap_WindowSetFocusCallback ,
) 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.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.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GI.Atk.Interfaces.ImplementorIface as Atk.ImplementorIface
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gdk.Enums as Gdk.Enums
import qualified GI.Gdk.Flags as Gdk.Flags
import qualified GI.Gdk.Objects.Screen as Gdk.Screen
import qualified GI.Gdk.Structs.EventKey as Gdk.EventKey
import qualified GI.Gdk.Structs.Geometry as Gdk.Geometry
import qualified GI.Gdk.Structs.Rectangle as Gdk.Rectangle
import qualified GI.GdkPixbuf.Objects.Pixbuf as GdkPixbuf.Pixbuf
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.AccelGroup as Gtk.AccelGroup
import {-# SOURCE #-} qualified GI.Gtk.Objects.Application as Gtk.Application
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
import {-# SOURCE #-} qualified GI.Gtk.Objects.WindowGroup as Gtk.WindowGroup
newtype Window = Window (ManagedPtr Window)
foreign import ccall "gtk_window_get_type"
c_gtk_window_get_type :: IO GType
instance GObject Window where
gobjectType _ = c_gtk_window_get_type
class GObject o => IsWindow o
#if MIN_VERSION_base(4,9,0)
instance {-# OVERLAPPABLE #-} (GObject a, O.UnknownAncestorError Window a) =>
IsWindow a
#endif
instance IsWindow Window
instance Gtk.Bin.IsBin Window
instance Gtk.Container.IsContainer Window
instance Gtk.Widget.IsWidget Window
instance GObject.Object.IsObject Window
instance Atk.ImplementorIface.IsImplementorIface Window
instance Gtk.Buildable.IsBuildable Window
toWindow :: (MonadIO m, IsWindow o) => o -> m Window
toWindow = liftIO . unsafeCastTo Window
noWindow :: Maybe Window
noWindow = Nothing
#if ENABLE_OVERLOADING
type family ResolveWindowMethod (t :: Symbol) (o :: *) :: * where
ResolveWindowMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
ResolveWindowMethod "activateDefault" o = WindowActivateDefaultMethodInfo
ResolveWindowMethod "activateFocus" o = WindowActivateFocusMethodInfo
ResolveWindowMethod "activateKey" o = WindowActivateKeyMethodInfo
ResolveWindowMethod "add" o = Gtk.Container.ContainerAddMethodInfo
ResolveWindowMethod "addAccelGroup" o = WindowAddAccelGroupMethodInfo
ResolveWindowMethod "addAccelerator" o = Gtk.Widget.WidgetAddAcceleratorMethodInfo
ResolveWindowMethod "addChild" o = Gtk.Buildable.BuildableAddChildMethodInfo
ResolveWindowMethod "addDeviceEvents" o = Gtk.Widget.WidgetAddDeviceEventsMethodInfo
ResolveWindowMethod "addEvents" o = Gtk.Widget.WidgetAddEventsMethodInfo
ResolveWindowMethod "addMnemonic" o = WindowAddMnemonicMethodInfo
ResolveWindowMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
ResolveWindowMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
ResolveWindowMethod "beginMoveDrag" o = WindowBeginMoveDragMethodInfo
ResolveWindowMethod "beginResizeDrag" o = WindowBeginResizeDragMethodInfo
ResolveWindowMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveWindowMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveWindowMethod "canActivateAccel" o = Gtk.Widget.WidgetCanActivateAccelMethodInfo
ResolveWindowMethod "checkResize" o = Gtk.Container.ContainerCheckResizeMethodInfo
ResolveWindowMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
ResolveWindowMethod "childGetProperty" o = Gtk.Container.ContainerChildGetPropertyMethodInfo
ResolveWindowMethod "childNotify" o = Gtk.Container.ContainerChildNotifyMethodInfo
ResolveWindowMethod "childNotifyByPspec" o = Gtk.Container.ContainerChildNotifyByPspecMethodInfo
ResolveWindowMethod "childSetProperty" o = Gtk.Container.ContainerChildSetPropertyMethodInfo
ResolveWindowMethod "childType" o = Gtk.Container.ContainerChildTypeMethodInfo
ResolveWindowMethod "classPath" o = Gtk.Widget.WidgetClassPathMethodInfo
ResolveWindowMethod "close" o = WindowCloseMethodInfo
ResolveWindowMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
ResolveWindowMethod "constructChild" o = Gtk.Buildable.BuildableConstructChildMethodInfo
ResolveWindowMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
ResolveWindowMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
ResolveWindowMethod "customFinished" o = Gtk.Buildable.BuildableCustomFinishedMethodInfo
ResolveWindowMethod "customTagEnd" o = Gtk.Buildable.BuildableCustomTagEndMethodInfo
ResolveWindowMethod "customTagStart" o = Gtk.Buildable.BuildableCustomTagStartMethodInfo
ResolveWindowMethod "deiconify" o = WindowDeiconifyMethodInfo
ResolveWindowMethod "destroy" o = Gtk.Widget.WidgetDestroyMethodInfo
ResolveWindowMethod "destroyed" o = Gtk.Widget.WidgetDestroyedMethodInfo
ResolveWindowMethod "deviceIsShadowed" o = Gtk.Widget.WidgetDeviceIsShadowedMethodInfo
ResolveWindowMethod "dragBegin" o = Gtk.Widget.WidgetDragBeginMethodInfo
ResolveWindowMethod "dragBeginWithCoordinates" o = Gtk.Widget.WidgetDragBeginWithCoordinatesMethodInfo
ResolveWindowMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
ResolveWindowMethod "dragDestAddImageTargets" o = Gtk.Widget.WidgetDragDestAddImageTargetsMethodInfo
ResolveWindowMethod "dragDestAddTextTargets" o = Gtk.Widget.WidgetDragDestAddTextTargetsMethodInfo
ResolveWindowMethod "dragDestAddUriTargets" o = Gtk.Widget.WidgetDragDestAddUriTargetsMethodInfo
ResolveWindowMethod "dragDestFindTarget" o = Gtk.Widget.WidgetDragDestFindTargetMethodInfo
ResolveWindowMethod "dragDestGetTargetList" o = Gtk.Widget.WidgetDragDestGetTargetListMethodInfo
ResolveWindowMethod "dragDestGetTrackMotion" o = Gtk.Widget.WidgetDragDestGetTrackMotionMethodInfo
ResolveWindowMethod "dragDestSet" o = Gtk.Widget.WidgetDragDestSetMethodInfo
ResolveWindowMethod "dragDestSetProxy" o = Gtk.Widget.WidgetDragDestSetProxyMethodInfo
ResolveWindowMethod "dragDestSetTargetList" o = Gtk.Widget.WidgetDragDestSetTargetListMethodInfo
ResolveWindowMethod "dragDestSetTrackMotion" o = Gtk.Widget.WidgetDragDestSetTrackMotionMethodInfo
ResolveWindowMethod "dragDestUnset" o = Gtk.Widget.WidgetDragDestUnsetMethodInfo
ResolveWindowMethod "dragGetData" o = Gtk.Widget.WidgetDragGetDataMethodInfo
ResolveWindowMethod "dragHighlight" o = Gtk.Widget.WidgetDragHighlightMethodInfo
ResolveWindowMethod "dragSourceAddImageTargets" o = Gtk.Widget.WidgetDragSourceAddImageTargetsMethodInfo
ResolveWindowMethod "dragSourceAddTextTargets" o = Gtk.Widget.WidgetDragSourceAddTextTargetsMethodInfo
ResolveWindowMethod "dragSourceAddUriTargets" o = Gtk.Widget.WidgetDragSourceAddUriTargetsMethodInfo
ResolveWindowMethod "dragSourceGetTargetList" o = Gtk.Widget.WidgetDragSourceGetTargetListMethodInfo
ResolveWindowMethod "dragSourceSet" o = Gtk.Widget.WidgetDragSourceSetMethodInfo
ResolveWindowMethod "dragSourceSetIconGicon" o = Gtk.Widget.WidgetDragSourceSetIconGiconMethodInfo
ResolveWindowMethod "dragSourceSetIconName" o = Gtk.Widget.WidgetDragSourceSetIconNameMethodInfo
ResolveWindowMethod "dragSourceSetIconPixbuf" o = Gtk.Widget.WidgetDragSourceSetIconPixbufMethodInfo
ResolveWindowMethod "dragSourceSetIconStock" o = Gtk.Widget.WidgetDragSourceSetIconStockMethodInfo
ResolveWindowMethod "dragSourceSetTargetList" o = Gtk.Widget.WidgetDragSourceSetTargetListMethodInfo
ResolveWindowMethod "dragSourceUnset" o = Gtk.Widget.WidgetDragSourceUnsetMethodInfo
ResolveWindowMethod "dragUnhighlight" o = Gtk.Widget.WidgetDragUnhighlightMethodInfo
ResolveWindowMethod "draw" o = Gtk.Widget.WidgetDrawMethodInfo
ResolveWindowMethod "ensureStyle" o = Gtk.Widget.WidgetEnsureStyleMethodInfo
ResolveWindowMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
ResolveWindowMethod "event" o = Gtk.Widget.WidgetEventMethodInfo
ResolveWindowMethod "forall" o = Gtk.Container.ContainerForallMethodInfo
ResolveWindowMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveWindowMethod "foreach" o = Gtk.Container.ContainerForeachMethodInfo
ResolveWindowMethod "freezeChildNotify" o = Gtk.Widget.WidgetFreezeChildNotifyMethodInfo
ResolveWindowMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveWindowMethod "fullscreen" o = WindowFullscreenMethodInfo
ResolveWindowMethod "fullscreenOnMonitor" o = WindowFullscreenOnMonitorMethodInfo
ResolveWindowMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveWindowMethod "grabAdd" o = Gtk.Widget.WidgetGrabAddMethodInfo
ResolveWindowMethod "grabDefault" o = Gtk.Widget.WidgetGrabDefaultMethodInfo
ResolveWindowMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
ResolveWindowMethod "grabRemove" o = Gtk.Widget.WidgetGrabRemoveMethodInfo
ResolveWindowMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
ResolveWindowMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
ResolveWindowMethod "hasGrab" o = Gtk.Widget.WidgetHasGrabMethodInfo
ResolveWindowMethod "hasGroup" o = WindowHasGroupMethodInfo
ResolveWindowMethod "hasRcStyle" o = Gtk.Widget.WidgetHasRcStyleMethodInfo
ResolveWindowMethod "hasScreen" o = Gtk.Widget.WidgetHasScreenMethodInfo
ResolveWindowMethod "hasToplevelFocus" o = WindowHasToplevelFocusMethodInfo
ResolveWindowMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
ResolveWindowMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
ResolveWindowMethod "hideOnDelete" o = Gtk.Widget.WidgetHideOnDeleteMethodInfo
ResolveWindowMethod "iconify" o = WindowIconifyMethodInfo
ResolveWindowMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
ResolveWindowMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
ResolveWindowMethod "inputShapeCombineRegion" o = Gtk.Widget.WidgetInputShapeCombineRegionMethodInfo
ResolveWindowMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
ResolveWindowMethod "intersect" o = Gtk.Widget.WidgetIntersectMethodInfo
ResolveWindowMethod "isActive" o = WindowIsActiveMethodInfo
ResolveWindowMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
ResolveWindowMethod "isComposited" o = Gtk.Widget.WidgetIsCompositedMethodInfo
ResolveWindowMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
ResolveWindowMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveWindowMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
ResolveWindowMethod "isMaximized" o = WindowIsMaximizedMethodInfo
ResolveWindowMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
ResolveWindowMethod "isToplevel" o = Gtk.Widget.WidgetIsToplevelMethodInfo
ResolveWindowMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
ResolveWindowMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
ResolveWindowMethod "listAccelClosures" o = Gtk.Widget.WidgetListAccelClosuresMethodInfo
ResolveWindowMethod "listActionPrefixes" o = Gtk.Widget.WidgetListActionPrefixesMethodInfo
ResolveWindowMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
ResolveWindowMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
ResolveWindowMethod "maximize" o = WindowMaximizeMethodInfo
ResolveWindowMethod "mnemonicActivate" o = WindowMnemonicActivateMethodInfo
ResolveWindowMethod "modifyBase" o = Gtk.Widget.WidgetModifyBaseMethodInfo
ResolveWindowMethod "modifyBg" o = Gtk.Widget.WidgetModifyBgMethodInfo
ResolveWindowMethod "modifyCursor" o = Gtk.Widget.WidgetModifyCursorMethodInfo
ResolveWindowMethod "modifyFg" o = Gtk.Widget.WidgetModifyFgMethodInfo
ResolveWindowMethod "modifyFont" o = Gtk.Widget.WidgetModifyFontMethodInfo
ResolveWindowMethod "modifyStyle" o = Gtk.Widget.WidgetModifyStyleMethodInfo
ResolveWindowMethod "modifyText" o = Gtk.Widget.WidgetModifyTextMethodInfo
ResolveWindowMethod "move" o = WindowMoveMethodInfo
ResolveWindowMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveWindowMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveWindowMethod "overrideBackgroundColor" o = Gtk.Widget.WidgetOverrideBackgroundColorMethodInfo
ResolveWindowMethod "overrideColor" o = Gtk.Widget.WidgetOverrideColorMethodInfo
ResolveWindowMethod "overrideCursor" o = Gtk.Widget.WidgetOverrideCursorMethodInfo
ResolveWindowMethod "overrideFont" o = Gtk.Widget.WidgetOverrideFontMethodInfo
ResolveWindowMethod "overrideSymbolicColor" o = Gtk.Widget.WidgetOverrideSymbolicColorMethodInfo
ResolveWindowMethod "parseGeometry" o = WindowParseGeometryMethodInfo
ResolveWindowMethod "parserFinished" o = Gtk.Buildable.BuildableParserFinishedMethodInfo
ResolveWindowMethod "path" o = Gtk.Widget.WidgetPathMethodInfo
ResolveWindowMethod "present" o = WindowPresentMethodInfo
ResolveWindowMethod "presentWithTime" o = WindowPresentWithTimeMethodInfo
ResolveWindowMethod "propagateDraw" o = Gtk.Container.ContainerPropagateDrawMethodInfo
ResolveWindowMethod "propagateKeyEvent" o = WindowPropagateKeyEventMethodInfo
ResolveWindowMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
ResolveWindowMethod "queueComputeExpand" o = Gtk.Widget.WidgetQueueComputeExpandMethodInfo
ResolveWindowMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
ResolveWindowMethod "queueDrawArea" o = Gtk.Widget.WidgetQueueDrawAreaMethodInfo
ResolveWindowMethod "queueDrawRegion" o = Gtk.Widget.WidgetQueueDrawRegionMethodInfo
ResolveWindowMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
ResolveWindowMethod "queueResizeNoRedraw" o = Gtk.Widget.WidgetQueueResizeNoRedrawMethodInfo
ResolveWindowMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
ResolveWindowMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveWindowMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveWindowMethod "regionIntersect" o = Gtk.Widget.WidgetRegionIntersectMethodInfo
ResolveWindowMethod "registerWindow" o = Gtk.Widget.WidgetRegisterWindowMethodInfo
ResolveWindowMethod "remove" o = Gtk.Container.ContainerRemoveMethodInfo
ResolveWindowMethod "removeAccelGroup" o = WindowRemoveAccelGroupMethodInfo
ResolveWindowMethod "removeAccelerator" o = Gtk.Widget.WidgetRemoveAcceleratorMethodInfo
ResolveWindowMethod "removeMnemonic" o = WindowRemoveMnemonicMethodInfo
ResolveWindowMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
ResolveWindowMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
ResolveWindowMethod "renderIcon" o = Gtk.Widget.WidgetRenderIconMethodInfo
ResolveWindowMethod "renderIconPixbuf" o = Gtk.Widget.WidgetRenderIconPixbufMethodInfo
ResolveWindowMethod "reparent" o = Gtk.Widget.WidgetReparentMethodInfo
ResolveWindowMethod "resetRcStyles" o = Gtk.Widget.WidgetResetRcStylesMethodInfo
ResolveWindowMethod "resetStyle" o = Gtk.Widget.WidgetResetStyleMethodInfo
ResolveWindowMethod "reshowWithInitialSize" o = WindowReshowWithInitialSizeMethodInfo
ResolveWindowMethod "resize" o = WindowResizeMethodInfo
ResolveWindowMethod "resizeChildren" o = Gtk.Container.ContainerResizeChildrenMethodInfo
ResolveWindowMethod "resizeGripIsVisible" o = WindowResizeGripIsVisibleMethodInfo
ResolveWindowMethod "resizeToGeometry" o = WindowResizeToGeometryMethodInfo
ResolveWindowMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveWindowMethod "sendExpose" o = Gtk.Widget.WidgetSendExposeMethodInfo
ResolveWindowMethod "sendFocusChange" o = Gtk.Widget.WidgetSendFocusChangeMethodInfo
ResolveWindowMethod "shapeCombineRegion" o = Gtk.Widget.WidgetShapeCombineRegionMethodInfo
ResolveWindowMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
ResolveWindowMethod "showAll" o = Gtk.Widget.WidgetShowAllMethodInfo
ResolveWindowMethod "showNow" o = Gtk.Widget.WidgetShowNowMethodInfo
ResolveWindowMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
ResolveWindowMethod "sizeAllocateWithBaseline" o = Gtk.Widget.WidgetSizeAllocateWithBaselineMethodInfo
ResolveWindowMethod "sizeRequest" o = Gtk.Widget.WidgetSizeRequestMethodInfo
ResolveWindowMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveWindowMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveWindowMethod "stick" o = WindowStickMethodInfo
ResolveWindowMethod "styleAttach" o = Gtk.Widget.WidgetStyleAttachMethodInfo
ResolveWindowMethod "styleGetProperty" o = Gtk.Widget.WidgetStyleGetPropertyMethodInfo
ResolveWindowMethod "thawChildNotify" o = Gtk.Widget.WidgetThawChildNotifyMethodInfo
ResolveWindowMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveWindowMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
ResolveWindowMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
ResolveWindowMethod "unfullscreen" o = WindowUnfullscreenMethodInfo
ResolveWindowMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
ResolveWindowMethod "unmaximize" o = WindowUnmaximizeMethodInfo
ResolveWindowMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
ResolveWindowMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
ResolveWindowMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveWindowMethod "unregisterWindow" o = Gtk.Widget.WidgetUnregisterWindowMethodInfo
ResolveWindowMethod "unsetFocusChain" o = Gtk.Container.ContainerUnsetFocusChainMethodInfo
ResolveWindowMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
ResolveWindowMethod "unstick" o = WindowUnstickMethodInfo
ResolveWindowMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveWindowMethod "getAcceptFocus" o = WindowGetAcceptFocusMethodInfo
ResolveWindowMethod "getAccessible" o = Gtk.Widget.WidgetGetAccessibleMethodInfo
ResolveWindowMethod "getActionGroup" o = Gtk.Widget.WidgetGetActionGroupMethodInfo
ResolveWindowMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
ResolveWindowMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
ResolveWindowMethod "getAllocatedSize" o = Gtk.Widget.WidgetGetAllocatedSizeMethodInfo
ResolveWindowMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
ResolveWindowMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
ResolveWindowMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
ResolveWindowMethod "getAppPaintable" o = Gtk.Widget.WidgetGetAppPaintableMethodInfo
ResolveWindowMethod "getApplication" o = WindowGetApplicationMethodInfo
ResolveWindowMethod "getAttachedTo" o = WindowGetAttachedToMethodInfo
ResolveWindowMethod "getBorderWidth" o = Gtk.Container.ContainerGetBorderWidthMethodInfo
ResolveWindowMethod "getCanDefault" o = Gtk.Widget.WidgetGetCanDefaultMethodInfo
ResolveWindowMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
ResolveWindowMethod "getChild" o = Gtk.Bin.BinGetChildMethodInfo
ResolveWindowMethod "getChildRequisition" o = Gtk.Widget.WidgetGetChildRequisitionMethodInfo
ResolveWindowMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
ResolveWindowMethod "getChildren" o = Gtk.Container.ContainerGetChildrenMethodInfo
ResolveWindowMethod "getClip" o = Gtk.Widget.WidgetGetClipMethodInfo
ResolveWindowMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
ResolveWindowMethod "getCompositeName" o = Gtk.Widget.WidgetGetCompositeNameMethodInfo
ResolveWindowMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveWindowMethod "getDecorated" o = WindowGetDecoratedMethodInfo
ResolveWindowMethod "getDefaultSize" o = WindowGetDefaultSizeMethodInfo
ResolveWindowMethod "getDefaultWidget" o = WindowGetDefaultWidgetMethodInfo
ResolveWindowMethod "getDeletable" o = WindowGetDeletableMethodInfo
ResolveWindowMethod "getDestroyWithParent" o = WindowGetDestroyWithParentMethodInfo
ResolveWindowMethod "getDeviceEnabled" o = Gtk.Widget.WidgetGetDeviceEnabledMethodInfo
ResolveWindowMethod "getDeviceEvents" o = Gtk.Widget.WidgetGetDeviceEventsMethodInfo
ResolveWindowMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
ResolveWindowMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
ResolveWindowMethod "getDoubleBuffered" o = Gtk.Widget.WidgetGetDoubleBufferedMethodInfo
ResolveWindowMethod "getEvents" o = Gtk.Widget.WidgetGetEventsMethodInfo
ResolveWindowMethod "getFocus" o = WindowGetFocusMethodInfo
ResolveWindowMethod "getFocusChain" o = Gtk.Container.ContainerGetFocusChainMethodInfo
ResolveWindowMethod "getFocusChild" o = Gtk.Container.ContainerGetFocusChildMethodInfo
ResolveWindowMethod "getFocusHadjustment" o = Gtk.Container.ContainerGetFocusHadjustmentMethodInfo
ResolveWindowMethod "getFocusOnClick" o = Gtk.Widget.WidgetGetFocusOnClickMethodInfo
ResolveWindowMethod "getFocusOnMap" o = WindowGetFocusOnMapMethodInfo
ResolveWindowMethod "getFocusVadjustment" o = Gtk.Container.ContainerGetFocusVadjustmentMethodInfo
ResolveWindowMethod "getFocusVisible" o = WindowGetFocusVisibleMethodInfo
ResolveWindowMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
ResolveWindowMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
ResolveWindowMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
ResolveWindowMethod "getGravity" o = WindowGetGravityMethodInfo
ResolveWindowMethod "getGroup" o = WindowGetGroupMethodInfo
ResolveWindowMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
ResolveWindowMethod "getHasResizeGrip" o = WindowGetHasResizeGripMethodInfo
ResolveWindowMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
ResolveWindowMethod "getHasWindow" o = Gtk.Widget.WidgetGetHasWindowMethodInfo
ResolveWindowMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
ResolveWindowMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
ResolveWindowMethod "getHideTitlebarWhenMaximized" o = WindowGetHideTitlebarWhenMaximizedMethodInfo
ResolveWindowMethod "getIcon" o = WindowGetIconMethodInfo
ResolveWindowMethod "getIconList" o = WindowGetIconListMethodInfo
ResolveWindowMethod "getIconName" o = WindowGetIconNameMethodInfo
ResolveWindowMethod "getInternalChild" o = Gtk.Buildable.BuildableGetInternalChildMethodInfo
ResolveWindowMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
ResolveWindowMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
ResolveWindowMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
ResolveWindowMethod "getMarginLeft" o = Gtk.Widget.WidgetGetMarginLeftMethodInfo
ResolveWindowMethod "getMarginRight" o = Gtk.Widget.WidgetGetMarginRightMethodInfo
ResolveWindowMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
ResolveWindowMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
ResolveWindowMethod "getMnemonicModifier" o = WindowGetMnemonicModifierMethodInfo
ResolveWindowMethod "getMnemonicsVisible" o = WindowGetMnemonicsVisibleMethodInfo
ResolveWindowMethod "getModal" o = WindowGetModalMethodInfo
ResolveWindowMethod "getModifierMask" o = Gtk.Widget.WidgetGetModifierMaskMethodInfo
ResolveWindowMethod "getModifierStyle" o = Gtk.Widget.WidgetGetModifierStyleMethodInfo
ResolveWindowMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
ResolveWindowMethod "getNoShowAll" o = Gtk.Widget.WidgetGetNoShowAllMethodInfo
ResolveWindowMethod "getOpacity" o = WindowGetOpacityMethodInfo
ResolveWindowMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
ResolveWindowMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
ResolveWindowMethod "getParentWindow" o = Gtk.Widget.WidgetGetParentWindowMethodInfo
ResolveWindowMethod "getPath" o = Gtk.Widget.WidgetGetPathMethodInfo
ResolveWindowMethod "getPathForChild" o = Gtk.Container.ContainerGetPathForChildMethodInfo
ResolveWindowMethod "getPointer" o = Gtk.Widget.WidgetGetPointerMethodInfo
ResolveWindowMethod "getPosition" o = WindowGetPositionMethodInfo
ResolveWindowMethod "getPreferredHeight" o = Gtk.Widget.WidgetGetPreferredHeightMethodInfo
ResolveWindowMethod "getPreferredHeightAndBaselineForWidth" o = Gtk.Widget.WidgetGetPreferredHeightAndBaselineForWidthMethodInfo
ResolveWindowMethod "getPreferredHeightForWidth" o = Gtk.Widget.WidgetGetPreferredHeightForWidthMethodInfo
ResolveWindowMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
ResolveWindowMethod "getPreferredWidth" o = Gtk.Widget.WidgetGetPreferredWidthMethodInfo
ResolveWindowMethod "getPreferredWidthForHeight" o = Gtk.Widget.WidgetGetPreferredWidthForHeightMethodInfo
ResolveWindowMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveWindowMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveWindowMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
ResolveWindowMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
ResolveWindowMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
ResolveWindowMethod "getRequisition" o = Gtk.Widget.WidgetGetRequisitionMethodInfo
ResolveWindowMethod "getResizable" o = WindowGetResizableMethodInfo
ResolveWindowMethod "getResizeGripArea" o = WindowGetResizeGripAreaMethodInfo
ResolveWindowMethod "getResizeMode" o = Gtk.Container.ContainerGetResizeModeMethodInfo
ResolveWindowMethod "getRole" o = WindowGetRoleMethodInfo
ResolveWindowMethod "getRootWindow" o = Gtk.Widget.WidgetGetRootWindowMethodInfo
ResolveWindowMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
ResolveWindowMethod "getScreen" o = WindowGetScreenMethodInfo
ResolveWindowMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
ResolveWindowMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
ResolveWindowMethod "getSize" o = WindowGetSizeMethodInfo
ResolveWindowMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
ResolveWindowMethod "getSkipPagerHint" o = WindowGetSkipPagerHintMethodInfo
ResolveWindowMethod "getSkipTaskbarHint" o = WindowGetSkipTaskbarHintMethodInfo
ResolveWindowMethod "getState" o = Gtk.Widget.WidgetGetStateMethodInfo
ResolveWindowMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
ResolveWindowMethod "getStyle" o = Gtk.Widget.WidgetGetStyleMethodInfo
ResolveWindowMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
ResolveWindowMethod "getSupportMultidevice" o = Gtk.Widget.WidgetGetSupportMultideviceMethodInfo
ResolveWindowMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
ResolveWindowMethod "getTitle" o = WindowGetTitleMethodInfo
ResolveWindowMethod "getTitlebar" o = WindowGetTitlebarMethodInfo
ResolveWindowMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
ResolveWindowMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
ResolveWindowMethod "getTooltipWindow" o = Gtk.Widget.WidgetGetTooltipWindowMethodInfo
ResolveWindowMethod "getToplevel" o = Gtk.Widget.WidgetGetToplevelMethodInfo
ResolveWindowMethod "getTransientFor" o = WindowGetTransientForMethodInfo
ResolveWindowMethod "getTypeHint" o = WindowGetTypeHintMethodInfo
ResolveWindowMethod "getUrgencyHint" o = WindowGetUrgencyHintMethodInfo
ResolveWindowMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
ResolveWindowMethod "getValignWithBaseline" o = Gtk.Widget.WidgetGetValignWithBaselineMethodInfo
ResolveWindowMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
ResolveWindowMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
ResolveWindowMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
ResolveWindowMethod "getVisual" o = Gtk.Widget.WidgetGetVisualMethodInfo
ResolveWindowMethod "getWindow" o = Gtk.Widget.WidgetGetWindowMethodInfo
ResolveWindowMethod "getWindowType" o = WindowGetWindowTypeMethodInfo
ResolveWindowMethod "setAccelPath" o = Gtk.Widget.WidgetSetAccelPathMethodInfo
ResolveWindowMethod "setAcceptFocus" o = WindowSetAcceptFocusMethodInfo
ResolveWindowMethod "setAllocation" o = Gtk.Widget.WidgetSetAllocationMethodInfo
ResolveWindowMethod "setAppPaintable" o = Gtk.Widget.WidgetSetAppPaintableMethodInfo
ResolveWindowMethod "setApplication" o = WindowSetApplicationMethodInfo
ResolveWindowMethod "setAttachedTo" o = WindowSetAttachedToMethodInfo
ResolveWindowMethod "setBorderWidth" o = Gtk.Container.ContainerSetBorderWidthMethodInfo
ResolveWindowMethod "setBuildableProperty" o = Gtk.Buildable.BuildableSetBuildablePropertyMethodInfo
ResolveWindowMethod "setCanDefault" o = Gtk.Widget.WidgetSetCanDefaultMethodInfo
ResolveWindowMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
ResolveWindowMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
ResolveWindowMethod "setClip" o = Gtk.Widget.WidgetSetClipMethodInfo
ResolveWindowMethod "setCompositeName" o = Gtk.Widget.WidgetSetCompositeNameMethodInfo
ResolveWindowMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveWindowMethod "setDecorated" o = WindowSetDecoratedMethodInfo
ResolveWindowMethod "setDefault" o = WindowSetDefaultMethodInfo
ResolveWindowMethod "setDefaultGeometry" o = WindowSetDefaultGeometryMethodInfo
ResolveWindowMethod "setDefaultSize" o = WindowSetDefaultSizeMethodInfo
ResolveWindowMethod "setDeletable" o = WindowSetDeletableMethodInfo
ResolveWindowMethod "setDestroyWithParent" o = WindowSetDestroyWithParentMethodInfo
ResolveWindowMethod "setDeviceEnabled" o = Gtk.Widget.WidgetSetDeviceEnabledMethodInfo
ResolveWindowMethod "setDeviceEvents" o = Gtk.Widget.WidgetSetDeviceEventsMethodInfo
ResolveWindowMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
ResolveWindowMethod "setDoubleBuffered" o = Gtk.Widget.WidgetSetDoubleBufferedMethodInfo
ResolveWindowMethod "setEvents" o = Gtk.Widget.WidgetSetEventsMethodInfo
ResolveWindowMethod "setFocus" o = WindowSetFocusMethodInfo
ResolveWindowMethod "setFocusChain" o = Gtk.Container.ContainerSetFocusChainMethodInfo
ResolveWindowMethod "setFocusChild" o = Gtk.Container.ContainerSetFocusChildMethodInfo
ResolveWindowMethod "setFocusHadjustment" o = Gtk.Container.ContainerSetFocusHadjustmentMethodInfo
ResolveWindowMethod "setFocusOnClick" o = Gtk.Widget.WidgetSetFocusOnClickMethodInfo
ResolveWindowMethod "setFocusOnMap" o = WindowSetFocusOnMapMethodInfo
ResolveWindowMethod "setFocusVadjustment" o = Gtk.Container.ContainerSetFocusVadjustmentMethodInfo
ResolveWindowMethod "setFocusVisible" o = WindowSetFocusVisibleMethodInfo
ResolveWindowMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
ResolveWindowMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
ResolveWindowMethod "setGeometryHints" o = WindowSetGeometryHintsMethodInfo
ResolveWindowMethod "setGravity" o = WindowSetGravityMethodInfo
ResolveWindowMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
ResolveWindowMethod "setHasResizeGrip" o = WindowSetHasResizeGripMethodInfo
ResolveWindowMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
ResolveWindowMethod "setHasUserRefCount" o = WindowSetHasUserRefCountMethodInfo
ResolveWindowMethod "setHasWindow" o = Gtk.Widget.WidgetSetHasWindowMethodInfo
ResolveWindowMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
ResolveWindowMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
ResolveWindowMethod "setHideTitlebarWhenMaximized" o = WindowSetHideTitlebarWhenMaximizedMethodInfo
ResolveWindowMethod "setIcon" o = WindowSetIconMethodInfo
ResolveWindowMethod "setIconFromFile" o = WindowSetIconFromFileMethodInfo
ResolveWindowMethod "setIconList" o = WindowSetIconListMethodInfo
ResolveWindowMethod "setIconName" o = WindowSetIconNameMethodInfo
ResolveWindowMethod "setKeepAbove" o = WindowSetKeepAboveMethodInfo
ResolveWindowMethod "setKeepBelow" o = WindowSetKeepBelowMethodInfo
ResolveWindowMethod "setMapped" o = Gtk.Widget.WidgetSetMappedMethodInfo
ResolveWindowMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
ResolveWindowMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
ResolveWindowMethod "setMarginLeft" o = Gtk.Widget.WidgetSetMarginLeftMethodInfo
ResolveWindowMethod "setMarginRight" o = Gtk.Widget.WidgetSetMarginRightMethodInfo
ResolveWindowMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
ResolveWindowMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
ResolveWindowMethod "setMnemonicModifier" o = WindowSetMnemonicModifierMethodInfo
ResolveWindowMethod "setMnemonicsVisible" o = WindowSetMnemonicsVisibleMethodInfo
ResolveWindowMethod "setModal" o = WindowSetModalMethodInfo
ResolveWindowMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
ResolveWindowMethod "setNoShowAll" o = Gtk.Widget.WidgetSetNoShowAllMethodInfo
ResolveWindowMethod "setOpacity" o = WindowSetOpacityMethodInfo
ResolveWindowMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
ResolveWindowMethod "setParentWindow" o = Gtk.Widget.WidgetSetParentWindowMethodInfo
ResolveWindowMethod "setPosition" o = WindowSetPositionMethodInfo
ResolveWindowMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveWindowMethod "setRealized" o = Gtk.Widget.WidgetSetRealizedMethodInfo
ResolveWindowMethod "setReallocateRedraws" o = Gtk.Container.ContainerSetReallocateRedrawsMethodInfo
ResolveWindowMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
ResolveWindowMethod "setRedrawOnAllocate" o = Gtk.Widget.WidgetSetRedrawOnAllocateMethodInfo
ResolveWindowMethod "setResizable" o = WindowSetResizableMethodInfo
ResolveWindowMethod "setResizeMode" o = Gtk.Container.ContainerSetResizeModeMethodInfo
ResolveWindowMethod "setRole" o = WindowSetRoleMethodInfo
ResolveWindowMethod "setScreen" o = WindowSetScreenMethodInfo
ResolveWindowMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
ResolveWindowMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
ResolveWindowMethod "setSkipPagerHint" o = WindowSetSkipPagerHintMethodInfo
ResolveWindowMethod "setSkipTaskbarHint" o = WindowSetSkipTaskbarHintMethodInfo
ResolveWindowMethod "setStartupId" o = WindowSetStartupIdMethodInfo
ResolveWindowMethod "setState" o = Gtk.Widget.WidgetSetStateMethodInfo
ResolveWindowMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
ResolveWindowMethod "setStyle" o = Gtk.Widget.WidgetSetStyleMethodInfo
ResolveWindowMethod "setSupportMultidevice" o = Gtk.Widget.WidgetSetSupportMultideviceMethodInfo
ResolveWindowMethod "setTitle" o = WindowSetTitleMethodInfo
ResolveWindowMethod "setTitlebar" o = WindowSetTitlebarMethodInfo
ResolveWindowMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
ResolveWindowMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
ResolveWindowMethod "setTooltipWindow" o = Gtk.Widget.WidgetSetTooltipWindowMethodInfo
ResolveWindowMethod "setTransientFor" o = WindowSetTransientForMethodInfo
ResolveWindowMethod "setTypeHint" o = WindowSetTypeHintMethodInfo
ResolveWindowMethod "setUrgencyHint" o = WindowSetUrgencyHintMethodInfo
ResolveWindowMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
ResolveWindowMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
ResolveWindowMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
ResolveWindowMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
ResolveWindowMethod "setVisual" o = Gtk.Widget.WidgetSetVisualMethodInfo
ResolveWindowMethod "setWindow" o = Gtk.Widget.WidgetSetWindowMethodInfo
ResolveWindowMethod "setWmclass" o = WindowSetWmclassMethodInfo
ResolveWindowMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveWindowMethod t Window, O.MethodInfo info Window p) => O.IsLabelProxy t (Window -> p) where
fromLabelProxy _ = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#if MIN_VERSION_base(4,9,0)
instance (info ~ ResolveWindowMethod t Window, O.MethodInfo info Window p) => O.IsLabel t (Window -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#else
fromLabel _ = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#endif
#endif
#endif
type WindowActivateDefaultCallback =
IO ()
noWindowActivateDefaultCallback :: Maybe WindowActivateDefaultCallback
noWindowActivateDefaultCallback = Nothing
type C_WindowActivateDefaultCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_WindowActivateDefaultCallback :: C_WindowActivateDefaultCallback -> IO (FunPtr C_WindowActivateDefaultCallback)
genClosure_WindowActivateDefault :: WindowActivateDefaultCallback -> IO Closure
genClosure_WindowActivateDefault cb = do
let cb' = wrap_WindowActivateDefaultCallback cb
mk_WindowActivateDefaultCallback cb' >>= newCClosure
wrap_WindowActivateDefaultCallback ::
WindowActivateDefaultCallback ->
C_WindowActivateDefaultCallback
wrap_WindowActivateDefaultCallback _cb _ _ = do
_cb
onWindowActivateDefault :: (IsWindow a, MonadIO m) => a -> WindowActivateDefaultCallback -> m SignalHandlerId
onWindowActivateDefault obj cb = liftIO $ do
let cb' = wrap_WindowActivateDefaultCallback cb
cb'' <- mk_WindowActivateDefaultCallback cb'
connectSignalFunPtr obj "activate-default" cb'' SignalConnectBefore
afterWindowActivateDefault :: (IsWindow a, MonadIO m) => a -> WindowActivateDefaultCallback -> m SignalHandlerId
afterWindowActivateDefault obj cb = liftIO $ do
let cb' = wrap_WindowActivateDefaultCallback cb
cb'' <- mk_WindowActivateDefaultCallback cb'
connectSignalFunPtr obj "activate-default" cb'' SignalConnectAfter
type WindowActivateFocusCallback =
IO ()
noWindowActivateFocusCallback :: Maybe WindowActivateFocusCallback
noWindowActivateFocusCallback = Nothing
type C_WindowActivateFocusCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_WindowActivateFocusCallback :: C_WindowActivateFocusCallback -> IO (FunPtr C_WindowActivateFocusCallback)
genClosure_WindowActivateFocus :: WindowActivateFocusCallback -> IO Closure
genClosure_WindowActivateFocus cb = do
let cb' = wrap_WindowActivateFocusCallback cb
mk_WindowActivateFocusCallback cb' >>= newCClosure
wrap_WindowActivateFocusCallback ::
WindowActivateFocusCallback ->
C_WindowActivateFocusCallback
wrap_WindowActivateFocusCallback _cb _ _ = do
_cb
onWindowActivateFocus :: (IsWindow a, MonadIO m) => a -> WindowActivateFocusCallback -> m SignalHandlerId
onWindowActivateFocus obj cb = liftIO $ do
let cb' = wrap_WindowActivateFocusCallback cb
cb'' <- mk_WindowActivateFocusCallback cb'
connectSignalFunPtr obj "activate-focus" cb'' SignalConnectBefore
afterWindowActivateFocus :: (IsWindow a, MonadIO m) => a -> WindowActivateFocusCallback -> m SignalHandlerId
afterWindowActivateFocus obj cb = liftIO $ do
let cb' = wrap_WindowActivateFocusCallback cb
cb'' <- mk_WindowActivateFocusCallback cb'
connectSignalFunPtr obj "activate-focus" cb'' SignalConnectAfter
type WindowEnableDebuggingCallback =
Bool
-> IO Bool
noWindowEnableDebuggingCallback :: Maybe WindowEnableDebuggingCallback
noWindowEnableDebuggingCallback = Nothing
type C_WindowEnableDebuggingCallback =
Ptr () ->
CInt ->
Ptr () ->
IO CInt
foreign import ccall "wrapper"
mk_WindowEnableDebuggingCallback :: C_WindowEnableDebuggingCallback -> IO (FunPtr C_WindowEnableDebuggingCallback)
genClosure_WindowEnableDebugging :: WindowEnableDebuggingCallback -> IO Closure
genClosure_WindowEnableDebugging cb = do
let cb' = wrap_WindowEnableDebuggingCallback cb
mk_WindowEnableDebuggingCallback cb' >>= newCClosure
wrap_WindowEnableDebuggingCallback ::
WindowEnableDebuggingCallback ->
C_WindowEnableDebuggingCallback
wrap_WindowEnableDebuggingCallback _cb _ toggle _ = do
let toggle' = (/= 0) toggle
result <- _cb toggle'
let result' = (fromIntegral . fromEnum) result
return result'
onWindowEnableDebugging :: (IsWindow a, MonadIO m) => a -> WindowEnableDebuggingCallback -> m SignalHandlerId
onWindowEnableDebugging obj cb = liftIO $ do
let cb' = wrap_WindowEnableDebuggingCallback cb
cb'' <- mk_WindowEnableDebuggingCallback cb'
connectSignalFunPtr obj "enable-debugging" cb'' SignalConnectBefore
afterWindowEnableDebugging :: (IsWindow a, MonadIO m) => a -> WindowEnableDebuggingCallback -> m SignalHandlerId
afterWindowEnableDebugging obj cb = liftIO $ do
let cb' = wrap_WindowEnableDebuggingCallback cb
cb'' <- mk_WindowEnableDebuggingCallback cb'
connectSignalFunPtr obj "enable-debugging" cb'' SignalConnectAfter
type WindowKeysChangedCallback =
IO ()
noWindowKeysChangedCallback :: Maybe WindowKeysChangedCallback
noWindowKeysChangedCallback = Nothing
type C_WindowKeysChangedCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_WindowKeysChangedCallback :: C_WindowKeysChangedCallback -> IO (FunPtr C_WindowKeysChangedCallback)
genClosure_WindowKeysChanged :: WindowKeysChangedCallback -> IO Closure
genClosure_WindowKeysChanged cb = do
let cb' = wrap_WindowKeysChangedCallback cb
mk_WindowKeysChangedCallback cb' >>= newCClosure
wrap_WindowKeysChangedCallback ::
WindowKeysChangedCallback ->
C_WindowKeysChangedCallback
wrap_WindowKeysChangedCallback _cb _ _ = do
_cb
onWindowKeysChanged :: (IsWindow a, MonadIO m) => a -> WindowKeysChangedCallback -> m SignalHandlerId
onWindowKeysChanged obj cb = liftIO $ do
let cb' = wrap_WindowKeysChangedCallback cb
cb'' <- mk_WindowKeysChangedCallback cb'
connectSignalFunPtr obj "keys-changed" cb'' SignalConnectBefore
afterWindowKeysChanged :: (IsWindow a, MonadIO m) => a -> WindowKeysChangedCallback -> m SignalHandlerId
afterWindowKeysChanged obj cb = liftIO $ do
let cb' = wrap_WindowKeysChangedCallback cb
cb'' <- mk_WindowKeysChangedCallback cb'
connectSignalFunPtr obj "keys-changed" cb'' SignalConnectAfter
type WindowSetFocusCallback =
Gtk.Widget.Widget
-> IO ()
noWindowSetFocusCallback :: Maybe WindowSetFocusCallback
noWindowSetFocusCallback = Nothing
type C_WindowSetFocusCallback =
Ptr () ->
Ptr Gtk.Widget.Widget ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_WindowSetFocusCallback :: C_WindowSetFocusCallback -> IO (FunPtr C_WindowSetFocusCallback)
genClosure_WindowSetFocus :: WindowSetFocusCallback -> IO Closure
genClosure_WindowSetFocus cb = do
let cb' = wrap_WindowSetFocusCallback cb
mk_WindowSetFocusCallback cb' >>= newCClosure
wrap_WindowSetFocusCallback ::
WindowSetFocusCallback ->
C_WindowSetFocusCallback
wrap_WindowSetFocusCallback _cb _ object _ = do
object' <- (newObject Gtk.Widget.Widget) object
_cb object'
onWindowSetFocus :: (IsWindow a, MonadIO m) => a -> WindowSetFocusCallback -> m SignalHandlerId
onWindowSetFocus obj cb = liftIO $ do
let cb' = wrap_WindowSetFocusCallback cb
cb'' <- mk_WindowSetFocusCallback cb'
connectSignalFunPtr obj "set-focus" cb'' SignalConnectBefore
afterWindowSetFocus :: (IsWindow a, MonadIO m) => a -> WindowSetFocusCallback -> m SignalHandlerId
afterWindowSetFocus obj cb = liftIO $ do
let cb' = wrap_WindowSetFocusCallback cb
cb'' <- mk_WindowSetFocusCallback cb'
connectSignalFunPtr obj "set-focus" cb'' SignalConnectAfter
getWindowAcceptFocus :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowAcceptFocus obj = liftIO $ getObjectPropertyBool obj "accept-focus"
setWindowAcceptFocus :: (MonadIO m, IsWindow o) => o -> Bool -> m ()
setWindowAcceptFocus obj val = liftIO $ setObjectPropertyBool obj "accept-focus" val
constructWindowAcceptFocus :: (IsWindow o) => Bool -> IO (GValueConstruct o)
constructWindowAcceptFocus val = constructObjectPropertyBool "accept-focus" val
#if ENABLE_OVERLOADING
data WindowAcceptFocusPropertyInfo
instance AttrInfo WindowAcceptFocusPropertyInfo where
type AttrAllowedOps WindowAcceptFocusPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowAcceptFocusPropertyInfo = (~) Bool
type AttrBaseTypeConstraint WindowAcceptFocusPropertyInfo = IsWindow
type AttrGetType WindowAcceptFocusPropertyInfo = Bool
type AttrLabel WindowAcceptFocusPropertyInfo = "accept-focus"
type AttrOrigin WindowAcceptFocusPropertyInfo = Window
attrGet _ = getWindowAcceptFocus
attrSet _ = setWindowAcceptFocus
attrConstruct _ = constructWindowAcceptFocus
attrClear _ = undefined
#endif
getWindowApplication :: (MonadIO m, IsWindow o) => o -> m (Maybe Gtk.Application.Application)
getWindowApplication obj = liftIO $ getObjectPropertyObject obj "application" Gtk.Application.Application
setWindowApplication :: (MonadIO m, IsWindow o, Gtk.Application.IsApplication a) => o -> a -> m ()
setWindowApplication obj val = liftIO $ setObjectPropertyObject obj "application" (Just val)
constructWindowApplication :: (IsWindow o, Gtk.Application.IsApplication a) => a -> IO (GValueConstruct o)
constructWindowApplication val = constructObjectPropertyObject "application" (Just val)
clearWindowApplication :: (MonadIO m, IsWindow o) => o -> m ()
clearWindowApplication obj = liftIO $ setObjectPropertyObject obj "application" (Nothing :: Maybe Gtk.Application.Application)
#if ENABLE_OVERLOADING
data WindowApplicationPropertyInfo
instance AttrInfo WindowApplicationPropertyInfo where
type AttrAllowedOps WindowApplicationPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint WindowApplicationPropertyInfo = Gtk.Application.IsApplication
type AttrBaseTypeConstraint WindowApplicationPropertyInfo = IsWindow
type AttrGetType WindowApplicationPropertyInfo = (Maybe Gtk.Application.Application)
type AttrLabel WindowApplicationPropertyInfo = "application"
type AttrOrigin WindowApplicationPropertyInfo = Window
attrGet _ = getWindowApplication
attrSet _ = setWindowApplication
attrConstruct _ = constructWindowApplication
attrClear _ = clearWindowApplication
#endif
getWindowAttachedTo :: (MonadIO m, IsWindow o) => o -> m (Maybe Gtk.Widget.Widget)
getWindowAttachedTo obj = liftIO $ getObjectPropertyObject obj "attached-to" Gtk.Widget.Widget
setWindowAttachedTo :: (MonadIO m, IsWindow o, Gtk.Widget.IsWidget a) => o -> a -> m ()
setWindowAttachedTo obj val = liftIO $ setObjectPropertyObject obj "attached-to" (Just val)
constructWindowAttachedTo :: (IsWindow o, Gtk.Widget.IsWidget a) => a -> IO (GValueConstruct o)
constructWindowAttachedTo val = constructObjectPropertyObject "attached-to" (Just val)
clearWindowAttachedTo :: (MonadIO m, IsWindow o) => o -> m ()
clearWindowAttachedTo obj = liftIO $ setObjectPropertyObject obj "attached-to" (Nothing :: Maybe Gtk.Widget.Widget)
#if ENABLE_OVERLOADING
data WindowAttachedToPropertyInfo
instance AttrInfo WindowAttachedToPropertyInfo where
type AttrAllowedOps WindowAttachedToPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint WindowAttachedToPropertyInfo = Gtk.Widget.IsWidget
type AttrBaseTypeConstraint WindowAttachedToPropertyInfo = IsWindow
type AttrGetType WindowAttachedToPropertyInfo = (Maybe Gtk.Widget.Widget)
type AttrLabel WindowAttachedToPropertyInfo = "attached-to"
type AttrOrigin WindowAttachedToPropertyInfo = Window
attrGet _ = getWindowAttachedTo
attrSet _ = setWindowAttachedTo
attrConstruct _ = constructWindowAttachedTo
attrClear _ = clearWindowAttachedTo
#endif
getWindowDecorated :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowDecorated obj = liftIO $ getObjectPropertyBool obj "decorated"
setWindowDecorated :: (MonadIO m, IsWindow o) => o -> Bool -> m ()
setWindowDecorated obj val = liftIO $ setObjectPropertyBool obj "decorated" val
constructWindowDecorated :: (IsWindow o) => Bool -> IO (GValueConstruct o)
constructWindowDecorated val = constructObjectPropertyBool "decorated" val
#if ENABLE_OVERLOADING
data WindowDecoratedPropertyInfo
instance AttrInfo WindowDecoratedPropertyInfo where
type AttrAllowedOps WindowDecoratedPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowDecoratedPropertyInfo = (~) Bool
type AttrBaseTypeConstraint WindowDecoratedPropertyInfo = IsWindow
type AttrGetType WindowDecoratedPropertyInfo = Bool
type AttrLabel WindowDecoratedPropertyInfo = "decorated"
type AttrOrigin WindowDecoratedPropertyInfo = Window
attrGet _ = getWindowDecorated
attrSet _ = setWindowDecorated
attrConstruct _ = constructWindowDecorated
attrClear _ = undefined
#endif
getWindowDefaultHeight :: (MonadIO m, IsWindow o) => o -> m Int32
getWindowDefaultHeight obj = liftIO $ getObjectPropertyInt32 obj "default-height"
setWindowDefaultHeight :: (MonadIO m, IsWindow o) => o -> Int32 -> m ()
setWindowDefaultHeight obj val = liftIO $ setObjectPropertyInt32 obj "default-height" val
constructWindowDefaultHeight :: (IsWindow o) => Int32 -> IO (GValueConstruct o)
constructWindowDefaultHeight val = constructObjectPropertyInt32 "default-height" val
#if ENABLE_OVERLOADING
data WindowDefaultHeightPropertyInfo
instance AttrInfo WindowDefaultHeightPropertyInfo where
type AttrAllowedOps WindowDefaultHeightPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowDefaultHeightPropertyInfo = (~) Int32
type AttrBaseTypeConstraint WindowDefaultHeightPropertyInfo = IsWindow
type AttrGetType WindowDefaultHeightPropertyInfo = Int32
type AttrLabel WindowDefaultHeightPropertyInfo = "default-height"
type AttrOrigin WindowDefaultHeightPropertyInfo = Window
attrGet _ = getWindowDefaultHeight
attrSet _ = setWindowDefaultHeight
attrConstruct _ = constructWindowDefaultHeight
attrClear _ = undefined
#endif
getWindowDefaultWidth :: (MonadIO m, IsWindow o) => o -> m Int32
getWindowDefaultWidth obj = liftIO $ getObjectPropertyInt32 obj "default-width"
setWindowDefaultWidth :: (MonadIO m, IsWindow o) => o -> Int32 -> m ()
setWindowDefaultWidth obj val = liftIO $ setObjectPropertyInt32 obj "default-width" val
constructWindowDefaultWidth :: (IsWindow o) => Int32 -> IO (GValueConstruct o)
constructWindowDefaultWidth val = constructObjectPropertyInt32 "default-width" val
#if ENABLE_OVERLOADING
data WindowDefaultWidthPropertyInfo
instance AttrInfo WindowDefaultWidthPropertyInfo where
type AttrAllowedOps WindowDefaultWidthPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowDefaultWidthPropertyInfo = (~) Int32
type AttrBaseTypeConstraint WindowDefaultWidthPropertyInfo = IsWindow
type AttrGetType WindowDefaultWidthPropertyInfo = Int32
type AttrLabel WindowDefaultWidthPropertyInfo = "default-width"
type AttrOrigin WindowDefaultWidthPropertyInfo = Window
attrGet _ = getWindowDefaultWidth
attrSet _ = setWindowDefaultWidth
attrConstruct _ = constructWindowDefaultWidth
attrClear _ = undefined
#endif
getWindowDeletable :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowDeletable obj = liftIO $ getObjectPropertyBool obj "deletable"
setWindowDeletable :: (MonadIO m, IsWindow o) => o -> Bool -> m ()
setWindowDeletable obj val = liftIO $ setObjectPropertyBool obj "deletable" val
constructWindowDeletable :: (IsWindow o) => Bool -> IO (GValueConstruct o)
constructWindowDeletable val = constructObjectPropertyBool "deletable" val
#if ENABLE_OVERLOADING
data WindowDeletablePropertyInfo
instance AttrInfo WindowDeletablePropertyInfo where
type AttrAllowedOps WindowDeletablePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowDeletablePropertyInfo = (~) Bool
type AttrBaseTypeConstraint WindowDeletablePropertyInfo = IsWindow
type AttrGetType WindowDeletablePropertyInfo = Bool
type AttrLabel WindowDeletablePropertyInfo = "deletable"
type AttrOrigin WindowDeletablePropertyInfo = Window
attrGet _ = getWindowDeletable
attrSet _ = setWindowDeletable
attrConstruct _ = constructWindowDeletable
attrClear _ = undefined
#endif
getWindowDestroyWithParent :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowDestroyWithParent obj = liftIO $ getObjectPropertyBool obj "destroy-with-parent"
setWindowDestroyWithParent :: (MonadIO m, IsWindow o) => o -> Bool -> m ()
setWindowDestroyWithParent obj val = liftIO $ setObjectPropertyBool obj "destroy-with-parent" val
constructWindowDestroyWithParent :: (IsWindow o) => Bool -> IO (GValueConstruct o)
constructWindowDestroyWithParent val = constructObjectPropertyBool "destroy-with-parent" val
#if ENABLE_OVERLOADING
data WindowDestroyWithParentPropertyInfo
instance AttrInfo WindowDestroyWithParentPropertyInfo where
type AttrAllowedOps WindowDestroyWithParentPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowDestroyWithParentPropertyInfo = (~) Bool
type AttrBaseTypeConstraint WindowDestroyWithParentPropertyInfo = IsWindow
type AttrGetType WindowDestroyWithParentPropertyInfo = Bool
type AttrLabel WindowDestroyWithParentPropertyInfo = "destroy-with-parent"
type AttrOrigin WindowDestroyWithParentPropertyInfo = Window
attrGet _ = getWindowDestroyWithParent
attrSet _ = setWindowDestroyWithParent
attrConstruct _ = constructWindowDestroyWithParent
attrClear _ = undefined
#endif
getWindowFocusOnMap :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowFocusOnMap obj = liftIO $ getObjectPropertyBool obj "focus-on-map"
setWindowFocusOnMap :: (MonadIO m, IsWindow o) => o -> Bool -> m ()
setWindowFocusOnMap obj val = liftIO $ setObjectPropertyBool obj "focus-on-map" val
constructWindowFocusOnMap :: (IsWindow o) => Bool -> IO (GValueConstruct o)
constructWindowFocusOnMap val = constructObjectPropertyBool "focus-on-map" val
#if ENABLE_OVERLOADING
data WindowFocusOnMapPropertyInfo
instance AttrInfo WindowFocusOnMapPropertyInfo where
type AttrAllowedOps WindowFocusOnMapPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowFocusOnMapPropertyInfo = (~) Bool
type AttrBaseTypeConstraint WindowFocusOnMapPropertyInfo = IsWindow
type AttrGetType WindowFocusOnMapPropertyInfo = Bool
type AttrLabel WindowFocusOnMapPropertyInfo = "focus-on-map"
type AttrOrigin WindowFocusOnMapPropertyInfo = Window
attrGet _ = getWindowFocusOnMap
attrSet _ = setWindowFocusOnMap
attrConstruct _ = constructWindowFocusOnMap
attrClear _ = undefined
#endif
getWindowFocusVisible :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowFocusVisible obj = liftIO $ getObjectPropertyBool obj "focus-visible"
setWindowFocusVisible :: (MonadIO m, IsWindow o) => o -> Bool -> m ()
setWindowFocusVisible obj val = liftIO $ setObjectPropertyBool obj "focus-visible" val
constructWindowFocusVisible :: (IsWindow o) => Bool -> IO (GValueConstruct o)
constructWindowFocusVisible val = constructObjectPropertyBool "focus-visible" val
#if ENABLE_OVERLOADING
data WindowFocusVisiblePropertyInfo
instance AttrInfo WindowFocusVisiblePropertyInfo where
type AttrAllowedOps WindowFocusVisiblePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowFocusVisiblePropertyInfo = (~) Bool
type AttrBaseTypeConstraint WindowFocusVisiblePropertyInfo = IsWindow
type AttrGetType WindowFocusVisiblePropertyInfo = Bool
type AttrLabel WindowFocusVisiblePropertyInfo = "focus-visible"
type AttrOrigin WindowFocusVisiblePropertyInfo = Window
attrGet _ = getWindowFocusVisible
attrSet _ = setWindowFocusVisible
attrConstruct _ = constructWindowFocusVisible
attrClear _ = undefined
#endif
getWindowGravity :: (MonadIO m, IsWindow o) => o -> m Gdk.Enums.Gravity
getWindowGravity obj = liftIO $ getObjectPropertyEnum obj "gravity"
setWindowGravity :: (MonadIO m, IsWindow o) => o -> Gdk.Enums.Gravity -> m ()
setWindowGravity obj val = liftIO $ setObjectPropertyEnum obj "gravity" val
constructWindowGravity :: (IsWindow o) => Gdk.Enums.Gravity -> IO (GValueConstruct o)
constructWindowGravity val = constructObjectPropertyEnum "gravity" val
#if ENABLE_OVERLOADING
data WindowGravityPropertyInfo
instance AttrInfo WindowGravityPropertyInfo where
type AttrAllowedOps WindowGravityPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowGravityPropertyInfo = (~) Gdk.Enums.Gravity
type AttrBaseTypeConstraint WindowGravityPropertyInfo = IsWindow
type AttrGetType WindowGravityPropertyInfo = Gdk.Enums.Gravity
type AttrLabel WindowGravityPropertyInfo = "gravity"
type AttrOrigin WindowGravityPropertyInfo = Window
attrGet _ = getWindowGravity
attrSet _ = setWindowGravity
attrConstruct _ = constructWindowGravity
attrClear _ = undefined
#endif
getWindowHasResizeGrip :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowHasResizeGrip obj = liftIO $ getObjectPropertyBool obj "has-resize-grip"
setWindowHasResizeGrip :: (MonadIO m, IsWindow o) => o -> Bool -> m ()
setWindowHasResizeGrip obj val = liftIO $ setObjectPropertyBool obj "has-resize-grip" val
constructWindowHasResizeGrip :: (IsWindow o) => Bool -> IO (GValueConstruct o)
constructWindowHasResizeGrip val = constructObjectPropertyBool "has-resize-grip" val
#if ENABLE_OVERLOADING
data WindowHasResizeGripPropertyInfo
instance AttrInfo WindowHasResizeGripPropertyInfo where
type AttrAllowedOps WindowHasResizeGripPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowHasResizeGripPropertyInfo = (~) Bool
type AttrBaseTypeConstraint WindowHasResizeGripPropertyInfo = IsWindow
type AttrGetType WindowHasResizeGripPropertyInfo = Bool
type AttrLabel WindowHasResizeGripPropertyInfo = "has-resize-grip"
type AttrOrigin WindowHasResizeGripPropertyInfo = Window
attrGet _ = getWindowHasResizeGrip
attrSet _ = setWindowHasResizeGrip
attrConstruct _ = constructWindowHasResizeGrip
attrClear _ = undefined
#endif
getWindowHasToplevelFocus :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowHasToplevelFocus obj = liftIO $ getObjectPropertyBool obj "has-toplevel-focus"
#if ENABLE_OVERLOADING
data WindowHasToplevelFocusPropertyInfo
instance AttrInfo WindowHasToplevelFocusPropertyInfo where
type AttrAllowedOps WindowHasToplevelFocusPropertyInfo = '[ 'AttrGet]
type AttrSetTypeConstraint WindowHasToplevelFocusPropertyInfo = (~) ()
type AttrBaseTypeConstraint WindowHasToplevelFocusPropertyInfo = IsWindow
type AttrGetType WindowHasToplevelFocusPropertyInfo = Bool
type AttrLabel WindowHasToplevelFocusPropertyInfo = "has-toplevel-focus"
type AttrOrigin WindowHasToplevelFocusPropertyInfo = Window
attrGet _ = getWindowHasToplevelFocus
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getWindowHideTitlebarWhenMaximized :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowHideTitlebarWhenMaximized obj = liftIO $ getObjectPropertyBool obj "hide-titlebar-when-maximized"
setWindowHideTitlebarWhenMaximized :: (MonadIO m, IsWindow o) => o -> Bool -> m ()
setWindowHideTitlebarWhenMaximized obj val = liftIO $ setObjectPropertyBool obj "hide-titlebar-when-maximized" val
constructWindowHideTitlebarWhenMaximized :: (IsWindow o) => Bool -> IO (GValueConstruct o)
constructWindowHideTitlebarWhenMaximized val = constructObjectPropertyBool "hide-titlebar-when-maximized" val
#if ENABLE_OVERLOADING
data WindowHideTitlebarWhenMaximizedPropertyInfo
instance AttrInfo WindowHideTitlebarWhenMaximizedPropertyInfo where
type AttrAllowedOps WindowHideTitlebarWhenMaximizedPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowHideTitlebarWhenMaximizedPropertyInfo = (~) Bool
type AttrBaseTypeConstraint WindowHideTitlebarWhenMaximizedPropertyInfo = IsWindow
type AttrGetType WindowHideTitlebarWhenMaximizedPropertyInfo = Bool
type AttrLabel WindowHideTitlebarWhenMaximizedPropertyInfo = "hide-titlebar-when-maximized"
type AttrOrigin WindowHideTitlebarWhenMaximizedPropertyInfo = Window
attrGet _ = getWindowHideTitlebarWhenMaximized
attrSet _ = setWindowHideTitlebarWhenMaximized
attrConstruct _ = constructWindowHideTitlebarWhenMaximized
attrClear _ = undefined
#endif
getWindowIcon :: (MonadIO m, IsWindow o) => o -> m (Maybe GdkPixbuf.Pixbuf.Pixbuf)
getWindowIcon obj = liftIO $ getObjectPropertyObject obj "icon" GdkPixbuf.Pixbuf.Pixbuf
setWindowIcon :: (MonadIO m, IsWindow o, GdkPixbuf.Pixbuf.IsPixbuf a) => o -> a -> m ()
setWindowIcon obj val = liftIO $ setObjectPropertyObject obj "icon" (Just val)
constructWindowIcon :: (IsWindow o, GdkPixbuf.Pixbuf.IsPixbuf a) => a -> IO (GValueConstruct o)
constructWindowIcon val = constructObjectPropertyObject "icon" (Just val)
clearWindowIcon :: (MonadIO m, IsWindow o) => o -> m ()
clearWindowIcon obj = liftIO $ setObjectPropertyObject obj "icon" (Nothing :: Maybe GdkPixbuf.Pixbuf.Pixbuf)
#if ENABLE_OVERLOADING
data WindowIconPropertyInfo
instance AttrInfo WindowIconPropertyInfo where
type AttrAllowedOps WindowIconPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint WindowIconPropertyInfo = GdkPixbuf.Pixbuf.IsPixbuf
type AttrBaseTypeConstraint WindowIconPropertyInfo = IsWindow
type AttrGetType WindowIconPropertyInfo = (Maybe GdkPixbuf.Pixbuf.Pixbuf)
type AttrLabel WindowIconPropertyInfo = "icon"
type AttrOrigin WindowIconPropertyInfo = Window
attrGet _ = getWindowIcon
attrSet _ = setWindowIcon
attrConstruct _ = constructWindowIcon
attrClear _ = clearWindowIcon
#endif
getWindowIconName :: (MonadIO m, IsWindow o) => o -> m (Maybe T.Text)
getWindowIconName obj = liftIO $ getObjectPropertyString obj "icon-name"
setWindowIconName :: (MonadIO m, IsWindow o) => o -> T.Text -> m ()
setWindowIconName obj val = liftIO $ setObjectPropertyString obj "icon-name" (Just val)
constructWindowIconName :: (IsWindow o) => T.Text -> IO (GValueConstruct o)
constructWindowIconName val = constructObjectPropertyString "icon-name" (Just val)
clearWindowIconName :: (MonadIO m, IsWindow o) => o -> m ()
clearWindowIconName obj = liftIO $ setObjectPropertyString obj "icon-name" (Nothing :: Maybe T.Text)
#if ENABLE_OVERLOADING
data WindowIconNamePropertyInfo
instance AttrInfo WindowIconNamePropertyInfo where
type AttrAllowedOps WindowIconNamePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint WindowIconNamePropertyInfo = (~) T.Text
type AttrBaseTypeConstraint WindowIconNamePropertyInfo = IsWindow
type AttrGetType WindowIconNamePropertyInfo = (Maybe T.Text)
type AttrLabel WindowIconNamePropertyInfo = "icon-name"
type AttrOrigin WindowIconNamePropertyInfo = Window
attrGet _ = getWindowIconName
attrSet _ = setWindowIconName
attrConstruct _ = constructWindowIconName
attrClear _ = clearWindowIconName
#endif
getWindowIsActive :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowIsActive obj = liftIO $ getObjectPropertyBool obj "is-active"
#if ENABLE_OVERLOADING
data WindowIsActivePropertyInfo
instance AttrInfo WindowIsActivePropertyInfo where
type AttrAllowedOps WindowIsActivePropertyInfo = '[ 'AttrGet]
type AttrSetTypeConstraint WindowIsActivePropertyInfo = (~) ()
type AttrBaseTypeConstraint WindowIsActivePropertyInfo = IsWindow
type AttrGetType WindowIsActivePropertyInfo = Bool
type AttrLabel WindowIsActivePropertyInfo = "is-active"
type AttrOrigin WindowIsActivePropertyInfo = Window
attrGet _ = getWindowIsActive
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getWindowIsMaximized :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowIsMaximized obj = liftIO $ getObjectPropertyBool obj "is-maximized"
#if ENABLE_OVERLOADING
data WindowIsMaximizedPropertyInfo
instance AttrInfo WindowIsMaximizedPropertyInfo where
type AttrAllowedOps WindowIsMaximizedPropertyInfo = '[ 'AttrGet]
type AttrSetTypeConstraint WindowIsMaximizedPropertyInfo = (~) ()
type AttrBaseTypeConstraint WindowIsMaximizedPropertyInfo = IsWindow
type AttrGetType WindowIsMaximizedPropertyInfo = Bool
type AttrLabel WindowIsMaximizedPropertyInfo = "is-maximized"
type AttrOrigin WindowIsMaximizedPropertyInfo = Window
attrGet _ = getWindowIsMaximized
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getWindowMnemonicsVisible :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowMnemonicsVisible obj = liftIO $ getObjectPropertyBool obj "mnemonics-visible"
setWindowMnemonicsVisible :: (MonadIO m, IsWindow o) => o -> Bool -> m ()
setWindowMnemonicsVisible obj val = liftIO $ setObjectPropertyBool obj "mnemonics-visible" val
constructWindowMnemonicsVisible :: (IsWindow o) => Bool -> IO (GValueConstruct o)
constructWindowMnemonicsVisible val = constructObjectPropertyBool "mnemonics-visible" val
#if ENABLE_OVERLOADING
data WindowMnemonicsVisiblePropertyInfo
instance AttrInfo WindowMnemonicsVisiblePropertyInfo where
type AttrAllowedOps WindowMnemonicsVisiblePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowMnemonicsVisiblePropertyInfo = (~) Bool
type AttrBaseTypeConstraint WindowMnemonicsVisiblePropertyInfo = IsWindow
type AttrGetType WindowMnemonicsVisiblePropertyInfo = Bool
type AttrLabel WindowMnemonicsVisiblePropertyInfo = "mnemonics-visible"
type AttrOrigin WindowMnemonicsVisiblePropertyInfo = Window
attrGet _ = getWindowMnemonicsVisible
attrSet _ = setWindowMnemonicsVisible
attrConstruct _ = constructWindowMnemonicsVisible
attrClear _ = undefined
#endif
getWindowModal :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowModal obj = liftIO $ getObjectPropertyBool obj "modal"
setWindowModal :: (MonadIO m, IsWindow o) => o -> Bool -> m ()
setWindowModal obj val = liftIO $ setObjectPropertyBool obj "modal" val
constructWindowModal :: (IsWindow o) => Bool -> IO (GValueConstruct o)
constructWindowModal val = constructObjectPropertyBool "modal" val
#if ENABLE_OVERLOADING
data WindowModalPropertyInfo
instance AttrInfo WindowModalPropertyInfo where
type AttrAllowedOps WindowModalPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowModalPropertyInfo = (~) Bool
type AttrBaseTypeConstraint WindowModalPropertyInfo = IsWindow
type AttrGetType WindowModalPropertyInfo = Bool
type AttrLabel WindowModalPropertyInfo = "modal"
type AttrOrigin WindowModalPropertyInfo = Window
attrGet _ = getWindowModal
attrSet _ = setWindowModal
attrConstruct _ = constructWindowModal
attrClear _ = undefined
#endif
getWindowResizable :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowResizable obj = liftIO $ getObjectPropertyBool obj "resizable"
setWindowResizable :: (MonadIO m, IsWindow o) => o -> Bool -> m ()
setWindowResizable obj val = liftIO $ setObjectPropertyBool obj "resizable" val
constructWindowResizable :: (IsWindow o) => Bool -> IO (GValueConstruct o)
constructWindowResizable val = constructObjectPropertyBool "resizable" val
#if ENABLE_OVERLOADING
data WindowResizablePropertyInfo
instance AttrInfo WindowResizablePropertyInfo where
type AttrAllowedOps WindowResizablePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowResizablePropertyInfo = (~) Bool
type AttrBaseTypeConstraint WindowResizablePropertyInfo = IsWindow
type AttrGetType WindowResizablePropertyInfo = Bool
type AttrLabel WindowResizablePropertyInfo = "resizable"
type AttrOrigin WindowResizablePropertyInfo = Window
attrGet _ = getWindowResizable
attrSet _ = setWindowResizable
attrConstruct _ = constructWindowResizable
attrClear _ = undefined
#endif
getWindowResizeGripVisible :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowResizeGripVisible obj = liftIO $ getObjectPropertyBool obj "resize-grip-visible"
#if ENABLE_OVERLOADING
data WindowResizeGripVisiblePropertyInfo
instance AttrInfo WindowResizeGripVisiblePropertyInfo where
type AttrAllowedOps WindowResizeGripVisiblePropertyInfo = '[ 'AttrGet]
type AttrSetTypeConstraint WindowResizeGripVisiblePropertyInfo = (~) ()
type AttrBaseTypeConstraint WindowResizeGripVisiblePropertyInfo = IsWindow
type AttrGetType WindowResizeGripVisiblePropertyInfo = Bool
type AttrLabel WindowResizeGripVisiblePropertyInfo = "resize-grip-visible"
type AttrOrigin WindowResizeGripVisiblePropertyInfo = Window
attrGet _ = getWindowResizeGripVisible
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getWindowRole :: (MonadIO m, IsWindow o) => o -> m (Maybe T.Text)
getWindowRole obj = liftIO $ getObjectPropertyString obj "role"
setWindowRole :: (MonadIO m, IsWindow o) => o -> T.Text -> m ()
setWindowRole obj val = liftIO $ setObjectPropertyString obj "role" (Just val)
constructWindowRole :: (IsWindow o) => T.Text -> IO (GValueConstruct o)
constructWindowRole val = constructObjectPropertyString "role" (Just val)
#if ENABLE_OVERLOADING
data WindowRolePropertyInfo
instance AttrInfo WindowRolePropertyInfo where
type AttrAllowedOps WindowRolePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowRolePropertyInfo = (~) T.Text
type AttrBaseTypeConstraint WindowRolePropertyInfo = IsWindow
type AttrGetType WindowRolePropertyInfo = (Maybe T.Text)
type AttrLabel WindowRolePropertyInfo = "role"
type AttrOrigin WindowRolePropertyInfo = Window
attrGet _ = getWindowRole
attrSet _ = setWindowRole
attrConstruct _ = constructWindowRole
attrClear _ = undefined
#endif
getWindowScreen :: (MonadIO m, IsWindow o) => o -> m Gdk.Screen.Screen
getWindowScreen obj = liftIO $ checkUnexpectedNothing "getWindowScreen" $ getObjectPropertyObject obj "screen" Gdk.Screen.Screen
setWindowScreen :: (MonadIO m, IsWindow o, Gdk.Screen.IsScreen a) => o -> a -> m ()
setWindowScreen obj val = liftIO $ setObjectPropertyObject obj "screen" (Just val)
constructWindowScreen :: (IsWindow o, Gdk.Screen.IsScreen a) => a -> IO (GValueConstruct o)
constructWindowScreen val = constructObjectPropertyObject "screen" (Just val)
#if ENABLE_OVERLOADING
data WindowScreenPropertyInfo
instance AttrInfo WindowScreenPropertyInfo where
type AttrAllowedOps WindowScreenPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowScreenPropertyInfo = Gdk.Screen.IsScreen
type AttrBaseTypeConstraint WindowScreenPropertyInfo = IsWindow
type AttrGetType WindowScreenPropertyInfo = Gdk.Screen.Screen
type AttrLabel WindowScreenPropertyInfo = "screen"
type AttrOrigin WindowScreenPropertyInfo = Window
attrGet _ = getWindowScreen
attrSet _ = setWindowScreen
attrConstruct _ = constructWindowScreen
attrClear _ = undefined
#endif
getWindowSkipPagerHint :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowSkipPagerHint obj = liftIO $ getObjectPropertyBool obj "skip-pager-hint"
setWindowSkipPagerHint :: (MonadIO m, IsWindow o) => o -> Bool -> m ()
setWindowSkipPagerHint obj val = liftIO $ setObjectPropertyBool obj "skip-pager-hint" val
constructWindowSkipPagerHint :: (IsWindow o) => Bool -> IO (GValueConstruct o)
constructWindowSkipPagerHint val = constructObjectPropertyBool "skip-pager-hint" val
#if ENABLE_OVERLOADING
data WindowSkipPagerHintPropertyInfo
instance AttrInfo WindowSkipPagerHintPropertyInfo where
type AttrAllowedOps WindowSkipPagerHintPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowSkipPagerHintPropertyInfo = (~) Bool
type AttrBaseTypeConstraint WindowSkipPagerHintPropertyInfo = IsWindow
type AttrGetType WindowSkipPagerHintPropertyInfo = Bool
type AttrLabel WindowSkipPagerHintPropertyInfo = "skip-pager-hint"
type AttrOrigin WindowSkipPagerHintPropertyInfo = Window
attrGet _ = getWindowSkipPagerHint
attrSet _ = setWindowSkipPagerHint
attrConstruct _ = constructWindowSkipPagerHint
attrClear _ = undefined
#endif
getWindowSkipTaskbarHint :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowSkipTaskbarHint obj = liftIO $ getObjectPropertyBool obj "skip-taskbar-hint"
setWindowSkipTaskbarHint :: (MonadIO m, IsWindow o) => o -> Bool -> m ()
setWindowSkipTaskbarHint obj val = liftIO $ setObjectPropertyBool obj "skip-taskbar-hint" val
constructWindowSkipTaskbarHint :: (IsWindow o) => Bool -> IO (GValueConstruct o)
constructWindowSkipTaskbarHint val = constructObjectPropertyBool "skip-taskbar-hint" val
#if ENABLE_OVERLOADING
data WindowSkipTaskbarHintPropertyInfo
instance AttrInfo WindowSkipTaskbarHintPropertyInfo where
type AttrAllowedOps WindowSkipTaskbarHintPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowSkipTaskbarHintPropertyInfo = (~) Bool
type AttrBaseTypeConstraint WindowSkipTaskbarHintPropertyInfo = IsWindow
type AttrGetType WindowSkipTaskbarHintPropertyInfo = Bool
type AttrLabel WindowSkipTaskbarHintPropertyInfo = "skip-taskbar-hint"
type AttrOrigin WindowSkipTaskbarHintPropertyInfo = Window
attrGet _ = getWindowSkipTaskbarHint
attrSet _ = setWindowSkipTaskbarHint
attrConstruct _ = constructWindowSkipTaskbarHint
attrClear _ = undefined
#endif
setWindowStartupId :: (MonadIO m, IsWindow o) => o -> T.Text -> m ()
setWindowStartupId obj val = liftIO $ setObjectPropertyString obj "startup-id" (Just val)
constructWindowStartupId :: (IsWindow o) => T.Text -> IO (GValueConstruct o)
constructWindowStartupId val = constructObjectPropertyString "startup-id" (Just val)
#if ENABLE_OVERLOADING
data WindowStartupIdPropertyInfo
instance AttrInfo WindowStartupIdPropertyInfo where
type AttrAllowedOps WindowStartupIdPropertyInfo = '[ 'AttrSet, 'AttrConstruct]
type AttrSetTypeConstraint WindowStartupIdPropertyInfo = (~) T.Text
type AttrBaseTypeConstraint WindowStartupIdPropertyInfo = IsWindow
type AttrGetType WindowStartupIdPropertyInfo = ()
type AttrLabel WindowStartupIdPropertyInfo = "startup-id"
type AttrOrigin WindowStartupIdPropertyInfo = Window
attrGet _ = undefined
attrSet _ = setWindowStartupId
attrConstruct _ = constructWindowStartupId
attrClear _ = undefined
#endif
getWindowTitle :: (MonadIO m, IsWindow o) => o -> m (Maybe T.Text)
getWindowTitle obj = liftIO $ getObjectPropertyString obj "title"
setWindowTitle :: (MonadIO m, IsWindow o) => o -> T.Text -> m ()
setWindowTitle obj val = liftIO $ setObjectPropertyString obj "title" (Just val)
constructWindowTitle :: (IsWindow o) => T.Text -> IO (GValueConstruct o)
constructWindowTitle val = constructObjectPropertyString "title" (Just val)
#if ENABLE_OVERLOADING
data WindowTitlePropertyInfo
instance AttrInfo WindowTitlePropertyInfo where
type AttrAllowedOps WindowTitlePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowTitlePropertyInfo = (~) T.Text
type AttrBaseTypeConstraint WindowTitlePropertyInfo = IsWindow
type AttrGetType WindowTitlePropertyInfo = (Maybe T.Text)
type AttrLabel WindowTitlePropertyInfo = "title"
type AttrOrigin WindowTitlePropertyInfo = Window
attrGet _ = getWindowTitle
attrSet _ = setWindowTitle
attrConstruct _ = constructWindowTitle
attrClear _ = undefined
#endif
getWindowTransientFor :: (MonadIO m, IsWindow o) => o -> m (Maybe Window)
getWindowTransientFor obj = liftIO $ getObjectPropertyObject obj "transient-for" Window
setWindowTransientFor :: (MonadIO m, IsWindow o, IsWindow a) => o -> a -> m ()
setWindowTransientFor obj val = liftIO $ setObjectPropertyObject obj "transient-for" (Just val)
constructWindowTransientFor :: (IsWindow o, IsWindow a) => a -> IO (GValueConstruct o)
constructWindowTransientFor val = constructObjectPropertyObject "transient-for" (Just val)
clearWindowTransientFor :: (MonadIO m, IsWindow o) => o -> m ()
clearWindowTransientFor obj = liftIO $ setObjectPropertyObject obj "transient-for" (Nothing :: Maybe Window)
#if ENABLE_OVERLOADING
data WindowTransientForPropertyInfo
instance AttrInfo WindowTransientForPropertyInfo where
type AttrAllowedOps WindowTransientForPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint WindowTransientForPropertyInfo = IsWindow
type AttrBaseTypeConstraint WindowTransientForPropertyInfo = IsWindow
type AttrGetType WindowTransientForPropertyInfo = (Maybe Window)
type AttrLabel WindowTransientForPropertyInfo = "transient-for"
type AttrOrigin WindowTransientForPropertyInfo = Window
attrGet _ = getWindowTransientFor
attrSet _ = setWindowTransientFor
attrConstruct _ = constructWindowTransientFor
attrClear _ = clearWindowTransientFor
#endif
getWindowType :: (MonadIO m, IsWindow o) => o -> m Gtk.Enums.WindowType
getWindowType obj = liftIO $ getObjectPropertyEnum obj "type"
constructWindowType :: (IsWindow o) => Gtk.Enums.WindowType -> IO (GValueConstruct o)
constructWindowType val = constructObjectPropertyEnum "type" val
#if ENABLE_OVERLOADING
data WindowTypePropertyInfo
instance AttrInfo WindowTypePropertyInfo where
type AttrAllowedOps WindowTypePropertyInfo = '[ 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowTypePropertyInfo = (~) Gtk.Enums.WindowType
type AttrBaseTypeConstraint WindowTypePropertyInfo = IsWindow
type AttrGetType WindowTypePropertyInfo = Gtk.Enums.WindowType
type AttrLabel WindowTypePropertyInfo = "type"
type AttrOrigin WindowTypePropertyInfo = Window
attrGet _ = getWindowType
attrSet _ = undefined
attrConstruct _ = constructWindowType
attrClear _ = undefined
#endif
getWindowTypeHint :: (MonadIO m, IsWindow o) => o -> m Gdk.Enums.WindowTypeHint
getWindowTypeHint obj = liftIO $ getObjectPropertyEnum obj "type-hint"
setWindowTypeHint :: (MonadIO m, IsWindow o) => o -> Gdk.Enums.WindowTypeHint -> m ()
setWindowTypeHint obj val = liftIO $ setObjectPropertyEnum obj "type-hint" val
constructWindowTypeHint :: (IsWindow o) => Gdk.Enums.WindowTypeHint -> IO (GValueConstruct o)
constructWindowTypeHint val = constructObjectPropertyEnum "type-hint" val
#if ENABLE_OVERLOADING
data WindowTypeHintPropertyInfo
instance AttrInfo WindowTypeHintPropertyInfo where
type AttrAllowedOps WindowTypeHintPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowTypeHintPropertyInfo = (~) Gdk.Enums.WindowTypeHint
type AttrBaseTypeConstraint WindowTypeHintPropertyInfo = IsWindow
type AttrGetType WindowTypeHintPropertyInfo = Gdk.Enums.WindowTypeHint
type AttrLabel WindowTypeHintPropertyInfo = "type-hint"
type AttrOrigin WindowTypeHintPropertyInfo = Window
attrGet _ = getWindowTypeHint
attrSet _ = setWindowTypeHint
attrConstruct _ = constructWindowTypeHint
attrClear _ = undefined
#endif
getWindowUrgencyHint :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowUrgencyHint obj = liftIO $ getObjectPropertyBool obj "urgency-hint"
setWindowUrgencyHint :: (MonadIO m, IsWindow o) => o -> Bool -> m ()
setWindowUrgencyHint obj val = liftIO $ setObjectPropertyBool obj "urgency-hint" val
constructWindowUrgencyHint :: (IsWindow o) => Bool -> IO (GValueConstruct o)
constructWindowUrgencyHint val = constructObjectPropertyBool "urgency-hint" val
#if ENABLE_OVERLOADING
data WindowUrgencyHintPropertyInfo
instance AttrInfo WindowUrgencyHintPropertyInfo where
type AttrAllowedOps WindowUrgencyHintPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowUrgencyHintPropertyInfo = (~) Bool
type AttrBaseTypeConstraint WindowUrgencyHintPropertyInfo = IsWindow
type AttrGetType WindowUrgencyHintPropertyInfo = Bool
type AttrLabel WindowUrgencyHintPropertyInfo = "urgency-hint"
type AttrOrigin WindowUrgencyHintPropertyInfo = Window
attrGet _ = getWindowUrgencyHint
attrSet _ = setWindowUrgencyHint
attrConstruct _ = constructWindowUrgencyHint
attrClear _ = undefined
#endif
getWindowWindowPosition :: (MonadIO m, IsWindow o) => o -> m Gtk.Enums.WindowPosition
getWindowWindowPosition obj = liftIO $ getObjectPropertyEnum obj "window-position"
setWindowWindowPosition :: (MonadIO m, IsWindow o) => o -> Gtk.Enums.WindowPosition -> m ()
setWindowWindowPosition obj val = liftIO $ setObjectPropertyEnum obj "window-position" val
constructWindowWindowPosition :: (IsWindow o) => Gtk.Enums.WindowPosition -> IO (GValueConstruct o)
constructWindowWindowPosition val = constructObjectPropertyEnum "window-position" val
#if ENABLE_OVERLOADING
data WindowWindowPositionPropertyInfo
instance AttrInfo WindowWindowPositionPropertyInfo where
type AttrAllowedOps WindowWindowPositionPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint WindowWindowPositionPropertyInfo = (~) Gtk.Enums.WindowPosition
type AttrBaseTypeConstraint WindowWindowPositionPropertyInfo = IsWindow
type AttrGetType WindowWindowPositionPropertyInfo = Gtk.Enums.WindowPosition
type AttrLabel WindowWindowPositionPropertyInfo = "window-position"
type AttrOrigin WindowWindowPositionPropertyInfo = Window
attrGet _ = getWindowWindowPosition
attrSet _ = setWindowWindowPosition
attrConstruct _ = constructWindowWindowPosition
attrClear _ = undefined
#endif
#if ENABLE_OVERLOADING
instance O.HasAttributeList Window
type instance O.AttributeList Window = WindowAttributeList
type WindowAttributeList = ('[ '("acceptFocus", WindowAcceptFocusPropertyInfo), '("appPaintable", Gtk.Widget.WidgetAppPaintablePropertyInfo), '("application", WindowApplicationPropertyInfo), '("attachedTo", WindowAttachedToPropertyInfo), '("borderWidth", Gtk.Container.ContainerBorderWidthPropertyInfo), '("canDefault", Gtk.Widget.WidgetCanDefaultPropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("child", Gtk.Container.ContainerChildPropertyInfo), '("compositeChild", Gtk.Widget.WidgetCompositeChildPropertyInfo), '("decorated", WindowDecoratedPropertyInfo), '("defaultHeight", WindowDefaultHeightPropertyInfo), '("defaultWidth", WindowDefaultWidthPropertyInfo), '("deletable", WindowDeletablePropertyInfo), '("destroyWithParent", WindowDestroyWithParentPropertyInfo), '("doubleBuffered", Gtk.Widget.WidgetDoubleBufferedPropertyInfo), '("events", Gtk.Widget.WidgetEventsPropertyInfo), '("expand", Gtk.Widget.WidgetExpandPropertyInfo), '("focusOnClick", Gtk.Widget.WidgetFocusOnClickPropertyInfo), '("focusOnMap", WindowFocusOnMapPropertyInfo), '("focusVisible", WindowFocusVisiblePropertyInfo), '("gravity", WindowGravityPropertyInfo), '("halign", Gtk.Widget.WidgetHalignPropertyInfo), '("hasDefault", Gtk.Widget.WidgetHasDefaultPropertyInfo), '("hasFocus", Gtk.Widget.WidgetHasFocusPropertyInfo), '("hasResizeGrip", WindowHasResizeGripPropertyInfo), '("hasTooltip", Gtk.Widget.WidgetHasTooltipPropertyInfo), '("hasToplevelFocus", WindowHasToplevelFocusPropertyInfo), '("heightRequest", Gtk.Widget.WidgetHeightRequestPropertyInfo), '("hexpand", Gtk.Widget.WidgetHexpandPropertyInfo), '("hexpandSet", Gtk.Widget.WidgetHexpandSetPropertyInfo), '("hideTitlebarWhenMaximized", WindowHideTitlebarWhenMaximizedPropertyInfo), '("icon", WindowIconPropertyInfo), '("iconName", WindowIconNamePropertyInfo), '("isActive", WindowIsActivePropertyInfo), '("isFocus", Gtk.Widget.WidgetIsFocusPropertyInfo), '("isMaximized", 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", WindowMnemonicsVisiblePropertyInfo), '("modal", WindowModalPropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("noShowAll", Gtk.Widget.WidgetNoShowAllPropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("resizable", WindowResizablePropertyInfo), '("resizeGripVisible", WindowResizeGripVisiblePropertyInfo), '("resizeMode", Gtk.Container.ContainerResizeModePropertyInfo), '("role", WindowRolePropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("screen", WindowScreenPropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("skipPagerHint", WindowSkipPagerHintPropertyInfo), '("skipTaskbarHint", WindowSkipTaskbarHintPropertyInfo), '("startupId", WindowStartupIdPropertyInfo), '("style", Gtk.Widget.WidgetStylePropertyInfo), '("title", WindowTitlePropertyInfo), '("tooltipMarkup", Gtk.Widget.WidgetTooltipMarkupPropertyInfo), '("tooltipText", Gtk.Widget.WidgetTooltipTextPropertyInfo), '("transientFor", WindowTransientForPropertyInfo), '("type", WindowTypePropertyInfo), '("typeHint", WindowTypeHintPropertyInfo), '("urgencyHint", 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", WindowWindowPositionPropertyInfo)] :: [(Symbol, *)])
#endif
#if ENABLE_OVERLOADING
windowAcceptFocus :: AttrLabelProxy "acceptFocus"
windowAcceptFocus = AttrLabelProxy
windowApplication :: AttrLabelProxy "application"
windowApplication = AttrLabelProxy
windowAttachedTo :: AttrLabelProxy "attachedTo"
windowAttachedTo = AttrLabelProxy
windowDecorated :: AttrLabelProxy "decorated"
windowDecorated = AttrLabelProxy
windowDefaultHeight :: AttrLabelProxy "defaultHeight"
windowDefaultHeight = AttrLabelProxy
windowDefaultWidth :: AttrLabelProxy "defaultWidth"
windowDefaultWidth = AttrLabelProxy
windowDeletable :: AttrLabelProxy "deletable"
windowDeletable = AttrLabelProxy
windowDestroyWithParent :: AttrLabelProxy "destroyWithParent"
windowDestroyWithParent = AttrLabelProxy
windowFocusOnMap :: AttrLabelProxy "focusOnMap"
windowFocusOnMap = AttrLabelProxy
windowFocusVisible :: AttrLabelProxy "focusVisible"
windowFocusVisible = AttrLabelProxy
windowGravity :: AttrLabelProxy "gravity"
windowGravity = AttrLabelProxy
windowHasResizeGrip :: AttrLabelProxy "hasResizeGrip"
windowHasResizeGrip = AttrLabelProxy
windowHideTitlebarWhenMaximized :: AttrLabelProxy "hideTitlebarWhenMaximized"
windowHideTitlebarWhenMaximized = AttrLabelProxy
windowIcon :: AttrLabelProxy "icon"
windowIcon = AttrLabelProxy
windowIconName :: AttrLabelProxy "iconName"
windowIconName = AttrLabelProxy
windowMnemonicsVisible :: AttrLabelProxy "mnemonicsVisible"
windowMnemonicsVisible = AttrLabelProxy
windowModal :: AttrLabelProxy "modal"
windowModal = AttrLabelProxy
windowResizable :: AttrLabelProxy "resizable"
windowResizable = AttrLabelProxy
windowResizeGripVisible :: AttrLabelProxy "resizeGripVisible"
windowResizeGripVisible = AttrLabelProxy
windowRole :: AttrLabelProxy "role"
windowRole = AttrLabelProxy
windowScreen :: AttrLabelProxy "screen"
windowScreen = AttrLabelProxy
windowSkipPagerHint :: AttrLabelProxy "skipPagerHint"
windowSkipPagerHint = AttrLabelProxy
windowSkipTaskbarHint :: AttrLabelProxy "skipTaskbarHint"
windowSkipTaskbarHint = AttrLabelProxy
windowStartupId :: AttrLabelProxy "startupId"
windowStartupId = AttrLabelProxy
windowTitle :: AttrLabelProxy "title"
windowTitle = AttrLabelProxy
windowTransientFor :: AttrLabelProxy "transientFor"
windowTransientFor = AttrLabelProxy
windowType :: AttrLabelProxy "type"
windowType = AttrLabelProxy
windowTypeHint :: AttrLabelProxy "typeHint"
windowTypeHint = AttrLabelProxy
windowUrgencyHint :: AttrLabelProxy "urgencyHint"
windowUrgencyHint = AttrLabelProxy
windowWindowPosition :: AttrLabelProxy "windowPosition"
windowWindowPosition = AttrLabelProxy
#endif
#if ENABLE_OVERLOADING
data WindowActivateDefaultSignalInfo
instance SignalInfo WindowActivateDefaultSignalInfo where
type HaskellCallbackType WindowActivateDefaultSignalInfo = WindowActivateDefaultCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_WindowActivateDefaultCallback cb
cb'' <- mk_WindowActivateDefaultCallback cb'
connectSignalFunPtr obj "activate-default" cb'' connectMode
data WindowActivateFocusSignalInfo
instance SignalInfo WindowActivateFocusSignalInfo where
type HaskellCallbackType WindowActivateFocusSignalInfo = WindowActivateFocusCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_WindowActivateFocusCallback cb
cb'' <- mk_WindowActivateFocusCallback cb'
connectSignalFunPtr obj "activate-focus" cb'' connectMode
data WindowEnableDebuggingSignalInfo
instance SignalInfo WindowEnableDebuggingSignalInfo where
type HaskellCallbackType WindowEnableDebuggingSignalInfo = WindowEnableDebuggingCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_WindowEnableDebuggingCallback cb
cb'' <- mk_WindowEnableDebuggingCallback cb'
connectSignalFunPtr obj "enable-debugging" cb'' connectMode
data WindowKeysChangedSignalInfo
instance SignalInfo WindowKeysChangedSignalInfo where
type HaskellCallbackType WindowKeysChangedSignalInfo = WindowKeysChangedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_WindowKeysChangedCallback cb
cb'' <- mk_WindowKeysChangedCallback cb'
connectSignalFunPtr obj "keys-changed" cb'' connectMode
data WindowSetFocusSignalInfo
instance SignalInfo WindowSetFocusSignalInfo where
type HaskellCallbackType WindowSetFocusSignalInfo = WindowSetFocusCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_WindowSetFocusCallback cb
cb'' <- mk_WindowSetFocusCallback cb'
connectSignalFunPtr obj "set-focus" cb'' connectMode
type instance O.SignalList Window = WindowSignalList
type WindowSignalList = ('[ '("accelClosuresChanged", Gtk.Widget.WidgetAccelClosuresChangedSignalInfo), '("activateDefault", WindowActivateDefaultSignalInfo), '("activateFocus", 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", 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", 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", 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, *)])
#endif
foreign import ccall "gtk_window_new" gtk_window_new ::
CUInt ->
IO (Ptr Window)
windowNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
Gtk.Enums.WindowType
-> m Window
windowNew type_ = liftIO $ do
let type_' = (fromIntegral . fromEnum) type_
result <- gtk_window_new type_'
checkUnexpectedReturnNULL "windowNew" result
result' <- (newObject Window) result
return result'
#if ENABLE_OVERLOADING
#endif
foreign import ccall "gtk_window_activate_default" gtk_window_activate_default ::
Ptr Window ->
IO CInt
windowActivateDefault ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowActivateDefault window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_activate_default window'
let result' = (/= 0) result
touchManagedPtr window
return result'
#if ENABLE_OVERLOADING
data WindowActivateDefaultMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowActivateDefaultMethodInfo a signature where
overloadedMethod _ = windowActivateDefault
#endif
foreign import ccall "gtk_window_activate_focus" gtk_window_activate_focus ::
Ptr Window ->
IO CInt
windowActivateFocus ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowActivateFocus window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_activate_focus window'
let result' = (/= 0) result
touchManagedPtr window
return result'
#if ENABLE_OVERLOADING
data WindowActivateFocusMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowActivateFocusMethodInfo a signature where
overloadedMethod _ = windowActivateFocus
#endif
foreign import ccall "gtk_window_activate_key" gtk_window_activate_key ::
Ptr Window ->
Ptr Gdk.EventKey.EventKey ->
IO CInt
windowActivateKey ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Gdk.EventKey.EventKey
-> m Bool
windowActivateKey window event = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
event' <- unsafeManagedPtrGetPtr event
result <- gtk_window_activate_key window' event'
let result' = (/= 0) result
touchManagedPtr window
touchManagedPtr event
return result'
#if ENABLE_OVERLOADING
data WindowActivateKeyMethodInfo
instance (signature ~ (Gdk.EventKey.EventKey -> m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowActivateKeyMethodInfo a signature where
overloadedMethod _ = windowActivateKey
#endif
foreign import ccall "gtk_window_add_accel_group" gtk_window_add_accel_group ::
Ptr Window ->
Ptr Gtk.AccelGroup.AccelGroup ->
IO ()
windowAddAccelGroup ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a, Gtk.AccelGroup.IsAccelGroup b) =>
a
-> b
-> m ()
windowAddAccelGroup window accelGroup = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
accelGroup' <- unsafeManagedPtrCastPtr accelGroup
gtk_window_add_accel_group window' accelGroup'
touchManagedPtr window
touchManagedPtr accelGroup
return ()
#if ENABLE_OVERLOADING
data WindowAddAccelGroupMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsWindow a, Gtk.AccelGroup.IsAccelGroup b) => O.MethodInfo WindowAddAccelGroupMethodInfo a signature where
overloadedMethod _ = windowAddAccelGroup
#endif
foreign import ccall "gtk_window_add_mnemonic" gtk_window_add_mnemonic ::
Ptr Window ->
Word32 ->
Ptr Gtk.Widget.Widget ->
IO ()
windowAddMnemonic ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a, Gtk.Widget.IsWidget b) =>
a
-> Word32
-> b
-> m ()
windowAddMnemonic window keyval target = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
target' <- unsafeManagedPtrCastPtr target
gtk_window_add_mnemonic window' keyval target'
touchManagedPtr window
touchManagedPtr target
return ()
#if ENABLE_OVERLOADING
data WindowAddMnemonicMethodInfo
instance (signature ~ (Word32 -> b -> m ()), MonadIO m, IsWindow a, Gtk.Widget.IsWidget b) => O.MethodInfo WindowAddMnemonicMethodInfo a signature where
overloadedMethod _ = windowAddMnemonic
#endif
foreign import ccall "gtk_window_begin_move_drag" gtk_window_begin_move_drag ::
Ptr Window ->
Int32 ->
Int32 ->
Int32 ->
Word32 ->
IO ()
windowBeginMoveDrag ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Int32
-> Int32
-> Int32
-> Word32
-> m ()
windowBeginMoveDrag window button rootX rootY timestamp = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_begin_move_drag window' button rootX rootY timestamp
touchManagedPtr window
return ()
#if ENABLE_OVERLOADING
data WindowBeginMoveDragMethodInfo
instance (signature ~ (Int32 -> Int32 -> Int32 -> Word32 -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowBeginMoveDragMethodInfo a signature where
overloadedMethod _ = windowBeginMoveDrag
#endif
foreign import ccall "gtk_window_begin_resize_drag" gtk_window_begin_resize_drag ::
Ptr Window ->
CUInt ->
Int32 ->
Int32 ->
Int32 ->
Word32 ->
IO ()
windowBeginResizeDrag ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Gdk.Enums.WindowEdge
-> Int32
-> Int32
-> Int32
-> Word32
-> m ()
windowBeginResizeDrag window edge button rootX rootY timestamp = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let edge' = (fromIntegral . fromEnum) edge
gtk_window_begin_resize_drag window' edge' button rootX rootY timestamp
touchManagedPtr window
return ()
#if ENABLE_OVERLOADING
data WindowBeginResizeDragMethodInfo
instance (signature ~ (Gdk.Enums.WindowEdge -> Int32 -> Int32 -> Int32 -> Word32 -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowBeginResizeDragMethodInfo a signature where
overloadedMethod _ = windowBeginResizeDrag
#endif
foreign import ccall "gtk_window_close" gtk_window_close ::
Ptr Window ->
IO ()
windowClose ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m ()
windowClose window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_close window'
touchManagedPtr window
return ()
#if ENABLE_OVERLOADING
data WindowCloseMethodInfo
instance (signature ~ (m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowCloseMethodInfo a signature where
overloadedMethod _ = windowClose
#endif
foreign import ccall "gtk_window_deiconify" gtk_window_deiconify ::
Ptr Window ->
IO ()
windowDeiconify ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m ()
windowDeiconify window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_deiconify window'
touchManagedPtr window
return ()
#if ENABLE_OVERLOADING
data WindowDeiconifyMethodInfo
instance (signature ~ (m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowDeiconifyMethodInfo a signature where
overloadedMethod _ = windowDeiconify
#endif
foreign import ccall "gtk_window_fullscreen" gtk_window_fullscreen ::
Ptr Window ->
IO ()
windowFullscreen ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m ()
windowFullscreen window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_fullscreen window'
touchManagedPtr window
return ()
#if ENABLE_OVERLOADING
data WindowFullscreenMethodInfo
instance (signature ~ (m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowFullscreenMethodInfo a signature where
overloadedMethod _ = windowFullscreen
#endif
foreign import ccall "gtk_window_fullscreen_on_monitor" gtk_window_fullscreen_on_monitor ::
Ptr Window ->
Ptr Gdk.Screen.Screen ->
Int32 ->
IO ()
windowFullscreenOnMonitor ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a, Gdk.Screen.IsScreen b) =>
a
-> b
-> Int32
-> m ()
windowFullscreenOnMonitor window screen monitor = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
screen' <- unsafeManagedPtrCastPtr screen
gtk_window_fullscreen_on_monitor window' screen' monitor
touchManagedPtr window
touchManagedPtr screen
return ()
#if ENABLE_OVERLOADING
data WindowFullscreenOnMonitorMethodInfo
instance (signature ~ (b -> Int32 -> m ()), MonadIO m, IsWindow a, Gdk.Screen.IsScreen b) => O.MethodInfo WindowFullscreenOnMonitorMethodInfo a signature where
overloadedMethod _ = windowFullscreenOnMonitor
#endif
foreign import ccall "gtk_window_get_accept_focus" gtk_window_get_accept_focus ::
Ptr Window ->
IO CInt
windowGetAcceptFocus ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowGetAcceptFocus window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_accept_focus window'
let result' = (/= 0) result
touchManagedPtr window
return result'
#if ENABLE_OVERLOADING
data WindowGetAcceptFocusMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetAcceptFocusMethodInfo a signature where
overloadedMethod _ = windowGetAcceptFocus
#endif
foreign import ccall "gtk_window_get_application" gtk_window_get_application ::
Ptr Window ->
IO (Ptr Gtk.Application.Application)
windowGetApplication ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m (Maybe Gtk.Application.Application)
windowGetApplication window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_application window'
maybeResult <- convertIfNonNull result $ \result' -> do
result'' <- (newObject Gtk.Application.Application) result'
return result''
touchManagedPtr window
return maybeResult
#if ENABLE_OVERLOADING
data WindowGetApplicationMethodInfo
instance (signature ~ (m (Maybe Gtk.Application.Application)), MonadIO m, IsWindow a) => O.MethodInfo WindowGetApplicationMethodInfo a signature where
overloadedMethod _ = windowGetApplication
#endif
foreign import ccall "gtk_window_get_attached_to" gtk_window_get_attached_to ::
Ptr Window ->
IO (Ptr Gtk.Widget.Widget)
windowGetAttachedTo ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m (Maybe Gtk.Widget.Widget)
windowGetAttachedTo window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_attached_to window'
maybeResult <- convertIfNonNull result $ \result' -> do
result'' <- (newObject Gtk.Widget.Widget) result'
return result''
touchManagedPtr window
return maybeResult
#if ENABLE_OVERLOADING
data WindowGetAttachedToMethodInfo
instance (signature ~ (m (Maybe Gtk.Widget.Widget)), MonadIO m, IsWindow a) => O.MethodInfo WindowGetAttachedToMethodInfo a signature where
overloadedMethod _ = windowGetAttachedTo
#endif
foreign import ccall "gtk_window_get_decorated" gtk_window_get_decorated ::
Ptr Window ->
IO CInt
windowGetDecorated ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowGetDecorated window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_decorated window'
let result' = (/= 0) result
touchManagedPtr window
return result'
#if ENABLE_OVERLOADING
data WindowGetDecoratedMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetDecoratedMethodInfo a signature where
overloadedMethod _ = windowGetDecorated
#endif
foreign import ccall "gtk_window_get_default_size" gtk_window_get_default_size ::
Ptr Window ->
Ptr Int32 ->
Ptr Int32 ->
IO ()
windowGetDefaultSize ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m ((Int32, Int32))
windowGetDefaultSize window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
width <- allocMem :: IO (Ptr Int32)
height <- allocMem :: IO (Ptr Int32)
gtk_window_get_default_size window' width height
width' <- peek width
height' <- peek height
touchManagedPtr window
freeMem width
freeMem height
return (width', height')
#if ENABLE_OVERLOADING
data WindowGetDefaultSizeMethodInfo
instance (signature ~ (m ((Int32, Int32))), MonadIO m, IsWindow a) => O.MethodInfo WindowGetDefaultSizeMethodInfo a signature where
overloadedMethod _ = windowGetDefaultSize
#endif
foreign import ccall "gtk_window_get_default_widget" gtk_window_get_default_widget ::
Ptr Window ->
IO (Ptr Gtk.Widget.Widget)
windowGetDefaultWidget ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m (Maybe Gtk.Widget.Widget)
windowGetDefaultWidget window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_default_widget window'
maybeResult <- convertIfNonNull result $ \result' -> do
result'' <- (newObject Gtk.Widget.Widget) result'
return result''
touchManagedPtr window
return maybeResult
#if ENABLE_OVERLOADING
data WindowGetDefaultWidgetMethodInfo
instance (signature ~ (m (Maybe Gtk.Widget.Widget)), MonadIO m, IsWindow a) => O.MethodInfo WindowGetDefaultWidgetMethodInfo a signature where
overloadedMethod _ = windowGetDefaultWidget
#endif
foreign import ccall "gtk_window_get_deletable" gtk_window_get_deletable ::
Ptr Window ->
IO CInt
windowGetDeletable ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowGetDeletable window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_deletable window'
let result' = (/= 0) result
touchManagedPtr window
return result'
#if ENABLE_OVERLOADING
data WindowGetDeletableMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetDeletableMethodInfo a signature where
overloadedMethod _ = windowGetDeletable
#endif
foreign import ccall "gtk_window_get_destroy_with_parent" gtk_window_get_destroy_with_parent ::
Ptr Window ->
IO CInt
windowGetDestroyWithParent ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowGetDestroyWithParent window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_destroy_with_parent window'
let result' = (/= 0) result
touchManagedPtr window
return result'
#if ENABLE_OVERLOADING
data WindowGetDestroyWithParentMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetDestroyWithParentMethodInfo a signature where
overloadedMethod _ = windowGetDestroyWithParent
#endif
foreign import ccall "gtk_window_get_focus" gtk_window_get_focus ::
Ptr Window ->
IO (Ptr Gtk.Widget.Widget)
windowGetFocus ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m (Maybe Gtk.Widget.Widget)
windowGetFocus window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_focus window'
maybeResult <- convertIfNonNull result $ \result' -> do
result'' <- (newObject Gtk.Widget.Widget) result'
return result''
touchManagedPtr window
return maybeResult
#if ENABLE_OVERLOADING
data WindowGetFocusMethodInfo
instance (signature ~ (m (Maybe Gtk.Widget.Widget)), MonadIO m, IsWindow a) => O.MethodInfo WindowGetFocusMethodInfo a signature where
overloadedMethod _ = windowGetFocus
#endif
foreign import ccall "gtk_window_get_focus_on_map" gtk_window_get_focus_on_map ::
Ptr Window ->
IO CInt
windowGetFocusOnMap ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowGetFocusOnMap window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_focus_on_map window'
let result' = (/= 0) result
touchManagedPtr window
return result'
#if ENABLE_OVERLOADING
data WindowGetFocusOnMapMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetFocusOnMapMethodInfo a signature where
overloadedMethod _ = windowGetFocusOnMap
#endif