Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
windowGetSupportMultidevice :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Boolgi-gdk3 GI.Gdk.Objects.Window Returns True if the window is aware of the existence of multiple devices. Since: 3.0
windowGetWidth :: (HasCallStack, MonadIO m, IsWindow a) => a -> m Int32gi-gdk3 GI.Gdk.Objects.Window Returns the width of the given window. On the X11 platform the returned size is the size reported in the most-recently-processed configure event, rather than the current size on the X server. Since: 2.24
windowHide :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ()gi-gdk3 GI.Gdk.Objects.Window For toplevel windows, withdraws them, so they will no longer be known to the window manager; for all windows, unmaps them, so they won’t be displayed. Normally done automatically as part of gtk_widget_hide().
-
gi-gdk3 GI.Gdk.Objects.Window Adds region to the update area for window. The update area is the region that needs to be redrawn, or “dirty region.” The call windowProcessUpdates sends one or more expose events to the window, which together cover the entire update area. An application would normally redraw the contents of window in response to those expose events. GDK will call windowProcessAllUpdates on your behalf whenever your program returns to the main loop and becomes idle, so normally there’s no need to do that manually, you just need to invalidate regions that you know should be redrawn. The childFunc parameter controls whether the region of each child window that intersects region will also be invalidated. Only children for which childFunc returns TRUE will have the area invalidated.
-
gi-gdk3 GI.Gdk.Objects.Window A convenience wrapper around windowInvalidateRegion which invalidates a rectangular region. See windowInvalidateRegion for details.
windowInvalidateRegion :: (HasCallStack, MonadIO m, IsWindow a) => a -> Region -> Bool -> m ()gi-gdk3 GI.Gdk.Objects.Window Adds region to the update area for window. The update area is the region that needs to be redrawn, or “dirty region.” The call windowProcessUpdates sends one or more expose events to the window, which together cover the entire update area. An application would normally redraw the contents of window in response to those expose events. GDK will call windowProcessAllUpdates on your behalf whenever your program returns to the main loop and becomes idle, so normally there’s no need to do that manually, you just need to invalidate regions that you know should be redrawn. The invalidateChildren parameter controls whether the region of each child window that intersects region will also be invalidated. If False, then the update area for child windows will remain unaffected. See gdk_window_invalidate_maybe_recurse if you need fine grained control over which children are invalidated.
windowSetOverrideRedirect :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()gi-gdk3 GI.Gdk.Objects.Window An override redirect window is not under the control of the window manager. This means it won’t have a titlebar, won’t be minimizable, etc. - it will be entirely under the control of the application. The window manager can’t see the override redirect window at all. Override redirect should only be used for short-lived temporary windows, such as popup menus. GtkMenu uses an override redirect window in its implementation, for example.
-
gi-gdk3 GI.Gdk.Objects.Window Newer GTK+ windows using client-side decorations use extra geometry around their frames for effects like shadows and invisible borders. Window managers that want to maximize windows or snap to edges need to know where the extents of the actual frame lie, so that users don’t feel like windows are snapping against random invisible edges. Note that this property is automatically updated by GTK+, so this function should only be used by applications which do not use GTK+ to create toplevel windows. Since: 3.12
windowSetStartupId :: (HasCallStack, MonadIO m, IsWindow a) => a -> Text -> m ()gi-gdk3 GI.Gdk.Objects.Window When using GTK+, typically you should use gtk_window_set_startup_id() instead of this low-level function. Since: 2.12
windowSetSupportMultidevice :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()gi-gdk3 GI.Gdk.Objects.Window This function will enable multidevice features in window. Multidevice aware windows will need to handle properly multiple, per device enter/leave events, device grabs and grab ownerships. Since: 3.0