Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. windowSetDeviceCursor :: (HasCallStack, MonadIO m, IsWindow a, IsDevice b, IsCursor c) => a -> b -> c -> m ()

    gi-gdk3 GI.Gdk.Objects.Window

    Sets a specific Cursor for a given device when it gets inside window. Use cursorNewForDisplay or cursorNewFromPixbuf to create the cursor. To make the cursor invisible, use CursorTypeBlankCursor. Passing Nothing for the cursor argument to windowSetCursor means that window will use the cursor of its parent window. Most windows should use this default. Since: 3.0

  2. windowSetDeviceEvents :: (HasCallStack, MonadIO m, IsWindow a, IsDevice b) => a -> b -> [EventMask] -> m ()

    gi-gdk3 GI.Gdk.Objects.Window

    Sets the event mask for a given device (Normally a floating device, not attached to any visible pointer) to window. For example, an event mask including GDK_BUTTON_PRESS_MASK means the window should report button press events. The event mask is the bitwise OR of values from the EventMask enumeration. See the [input handling overview][event-masks] for details. Since: 3.0

  3. windowSetEventCompression :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()

    gi-gdk3 GI.Gdk.Objects.Window

    Determines whether or not extra unprocessed motion events in the event queue can be discarded. If True only the most recent event will be delivered. Some types of applications, e.g. paint programs, need to see all motion events and will benefit from turning off event compression. By default, event compression is enabled. Since: 3.12

  4. windowSetEvents :: (HasCallStack, MonadIO m, IsWindow a) => a -> [EventMask] -> m ()

    gi-gdk3 GI.Gdk.Objects.Window

    The event mask for a window determines which events will be reported for that window from all master input devices. For example, an event mask including GDK_BUTTON_PRESS_MASK means the window should report button press events. The event mask is the bitwise OR of values from the EventMask enumeration. See the [input handling overview][event-masks] for details.

  5. windowSetFocusOnMap :: (HasCallStack, MonadIO m, IsWindow a) => a -> Bool -> m ()

    gi-gdk3 GI.Gdk.Objects.Window

    Setting focusOnMap to False hints the desktop environment that the window doesn’t want to receive input focus when it is mapped. focus_on_map should be turned off for windows that aren’t triggered interactively (such as popups from network activity). On X, it is the responsibility of the window manager to interpret this hint. Window managers following the freedesktop.org window manager extension specification should respect it. Since: 2.6

  6. windowSetFullscreenMode :: (HasCallStack, MonadIO m, IsWindow a) => a -> FullscreenMode -> m ()

    gi-gdk3 GI.Gdk.Objects.Window

    Specifies whether the window should span over all monitors (in a multi-head setup) or only the current monitor when in fullscreen mode. The mode argument is from the FullscreenMode enumeration. If GDK_FULLSCREEN_ON_ALL_MONITORS is specified, the fullscreen window will span over all monitors from the Screen. On X11, searches through the list of monitors from the Screen the ones which delimit the 4 edges of the entire Screen and will ask the window manager to span the window over these monitors. If the XINERAMA extension is not available or not usable, this function has no effect. Not all window managers support this, so you can’t rely on the fullscreen window to span over the multiple monitors when GDK_FULLSCREEN_ON_ALL_MONITORS is specified. Since: 3.8

  7. windowSetFunctions :: (HasCallStack, MonadIO m, IsWindow a) => a -> [WMFunction] -> m ()

    gi-gdk3 GI.Gdk.Objects.Window

    Sets hints about the window management functions to make available via buttons on the window frame. On the X backend, this function sets the traditional Motif window manager hint for this purpose. However, few window managers do anything reliable or interesting with this hint. Many ignore it entirely. The functions argument is the logical OR of values from the WMFunction enumeration. If the bitmask includes GDK_FUNC_ALL, then the other bits indicate which functions to disable; if it doesn’t include GDK_FUNC_ALL, it indicates which functions to enable.

  8. windowSetGeometryHints :: (HasCallStack, MonadIO m, IsWindow a) => a -> Geometry -> [WindowHints] -> m ()

    gi-gdk3 GI.Gdk.Objects.Window

    Sets the geometry hints for window. Hints flagged in geomMask are set, hints not flagged in geomMask are unset. To unset all hints, use a geomMask of 0 and a geometry of Nothing. This function provides hints to the windowing system about acceptable sizes for a toplevel window. The purpose of this is to constrain user resizing, but the windowing system will typically (but is not required to) also constrain the current size of the window to the provided values and constrain programatic resizing via windowResize or windowMoveResize. Note that on X11, this effect has no effect on windows of type WindowTypeTemp or windows where override redirect has been turned on via windowSetOverrideRedirect since these windows are not resizable by the user. Since you can’t count on the windowing system doing the constraints for programmatic resizes, you should generally call windowConstrainSize yourself to determine appropriate sizes.

  9. windowSetGroup :: (HasCallStack, MonadIO m, IsWindow a, IsWindow b) => a -> Maybe b -> m ()

    gi-gdk3 GI.Gdk.Objects.Window

    Sets the group leader window for window. By default, GDK sets the group leader for all toplevel windows to a global window implicitly created by GDK. With this function you can override this default. The group leader window allows the window manager to distinguish all windows that belong to a single application. It may for example allow users to minimize/unminimize all windows belonging to an application at once. You should only set a non-default group window if your application pretends to be multiple applications.

  10. windowSetIconList :: (HasCallStack, MonadIO m, IsWindow a, IsPixbuf b) => a -> [b] -> m ()

    gi-gdk3 GI.Gdk.Objects.Window

    Sets a list of icons for the window. One of these will be used to represent the window when it has been iconified. The icon is usually shown in an icon box or some sort of task bar. Which icon size is shown depends on the window manager. The window manager can scale the icon but setting several size icons can give better image quality since the window manager may only need to scale the icon by a small amount or not at all. Note that some platforms don't support window icons.

Page 1526 of many | Previous | Next