gdk-sharp Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Onscreen display area in the target window system. A is a rectangular region on the screen. It's a low-level object, used to implement high-level objects such as and on the GTK+ level. A is a toplevel window, the thing a user might think of as a "window" with a titlebar and so on; a may contain many s. For example, each has a associated with it. Constructor Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor a a a Basic constructor Constructor A A A Basic constructor The type of the parameter in this auto-generated constructor is incorrect. You would normally want to use the overloaded constructor that takes a . Property System.Boolean To be added a To be added Method System.Void A Adds an event filter to this window, allowing you to intercept events before they reach GDK. This is a low-level operation and makes it easy to break GDK and/or GTK+, so you have to know what you're doing. Pass for this window to get all events for all windows, instead of events for a specific window. Method System.Void a Adds an event filtering function for all Windows. It is possible to do significant damage to Gdk's built in event processing using this capability if used improperly. Method Gdk.Window a a To be added a Property Gdk.Color Sets the background color for the window. A Sets the background color of window. (However, when using GTK+, set the background of a widget with - if you're an application - or - if you're implementing a custom widget. The color must be allocated; Property Cairo.Pattern To be added. To be added. To be added. Property Gdk.RGBA To be added. To be added. To be added. Method System.Void Emits a short beep. Method System.Void A , the button being used to drag A , root window X coordinate of mouse click that began the drag A m root window Y coordinate of mouse click that began the drag A , timestamp of mouse click that began the drag Begins 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 Extended Window Manager Hints spec (see http://www.freedesktop.org), but has a fallback implementation for other window managers. Method System.Void A A convenience wrapper around () which creates a rectangular region for you. See () for details. Method System.Void To be added. To be added. To be added. Method System.Void A A A A A Begins a window resize operation (for a toplevel window). You might use this function to implement a "window resize grip," for example; in fact uses it. The function works best with window managers that support the Extended Window Manager Hints spec (see http://www.freedesktop.org), but has a fallback implementation for other window managers. Property Gdk.Window[] Gets the children of window known to Gdk. The array of windows. 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 application created itself. Property Cairo.Region To be added. To be added. To be added. Property System.Boolean Sets Composited indicator of window. If window is composited. Composited windows are not automatically drawn to the screen, but are instead rendered to an offscreen buffer and an expose event is sent to the window's parent. Method System.Void To be added To be added Method System.Void a a a a a a To be added Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method Cairo.Surface To be added. To be added. To be added. To be added. To be added. To be added. Event GLib.Signal("create-surface") Gdk.CreateSurfaceHandler To be added. To be added. Property GLib.Property("cursor") Gdk.Cursor Sets the cursor for the window. Sets the mouse pointer for a . To make the cursor invisible, use pixmap constructor for the cursor to create a cursor with no pixels in it. Passing for the cursor argument to this property means that window will use the cursor of its parent window. Most windows should use this default. Property System.Boolean For debugging use only. A Method System.Void Attempt to deiconify (unminimize) this window. On X11 the window manager may choose to ignore the request to deiconify. When using GTK+, use instead of the variant. Or better yet, you probably want to use , which raises the window, focuses it, unminimizes it, and puts it on the current desktop. Method System.Void Destroys the window system resources associated with this window and decrements this window's reference count. The window system resources for all children of this window are also destroyed, but the children's reference counts are not decremented. Note that a window will not be destroyed automatically when its reference count reaches zero. You must call this function yourself before that happens. Property Gdk.Display To be added. To be added. To be added. Property Gdk.Window To be added. To be added. To be added. Property Gdk.Window To be added. To be added. To be added. Method System.Void To be added To be added Method System.Void Indicates that the backing store created by the most recent call to () should be copied onscreen and deleted, leaving the next-most-recent backing store or no backing store at all as the active paint region. See () for full details. It is an error to call this function without a matching () first. Method System.Boolean To be added. To be added. To be added. Property Gdk.EventMask To be added A Method System.Void To be added. To be added. Method System.Void A , timestamp of the event calling this method Sets keyboard focus to this window. If the window is not onscreen this will not work. In most cases, should be used on a , rather than calling this function. Property System.Boolean To be added a To be added Property Gdk.Rectangle Obtains the bounding box of the window. a Area includes window manager titlebar/borders if any. The frame position is given in root window coordinates. To get the position of the window itself (rather than the frame) in root window coordinates, use . Method System.Void Temporarily freezes a window such that it won't receive expose events. The window will begin receiving expose events again when is called. If has been called more than once, must be called an equal number of times to begin processing exposes. Event GLib.Signal("from-embedder") Gdk.FromEmbedderHandler To be added. To be added. Method System.Void To be added Property Gdk.WMFunction To be added A Method System.Void To be added. To be added. Method System.Boolean a to put the decorations in Returns the decorations set on the window with . a , true if the window has decorations set, false otherwise. Method Gdk.Cursor To be added. To be added. To be added. To be added. Method Gdk.EventMask To be added. To be added. To be added. To be added. Method Gdk.Window To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method Gdk.DragProtocol To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method System.Int32 a a To be added a Method Gdk.Window A A A To be added A Method System.Void a a To be added Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void a a To be added Method Gdk.EventMask To be added. To be added. To be added. To be added. Property Gdk.Window To be added a To be added Property GLib.GType To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method System.Void 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 . Method System.Void Asks to iconify (minimize) the window. The window manager may choose to ignore the request, but normally will honor it. Using is preferred, if you have a widget. This function only makes sense when this window is a toplevel window. Property Gdk.Pixbuf[] To be added a Property System.String To be added A Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void A A , whether to invalidate child windows A convenience wrapper around which invalidates a rectangular region. See for details. Method System.Void To be added. To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property System.Boolean To be added a Property System.Boolean To be added a Property System.Boolean To be added a To be added Property System.Boolean To be added a To be added Method System.Void

