module GI.Gtk.Objects.Window
(
Window(..) ,
IsWindow ,
toWindow ,
noWindow ,
WindowActivateDefaultMethodInfo ,
windowActivateDefault ,
WindowActivateFocusMethodInfo ,
windowActivateFocus ,
WindowActivateKeyMethodInfo ,
windowActivateKey ,
WindowAddAccelGroupMethodInfo ,
windowAddAccelGroup ,
WindowAddMnemonicMethodInfo ,
windowAddMnemonic ,
WindowBeginMoveDragMethodInfo ,
windowBeginMoveDrag ,
WindowBeginResizeDragMethodInfo ,
windowBeginResizeDrag ,
WindowCloseMethodInfo ,
windowClose ,
WindowDeiconifyMethodInfo ,
windowDeiconify ,
WindowFullscreenMethodInfo ,
windowFullscreen ,
WindowFullscreenOnMonitorMethodInfo ,
windowFullscreenOnMonitor ,
WindowGetAcceptFocusMethodInfo ,
windowGetAcceptFocus ,
WindowGetApplicationMethodInfo ,
windowGetApplication ,
WindowGetAttachedToMethodInfo ,
windowGetAttachedTo ,
WindowGetDecoratedMethodInfo ,
windowGetDecorated ,
windowGetDefaultIconList ,
windowGetDefaultIconName ,
WindowGetDefaultSizeMethodInfo ,
windowGetDefaultSize ,
WindowGetDefaultWidgetMethodInfo ,
windowGetDefaultWidget ,
WindowGetDeletableMethodInfo ,
windowGetDeletable ,
WindowGetDestroyWithParentMethodInfo ,
windowGetDestroyWithParent ,
WindowGetFocusMethodInfo ,
windowGetFocus ,
WindowGetFocusOnMapMethodInfo ,
windowGetFocusOnMap ,
WindowGetFocusVisibleMethodInfo ,
windowGetFocusVisible ,
WindowGetGravityMethodInfo ,
windowGetGravity ,
WindowGetGroupMethodInfo ,
windowGetGroup ,
WindowGetHasResizeGripMethodInfo ,
windowGetHasResizeGrip ,
WindowGetHideTitlebarWhenMaximizedMethodInfo,
windowGetHideTitlebarWhenMaximized ,
WindowGetIconMethodInfo ,
windowGetIcon ,
WindowGetIconListMethodInfo ,
windowGetIconList ,
WindowGetIconNameMethodInfo ,
windowGetIconName ,
WindowGetMnemonicModifierMethodInfo ,
windowGetMnemonicModifier ,
WindowGetMnemonicsVisibleMethodInfo ,
windowGetMnemonicsVisible ,
WindowGetModalMethodInfo ,
windowGetModal ,
WindowGetOpacityMethodInfo ,
windowGetOpacity ,
WindowGetPositionMethodInfo ,
windowGetPosition ,
WindowGetResizableMethodInfo ,
windowGetResizable ,
WindowGetResizeGripAreaMethodInfo ,
windowGetResizeGripArea ,
WindowGetRoleMethodInfo ,
windowGetRole ,
WindowGetScreenMethodInfo ,
windowGetScreen ,
WindowGetSizeMethodInfo ,
windowGetSize ,
WindowGetSkipPagerHintMethodInfo ,
windowGetSkipPagerHint ,
WindowGetSkipTaskbarHintMethodInfo ,
windowGetSkipTaskbarHint ,
WindowGetTitleMethodInfo ,
windowGetTitle ,
WindowGetTitlebarMethodInfo ,
windowGetTitlebar ,
WindowGetTransientForMethodInfo ,
windowGetTransientFor ,
WindowGetTypeHintMethodInfo ,
windowGetTypeHint ,
WindowGetUrgencyHintMethodInfo ,
windowGetUrgencyHint ,
WindowGetWindowTypeMethodInfo ,
windowGetWindowType ,
WindowHasGroupMethodInfo ,
windowHasGroup ,
WindowHasToplevelFocusMethodInfo ,
windowHasToplevelFocus ,
WindowIconifyMethodInfo ,
windowIconify ,
WindowIsActiveMethodInfo ,
windowIsActive ,
WindowIsMaximizedMethodInfo ,
windowIsMaximized ,
windowListToplevels ,
WindowMaximizeMethodInfo ,
windowMaximize ,
WindowMnemonicActivateMethodInfo ,
windowMnemonicActivate ,
WindowMoveMethodInfo ,
windowMove ,
windowNew ,
WindowParseGeometryMethodInfo ,
windowParseGeometry ,
WindowPresentMethodInfo ,
windowPresent ,
WindowPresentWithTimeMethodInfo ,
windowPresentWithTime ,
WindowPropagateKeyEventMethodInfo ,
windowPropagateKeyEvent ,
WindowRemoveAccelGroupMethodInfo ,
windowRemoveAccelGroup ,
WindowRemoveMnemonicMethodInfo ,
windowRemoveMnemonic ,
WindowReshowWithInitialSizeMethodInfo ,
windowReshowWithInitialSize ,
WindowResizeMethodInfo ,
windowResize ,
WindowResizeGripIsVisibleMethodInfo ,
windowResizeGripIsVisible ,
WindowResizeToGeometryMethodInfo ,
windowResizeToGeometry ,
WindowSetAcceptFocusMethodInfo ,
windowSetAcceptFocus ,
WindowSetApplicationMethodInfo ,
windowSetApplication ,
WindowSetAttachedToMethodInfo ,
windowSetAttachedTo ,
windowSetAutoStartupNotification ,
WindowSetDecoratedMethodInfo ,
windowSetDecorated ,
WindowSetDefaultMethodInfo ,
windowSetDefault ,
WindowSetDefaultGeometryMethodInfo ,
windowSetDefaultGeometry ,
windowSetDefaultIcon ,
windowSetDefaultIconFromFile ,
windowSetDefaultIconList ,
windowSetDefaultIconName ,
WindowSetDefaultSizeMethodInfo ,
windowSetDefaultSize ,
WindowSetDeletableMethodInfo ,
windowSetDeletable ,
WindowSetDestroyWithParentMethodInfo ,
windowSetDestroyWithParent ,
WindowSetFocusMethodInfo ,
windowSetFocus ,
WindowSetFocusOnMapMethodInfo ,
windowSetFocusOnMap ,
WindowSetFocusVisibleMethodInfo ,
windowSetFocusVisible ,
WindowSetGeometryHintsMethodInfo ,
windowSetGeometryHints ,
WindowSetGravityMethodInfo ,
windowSetGravity ,
WindowSetHasResizeGripMethodInfo ,
windowSetHasResizeGrip ,
WindowSetHasUserRefCountMethodInfo ,
windowSetHasUserRefCount ,
WindowSetHideTitlebarWhenMaximizedMethodInfo,
windowSetHideTitlebarWhenMaximized ,
WindowSetIconMethodInfo ,
windowSetIcon ,
WindowSetIconFromFileMethodInfo ,
windowSetIconFromFile ,
WindowSetIconListMethodInfo ,
windowSetIconList ,
WindowSetIconNameMethodInfo ,
windowSetIconName ,
windowSetInteractiveDebugging ,
WindowSetKeepAboveMethodInfo ,
windowSetKeepAbove ,
WindowSetKeepBelowMethodInfo ,
windowSetKeepBelow ,
WindowSetMnemonicModifierMethodInfo ,
windowSetMnemonicModifier ,
WindowSetMnemonicsVisibleMethodInfo ,
windowSetMnemonicsVisible ,
WindowSetModalMethodInfo ,
windowSetModal ,
WindowSetOpacityMethodInfo ,
windowSetOpacity ,
WindowSetPositionMethodInfo ,
windowSetPosition ,
WindowSetResizableMethodInfo ,
windowSetResizable ,
WindowSetRoleMethodInfo ,
windowSetRole ,
WindowSetScreenMethodInfo ,
windowSetScreen ,
WindowSetSkipPagerHintMethodInfo ,
windowSetSkipPagerHint ,
WindowSetSkipTaskbarHintMethodInfo ,
windowSetSkipTaskbarHint ,
WindowSetStartupIdMethodInfo ,
windowSetStartupId ,
WindowSetTitleMethodInfo ,
windowSetTitle ,
WindowSetTitlebarMethodInfo ,
windowSetTitlebar ,
WindowSetTransientForMethodInfo ,
windowSetTransientFor ,
WindowSetTypeHintMethodInfo ,
windowSetTypeHint ,
WindowSetUrgencyHintMethodInfo ,
windowSetUrgencyHint ,
WindowSetWmclassMethodInfo ,
windowSetWmclass ,
WindowStickMethodInfo ,
windowStick ,
WindowUnfullscreenMethodInfo ,
windowUnfullscreen ,
WindowUnmaximizeMethodInfo ,
windowUnmaximize ,
WindowUnstickMethodInfo ,
windowUnstick ,
WindowAcceptFocusPropertyInfo ,
constructWindowAcceptFocus ,
getWindowAcceptFocus ,
setWindowAcceptFocus ,
windowAcceptFocus ,
WindowApplicationPropertyInfo ,
clearWindowApplication ,
constructWindowApplication ,
getWindowApplication ,
setWindowApplication ,
windowApplication ,
WindowAttachedToPropertyInfo ,
clearWindowAttachedTo ,
constructWindowAttachedTo ,
getWindowAttachedTo ,
setWindowAttachedTo ,
windowAttachedTo ,
WindowDecoratedPropertyInfo ,
constructWindowDecorated ,
getWindowDecorated ,
setWindowDecorated ,
windowDecorated ,
WindowDefaultHeightPropertyInfo ,
constructWindowDefaultHeight ,
getWindowDefaultHeight ,
setWindowDefaultHeight ,
windowDefaultHeight ,
WindowDefaultWidthPropertyInfo ,
constructWindowDefaultWidth ,
getWindowDefaultWidth ,
setWindowDefaultWidth ,
windowDefaultWidth ,
WindowDeletablePropertyInfo ,
constructWindowDeletable ,
getWindowDeletable ,
setWindowDeletable ,
windowDeletable ,
WindowDestroyWithParentPropertyInfo ,
constructWindowDestroyWithParent ,
getWindowDestroyWithParent ,
setWindowDestroyWithParent ,
windowDestroyWithParent ,
WindowFocusOnMapPropertyInfo ,
constructWindowFocusOnMap ,
getWindowFocusOnMap ,
setWindowFocusOnMap ,
windowFocusOnMap ,
WindowFocusVisiblePropertyInfo ,
constructWindowFocusVisible ,
getWindowFocusVisible ,
setWindowFocusVisible ,
windowFocusVisible ,
WindowGravityPropertyInfo ,
constructWindowGravity ,
getWindowGravity ,
setWindowGravity ,
windowGravity ,
WindowHasResizeGripPropertyInfo ,
constructWindowHasResizeGrip ,
getWindowHasResizeGrip ,
setWindowHasResizeGrip ,
windowHasResizeGrip ,
WindowHasToplevelFocusPropertyInfo ,
getWindowHasToplevelFocus ,
WindowHideTitlebarWhenMaximizedPropertyInfo,
constructWindowHideTitlebarWhenMaximized,
getWindowHideTitlebarWhenMaximized ,
setWindowHideTitlebarWhenMaximized ,
windowHideTitlebarWhenMaximized ,
WindowIconPropertyInfo ,
clearWindowIcon ,
constructWindowIcon ,
getWindowIcon ,
setWindowIcon ,
windowIcon ,
WindowIconNamePropertyInfo ,
clearWindowIconName ,
constructWindowIconName ,
getWindowIconName ,
setWindowIconName ,
windowIconName ,
WindowIsActivePropertyInfo ,
getWindowIsActive ,
WindowIsMaximizedPropertyInfo ,
getWindowIsMaximized ,
WindowMnemonicsVisiblePropertyInfo ,
constructWindowMnemonicsVisible ,
getWindowMnemonicsVisible ,
setWindowMnemonicsVisible ,
windowMnemonicsVisible ,
WindowModalPropertyInfo ,
constructWindowModal ,
getWindowModal ,
setWindowModal ,
windowModal ,
WindowResizablePropertyInfo ,
constructWindowResizable ,
getWindowResizable ,
setWindowResizable ,
windowResizable ,
WindowResizeGripVisiblePropertyInfo ,
getWindowResizeGripVisible ,
windowResizeGripVisible ,
WindowRolePropertyInfo ,
constructWindowRole ,
getWindowRole ,
setWindowRole ,
windowRole ,
WindowScreenPropertyInfo ,
constructWindowScreen ,
getWindowScreen ,
setWindowScreen ,
windowScreen ,
WindowSkipPagerHintPropertyInfo ,
constructWindowSkipPagerHint ,
getWindowSkipPagerHint ,
setWindowSkipPagerHint ,
windowSkipPagerHint ,
WindowSkipTaskbarHintPropertyInfo ,
constructWindowSkipTaskbarHint ,
getWindowSkipTaskbarHint ,
setWindowSkipTaskbarHint ,
windowSkipTaskbarHint ,
WindowStartupIdPropertyInfo ,
constructWindowStartupId ,
setWindowStartupId ,
windowStartupId ,
WindowTitlePropertyInfo ,
constructWindowTitle ,
getWindowTitle ,
setWindowTitle ,
windowTitle ,
WindowTransientForPropertyInfo ,
clearWindowTransientFor ,
constructWindowTransientFor ,
getWindowTransientFor ,
setWindowTransientFor ,
windowTransientFor ,
WindowTypePropertyInfo ,
constructWindowType ,
getWindowType ,
windowType ,
WindowTypeHintPropertyInfo ,
constructWindowTypeHint ,
getWindowTypeHint ,
setWindowTypeHint ,
windowTypeHint ,
WindowUrgencyHintPropertyInfo ,
constructWindowUrgencyHint ,
getWindowUrgencyHint ,
setWindowUrgencyHint ,
windowUrgencyHint ,
WindowWindowPositionPropertyInfo ,
constructWindowWindowPosition ,
getWindowWindowPosition ,
setWindowWindowPosition ,
windowWindowPosition ,
C_WindowActivateDefaultCallback ,
WindowActivateDefaultCallback ,
WindowActivateDefaultSignalInfo ,
afterWindowActivateDefault ,
genClosure_WindowActivateDefault ,
mk_WindowActivateDefaultCallback ,
noWindowActivateDefaultCallback ,
onWindowActivateDefault ,
wrap_WindowActivateDefaultCallback ,
C_WindowActivateFocusCallback ,
WindowActivateFocusCallback ,
WindowActivateFocusSignalInfo ,
afterWindowActivateFocus ,
genClosure_WindowActivateFocus ,
mk_WindowActivateFocusCallback ,
noWindowActivateFocusCallback ,
onWindowActivateFocus ,
wrap_WindowActivateFocusCallback ,
C_WindowEnableDebuggingCallback ,
WindowEnableDebuggingCallback ,
WindowEnableDebuggingSignalInfo ,
afterWindowEnableDebugging ,
genClosure_WindowEnableDebugging ,
mk_WindowEnableDebuggingCallback ,
noWindowEnableDebuggingCallback ,
onWindowEnableDebugging ,
wrap_WindowEnableDebuggingCallback ,
C_WindowKeysChangedCallback ,
WindowKeysChangedCallback ,
WindowKeysChangedSignalInfo ,
afterWindowKeysChanged ,
genClosure_WindowKeysChanged ,
mk_WindowKeysChangedCallback ,
noWindowKeysChangedCallback ,
onWindowKeysChanged ,
wrap_WindowKeysChangedCallback ,
C_WindowSetFocusCallback ,
WindowSetFocusCallback ,
WindowSetFocusSignalInfo ,
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.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 qualified GI.Gtk.Enums as Gtk.Enums
import qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
import qualified GI.Gtk.Objects.AccelGroup as Gtk.AccelGroup
import qualified GI.Gtk.Objects.Application as Gtk.Application
import qualified GI.Gtk.Objects.Bin as Gtk.Bin
import qualified GI.Gtk.Objects.Container as Gtk.Container
import qualified GI.Gtk.Objects.Widget as Gtk.Widget
import qualified GI.Gtk.Objects.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 (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 :: IsWindow o => o -> IO Window
toWindow = unsafeCastTo Window
noWindow :: Maybe Window
noWindow = Nothing
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 "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 "replaceData" o = GObject.Object.ObjectReplaceDataMethodInfo
ResolveWindowMethod "replaceQdata" o = GObject.Object.ObjectReplaceQdataMethodInfo
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
fromLabel _ = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#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 ->
Ptr () ->
Ptr () ->
IO ()
wrap_WindowActivateDefaultCallback _cb _ _ = do
_cb
onWindowActivateDefault :: (GObject a, MonadIO m) => a -> WindowActivateDefaultCallback -> m SignalHandlerId
onWindowActivateDefault obj cb = liftIO $ connectWindowActivateDefault obj cb SignalConnectBefore
afterWindowActivateDefault :: (GObject a, MonadIO m) => a -> WindowActivateDefaultCallback -> m SignalHandlerId
afterWindowActivateDefault obj cb = connectWindowActivateDefault obj cb SignalConnectAfter
connectWindowActivateDefault :: (GObject a, MonadIO m) =>
a -> WindowActivateDefaultCallback -> SignalConnectMode -> m SignalHandlerId
connectWindowActivateDefault obj cb after = liftIO $ do
let cb' = wrap_WindowActivateDefaultCallback cb
cb'' <- mk_WindowActivateDefaultCallback cb'
connectSignalFunPtr obj "activate-default" cb'' after
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 ->
Ptr () ->
Ptr () ->
IO ()
wrap_WindowActivateFocusCallback _cb _ _ = do
_cb
onWindowActivateFocus :: (GObject a, MonadIO m) => a -> WindowActivateFocusCallback -> m SignalHandlerId
onWindowActivateFocus obj cb = liftIO $ connectWindowActivateFocus obj cb SignalConnectBefore
afterWindowActivateFocus :: (GObject a, MonadIO m) => a -> WindowActivateFocusCallback -> m SignalHandlerId
afterWindowActivateFocus obj cb = connectWindowActivateFocus obj cb SignalConnectAfter
connectWindowActivateFocus :: (GObject a, MonadIO m) =>
a -> WindowActivateFocusCallback -> SignalConnectMode -> m SignalHandlerId
connectWindowActivateFocus obj cb after = liftIO $ do
let cb' = wrap_WindowActivateFocusCallback cb
cb'' <- mk_WindowActivateFocusCallback cb'
connectSignalFunPtr obj "activate-focus" cb'' after
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 ->
Ptr () ->
CInt ->
Ptr () ->
IO CInt
wrap_WindowEnableDebuggingCallback _cb _ toggle _ = do
let toggle' = (/= 0) toggle
result <- _cb toggle'
let result' = (fromIntegral . fromEnum) result
return result'
onWindowEnableDebugging :: (GObject a, MonadIO m) => a -> WindowEnableDebuggingCallback -> m SignalHandlerId
onWindowEnableDebugging obj cb = liftIO $ connectWindowEnableDebugging obj cb SignalConnectBefore
afterWindowEnableDebugging :: (GObject a, MonadIO m) => a -> WindowEnableDebuggingCallback -> m SignalHandlerId
afterWindowEnableDebugging obj cb = connectWindowEnableDebugging obj cb SignalConnectAfter
connectWindowEnableDebugging :: (GObject a, MonadIO m) =>
a -> WindowEnableDebuggingCallback -> SignalConnectMode -> m SignalHandlerId
connectWindowEnableDebugging obj cb after = liftIO $ do
let cb' = wrap_WindowEnableDebuggingCallback cb
cb'' <- mk_WindowEnableDebuggingCallback cb'
connectSignalFunPtr obj "enable-debugging" cb'' after
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 ->
Ptr () ->
Ptr () ->
IO ()
wrap_WindowKeysChangedCallback _cb _ _ = do
_cb
onWindowKeysChanged :: (GObject a, MonadIO m) => a -> WindowKeysChangedCallback -> m SignalHandlerId
onWindowKeysChanged obj cb = liftIO $ connectWindowKeysChanged obj cb SignalConnectBefore
afterWindowKeysChanged :: (GObject a, MonadIO m) => a -> WindowKeysChangedCallback -> m SignalHandlerId
afterWindowKeysChanged obj cb = connectWindowKeysChanged obj cb SignalConnectAfter
connectWindowKeysChanged :: (GObject a, MonadIO m) =>
a -> WindowKeysChangedCallback -> SignalConnectMode -> m SignalHandlerId
connectWindowKeysChanged obj cb after = liftIO $ do
let cb' = wrap_WindowKeysChangedCallback cb
cb'' <- mk_WindowKeysChangedCallback cb'
connectSignalFunPtr obj "keys-changed" cb'' after
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 ->
Ptr () ->
Ptr Gtk.Widget.Widget ->
Ptr () ->
IO ()
wrap_WindowSetFocusCallback _cb _ object _ = do
object' <- (newObject Gtk.Widget.Widget) object
_cb object'
onWindowSetFocus :: (GObject a, MonadIO m) => a -> WindowSetFocusCallback -> m SignalHandlerId
onWindowSetFocus obj cb = liftIO $ connectWindowSetFocus obj cb SignalConnectBefore
afterWindowSetFocus :: (GObject a, MonadIO m) => a -> WindowSetFocusCallback -> m SignalHandlerId
afterWindowSetFocus obj cb = connectWindowSetFocus obj cb SignalConnectAfter
connectWindowSetFocus :: (GObject a, MonadIO m) =>
a -> WindowSetFocusCallback -> SignalConnectMode -> m SignalHandlerId
connectWindowSetFocus obj cb after = liftIO $ do
let cb' = wrap_WindowSetFocusCallback cb
cb'' <- mk_WindowSetFocusCallback cb'
connectSignalFunPtr obj "set-focus" cb'' after
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
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
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)
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
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)
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
getWindowHasToplevelFocus :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowHasToplevelFocus obj = liftIO $ getObjectPropertyBool obj "has-toplevel-focus"
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
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
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
getWindowIcon :: (MonadIO m, IsWindow o) => o -> m GdkPixbuf.Pixbuf.Pixbuf
getWindowIcon obj = liftIO $ checkUnexpectedNothing "getWindowIcon" $ 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)
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 = GdkPixbuf.Pixbuf.Pixbuf
type AttrLabel WindowIconPropertyInfo = "icon"
type AttrOrigin WindowIconPropertyInfo = Window
attrGet _ = getWindowIcon
attrSet _ = setWindowIcon
attrConstruct _ = constructWindowIcon
attrClear _ = clearWindowIcon
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)
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
getWindowIsActive :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowIsActive obj = liftIO $ getObjectPropertyBool obj "is-active"
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
getWindowIsMaximized :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowIsMaximized obj = liftIO $ getObjectPropertyBool obj "is-maximized"
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
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
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
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
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
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
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
getWindowResizeGripVisible :: (MonadIO m, IsWindow o) => o -> m Bool
getWindowResizeGripVisible obj = liftIO $ getObjectPropertyBool obj "resize-grip-visible"
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
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)
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
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)
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
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
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
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
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
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)
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
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)
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
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)
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
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
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
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
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
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
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
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
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
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, *)])
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
data WindowActivateDefaultSignalInfo
instance SignalInfo WindowActivateDefaultSignalInfo where
type HaskellCallbackType WindowActivateDefaultSignalInfo = WindowActivateDefaultCallback
connectSignal _ = connectWindowActivateDefault
data WindowActivateFocusSignalInfo
instance SignalInfo WindowActivateFocusSignalInfo where
type HaskellCallbackType WindowActivateFocusSignalInfo = WindowActivateFocusCallback
connectSignal _ = connectWindowActivateFocus
data WindowEnableDebuggingSignalInfo
instance SignalInfo WindowEnableDebuggingSignalInfo where
type HaskellCallbackType WindowEnableDebuggingSignalInfo = WindowEnableDebuggingCallback
connectSignal _ = connectWindowEnableDebugging
data WindowKeysChangedSignalInfo
instance SignalInfo WindowKeysChangedSignalInfo where
type HaskellCallbackType WindowKeysChangedSignalInfo = WindowKeysChangedCallback
connectSignal _ = connectWindowKeysChanged
data WindowSetFocusSignalInfo
instance SignalInfo WindowSetFocusSignalInfo where
type HaskellCallbackType WindowSetFocusSignalInfo = WindowSetFocusCallback
connectSignal _ = connectWindowSetFocus
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, *)])
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'
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'
data WindowActivateDefaultMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowActivateDefaultMethodInfo a signature where
overloadedMethod _ = windowActivateDefault
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'
data WindowActivateFocusMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowActivateFocusMethodInfo a signature where
overloadedMethod _ = windowActivateFocus
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'
data WindowActivateKeyMethodInfo
instance (signature ~ (Gdk.EventKey.EventKey -> m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowActivateKeyMethodInfo a signature where
overloadedMethod _ = windowActivateKey
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 ()
data WindowAddAccelGroupMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsWindow a, Gtk.AccelGroup.IsAccelGroup b) => O.MethodInfo WindowAddAccelGroupMethodInfo a signature where
overloadedMethod _ = windowAddAccelGroup
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 ()
data WindowAddMnemonicMethodInfo
instance (signature ~ (Word32 -> b -> m ()), MonadIO m, IsWindow a, Gtk.Widget.IsWidget b) => O.MethodInfo WindowAddMnemonicMethodInfo a signature where
overloadedMethod _ = windowAddMnemonic
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 ()
data WindowBeginMoveDragMethodInfo
instance (signature ~ (Int32 -> Int32 -> Int32 -> Word32 -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowBeginMoveDragMethodInfo a signature where
overloadedMethod _ = windowBeginMoveDrag
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 ()
data WindowBeginResizeDragMethodInfo
instance (signature ~ (Gdk.Enums.WindowEdge -> Int32 -> Int32 -> Int32 -> Word32 -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowBeginResizeDragMethodInfo a signature where
overloadedMethod _ = windowBeginResizeDrag
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 ()
data WindowCloseMethodInfo
instance (signature ~ (m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowCloseMethodInfo a signature where
overloadedMethod _ = windowClose
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 ()
data WindowDeiconifyMethodInfo
instance (signature ~ (m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowDeiconifyMethodInfo a signature where
overloadedMethod _ = windowDeiconify
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 ()
data WindowFullscreenMethodInfo
instance (signature ~ (m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowFullscreenMethodInfo a signature where
overloadedMethod _ = windowFullscreen
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 ()
data WindowFullscreenOnMonitorMethodInfo
instance (signature ~ (b -> Int32 -> m ()), MonadIO m, IsWindow a, Gdk.Screen.IsScreen b) => O.MethodInfo WindowFullscreenOnMonitorMethodInfo a signature where
overloadedMethod _ = windowFullscreenOnMonitor
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'
data WindowGetAcceptFocusMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetAcceptFocusMethodInfo a signature where
overloadedMethod _ = windowGetAcceptFocus
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
data WindowGetApplicationMethodInfo
instance (signature ~ (m (Maybe Gtk.Application.Application)), MonadIO m, IsWindow a) => O.MethodInfo WindowGetApplicationMethodInfo a signature where
overloadedMethod _ = windowGetApplication
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
data WindowGetAttachedToMethodInfo
instance (signature ~ (m (Maybe Gtk.Widget.Widget)), MonadIO m, IsWindow a) => O.MethodInfo WindowGetAttachedToMethodInfo a signature where
overloadedMethod _ = windowGetAttachedTo
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'
data WindowGetDecoratedMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetDecoratedMethodInfo a signature where
overloadedMethod _ = windowGetDecorated
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')
data WindowGetDefaultSizeMethodInfo
instance (signature ~ (m (Int32,Int32)), MonadIO m, IsWindow a) => O.MethodInfo WindowGetDefaultSizeMethodInfo a signature where
overloadedMethod _ = windowGetDefaultSize
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
data WindowGetDefaultWidgetMethodInfo
instance (signature ~ (m (Maybe Gtk.Widget.Widget)), MonadIO m, IsWindow a) => O.MethodInfo WindowGetDefaultWidgetMethodInfo a signature where
overloadedMethod _ = windowGetDefaultWidget
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'
data WindowGetDeletableMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetDeletableMethodInfo a signature where
overloadedMethod _ = windowGetDeletable
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'
data WindowGetDestroyWithParentMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetDestroyWithParentMethodInfo a signature where
overloadedMethod _ = windowGetDestroyWithParent
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
data WindowGetFocusMethodInfo
instance (signature ~ (m (Maybe Gtk.Widget.Widget)), MonadIO m, IsWindow a) => O.MethodInfo WindowGetFocusMethodInfo a signature where
overloadedMethod _ = windowGetFocus
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'
data WindowGetFocusOnMapMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetFocusOnMapMethodInfo a signature where
overloadedMethod _ = windowGetFocusOnMap
foreign import ccall "gtk_window_get_focus_visible" gtk_window_get_focus_visible ::
Ptr Window ->
IO CInt
windowGetFocusVisible ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowGetFocusVisible window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_focus_visible window'
let result' = (/= 0) result
touchManagedPtr window
return result'
data WindowGetFocusVisibleMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetFocusVisibleMethodInfo a signature where
overloadedMethod _ = windowGetFocusVisible
foreign import ccall "gtk_window_get_gravity" gtk_window_get_gravity ::
Ptr Window ->
IO CUInt
windowGetGravity ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Gdk.Enums.Gravity
windowGetGravity window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_gravity window'
let result' = (toEnum . fromIntegral) result
touchManagedPtr window
return result'
data WindowGetGravityMethodInfo
instance (signature ~ (m Gdk.Enums.Gravity), MonadIO m, IsWindow a) => O.MethodInfo WindowGetGravityMethodInfo a signature where
overloadedMethod _ = windowGetGravity
foreign import ccall "gtk_window_get_group" gtk_window_get_group ::
Ptr Window ->
IO (Ptr Gtk.WindowGroup.WindowGroup)
windowGetGroup ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Gtk.WindowGroup.WindowGroup
windowGetGroup window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_group window'
checkUnexpectedReturnNULL "windowGetGroup" result
result' <- (newObject Gtk.WindowGroup.WindowGroup) result
touchManagedPtr window
return result'
data WindowGetGroupMethodInfo
instance (signature ~ (m Gtk.WindowGroup.WindowGroup), MonadIO m, IsWindow a) => O.MethodInfo WindowGetGroupMethodInfo a signature where
overloadedMethod _ = windowGetGroup
foreign import ccall "gtk_window_get_has_resize_grip" gtk_window_get_has_resize_grip ::
Ptr Window ->
IO CInt
windowGetHasResizeGrip ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowGetHasResizeGrip window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_has_resize_grip window'
let result' = (/= 0) result
touchManagedPtr window
return result'
data WindowGetHasResizeGripMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetHasResizeGripMethodInfo a signature where
overloadedMethod _ = windowGetHasResizeGrip
foreign import ccall "gtk_window_get_hide_titlebar_when_maximized" gtk_window_get_hide_titlebar_when_maximized ::
Ptr Window ->
IO CInt
windowGetHideTitlebarWhenMaximized ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowGetHideTitlebarWhenMaximized window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_hide_titlebar_when_maximized window'
let result' = (/= 0) result
touchManagedPtr window
return result'
data WindowGetHideTitlebarWhenMaximizedMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetHideTitlebarWhenMaximizedMethodInfo a signature where
overloadedMethod _ = windowGetHideTitlebarWhenMaximized
foreign import ccall "gtk_window_get_icon" gtk_window_get_icon ::
Ptr Window ->
IO (Ptr GdkPixbuf.Pixbuf.Pixbuf)
windowGetIcon ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m GdkPixbuf.Pixbuf.Pixbuf
windowGetIcon window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_icon window'
checkUnexpectedReturnNULL "windowGetIcon" result
result' <- (newObject GdkPixbuf.Pixbuf.Pixbuf) result
touchManagedPtr window
return result'
data WindowGetIconMethodInfo
instance (signature ~ (m GdkPixbuf.Pixbuf.Pixbuf), MonadIO m, IsWindow a) => O.MethodInfo WindowGetIconMethodInfo a signature where
overloadedMethod _ = windowGetIcon
foreign import ccall "gtk_window_get_icon_list" gtk_window_get_icon_list ::
Ptr Window ->
IO (Ptr (GList (Ptr GdkPixbuf.Pixbuf.Pixbuf)))
windowGetIconList ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m [GdkPixbuf.Pixbuf.Pixbuf]
windowGetIconList window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_icon_list window'
result' <- unpackGList result
result'' <- mapM (newObject GdkPixbuf.Pixbuf.Pixbuf) result'
g_list_free result
touchManagedPtr window
return result''
data WindowGetIconListMethodInfo
instance (signature ~ (m [GdkPixbuf.Pixbuf.Pixbuf]), MonadIO m, IsWindow a) => O.MethodInfo WindowGetIconListMethodInfo a signature where
overloadedMethod _ = windowGetIconList
foreign import ccall "gtk_window_get_icon_name" gtk_window_get_icon_name ::
Ptr Window ->
IO CString
windowGetIconName ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m (Maybe T.Text)
windowGetIconName window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_icon_name window'
maybeResult <- convertIfNonNull result $ \result' -> do
result'' <- cstringToText result'
return result''
touchManagedPtr window
return maybeResult
data WindowGetIconNameMethodInfo
instance (signature ~ (m (Maybe T.Text)), MonadIO m, IsWindow a) => O.MethodInfo WindowGetIconNameMethodInfo a signature where
overloadedMethod _ = windowGetIconName
foreign import ccall "gtk_window_get_mnemonic_modifier" gtk_window_get_mnemonic_modifier ::
Ptr Window ->
IO CUInt
windowGetMnemonicModifier ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m [Gdk.Flags.ModifierType]
windowGetMnemonicModifier window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_mnemonic_modifier window'
let result' = wordToGFlags result
touchManagedPtr window
return result'
data WindowGetMnemonicModifierMethodInfo
instance (signature ~ (m [Gdk.Flags.ModifierType]), MonadIO m, IsWindow a) => O.MethodInfo WindowGetMnemonicModifierMethodInfo a signature where
overloadedMethod _ = windowGetMnemonicModifier
foreign import ccall "gtk_window_get_mnemonics_visible" gtk_window_get_mnemonics_visible ::
Ptr Window ->
IO CInt
windowGetMnemonicsVisible ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowGetMnemonicsVisible window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_mnemonics_visible window'
let result' = (/= 0) result
touchManagedPtr window
return result'
data WindowGetMnemonicsVisibleMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetMnemonicsVisibleMethodInfo a signature where
overloadedMethod _ = windowGetMnemonicsVisible
foreign import ccall "gtk_window_get_modal" gtk_window_get_modal ::
Ptr Window ->
IO CInt
windowGetModal ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowGetModal window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_modal window'
let result' = (/= 0) result
touchManagedPtr window
return result'
data WindowGetModalMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetModalMethodInfo a signature where
overloadedMethod _ = windowGetModal
foreign import ccall "gtk_window_get_opacity" gtk_window_get_opacity ::
Ptr Window ->
IO CDouble
windowGetOpacity ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Double
windowGetOpacity window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_opacity window'
let result' = realToFrac result
touchManagedPtr window
return result'
data WindowGetOpacityMethodInfo
instance (signature ~ (m Double), MonadIO m, IsWindow a) => O.MethodInfo WindowGetOpacityMethodInfo a signature where
overloadedMethod _ = windowGetOpacity
foreign import ccall "gtk_window_get_position" gtk_window_get_position ::
Ptr Window ->
Ptr Int32 ->
Ptr Int32 ->
IO ()
windowGetPosition ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m (Int32,Int32)
windowGetPosition window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
rootX <- allocMem :: IO (Ptr Int32)
rootY <- allocMem :: IO (Ptr Int32)
gtk_window_get_position window' rootX rootY
rootX' <- peek rootX
rootY' <- peek rootY
touchManagedPtr window
freeMem rootX
freeMem rootY
return (rootX', rootY')
data WindowGetPositionMethodInfo
instance (signature ~ (m (Int32,Int32)), MonadIO m, IsWindow a) => O.MethodInfo WindowGetPositionMethodInfo a signature where
overloadedMethod _ = windowGetPosition
foreign import ccall "gtk_window_get_resizable" gtk_window_get_resizable ::
Ptr Window ->
IO CInt
windowGetResizable ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowGetResizable window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_resizable window'
let result' = (/= 0) result
touchManagedPtr window
return result'
data WindowGetResizableMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetResizableMethodInfo a signature where
overloadedMethod _ = windowGetResizable
foreign import ccall "gtk_window_get_resize_grip_area" gtk_window_get_resize_grip_area ::
Ptr Window ->
Ptr Gdk.Rectangle.Rectangle ->
IO CInt
windowGetResizeGripArea ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m (Bool,Gdk.Rectangle.Rectangle)
windowGetResizeGripArea window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
rect <- callocBoxedBytes 16 :: IO (Ptr Gdk.Rectangle.Rectangle)
result <- gtk_window_get_resize_grip_area window' rect
let result' = (/= 0) result
rect' <- (wrapBoxed Gdk.Rectangle.Rectangle) rect
touchManagedPtr window
return (result', rect')
data WindowGetResizeGripAreaMethodInfo
instance (signature ~ (m (Bool,Gdk.Rectangle.Rectangle)), MonadIO m, IsWindow a) => O.MethodInfo WindowGetResizeGripAreaMethodInfo a signature where
overloadedMethod _ = windowGetResizeGripArea
foreign import ccall "gtk_window_get_role" gtk_window_get_role ::
Ptr Window ->
IO CString
windowGetRole ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m (Maybe T.Text)
windowGetRole window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_role window'
maybeResult <- convertIfNonNull result $ \result' -> do
result'' <- cstringToText result'
return result''
touchManagedPtr window
return maybeResult
data WindowGetRoleMethodInfo
instance (signature ~ (m (Maybe T.Text)), MonadIO m, IsWindow a) => O.MethodInfo WindowGetRoleMethodInfo a signature where
overloadedMethod _ = windowGetRole
foreign import ccall "gtk_window_get_screen" gtk_window_get_screen ::
Ptr Window ->
IO (Ptr Gdk.Screen.Screen)
windowGetScreen ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Gdk.Screen.Screen
windowGetScreen window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_screen window'
checkUnexpectedReturnNULL "windowGetScreen" result
result' <- (newObject Gdk.Screen.Screen) result
touchManagedPtr window
return result'
data WindowGetScreenMethodInfo
instance (signature ~ (m Gdk.Screen.Screen), MonadIO m, IsWindow a) => O.MethodInfo WindowGetScreenMethodInfo a signature where
overloadedMethod _ = windowGetScreen
foreign import ccall "gtk_window_get_size" gtk_window_get_size ::
Ptr Window ->
Ptr Int32 ->
Ptr Int32 ->
IO ()
windowGetSize ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m (Int32,Int32)
windowGetSize window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
width <- allocMem :: IO (Ptr Int32)
height <- allocMem :: IO (Ptr Int32)
gtk_window_get_size window' width height
width' <- peek width
height' <- peek height
touchManagedPtr window
freeMem width
freeMem height
return (width', height')
data WindowGetSizeMethodInfo
instance (signature ~ (m (Int32,Int32)), MonadIO m, IsWindow a) => O.MethodInfo WindowGetSizeMethodInfo a signature where
overloadedMethod _ = windowGetSize
foreign import ccall "gtk_window_get_skip_pager_hint" gtk_window_get_skip_pager_hint ::
Ptr Window ->
IO CInt
windowGetSkipPagerHint ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowGetSkipPagerHint window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_skip_pager_hint window'
let result' = (/= 0) result
touchManagedPtr window
return result'
data WindowGetSkipPagerHintMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetSkipPagerHintMethodInfo a signature where
overloadedMethod _ = windowGetSkipPagerHint
foreign import ccall "gtk_window_get_skip_taskbar_hint" gtk_window_get_skip_taskbar_hint ::
Ptr Window ->
IO CInt
windowGetSkipTaskbarHint ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowGetSkipTaskbarHint window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_skip_taskbar_hint window'
let result' = (/= 0) result
touchManagedPtr window
return result'
data WindowGetSkipTaskbarHintMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetSkipTaskbarHintMethodInfo a signature where
overloadedMethod _ = windowGetSkipTaskbarHint
foreign import ccall "gtk_window_get_title" gtk_window_get_title ::
Ptr Window ->
IO CString
windowGetTitle ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m (Maybe T.Text)
windowGetTitle window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_title window'
maybeResult <- convertIfNonNull result $ \result' -> do
result'' <- cstringToText result'
return result''
touchManagedPtr window
return maybeResult
data WindowGetTitleMethodInfo
instance (signature ~ (m (Maybe T.Text)), MonadIO m, IsWindow a) => O.MethodInfo WindowGetTitleMethodInfo a signature where
overloadedMethod _ = windowGetTitle
foreign import ccall "gtk_window_get_titlebar" gtk_window_get_titlebar ::
Ptr Window ->
IO (Ptr Gtk.Widget.Widget)
windowGetTitlebar ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m (Maybe Gtk.Widget.Widget)
windowGetTitlebar window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_titlebar window'
maybeResult <- convertIfNonNull result $ \result' -> do
result'' <- (newObject Gtk.Widget.Widget) result'
return result''
touchManagedPtr window
return maybeResult
data WindowGetTitlebarMethodInfo
instance (signature ~ (m (Maybe Gtk.Widget.Widget)), MonadIO m, IsWindow a) => O.MethodInfo WindowGetTitlebarMethodInfo a signature where
overloadedMethod _ = windowGetTitlebar
foreign import ccall "gtk_window_get_transient_for" gtk_window_get_transient_for ::
Ptr Window ->
IO (Ptr Window)
windowGetTransientFor ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m (Maybe Window)
windowGetTransientFor window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_transient_for window'
maybeResult <- convertIfNonNull result $ \result' -> do
result'' <- (newObject Window) result'
return result''
touchManagedPtr window
return maybeResult
data WindowGetTransientForMethodInfo
instance (signature ~ (m (Maybe Window)), MonadIO m, IsWindow a) => O.MethodInfo WindowGetTransientForMethodInfo a signature where
overloadedMethod _ = windowGetTransientFor
foreign import ccall "gtk_window_get_type_hint" gtk_window_get_type_hint ::
Ptr Window ->
IO CUInt
windowGetTypeHint ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Gdk.Enums.WindowTypeHint
windowGetTypeHint window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_type_hint window'
let result' = (toEnum . fromIntegral) result
touchManagedPtr window
return result'
data WindowGetTypeHintMethodInfo
instance (signature ~ (m Gdk.Enums.WindowTypeHint), MonadIO m, IsWindow a) => O.MethodInfo WindowGetTypeHintMethodInfo a signature where
overloadedMethod _ = windowGetTypeHint
foreign import ccall "gtk_window_get_urgency_hint" gtk_window_get_urgency_hint ::
Ptr Window ->
IO CInt
windowGetUrgencyHint ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowGetUrgencyHint window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_urgency_hint window'
let result' = (/= 0) result
touchManagedPtr window
return result'
data WindowGetUrgencyHintMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowGetUrgencyHintMethodInfo a signature where
overloadedMethod _ = windowGetUrgencyHint
foreign import ccall "gtk_window_get_window_type" gtk_window_get_window_type ::
Ptr Window ->
IO CUInt
windowGetWindowType ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Gtk.Enums.WindowType
windowGetWindowType window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_get_window_type window'
let result' = (toEnum . fromIntegral) result
touchManagedPtr window
return result'
data WindowGetWindowTypeMethodInfo
instance (signature ~ (m Gtk.Enums.WindowType), MonadIO m, IsWindow a) => O.MethodInfo WindowGetWindowTypeMethodInfo a signature where
overloadedMethod _ = windowGetWindowType
foreign import ccall "gtk_window_has_group" gtk_window_has_group ::
Ptr Window ->
IO CInt
windowHasGroup ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowHasGroup window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_has_group window'
let result' = (/= 0) result
touchManagedPtr window
return result'
data WindowHasGroupMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowHasGroupMethodInfo a signature where
overloadedMethod _ = windowHasGroup
foreign import ccall "gtk_window_has_toplevel_focus" gtk_window_has_toplevel_focus ::
Ptr Window ->
IO CInt
windowHasToplevelFocus ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowHasToplevelFocus window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_has_toplevel_focus window'
let result' = (/= 0) result
touchManagedPtr window
return result'
data WindowHasToplevelFocusMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowHasToplevelFocusMethodInfo a signature where
overloadedMethod _ = windowHasToplevelFocus
foreign import ccall "gtk_window_iconify" gtk_window_iconify ::
Ptr Window ->
IO ()
windowIconify ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m ()
windowIconify window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_iconify window'
touchManagedPtr window
return ()
data WindowIconifyMethodInfo
instance (signature ~ (m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowIconifyMethodInfo a signature where
overloadedMethod _ = windowIconify
foreign import ccall "gtk_window_is_active" gtk_window_is_active ::
Ptr Window ->
IO CInt
windowIsActive ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowIsActive window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_is_active window'
let result' = (/= 0) result
touchManagedPtr window
return result'
data WindowIsActiveMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowIsActiveMethodInfo a signature where
overloadedMethod _ = windowIsActive
foreign import ccall "gtk_window_is_maximized" gtk_window_is_maximized ::
Ptr Window ->
IO CInt
windowIsMaximized ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowIsMaximized window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_is_maximized window'
let result' = (/= 0) result
touchManagedPtr window
return result'
data WindowIsMaximizedMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowIsMaximizedMethodInfo a signature where
overloadedMethod _ = windowIsMaximized
foreign import ccall "gtk_window_maximize" gtk_window_maximize ::
Ptr Window ->
IO ()
windowMaximize ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m ()
windowMaximize window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_maximize window'
touchManagedPtr window
return ()
data WindowMaximizeMethodInfo
instance (signature ~ (m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowMaximizeMethodInfo a signature where
overloadedMethod _ = windowMaximize
foreign import ccall "gtk_window_mnemonic_activate" gtk_window_mnemonic_activate ::
Ptr Window ->
Word32 ->
CUInt ->
IO CInt
windowMnemonicActivate ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Word32
-> [Gdk.Flags.ModifierType]
-> m Bool
windowMnemonicActivate window keyval modifier = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let modifier' = gflagsToWord modifier
result <- gtk_window_mnemonic_activate window' keyval modifier'
let result' = (/= 0) result
touchManagedPtr window
return result'
data WindowMnemonicActivateMethodInfo
instance (signature ~ (Word32 -> [Gdk.Flags.ModifierType] -> m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowMnemonicActivateMethodInfo a signature where
overloadedMethod _ = windowMnemonicActivate
foreign import ccall "gtk_window_move" gtk_window_move ::
Ptr Window ->
Int32 ->
Int32 ->
IO ()
windowMove ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Int32
-> Int32
-> m ()
windowMove window x y = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_move window' x y
touchManagedPtr window
return ()
data WindowMoveMethodInfo
instance (signature ~ (Int32 -> Int32 -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowMoveMethodInfo a signature where
overloadedMethod _ = windowMove
foreign import ccall "gtk_window_parse_geometry" gtk_window_parse_geometry ::
Ptr Window ->
CString ->
IO CInt
windowParseGeometry ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> T.Text
-> m Bool
windowParseGeometry window geometry = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
geometry' <- textToCString geometry
result <- gtk_window_parse_geometry window' geometry'
let result' = (/= 0) result
touchManagedPtr window
freeMem geometry'
return result'
data WindowParseGeometryMethodInfo
instance (signature ~ (T.Text -> m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowParseGeometryMethodInfo a signature where
overloadedMethod _ = windowParseGeometry
foreign import ccall "gtk_window_present" gtk_window_present ::
Ptr Window ->
IO ()
windowPresent ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m ()
windowPresent window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_present window'
touchManagedPtr window
return ()
data WindowPresentMethodInfo
instance (signature ~ (m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowPresentMethodInfo a signature where
overloadedMethod _ = windowPresent
foreign import ccall "gtk_window_present_with_time" gtk_window_present_with_time ::
Ptr Window ->
Word32 ->
IO ()
windowPresentWithTime ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Word32
-> m ()
windowPresentWithTime window timestamp = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_present_with_time window' timestamp
touchManagedPtr window
return ()
data WindowPresentWithTimeMethodInfo
instance (signature ~ (Word32 -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowPresentWithTimeMethodInfo a signature where
overloadedMethod _ = windowPresentWithTime
foreign import ccall "gtk_window_propagate_key_event" gtk_window_propagate_key_event ::
Ptr Window ->
Ptr Gdk.EventKey.EventKey ->
IO CInt
windowPropagateKeyEvent ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Gdk.EventKey.EventKey
-> m Bool
windowPropagateKeyEvent window event = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
event' <- unsafeManagedPtrGetPtr event
result <- gtk_window_propagate_key_event window' event'
let result' = (/= 0) result
touchManagedPtr window
touchManagedPtr event
return result'
data WindowPropagateKeyEventMethodInfo
instance (signature ~ (Gdk.EventKey.EventKey -> m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowPropagateKeyEventMethodInfo a signature where
overloadedMethod _ = windowPropagateKeyEvent
foreign import ccall "gtk_window_remove_accel_group" gtk_window_remove_accel_group ::
Ptr Window ->
Ptr Gtk.AccelGroup.AccelGroup ->
IO ()
windowRemoveAccelGroup ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a, Gtk.AccelGroup.IsAccelGroup b) =>
a
-> b
-> m ()
windowRemoveAccelGroup window accelGroup = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
accelGroup' <- unsafeManagedPtrCastPtr accelGroup
gtk_window_remove_accel_group window' accelGroup'
touchManagedPtr window
touchManagedPtr accelGroup
return ()
data WindowRemoveAccelGroupMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsWindow a, Gtk.AccelGroup.IsAccelGroup b) => O.MethodInfo WindowRemoveAccelGroupMethodInfo a signature where
overloadedMethod _ = windowRemoveAccelGroup
foreign import ccall "gtk_window_remove_mnemonic" gtk_window_remove_mnemonic ::
Ptr Window ->
Word32 ->
Ptr Gtk.Widget.Widget ->
IO ()
windowRemoveMnemonic ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a, Gtk.Widget.IsWidget b) =>
a
-> Word32
-> b
-> m ()
windowRemoveMnemonic window keyval target = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
target' <- unsafeManagedPtrCastPtr target
gtk_window_remove_mnemonic window' keyval target'
touchManagedPtr window
touchManagedPtr target
return ()
data WindowRemoveMnemonicMethodInfo
instance (signature ~ (Word32 -> b -> m ()), MonadIO m, IsWindow a, Gtk.Widget.IsWidget b) => O.MethodInfo WindowRemoveMnemonicMethodInfo a signature where
overloadedMethod _ = windowRemoveMnemonic
foreign import ccall "gtk_window_reshow_with_initial_size" gtk_window_reshow_with_initial_size ::
Ptr Window ->
IO ()
windowReshowWithInitialSize ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m ()
windowReshowWithInitialSize window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_reshow_with_initial_size window'
touchManagedPtr window
return ()
data WindowReshowWithInitialSizeMethodInfo
instance (signature ~ (m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowReshowWithInitialSizeMethodInfo a signature where
overloadedMethod _ = windowReshowWithInitialSize
foreign import ccall "gtk_window_resize" gtk_window_resize ::
Ptr Window ->
Int32 ->
Int32 ->
IO ()
windowResize ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Int32
-> Int32
-> m ()
windowResize window width height = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_resize window' width height
touchManagedPtr window
return ()
data WindowResizeMethodInfo
instance (signature ~ (Int32 -> Int32 -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowResizeMethodInfo a signature where
overloadedMethod _ = windowResize
foreign import ccall "gtk_window_resize_grip_is_visible" gtk_window_resize_grip_is_visible ::
Ptr Window ->
IO CInt
windowResizeGripIsVisible ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m Bool
windowResizeGripIsVisible window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
result <- gtk_window_resize_grip_is_visible window'
let result' = (/= 0) result
touchManagedPtr window
return result'
data WindowResizeGripIsVisibleMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsWindow a) => O.MethodInfo WindowResizeGripIsVisibleMethodInfo a signature where
overloadedMethod _ = windowResizeGripIsVisible
foreign import ccall "gtk_window_resize_to_geometry" gtk_window_resize_to_geometry ::
Ptr Window ->
Int32 ->
Int32 ->
IO ()
windowResizeToGeometry ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Int32
-> Int32
-> m ()
windowResizeToGeometry window width height = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_resize_to_geometry window' width height
touchManagedPtr window
return ()
data WindowResizeToGeometryMethodInfo
instance (signature ~ (Int32 -> Int32 -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowResizeToGeometryMethodInfo a signature where
overloadedMethod _ = windowResizeToGeometry
foreign import ccall "gtk_window_set_accept_focus" gtk_window_set_accept_focus ::
Ptr Window ->
CInt ->
IO ()
windowSetAcceptFocus ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Bool
-> m ()
windowSetAcceptFocus window setting = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let setting' = (fromIntegral . fromEnum) setting
gtk_window_set_accept_focus window' setting'
touchManagedPtr window
return ()
data WindowSetAcceptFocusMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetAcceptFocusMethodInfo a signature where
overloadedMethod _ = windowSetAcceptFocus
foreign import ccall "gtk_window_set_application" gtk_window_set_application ::
Ptr Window ->
Ptr Gtk.Application.Application ->
IO ()
windowSetApplication ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a, Gtk.Application.IsApplication b) =>
a
-> Maybe (b)
-> m ()
windowSetApplication window application = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
maybeApplication <- case application of
Nothing -> return nullPtr
Just jApplication -> do
jApplication' <- unsafeManagedPtrCastPtr jApplication
return jApplication'
gtk_window_set_application window' maybeApplication
touchManagedPtr window
whenJust application touchManagedPtr
return ()
data WindowSetApplicationMethodInfo
instance (signature ~ (Maybe (b) -> m ()), MonadIO m, IsWindow a, Gtk.Application.IsApplication b) => O.MethodInfo WindowSetApplicationMethodInfo a signature where
overloadedMethod _ = windowSetApplication
foreign import ccall "gtk_window_set_attached_to" gtk_window_set_attached_to ::
Ptr Window ->
Ptr Gtk.Widget.Widget ->
IO ()
windowSetAttachedTo ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a, Gtk.Widget.IsWidget b) =>
a
-> Maybe (b)
-> m ()
windowSetAttachedTo window attachWidget = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
maybeAttachWidget <- case attachWidget of
Nothing -> return nullPtr
Just jAttachWidget -> do
jAttachWidget' <- unsafeManagedPtrCastPtr jAttachWidget
return jAttachWidget'
gtk_window_set_attached_to window' maybeAttachWidget
touchManagedPtr window
whenJust attachWidget touchManagedPtr
return ()
data WindowSetAttachedToMethodInfo
instance (signature ~ (Maybe (b) -> m ()), MonadIO m, IsWindow a, Gtk.Widget.IsWidget b) => O.MethodInfo WindowSetAttachedToMethodInfo a signature where
overloadedMethod _ = windowSetAttachedTo
foreign import ccall "gtk_window_set_decorated" gtk_window_set_decorated ::
Ptr Window ->
CInt ->
IO ()
windowSetDecorated ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Bool
-> m ()
windowSetDecorated window setting = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let setting' = (fromIntegral . fromEnum) setting
gtk_window_set_decorated window' setting'
touchManagedPtr window
return ()
data WindowSetDecoratedMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetDecoratedMethodInfo a signature where
overloadedMethod _ = windowSetDecorated
foreign import ccall "gtk_window_set_default" gtk_window_set_default ::
Ptr Window ->
Ptr Gtk.Widget.Widget ->
IO ()
windowSetDefault ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a, Gtk.Widget.IsWidget b) =>
a
-> Maybe (b)
-> m ()
windowSetDefault window defaultWidget = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
maybeDefaultWidget <- case defaultWidget of
Nothing -> return nullPtr
Just jDefaultWidget -> do
jDefaultWidget' <- unsafeManagedPtrCastPtr jDefaultWidget
return jDefaultWidget'
gtk_window_set_default window' maybeDefaultWidget
touchManagedPtr window
whenJust defaultWidget touchManagedPtr
return ()
data WindowSetDefaultMethodInfo
instance (signature ~ (Maybe (b) -> m ()), MonadIO m, IsWindow a, Gtk.Widget.IsWidget b) => O.MethodInfo WindowSetDefaultMethodInfo a signature where
overloadedMethod _ = windowSetDefault
foreign import ccall "gtk_window_set_default_geometry" gtk_window_set_default_geometry ::
Ptr Window ->
Int32 ->
Int32 ->
IO ()
windowSetDefaultGeometry ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Int32
-> Int32
-> m ()
windowSetDefaultGeometry window width height = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_set_default_geometry window' width height
touchManagedPtr window
return ()
data WindowSetDefaultGeometryMethodInfo
instance (signature ~ (Int32 -> Int32 -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetDefaultGeometryMethodInfo a signature where
overloadedMethod _ = windowSetDefaultGeometry
foreign import ccall "gtk_window_set_default_size" gtk_window_set_default_size ::
Ptr Window ->
Int32 ->
Int32 ->
IO ()
windowSetDefaultSize ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Int32
-> Int32
-> m ()
windowSetDefaultSize window width height = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_set_default_size window' width height
touchManagedPtr window
return ()
data WindowSetDefaultSizeMethodInfo
instance (signature ~ (Int32 -> Int32 -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetDefaultSizeMethodInfo a signature where
overloadedMethod _ = windowSetDefaultSize
foreign import ccall "gtk_window_set_deletable" gtk_window_set_deletable ::
Ptr Window ->
CInt ->
IO ()
windowSetDeletable ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Bool
-> m ()
windowSetDeletable window setting = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let setting' = (fromIntegral . fromEnum) setting
gtk_window_set_deletable window' setting'
touchManagedPtr window
return ()
data WindowSetDeletableMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetDeletableMethodInfo a signature where
overloadedMethod _ = windowSetDeletable
foreign import ccall "gtk_window_set_destroy_with_parent" gtk_window_set_destroy_with_parent ::
Ptr Window ->
CInt ->
IO ()
windowSetDestroyWithParent ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Bool
-> m ()
windowSetDestroyWithParent window setting = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let setting' = (fromIntegral . fromEnum) setting
gtk_window_set_destroy_with_parent window' setting'
touchManagedPtr window
return ()
data WindowSetDestroyWithParentMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetDestroyWithParentMethodInfo a signature where
overloadedMethod _ = windowSetDestroyWithParent
foreign import ccall "gtk_window_set_focus" gtk_window_set_focus ::
Ptr Window ->
Ptr Gtk.Widget.Widget ->
IO ()
windowSetFocus ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a, Gtk.Widget.IsWidget b) =>
a
-> Maybe (b)
-> m ()
windowSetFocus window focus = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
maybeFocus <- case focus of
Nothing -> return nullPtr
Just jFocus -> do
jFocus' <- unsafeManagedPtrCastPtr jFocus
return jFocus'
gtk_window_set_focus window' maybeFocus
touchManagedPtr window
whenJust focus touchManagedPtr
return ()
data WindowSetFocusMethodInfo
instance (signature ~ (Maybe (b) -> m ()), MonadIO m, IsWindow a, Gtk.Widget.IsWidget b) => O.MethodInfo WindowSetFocusMethodInfo a signature where
overloadedMethod _ = windowSetFocus
foreign import ccall "gtk_window_set_focus_on_map" gtk_window_set_focus_on_map ::
Ptr Window ->
CInt ->
IO ()
windowSetFocusOnMap ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Bool
-> m ()
windowSetFocusOnMap window setting = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let setting' = (fromIntegral . fromEnum) setting
gtk_window_set_focus_on_map window' setting'
touchManagedPtr window
return ()
data WindowSetFocusOnMapMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetFocusOnMapMethodInfo a signature where
overloadedMethod _ = windowSetFocusOnMap
foreign import ccall "gtk_window_set_focus_visible" gtk_window_set_focus_visible ::
Ptr Window ->
CInt ->
IO ()
windowSetFocusVisible ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Bool
-> m ()
windowSetFocusVisible window setting = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let setting' = (fromIntegral . fromEnum) setting
gtk_window_set_focus_visible window' setting'
touchManagedPtr window
return ()
data WindowSetFocusVisibleMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetFocusVisibleMethodInfo a signature where
overloadedMethod _ = windowSetFocusVisible
foreign import ccall "gtk_window_set_geometry_hints" gtk_window_set_geometry_hints ::
Ptr Window ->
Ptr Gtk.Widget.Widget ->
Ptr Gdk.Geometry.Geometry ->
CUInt ->
IO ()
windowSetGeometryHints ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a, Gtk.Widget.IsWidget b) =>
a
-> Maybe (b)
-> Maybe (Gdk.Geometry.Geometry)
-> [Gdk.Flags.WindowHints]
-> m ()
windowSetGeometryHints window geometryWidget geometry geomMask = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
maybeGeometryWidget <- case geometryWidget of
Nothing -> return nullPtr
Just jGeometryWidget -> do
jGeometryWidget' <- unsafeManagedPtrCastPtr jGeometryWidget
return jGeometryWidget'
maybeGeometry <- case geometry of
Nothing -> return nullPtr
Just jGeometry -> do
jGeometry' <- unsafeManagedPtrGetPtr jGeometry
return jGeometry'
let geomMask' = gflagsToWord geomMask
gtk_window_set_geometry_hints window' maybeGeometryWidget maybeGeometry geomMask'
touchManagedPtr window
whenJust geometryWidget touchManagedPtr
whenJust geometry touchManagedPtr
return ()
data WindowSetGeometryHintsMethodInfo
instance (signature ~ (Maybe (b) -> Maybe (Gdk.Geometry.Geometry) -> [Gdk.Flags.WindowHints] -> m ()), MonadIO m, IsWindow a, Gtk.Widget.IsWidget b) => O.MethodInfo WindowSetGeometryHintsMethodInfo a signature where
overloadedMethod _ = windowSetGeometryHints
foreign import ccall "gtk_window_set_gravity" gtk_window_set_gravity ::
Ptr Window ->
CUInt ->
IO ()
windowSetGravity ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Gdk.Enums.Gravity
-> m ()
windowSetGravity window gravity = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let gravity' = (fromIntegral . fromEnum) gravity
gtk_window_set_gravity window' gravity'
touchManagedPtr window
return ()
data WindowSetGravityMethodInfo
instance (signature ~ (Gdk.Enums.Gravity -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetGravityMethodInfo a signature where
overloadedMethod _ = windowSetGravity
foreign import ccall "gtk_window_set_has_resize_grip" gtk_window_set_has_resize_grip ::
Ptr Window ->
CInt ->
IO ()
windowSetHasResizeGrip ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Bool
-> m ()
windowSetHasResizeGrip window value = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let value' = (fromIntegral . fromEnum) value
gtk_window_set_has_resize_grip window' value'
touchManagedPtr window
return ()
data WindowSetHasResizeGripMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetHasResizeGripMethodInfo a signature where
overloadedMethod _ = windowSetHasResizeGrip
foreign import ccall "gtk_window_set_has_user_ref_count" gtk_window_set_has_user_ref_count ::
Ptr Window ->
CInt ->
IO ()
windowSetHasUserRefCount ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Bool
-> m ()
windowSetHasUserRefCount window setting = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let setting' = (fromIntegral . fromEnum) setting
gtk_window_set_has_user_ref_count window' setting'
touchManagedPtr window
return ()
data WindowSetHasUserRefCountMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetHasUserRefCountMethodInfo a signature where
overloadedMethod _ = windowSetHasUserRefCount
foreign import ccall "gtk_window_set_hide_titlebar_when_maximized" gtk_window_set_hide_titlebar_when_maximized ::
Ptr Window ->
CInt ->
IO ()
windowSetHideTitlebarWhenMaximized ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Bool
-> m ()
windowSetHideTitlebarWhenMaximized window setting = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let setting' = (fromIntegral . fromEnum) setting
gtk_window_set_hide_titlebar_when_maximized window' setting'
touchManagedPtr window
return ()
data WindowSetHideTitlebarWhenMaximizedMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetHideTitlebarWhenMaximizedMethodInfo a signature where
overloadedMethod _ = windowSetHideTitlebarWhenMaximized
foreign import ccall "gtk_window_set_icon" gtk_window_set_icon ::
Ptr Window ->
Ptr GdkPixbuf.Pixbuf.Pixbuf ->
IO ()
windowSetIcon ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a, GdkPixbuf.Pixbuf.IsPixbuf b) =>
a
-> Maybe (b)
-> m ()
windowSetIcon window icon = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
maybeIcon <- case icon of
Nothing -> return nullPtr
Just jIcon -> do
jIcon' <- unsafeManagedPtrCastPtr jIcon
return jIcon'
gtk_window_set_icon window' maybeIcon
touchManagedPtr window
whenJust icon touchManagedPtr
return ()
data WindowSetIconMethodInfo
instance (signature ~ (Maybe (b) -> m ()), MonadIO m, IsWindow a, GdkPixbuf.Pixbuf.IsPixbuf b) => O.MethodInfo WindowSetIconMethodInfo a signature where
overloadedMethod _ = windowSetIcon
foreign import ccall "gtk_window_set_icon_from_file" gtk_window_set_icon_from_file ::
Ptr Window ->
CString ->
Ptr (Ptr GError) ->
IO CInt
windowSetIconFromFile ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> [Char]
-> m ()
windowSetIconFromFile window filename = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
filename' <- stringToCString filename
onException (do
_ <- propagateGError $ gtk_window_set_icon_from_file window' filename'
touchManagedPtr window
freeMem filename'
return ()
) (do
freeMem filename'
)
data WindowSetIconFromFileMethodInfo
instance (signature ~ ([Char] -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetIconFromFileMethodInfo a signature where
overloadedMethod _ = windowSetIconFromFile
foreign import ccall "gtk_window_set_icon_list" gtk_window_set_icon_list ::
Ptr Window ->
Ptr (GList (Ptr GdkPixbuf.Pixbuf.Pixbuf)) ->
IO ()
windowSetIconList ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a, GdkPixbuf.Pixbuf.IsPixbuf b) =>
a
-> [b]
-> m ()
windowSetIconList window list = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
list' <- mapM unsafeManagedPtrCastPtr list
list'' <- packGList list'
gtk_window_set_icon_list window' list''
touchManagedPtr window
mapM_ touchManagedPtr list
g_list_free list''
return ()
data WindowSetIconListMethodInfo
instance (signature ~ ([b] -> m ()), MonadIO m, IsWindow a, GdkPixbuf.Pixbuf.IsPixbuf b) => O.MethodInfo WindowSetIconListMethodInfo a signature where
overloadedMethod _ = windowSetIconList
foreign import ccall "gtk_window_set_icon_name" gtk_window_set_icon_name ::
Ptr Window ->
CString ->
IO ()
windowSetIconName ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Maybe (T.Text)
-> m ()
windowSetIconName window name = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
maybeName <- case name of
Nothing -> return nullPtr
Just jName -> do
jName' <- textToCString jName
return jName'
gtk_window_set_icon_name window' maybeName
touchManagedPtr window
freeMem maybeName
return ()
data WindowSetIconNameMethodInfo
instance (signature ~ (Maybe (T.Text) -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetIconNameMethodInfo a signature where
overloadedMethod _ = windowSetIconName
foreign import ccall "gtk_window_set_keep_above" gtk_window_set_keep_above ::
Ptr Window ->
CInt ->
IO ()
windowSetKeepAbove ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Bool
-> m ()
windowSetKeepAbove window setting = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let setting' = (fromIntegral . fromEnum) setting
gtk_window_set_keep_above window' setting'
touchManagedPtr window
return ()
data WindowSetKeepAboveMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetKeepAboveMethodInfo a signature where
overloadedMethod _ = windowSetKeepAbove
foreign import ccall "gtk_window_set_keep_below" gtk_window_set_keep_below ::
Ptr Window ->
CInt ->
IO ()
windowSetKeepBelow ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Bool
-> m ()
windowSetKeepBelow window setting = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let setting' = (fromIntegral . fromEnum) setting
gtk_window_set_keep_below window' setting'
touchManagedPtr window
return ()
data WindowSetKeepBelowMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetKeepBelowMethodInfo a signature where
overloadedMethod _ = windowSetKeepBelow
foreign import ccall "gtk_window_set_mnemonic_modifier" gtk_window_set_mnemonic_modifier ::
Ptr Window ->
CUInt ->
IO ()
windowSetMnemonicModifier ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> [Gdk.Flags.ModifierType]
-> m ()
windowSetMnemonicModifier window modifier = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let modifier' = gflagsToWord modifier
gtk_window_set_mnemonic_modifier window' modifier'
touchManagedPtr window
return ()
data WindowSetMnemonicModifierMethodInfo
instance (signature ~ ([Gdk.Flags.ModifierType] -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetMnemonicModifierMethodInfo a signature where
overloadedMethod _ = windowSetMnemonicModifier
foreign import ccall "gtk_window_set_mnemonics_visible" gtk_window_set_mnemonics_visible ::
Ptr Window ->
CInt ->
IO ()
windowSetMnemonicsVisible ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Bool
-> m ()
windowSetMnemonicsVisible window setting = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let setting' = (fromIntegral . fromEnum) setting
gtk_window_set_mnemonics_visible window' setting'
touchManagedPtr window
return ()
data WindowSetMnemonicsVisibleMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetMnemonicsVisibleMethodInfo a signature where
overloadedMethod _ = windowSetMnemonicsVisible
foreign import ccall "gtk_window_set_modal" gtk_window_set_modal ::
Ptr Window ->
CInt ->
IO ()
windowSetModal ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Bool
-> m ()
windowSetModal window modal = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let modal' = (fromIntegral . fromEnum) modal
gtk_window_set_modal window' modal'
touchManagedPtr window
return ()
data WindowSetModalMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetModalMethodInfo a signature where
overloadedMethod _ = windowSetModal
foreign import ccall "gtk_window_set_opacity" gtk_window_set_opacity ::
Ptr Window ->
CDouble ->
IO ()
windowSetOpacity ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Double
-> m ()
windowSetOpacity window opacity = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let opacity' = realToFrac opacity
gtk_window_set_opacity window' opacity'
touchManagedPtr window
return ()
data WindowSetOpacityMethodInfo
instance (signature ~ (Double -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetOpacityMethodInfo a signature where
overloadedMethod _ = windowSetOpacity
foreign import ccall "gtk_window_set_position" gtk_window_set_position ::
Ptr Window ->
CUInt ->
IO ()
windowSetPosition ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Gtk.Enums.WindowPosition
-> m ()
windowSetPosition window position = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let position' = (fromIntegral . fromEnum) position
gtk_window_set_position window' position'
touchManagedPtr window
return ()
data WindowSetPositionMethodInfo
instance (signature ~ (Gtk.Enums.WindowPosition -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetPositionMethodInfo a signature where
overloadedMethod _ = windowSetPosition
foreign import ccall "gtk_window_set_resizable" gtk_window_set_resizable ::
Ptr Window ->
CInt ->
IO ()
windowSetResizable ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Bool
-> m ()
windowSetResizable window resizable = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let resizable' = (fromIntegral . fromEnum) resizable
gtk_window_set_resizable window' resizable'
touchManagedPtr window
return ()
data WindowSetResizableMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetResizableMethodInfo a signature where
overloadedMethod _ = windowSetResizable
foreign import ccall "gtk_window_set_role" gtk_window_set_role ::
Ptr Window ->
CString ->
IO ()
windowSetRole ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> T.Text
-> m ()
windowSetRole window role = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
role' <- textToCString role
gtk_window_set_role window' role'
touchManagedPtr window
freeMem role'
return ()
data WindowSetRoleMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetRoleMethodInfo a signature where
overloadedMethod _ = windowSetRole
foreign import ccall "gtk_window_set_screen" gtk_window_set_screen ::
Ptr Window ->
Ptr Gdk.Screen.Screen ->
IO ()
windowSetScreen ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a, Gdk.Screen.IsScreen b) =>
a
-> b
-> m ()
windowSetScreen window screen = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
screen' <- unsafeManagedPtrCastPtr screen
gtk_window_set_screen window' screen'
touchManagedPtr window
touchManagedPtr screen
return ()
data WindowSetScreenMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsWindow a, Gdk.Screen.IsScreen b) => O.MethodInfo WindowSetScreenMethodInfo a signature where
overloadedMethod _ = windowSetScreen
foreign import ccall "gtk_window_set_skip_pager_hint" gtk_window_set_skip_pager_hint ::
Ptr Window ->
CInt ->
IO ()
windowSetSkipPagerHint ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Bool
-> m ()
windowSetSkipPagerHint window setting = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let setting' = (fromIntegral . fromEnum) setting
gtk_window_set_skip_pager_hint window' setting'
touchManagedPtr window
return ()
data WindowSetSkipPagerHintMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetSkipPagerHintMethodInfo a signature where
overloadedMethod _ = windowSetSkipPagerHint
foreign import ccall "gtk_window_set_skip_taskbar_hint" gtk_window_set_skip_taskbar_hint ::
Ptr Window ->
CInt ->
IO ()
windowSetSkipTaskbarHint ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Bool
-> m ()
windowSetSkipTaskbarHint window setting = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let setting' = (fromIntegral . fromEnum) setting
gtk_window_set_skip_taskbar_hint window' setting'
touchManagedPtr window
return ()
data WindowSetSkipTaskbarHintMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetSkipTaskbarHintMethodInfo a signature where
overloadedMethod _ = windowSetSkipTaskbarHint
foreign import ccall "gtk_window_set_startup_id" gtk_window_set_startup_id ::
Ptr Window ->
CString ->
IO ()
windowSetStartupId ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> T.Text
-> m ()
windowSetStartupId window startupId = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
startupId' <- textToCString startupId
gtk_window_set_startup_id window' startupId'
touchManagedPtr window
freeMem startupId'
return ()
data WindowSetStartupIdMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetStartupIdMethodInfo a signature where
overloadedMethod _ = windowSetStartupId
foreign import ccall "gtk_window_set_title" gtk_window_set_title ::
Ptr Window ->
CString ->
IO ()
windowSetTitle ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> T.Text
-> m ()
windowSetTitle window title = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
title' <- textToCString title
gtk_window_set_title window' title'
touchManagedPtr window
freeMem title'
return ()
data WindowSetTitleMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetTitleMethodInfo a signature where
overloadedMethod _ = windowSetTitle
foreign import ccall "gtk_window_set_titlebar" gtk_window_set_titlebar ::
Ptr Window ->
Ptr Gtk.Widget.Widget ->
IO ()
windowSetTitlebar ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a, Gtk.Widget.IsWidget b) =>
a
-> Maybe (b)
-> m ()
windowSetTitlebar window titlebar = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
maybeTitlebar <- case titlebar of
Nothing -> return nullPtr
Just jTitlebar -> do
jTitlebar' <- unsafeManagedPtrCastPtr jTitlebar
return jTitlebar'
gtk_window_set_titlebar window' maybeTitlebar
touchManagedPtr window
whenJust titlebar touchManagedPtr
return ()
data WindowSetTitlebarMethodInfo
instance (signature ~ (Maybe (b) -> m ()), MonadIO m, IsWindow a, Gtk.Widget.IsWidget b) => O.MethodInfo WindowSetTitlebarMethodInfo a signature where
overloadedMethod _ = windowSetTitlebar
foreign import ccall "gtk_window_set_transient_for" gtk_window_set_transient_for ::
Ptr Window ->
Ptr Window ->
IO ()
windowSetTransientFor ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a, IsWindow b) =>
a
-> Maybe (b)
-> m ()
windowSetTransientFor window parent = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
maybeParent <- case parent of
Nothing -> return nullPtr
Just jParent -> do
jParent' <- unsafeManagedPtrCastPtr jParent
return jParent'
gtk_window_set_transient_for window' maybeParent
touchManagedPtr window
whenJust parent touchManagedPtr
return ()
data WindowSetTransientForMethodInfo
instance (signature ~ (Maybe (b) -> m ()), MonadIO m, IsWindow a, IsWindow b) => O.MethodInfo WindowSetTransientForMethodInfo a signature where
overloadedMethod _ = windowSetTransientFor
foreign import ccall "gtk_window_set_type_hint" gtk_window_set_type_hint ::
Ptr Window ->
CUInt ->
IO ()
windowSetTypeHint ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Gdk.Enums.WindowTypeHint
-> m ()
windowSetTypeHint window hint = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let hint' = (fromIntegral . fromEnum) hint
gtk_window_set_type_hint window' hint'
touchManagedPtr window
return ()
data WindowSetTypeHintMethodInfo
instance (signature ~ (Gdk.Enums.WindowTypeHint -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetTypeHintMethodInfo a signature where
overloadedMethod _ = windowSetTypeHint
foreign import ccall "gtk_window_set_urgency_hint" gtk_window_set_urgency_hint ::
Ptr Window ->
CInt ->
IO ()
windowSetUrgencyHint ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> Bool
-> m ()
windowSetUrgencyHint window setting = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
let setting' = (fromIntegral . fromEnum) setting
gtk_window_set_urgency_hint window' setting'
touchManagedPtr window
return ()
data WindowSetUrgencyHintMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetUrgencyHintMethodInfo a signature where
overloadedMethod _ = windowSetUrgencyHint
foreign import ccall "gtk_window_set_wmclass" gtk_window_set_wmclass ::
Ptr Window ->
CString ->
CString ->
IO ()
windowSetWmclass ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> T.Text
-> T.Text
-> m ()
windowSetWmclass window wmclassName wmclassClass = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
wmclassName' <- textToCString wmclassName
wmclassClass' <- textToCString wmclassClass
gtk_window_set_wmclass window' wmclassName' wmclassClass'
touchManagedPtr window
freeMem wmclassName'
freeMem wmclassClass'
return ()
data WindowSetWmclassMethodInfo
instance (signature ~ (T.Text -> T.Text -> m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowSetWmclassMethodInfo a signature where
overloadedMethod _ = windowSetWmclass
foreign import ccall "gtk_window_stick" gtk_window_stick ::
Ptr Window ->
IO ()
windowStick ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m ()
windowStick window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_stick window'
touchManagedPtr window
return ()
data WindowStickMethodInfo
instance (signature ~ (m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowStickMethodInfo a signature where
overloadedMethod _ = windowStick
foreign import ccall "gtk_window_unfullscreen" gtk_window_unfullscreen ::
Ptr Window ->
IO ()
windowUnfullscreen ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m ()
windowUnfullscreen window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_unfullscreen window'
touchManagedPtr window
return ()
data WindowUnfullscreenMethodInfo
instance (signature ~ (m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowUnfullscreenMethodInfo a signature where
overloadedMethod _ = windowUnfullscreen
foreign import ccall "gtk_window_unmaximize" gtk_window_unmaximize ::
Ptr Window ->
IO ()
windowUnmaximize ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m ()
windowUnmaximize window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_unmaximize window'
touchManagedPtr window
return ()
data WindowUnmaximizeMethodInfo
instance (signature ~ (m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowUnmaximizeMethodInfo a signature where
overloadedMethod _ = windowUnmaximize
foreign import ccall "gtk_window_unstick" gtk_window_unstick ::
Ptr Window ->
IO ()
windowUnstick ::
(B.CallStack.HasCallStack, MonadIO m, IsWindow a) =>
a
-> m ()
windowUnstick window = liftIO $ do
window' <- unsafeManagedPtrCastPtr window
gtk_window_unstick window'
touchManagedPtr window
return ()
data WindowUnstickMethodInfo
instance (signature ~ (m ()), MonadIO m, IsWindow a) => O.MethodInfo WindowUnstickMethodInfo a signature where
overloadedMethod _ = windowUnstick
foreign import ccall "gtk_window_get_default_icon_list" gtk_window_get_default_icon_list ::
IO (Ptr (GList (Ptr GdkPixbuf.Pixbuf.Pixbuf)))
windowGetDefaultIconList ::
(B.CallStack.HasCallStack, MonadIO m) =>
m [GdkPixbuf.Pixbuf.Pixbuf]
windowGetDefaultIconList = liftIO $ do
result <- gtk_window_get_default_icon_list
result' <- unpackGList result
result'' <- mapM (newObject GdkPixbuf.Pixbuf.Pixbuf) result'
g_list_free result
return result''
foreign import ccall "gtk_window_get_default_icon_name" gtk_window_get_default_icon_name ::
IO CString
windowGetDefaultIconName ::
(B.CallStack.HasCallStack, MonadIO m) =>
m T.Text
windowGetDefaultIconName = liftIO $ do
result <- gtk_window_get_default_icon_name
checkUnexpectedReturnNULL "windowGetDefaultIconName" result
result' <- cstringToText result
return result'
foreign import ccall "gtk_window_list_toplevels" gtk_window_list_toplevels ::
IO (Ptr (GList (Ptr Gtk.Widget.Widget)))
windowListToplevels ::
(B.CallStack.HasCallStack, MonadIO m) =>
m [Gtk.Widget.Widget]
windowListToplevels = liftIO $ do
result <- gtk_window_list_toplevels
result' <- unpackGList result
result'' <- mapM (newObject Gtk.Widget.Widget) result'
g_list_free result
return result''
foreign import ccall "gtk_window_set_auto_startup_notification" gtk_window_set_auto_startup_notification ::
CInt ->
IO ()
windowSetAutoStartupNotification ::
(B.CallStack.HasCallStack, MonadIO m) =>
Bool
-> m ()
windowSetAutoStartupNotification setting = liftIO $ do
let setting' = (fromIntegral . fromEnum) setting
gtk_window_set_auto_startup_notification setting'
return ()
foreign import ccall "gtk_window_set_default_icon" gtk_window_set_default_icon ::
Ptr GdkPixbuf.Pixbuf.Pixbuf ->
IO ()
windowSetDefaultIcon ::
(B.CallStack.HasCallStack, MonadIO m, GdkPixbuf.Pixbuf.IsPixbuf a) =>
a
-> m ()
windowSetDefaultIcon icon = liftIO $ do
icon' <- unsafeManagedPtrCastPtr icon
gtk_window_set_default_icon icon'
touchManagedPtr icon
return ()
foreign import ccall "gtk_window_set_default_icon_from_file" gtk_window_set_default_icon_from_file ::
CString ->
Ptr (Ptr GError) ->
IO CInt
windowSetDefaultIconFromFile ::
(B.CallStack.HasCallStack, MonadIO m) =>
[Char]
-> m ()
windowSetDefaultIconFromFile filename = liftIO $ do
filename' <- stringToCString filename
onException (do
_ <- propagateGError $ gtk_window_set_default_icon_from_file filename'
freeMem filename'
return ()
) (do
freeMem filename'
)
foreign import ccall "gtk_window_set_default_icon_list" gtk_window_set_default_icon_list ::
Ptr (GList (Ptr GdkPixbuf.Pixbuf.Pixbuf)) ->
IO ()
windowSetDefaultIconList ::
(B.CallStack.HasCallStack, MonadIO m, GdkPixbuf.Pixbuf.IsPixbuf a) =>
[a]
-> m ()
windowSetDefaultIconList list = liftIO $ do
list' <- mapM unsafeManagedPtrCastPtr list
list'' <- packGList list'
gtk_window_set_default_icon_list list''
mapM_ touchManagedPtr list
return ()
foreign import ccall "gtk_window_set_default_icon_name" gtk_window_set_default_icon_name ::
CString ->
IO ()
windowSetDefaultIconName ::
(B.CallStack.HasCallStack, MonadIO m) =>
T.Text
-> m ()
windowSetDefaultIconName name = liftIO $ do
name' <- textToCString name
gtk_window_set_default_icon_name name'
freeMem name'
return ()
foreign import ccall "gtk_window_set_interactive_debugging" gtk_window_set_interactive_debugging ::
CInt ->
IO ()
windowSetInteractiveDebugging ::
(B.CallStack.HasCallStack, MonadIO m) =>
Bool
-> m ()
windowSetInteractiveDebugging enable = liftIO $ do
let enable' = (fromIntegral . fromEnum) enable
gtk_window_set_interactive_debugging enable'
return ()