gdk.window
Module for [Window] class
Types 3
classWindow : gobject.object.ObjectWrap
Methods
WindowGidBuilder builder() static nothrowGet builder for [gdk.window.Window] Returns: New builder objectgdk.cursor.Cursor cursor() @property nothrowGet `cursor` property. Returns: The mouse pointer for a #GdkWindow. See [gdk.window.Window.setCursor] and [gdk.window.Window.getCursor] for details.void cursor(gdk.cursor.Cursor propval) @property nothrowSet `cursor` property. Params: propval = The mouse pointer for a #GdkWindow. See [gdk.window.Window.setCursor] and [gdk.window.Window.getCursor] for details.gdk.window.Window atPointer(out int winX, out int winY) static nothrowObtains the window underneath the mouse pointer, returning the location of that window in win_x, win_y. Returns null if the window under the mouse pointer is not known to GDK (if the window belongs...void constrainSize(gdk.types.Geometry geometry, gdk.types.WindowHints flags, int width, int height, out int newWidth, out int newHeight) static nothrowConstrains a desired width and height according to a set of geometry hints (such as minimum and maximum size).void processAllUpdates() static nothrowCalls [gdk.window.Window.processUpdates] for all windows (see #GdkWindow) in the application.void setDebugUpdates(bool setting) static nothrowWith update debugging enabled, calls to [gdk.window.Window.invalidateRegion] clear the invalidated region of the screen to a noticeable color, and GDK pauses for a short time before sending exposes...void beep() nothrowEmits a short beep associated to window in the appropriate display, if supported. Otherwise, emits a short beep on the display just as [gdk.display.Display.beep].gdk.drawing_context.DrawingContext beginDrawFrame(cairo.region.Region region) nothrowIndicates that you are beginning the process of redrawing region on window, and provides you with a #GdkDrawingContext.void beginMoveDrag(int button, int rootX, int rootY, uint timestamp) nothrowBegins a window move operation (for a toplevel window).void beginMoveDragForDevice(gdk.device.Device device, int button, int rootX, int rootY, uint timestamp) nothrowBegins a window move operation (for a toplevel window). You might use this function to implement a “window move grip,” for example. The function works best with window managers that support the...void beginPaintRect(gdk.rectangle.Rectangle rectangle) nothrowA convenience wrapper around [gdk.window.Window.beginPaintRegion] which creates a rectangular region for you. See [gdk.window.Window.beginPaintRegion] for details.void beginPaintRegion(cairo.region.Region region) nothrowIndicates that you are beginning the process of redrawing region. A backing store (offscreen buffer) large enough to contain region will be created. The backing store will be initialized with the b...void beginResizeDrag(gdk.types.WindowEdge edge, int button, int rootX, int rootY, uint timestamp) nothrowBegins a window resize operation (for a toplevel window).void beginResizeDragForDevice(gdk.types.WindowEdge edge, gdk.device.Device device, int button, int rootX, int rootY, uint timestamp) nothrowBegins a window resize operation (for a toplevel window). You might use this function to implement a “window resize grip,” for example; in fact #GtkStatusbar uses it. The function works best wi...void coordsFromParent(double parentX, double parentY, out double x, out double y) nothrowTransforms window coordinates from a parent window to a child window, where the parent window is the normal parent as returned by [gdk.window.Window.getParent] for normal windows, and the window's ...void coordsToParent(double x, double y, out double parentX, out double parentY) nothrowTransforms window coordinates from a child window to its parent window, where the parent window is the normal parent as returned by [gdk.window.Window.getParent] for normal windows, and the window'...gdk.glcontext.GLContext createGlContext()Creates a new #GdkGLContext matching the framebuffer format to the visual of the #GdkWindow. The context is disconnected from any particular window or surface.cairo.surface.Surface createSimilarImageSurface(cairo.types.Format format, int width, int height, int scale) nothrowCreate a new image surface that is efficient to draw on the given window.cairo.surface.Surface createSimilarSurface(cairo.types.Content content, int width, int height) nothrowCreate a new surface that is as compatible as possible with the given window. For example the new surface will have the same fallback resolution and font options as window. Generally, the new surfa...void deiconify() nothrowAttempt to deiconify (unminimize) window. On X11 the window manager may choose to ignore the request to deiconify. When using GTK+, use [gtk.window.Window.deiconify] instead of the #GdkWindow varia...void destroy() nothrowDestroys the window system resources associated with window and decrements window's reference count. The window system resources for all children of window are also destroyed, but the children’s ...void destroyNotify() nothrowvoid endDrawFrame(gdk.drawing_context.DrawingContext context) nothrowIndicates that the drawing of the contents of window started with gdk_window_begin_frame() has been completed.void endPaint() nothrowIndicates that the backing store created by the most recent call to [gdk.window.Window.beginPaintRegion] should be copied onscreen and deleted, leaving the next-most-recent backing store or no back...bool ensureNative() nothrowTries to ensure that there is a window-system native window for this GdkWindow. This may fail in some situations, returning false.void focus(uint timestamp) nothrowSets keyboard focus to window. In most cases, [gtk.window.Window.presentWithTime] should be used on a #GtkWindow, rather than calling this function.void freezeToplevelUpdatesLibgtkOnly() nothrowTemporarily freezes a window and all its descendants such that it won't receive expose events. The window will begin receiving expose events again when [gdk.window.Window.thawToplevelUpdatesLibgtk...void freezeUpdates() nothrowTemporarily freezes a window such that it won’t receive expose events. The window will begin receiving expose events again when [gdk.window.Window.thawUpdates] is called. If [gdk.window.Window.f...void fullscreen() nothrowMoves the window into fullscreen mode. This means the window covers the entire screen and is above any panels or task bars.void fullscreenOnMonitor(int monitor) nothrowMoves the window into fullscreen mode on the given monitor. This means the window covers the entire screen and is above any panels or task bars.void geometryChanged() nothrowThis function informs GDK that the geometry of an embedded offscreen window has changed. This is necessary for GDK to keep track of which offscreen window the pointer is in.bool getAcceptFocus() nothrowDetermines whether or not the desktop environment shuld be hinted that the window does not want to receive input focus. Returns: whether or not the window should receive input focus.cairo.pattern.Pattern getBackgroundPattern() nothrowGets the pattern used to clear the background on window. Returns: The pattern to use for the background or null if there is no background.gdk.window.Window[] getChildren() nothrowGets the list of children of window known to GDK. This function only returns children created via GDK, so for example it’s useless when used with the root window; it only returns windows an appli...gdk.window.Window[] getChildrenWithUserData(void * userData = null) nothrowGets the list of children of window known to GDK with a particular user_data set on it.cairo.region.Region getClipRegion() nothrowComputes the region of a window that potentially can be written to by drawing primitives. This region may not take into account other factors such as if the window is obscured by other windows, but...gdk.cursor.Cursor getCursor() nothrowRetrieves a #GdkCursor pointer for the cursor currently set on the specified #GdkWindow, or null. If the return value is null then there is no custom cursor set on the specified window, and it is ...bool getDecorations(out gdk.types.WMDecoration decorations) nothrowReturns the decorations set on the GdkWindow with [gdk.window.Window.setDecorations].gdk.cursor.Cursor getDeviceCursor(gdk.device.Device device) nothrowRetrieves a #GdkCursor pointer for the device currently set on the specified #GdkWindow, or null. If the return value is null then there is no custom cursor set on the specified window, and it is ...gdk.types.EventMask getDeviceEvents(gdk.device.Device device) nothrowReturns the event mask for window corresponding to an specific device.gdk.window.Window getDevicePosition(gdk.device.Device device, out int x, out int y, out gdk.types.ModifierType mask) nothrowObtains the current device position and modifier state. The position is given in coordinates relative to the upper left corner of window.gdk.window.Window getDevicePositionDouble(gdk.device.Device device, out double x, out double y, out gdk.types.ModifierType mask) nothrowObtains the current device position in doubles and modifier state. The position is given in coordinates relative to the upper left corner of window.gdk.display.Display getDisplay() nothrowGets the #GdkDisplay associated with a #GdkWindow. Returns: the #GdkDisplay associated with windowgdk.types.DragProtocol getDragProtocol(out gdk.window.Window target) nothrowFinds out the DND protocol supported by a window.gdk.window.Window getEffectiveParent() nothrowObtains the parent of window, as known to GDK. Works like [gdk.window.Window.getParent] for normal windows, but returns the window’s embedder for offscreen windows.gdk.window.Window getEffectiveToplevel() nothrowGets the toplevel window that’s an ancestor of window.bool getEventCompression() nothrowGet the current event compression setting for this window. Returns: true if motion events will be compressedgdk.types.EventMask getEvents() nothrowGets the event mask for window for all master input devices. See [gdk.window.Window.setEvents]. Returns: event mask for windowbool getFocusOnMap() nothrowDetermines whether or not the desktop environment should be hinted that the window does not want to receive input focus when it is mapped. Returns: whether or not the window wants to receive input ...gdk.frame_clock.FrameClock getFrameClock() nothrowGets the frame clock for the window. The frame clock for a window never changes unless the window is reparented to a new toplevel window. Returns: the frame clockvoid getFrameExtents(out gdk.rectangle.Rectangle rect) nothrowObtains the bounding box of the window, including window manager titlebar/borders if any. The frame position is given in root window coordinates. To get the position of the window itself (rather th...gdk.types.FullscreenMode getFullscreenMode() nothrowObtains the #GdkFullscreenMode of the window. Returns: The #GdkFullscreenMode applied to the window when fullscreen.void getGeometry(out int x, out int y, out int width, out int height) nothrowAny of the return location arguments to this function may be null, if you aren’t interested in getting the value of that field.gdk.window.Window getGroup() nothrowReturns the group leader window for window. See [gdk.window.Window.setGroup]. Returns: the group leader window for windowbool getModalHint() nothrowDetermines whether or not the window manager is hinted that window has modal behaviour. Returns: whether or not the window has the modal hint set.int getOrigin(out int x, out int y) nothrowObtains the position of a window in root window coordinates. (Compare with [gdk.window.Window.getPosition] and [gdk.window.Window.getGeometry] which return the position of a window relative to its ...gdk.window.Window getParent() nothrowObtains the parent of window, as known to GDK. Does not query the X server; thus this returns the parent as passed to [gdk.window.Window.new_], not the actual parent. This should never matter unles...bool getPassThrough() nothrowReturns whether input to the window is passed through to the window below.gdk.window.Window getPointer(out int x, out int y, out gdk.types.ModifierType mask) nothrowObtains the current pointer position and modifier state. The position is given in coordinates relative to the upper left corner of window.void getPosition(out int x, out int y) nothrowObtains the position of the window as reported in the most-recently-processed #GdkEventConfigure. Contrast with [gdk.window.Window.getGeometry] which queries the X server for the current window pos...void getRootCoords(int x, int y, out int rootX, out int rootY) nothrowObtains the position of a window position in root window coordinates. This is similar to [gdk.window.Window.getOrigin] but allows you to pass in any position in the window, not just the origin.void getRootOrigin(out int x, out int y) nothrowObtains the top-left corner of the window manager frame in root window coordinates.int getScaleFactor() nothrowReturns the internal scale factor that maps from window coordiantes to the actual device pixels. On traditional systems this is 1, but on very high density outputs this can be a higher value (often...gdk.screen.Screen getScreen() nothrowGets the #GdkScreen associated with a #GdkWindow. Returns: the #GdkScreen associated with windowgdk.types.EventMask getSourceEvents(gdk.types.InputSource source) nothrowReturns the event mask for window corresponding to the device class specified by source.gdk.types.WindowState getState() nothrowGets the bitwise OR of the currently active window state flags, from the #GdkWindowState enumeration. Returns: window state bitfieldbool getSupportMultidevice() nothrowReturns true if the window is aware of the existence of multiple devices. Returns: true if the window handles multidevice features.gdk.types.WindowTypeHint getTypeHint() nothrowThis function returns the type hint set for a window. Returns: The type hint set for windowcairo.region.Region getUpdateArea() nothrowTransfers ownership of the update area from window to the caller of the function. That is, after calling this function, window will no longer have an invalid/dirty region; the update area is remove...void getUserData(out void * data) nothrowRetrieves the user data for window, which is normally the widget that window belongs to. See [gdk.window.Window.setUserData].cairo.region.Region getVisibleRegion() nothrowComputes the region of the window that is potentially visible. This does not necessarily take into account if the window is obscured by other windows, but no area outside of this region is visible....gdk.visual.Visual getVisual() nothrowGets the #GdkVisual describing the pixel format of window. Returns: a #GdkVisualgdk.types.WindowType getWindowType() nothrowGets the type of the window. See #GdkWindowType. Returns: type of windowbool hasNative() nothrowChecks whether the window has a native window or not. Note that you can use [gdk.window.Window.ensureNative] if a native window is needed. Returns: true if the window has a native window, false oth...void hide() nothrowFor 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....void iconify() nothrowAsks to iconify (minimize) window. The window manager may choose to ignore the request, but normally will honor it. Using [gtk.window.Window.iconify] is preferred, if you have a #GtkWindow widget.void inputShapeCombineRegion(cairo.region.Region shapeRegion, int offsetX, int offsetY) nothrowLike [gdk.window.Window.shapeCombineRegion], but the shape applies only to event handling. Mouse events which happen while the pointer position corresponds to an unset bit in the mask will be passe...void invalidateMaybeRecurse(cairo.region.Region region, gdk.types.WindowChildFunc childFunc = null) nothrowAdds region to the update area for window. The update area is the region that needs to be redrawn, or “dirty region.” The call [gdk.window.Window.processUpdates] sends one or more expose events...void invalidateRect(gdk.rectangle.Rectangle rect, bool invalidateChildren) nothrowA convenience wrapper around [gdk.window.Window.invalidateRegion] which invalidates a rectangular region. See [gdk.window.Window.invalidateRegion] for details.void invalidateRegion(cairo.region.Region region, bool invalidateChildren) nothrowAdds region to the update area for window. The update area is the region that needs to be redrawn, or “dirty region.” The call [gdk.window.Window.processUpdates] sends one or more expose events...bool isDestroyed() nothrowCheck to see if a window is destroyed.. Returns: true if the window is destroyedbool isInputOnly() nothrowDetermines whether or not the window is an input only window. Returns: true if window is input onlybool isShaped() nothrowDetermines whether or not the window is shaped. Returns: true if window is shapedbool isViewable() nothrowCheck if the window and all ancestors of the window are mapped. (This is not necessarily "viewable" in the X sense, since we only check as far as we have GDK window parents, not to the root window....bool isVisible() nothrowChecks whether the window has been mapped (with [gdk.window.Window.show] or [gdk.window.Window.showUnraised]). Returns: true if the window is mappedvoid lower() nothrowLowers window to the bottom of the Z-order (stacking order), so that other windows with the same parent window appear above window. This is true whether or not the other windows are visible.void markPaintFromClip(cairo.context.Context cr) nothrowIf you call this during a paint (e.g. between [gdk.window.Window.beginPaintRegion] and [gdk.window.Window.endPaint] then GDK will mark the current clip region of the window as being drawn. This is ...void maximize() nothrowMaximizes the window. If the window was already maximized, then this function does nothing.void mergeChildInputShapes() nothrowMerges the input shape masks for any child windows into the input shape mask for window. i.e. the union of all input masks for window and its children will become the new input mask for window. See...void mergeChildShapes() nothrowMerges the shape masks for any child windows into the shape mask for window. i.e. the union of all masks for window and its children will become the new mask for window. See [gdk.window.Window.shap...void move(int x, int y) nothrowRepositions a window relative to its parent window. For toplevel windows, window managers may ignore or modify the move; you should probably use [gtk.window.Window.move] on a #GtkWindow widget anyw...void moveRegion(cairo.region.Region region, int dx, int dy) nothrowMove the part of window indicated by region by dy pixels in the Y direction and dx pixels in the X direction. The portions of region that not covered by the new position of region are invalidated.void moveResize(int x, int y, int width, int height) nothrowEquivalent to calling [gdk.window.Window.move] and [gdk.window.Window.resize], except that both operations are performed at once, avoiding strange visual effects. (i.e. the user may be able to see ...void moveToRect(gdk.rectangle.Rectangle rect, gdk.types.Gravity rectAnchor, gdk.types.Gravity windowAnchor, gdk.types.AnchorHints anchorHints, int rectAnchorDx, int rectAnchorDy) nothrowMoves window to rect, aligning their anchor points.gdk.window.Window[] peekChildren() nothrowLike [gdk.window.Window.getChildren], but does not copy the list of children, so the list does not need to be freed. Returns: a reference to the list of child windows in windowvoid processUpdates(bool updateChildren) nothrowSends one or more expose events to window. The areas in each expose event will cover the entire update area for the window (see [gdk.window.Window.invalidateRegion] for details). Normally GDK calls...void raise() nothrowRaises window to the top of the Z-order (stacking order), so that other windows with the same parent window appear below window. This is true whether or not the windows are visible.void reparent(gdk.window.Window newParent, int x, int y) nothrowReparents window into the given new_parent. The window being reparented will be unmapped as a side effect.void resize(int width, int height) nothrowResizes window; for toplevel windows, asks the window manager to resize the window. The window manager may not allow the resize. When using GTK+, use [gtk.window.Window.resize] instead of this low-...void restack(gdk.window.Window sibling, bool above) nothrowChanges the position of window in the Z-order (stacking order), so that it is above sibling (if above is true) or below sibling (if above is false).void scroll(int dx, int dy) nothrowScroll the contents of window, both pixels and children, by the given amount. window itself does not move. Portions of the window that the scroll operation brings in from offscreen areas are invali...void setAcceptFocus(bool acceptFocus) nothrowSetting accept_focus to false hints the desktop environment that the window doesn’t want to receive input focus.void setBackgroundPattern(cairo.pattern.Pattern pattern = null) nothrowSets the background of window.void setChildInputShapes() nothrowSets the input shape mask of window to the union of input shape masks for all children of window, ignoring the input shape mask of window itself. Contrast with [gdk.window.Window.mergeChildInputSha...void setChildShapes() nothrowSets the shape mask of window to the union of shape masks for all children of window, ignoring the shape mask of window itself. Contrast with [gdk.window.Window.mergeChildShapes] which includes the...void setComposited(bool composited) nothrowSets a #GdkWindow as composited, or unsets it. Composited windows do not automatically have their contents drawn to the screen. Drawing is redirected to an offscreen buffer and an expose event is e...void setCursor(gdk.cursor.Cursor cursor = null) nothrowSets the default mouse pointer for a #GdkWindow.void setDecorations(gdk.types.WMDecoration decorations) nothrow“Decorations” are the features the window manager adds to a toplevel #GdkWindow. This function sets the traditional Motif window manager hints that tell the window manager which decorations you...void setDeviceCursor(gdk.device.Device device, gdk.cursor.Cursor cursor) nothrowSets a specific #GdkCursor for a given device when it gets inside window. Use [gdk.cursor.Cursor.newForDisplay] or [gdk.cursor.Cursor.newFromPixbuf] to create the cursor. To make the cursor invisib...void setDeviceEvents(gdk.device.Device device, gdk.types.EventMask eventMask) nothrowSets 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 shou...void setEventCompression(bool eventCompression) nothrowDetermines whether or not extra unprocessed motion events in the event queue can be discarded. If true only the most recent event will be delivered.void setEvents(gdk.types.EventMask eventMask) nothrowThe 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 shou...void setFocusOnMap(bool focusOnMap) nothrowSetting focus_on_map 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 trig...void setFullscreenMode(gdk.types.FullscreenMode mode) nothrowSpecifies whether the window should span over all monitors (in a multi-head setup) or only the current monitor when in fullscreen mode.void setFunctions(gdk.types.WMFunction functions) nothrowSets hints about the window management functions to make available via buttons on the window frame.void setGeometryHints(gdk.types.Geometry geometry, gdk.types.WindowHints geomMask) nothrowSets the geometry hints for window. Hints flagged in geom_mask are set, hints not flagged in geom_mask are unset. To unset all hints, use a geom_mask of 0 and a geometry of null.void setGroup(gdk.window.Window leader = null) nothrowSets 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.void setIconList(gdkpixbuf.pixbuf.Pixbuf[] pixbufs) nothrowSets 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...void setIconName(string name = null) nothrowWindows may have a name used while minimized, distinct from the name they display in their titlebar. Most of the time this is a bad idea from a user interface standpoint. But you can set such a nam...void setKeepAbove(bool setting) nothrowSet if window must be kept above other windows. If the window was already above, then this function does nothing.void setKeepBelow(bool setting) nothrowSet if window must be kept below other windows. If the window was already below, then this function does nothing.void setModalHint(bool modal) nothrowThe application can use this hint to tell the window manager that a certain window has modal behaviour. The window manager can use this information to handle modal windows in a special way.void setOpacity(double opacity) nothrowSet window to render as partially transparent, with opacity 0 being fully transparent and 1 fully opaque. (Values of the opacity parameter are clamped to the [0,1] range.)void setOpaqueRegion(cairo.region.Region region = null) nothrowFor optimisation purposes, compositing window managers may like to not draw obscured regions of windows, or turn off blending during for these regions. With RGB windows with no transparency, this i...void setOverrideRedirect(bool overrideRedirect) nothrowAn 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 applic...void setPassThrough(bool passThrough) nothrowSets whether input to the window is passed through to the window below.void setRole(string role) nothrowWhen using GTK+, typically you should use [gtk.window.Window.setRole] instead of this low-level function.void setShadowWidth(int left, int right, int top, int bottom) nothrowNewer 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 edge...void setSkipPagerHint(bool skipsPager) nothrowToggles whether a window should appear in a pager (workspace switcher, or other desktop utility program that displays a small thumbnail representation of the windows on the desktop). If a window’...void setSkipTaskbarHint(bool skipsTaskbar) nothrowToggles whether a window should appear in a task list or window list. If a window’s semantic type as specified with [gdk.window.Window.setTypeHint] already fully describes the window, this functi...void setSourceEvents(gdk.types.InputSource source, gdk.types.EventMask eventMask) nothrowSets the event mask for any floating device (i.e. not attached to any visible pointer) that has the source defined as source. This event mask will be applied both to currently existing, newly added...void setStartupId(string startupId) nothrowWhen using GTK+, typically you should use [gtk.window.Window.setStartupId] instead of this low-level function.bool setStaticGravities(bool useStatic) nothrowUsed to set the bit gravity of the given window to static, and flag it so all children get static subwindow gravity. This is used if you are implementing scary features that involve deep knowledge ...void setSupportMultidevice(bool supportMultidevice) nothrowThis function will enable multidevice features in window.void setTitle(string title) nothrowSets the title of a toplevel window, to be displayed in the titlebar. If you haven’t explicitly set the icon name for the window (using [gdk.window.Window.setIconName]), the icon name will be set...void setTransientFor(gdk.window.Window parent) nothrowIndicates to the window manager that window is a transient dialog associated with the application window parent. This allows the window manager to do things like center window on parent and keep wi...void setTypeHint(gdk.types.WindowTypeHint hint) nothrowThe application can use this call to provide a hint to the window manager about the functionality of a window. The window manager can use this information when determining the decoration and behavi...void setUserData(gobject.object.ObjectWrap userData = null) nothrowFor most purposes this function is deprecated in favor of [gobject.object.ObjectWrap.setData]. However, for historical reasons GTK+ stores the #GtkWidget that owns a #GdkWindow as user data on the ...void shapeCombineRegion(cairo.region.Region shapeRegion, int offsetX, int offsetY) nothrowMakes pixels in window outside shape_region be transparent, so that the window may be nonrectangular.void show() nothrowLike [gdk.window.Window.showUnraised], but also raises the window to the top of the window stack (moves the window to the front of the Z-order).void showUnraised() nothrowShows a #GdkWindow onscreen, but does not modify its stacking order. In contrast, [gdk.window.Window.show] will raise the window to the top of the window stack.bool showWindowMenu(gdk.event.Event event) nothrowAsks the windowing system to show the window menu. The window menu is the menu shown when right-clicking the titlebar on traditional windows managed by the window manager. This is useful for window...void stick() nothrow“Pins” a window such that it’s on all workspaces and does not scroll with viewports, for window managers that have scrollable viewports. (When using #GtkWindow, [gtk.window.Window.stick] may ...void thawToplevelUpdatesLibgtkOnly() nothrowThaws a window frozen with [gdk.window.Window.freezeToplevelUpdatesLibgtkOnly].void unfullscreen() nothrowMoves the window out of fullscreen mode. If the window was not fullscreen, does nothing.void unmaximize() nothrowUnmaximizes the window. If the window wasn’t maximized, then this function does nothing.void unstick() nothrowReverse operation for [gdk.window.Window.stick]; see [gdk.window.Window.stick], and [gtk.window.Window.unstick].void withdraw() nothrowWithdraws a window (unmaps it and asks the window manager to forget about it). This function is not really useful as [gdk.window.Window.hide] automatically withdraws toplevel windows before hiding ...gulong connectCreateSurface(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == cairo.surface.Surface)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == int)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == int)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gdk.window.Window)))
&& Parameters!T.length < 4) nothrowConnect to `CreateSurface` signal.gulong connectFromEmbedder(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == double)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == double)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.out_ && is(Parameters!T[2] == double)))
&& (Parameters!T.length < 4 || (ParameterStorageClassTuple!T[3] == ParameterStorageClass.out_ && is(Parameters!T[3] == double)))
&& (Parameters!T.length < 5 || (ParameterStorageClassTuple!T[4] == ParameterStorageClass.none && is(Parameters!T[4] : gdk.window.Window)))
&& Parameters!T.length < 6) nothrowConnect to `FromEmbedder` signal.gulong connectMovedToRect(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == void *)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == void *)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] == bool)))
&& (Parameters!T.length < 4 || (ParameterStorageClassTuple!T[3] == ParameterStorageClass.none && is(Parameters!T[3] == bool)))
&& (Parameters!T.length < 5 || (ParameterStorageClassTuple!T[4] == ParameterStorageClass.none && is(Parameters!T[4] : gdk.window.Window)))
&& Parameters!T.length < 6) nothrowConnect to `MovedToRect` signal.gulong connectPickEmbeddedChild(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T : gdk.window.Window)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == double)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == double)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gdk.window.Window)))
&& Parameters!T.length < 4) nothrowConnect to `PickEmbeddedChild` signal.gulong connectToEmbedder(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == double)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == double)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.out_ && is(Parameters!T[2] == double)))
&& (Parameters!T.length < 4 || (ParameterStorageClassTuple!T[3] == ParameterStorageClass.out_ && is(Parameters!T[3] == double)))
&& (Parameters!T.length < 5 || (ParameterStorageClassTuple!T[4] == ParameterStorageClass.none && is(Parameters!T[4] : gdk.window.Window)))
&& Parameters!T.length < 6) nothrowConnect to `ToEmbedder` signal.Constructors
this(gdk.window.Window parent, gdk.window_attr.WindowAttr attributes, gdk.types.WindowAttributesType attributesMask)Creates a new #GdkWindow using the attributes from attributes. See #GdkWindowAttr and #GdkWindowAttributesType for more details. Note: to use this on displays other than the default display, paren...Fluent builder implementation template for gdk.window.Window
Methods
T cursor(gdk.cursor.Cursor propval) nothrowSet `cursor` property. Params: propval = The mouse pointer for a #GdkWindow. See [gdk.window.Window.setCursor] and [gdk.window.Window.getCursor] for details. Returns: Builder instance for fluent ch...Fluent builder for gdk.window.Window
Methods