Lowers this window to the bottom of the Z-order (stacking order), so that other windows with the same parent window appear above this window. This is true whether or not the other windows are visible.

If this window is a toplevel, the window manager may choose to deny the request to move the window in the Z-order, only requests the restack, but does not guarantee it.

Note that raises the window again, so don't call this function before . (Try .)

Method System.Void Maximizes the window. If the window was already maximized, then this function does nothing.

On X11, asks the window manager to maximize the window, if the window manager supports this operation. Not all window managers support this, and some deliberately ignore it or don't have a concept of "maximized"; so you can't rely on the maximization actually happening. But it will happen with most standard window managers, and GDK makes a best effort to get it to happen.

On Windows, reliably maximizes the window.

Method System.Void Merges the union of all child window masks into the Input mask. Includes the current window input mask. To ignore the parent mask, use . Method System.Void

Merges the shape masks for any child windows into the shape mask for this window. i.e. the union of all masks for this window and its children will become the new mask for this window. See .

This function is distinct from because it includes this window's shape mask in the set of shapes to be merged.

Property System.Boolean To be added A Method System.Void A A Repositions a window relative to its parent window.

For toplevel windows, window managers may ignore or modify the move; you should probably use on a widget anyway, instead of using GDK functions. For child windows, the move will reliably succeed.

If you're also planning to resize the window, use to both move and resize simultaneously, for a nicer visual effect.

Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void a To be added Method System.Void A , new X position relative to window's parent A , new Y position relative to window's parent A , new width A , new height Equivalent to calling and in succession, except that both operations are performed at once, avoiding strange visual effects. (i.e. the user may be able to see the window first move, then resize, if you don't use this method.) Method GLib.DefaultSignalHandler(ConnectionMethod="OverrideCreateSurface", Type=typeof(Gdk.Window)) Cairo.Surface To be added. To be added. To be added. To be added. To be added. Method GLib.DefaultSignalHandler(ConnectionMethod="OverrideFromEmbedder", Type=typeof(Gdk.Window)) System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method GLib.DefaultSignalHandler(ConnectionMethod="OverridePickEmbeddedChild", Type=typeof(Gdk.Window)) Gdk.Window To be added. To be added. To be added. To be added. To be added. Method GLib.DefaultSignalHandler(ConnectionMethod="OverrideToEmbedder", Type=typeof(Gdk.Window)) System.Void To be added. To be added. To be added. To be added. To be added. To be added. Property System.Double Opacity Property. A double between 0 and 1. Property System.Boolean To be added A Property Gdk.Window To be added A Event GLib.Signal("pick-embedded-child") Gdk.PickEmbeddedChildHandler To be added. To be added. Method System.Void Calls for all windows in the application. Method System.Void A , whether to process updates for child windows Sends one or more expose events to the window. The areas in each expose event will cover the entire update area for the window (see for details). Normally GDK calls on your behalf, so there's no need to call this function unless you want to force expose events to be delivered immediately and synchronously (vs. the usual case, where GDK delivers them in an idle handler). Occasionally this is useful to produce nicer scrolling behavior, for example. Method System.Void Raises the window to the top of the Z-order (stacking order), so that other windows with the same parent window appear below this window. This is true whether or not the windows are visible. If this window is a toplevel, the window manager may choose to deny the request to move the window in the Z-order. This method only requests the restack; it does not guarantee a restack. Method System.Void To be added Method System.Void A Remove a filter previously added with . Method System.Void a Removes an event filtering function for all Windows. Method System.Void A , new parent to move this window into A , X location inside the new parent A , Y location inside the new parent Reparents this window into the given . The window being reparented will be unmapped as a side effect. Method System.Void A A To be added Method System.Void To be added. To be added. To be added. To be added. Property System.String To be added A Property Gdk.Screen To be added. To be added. To be added. Method System.Void A , amount to scroll in the X direction A , amount to scroll in the Y direction Scroll the contents of this window, both pixels and children, by the given amount. The window itself does not move. Portions of the window that the scroll operation brings in from offscreen areas are invalidated. The invalidated region may be bigger than what would strictly be necessary. (For X11, a minimum area will be invalidated if the window has no subwindows, or if the edges of the window's parent do not extend beyond the edges of the window. In other cases, a multi-step process is used to scroll the window which may produce temporary visual artifacts and unnecessary invalidations.) Method System.Void Sets the input mask to the union of all child window masks. Ignores the windows own mask. If you wish to add the child window masks to the parent, use . Method System.Void Sets the shape mask of this window to the union of shape masks for all children of the window, ignoring the shape mask of the window itself. Contrast with which includes the shape mask of the window in the masks to be merged. Method System.Void A "Decorations" are the features the window manager adds to a toplevel . This function sets the traditional Motif window manager hints that tell the window manager which decorations you would like your window to have. Usually you should use on a instead of using the GDK function directly.

The argument is the logical OR of the fields in the enumeration. If is included in the mask, the other bits indicate which decorations should be turned off. If is not included, then the other bits indicate which decorations should be turned on.

Most window managers honor a decorations hint of 0 to disable all decorations, but very few honor all possible combinations of bits.

Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void A A Sets the geometry hints for this window. Hints flagged in are set, hints not flagged in are unset. To unset all hints, use a of 0 and a of .

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 or .

Note that on X11, this effect has no effect on windows of type GDK_WINDOW_TEMP or windows where override_redirect has been turned on via 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 yourself to determine appropriate sizes.

Method System.Void To be added. To be added. To be added. To be added. Method System.Boolean A 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 of the windowing system. Don't worry about it unless you have to. A , true if the server supports static gravity Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added Method System.Void Shows a onscreen, but does not modify its stacking order. In contrast, will raise the window to the top of the window stack. On the X11 platform, in Xlib terms, this function calls XMapWindow() (it also updates some internal GDK state, which means that you can't really use XMapWindow() directly on a GDK window). Property System.Boolean To be added a Property System.Boolean To be added a Property System.String Startup notification ID. A string. When using Gtk, consider using instead. Property Gdk.WindowState To be added A Method System.Void "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 , may be more useful.) On the X11 platform, this function depends on window manager support, so may have no effect with many window managers. However, GDK will do the best it can to convince the window manager to stick the window. For window managers that don't support this operation, there's nothing you can do to force it to happen. Property System.Boolean To be added. To be added. To be added. Method System.Void To be added Property System.String To be added A Event GLib.Signal("to-embedder") Gdk.ToEmbedderHandler To be added. To be added. Property Gdk.Window To be added A Property Gdk.Window To be added A Property Gdk.WindowTypeHint To be added A Method System.Void To be added Method System.Void To be added Method System.Void Reverse operation for . Property Cairo.Region To be added A Property System.Boolean Indicates if the window needs the user's urgent attention. to set the hint, or to clear it. Property System.IntPtr To be added a Property Cairo.Region To be added. To be added. To be added. Property Gdk.Visual To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property Gdk.WindowType To be added A Method System.Void Withdraws a window (unmaps it and asks the window manager to forget about it). This function is not really useful as automatically withdraws toplevel windows before hiding them.