gtk-sharp 0.0.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Toplevel widget which can contain other widgets. Toplevel widget which can contain other widgets. Gtk.Bin Atk.Implementor GLib.IWrapper GLib.IWrapper System.IDisposable Method GLib.List Returns a list of all existing toplevel windows. List of toplevel widgets. The widgets in the list are not individually referenced. If you want to iterate through the list and perform actions involving callbacks that might destroy the widgets, you must call g_list_foreach (result, (GFunc)g_object_ref, ) first, and then unref all the widgets afterwards. Method System.Void Starts moving a window. Mouse button that initiated the drag. X position where the user clicked to initiate the drag, in root window coordinates. Y position where the user clicked to initiate the drag. Timestamp from the click event that initiated the drag. This method is used if an application has window movement grips. When GDK can support it, the window movement will be done using the standard mechanism for the window manager or windowing system. Otherwise, GDK will try to emulate window movement, potentially not all that well, depending on the windowing system. Method System.Void Retrieves the dimensions of the frame window for this toplevel. Location to store the width of the frame at the left, or . Location to store the height of the frame at the top, or . Location to store the width of the frame at the returns, or . Location to store the height of the frame at the bottom, or . It will not return the size of the window border drawn by the window manager, which is the normal case when using a windowing system. See to get the standard window border extents.) See also , . Note: this is a special-purpose function intended for the framebuffer port; see . Method System.Void Asks to iconify (i.e. minimize) the specified . Note that you shouldn't assume the window is definitely iconified afterward, because other entities (e.g. the user or window manager) could deiconify it again, or there may not be a window manager in which case iconification isn't possible, etc. But normally the window will end up iconified. Just do not write code that crashes if not. You can track iconification via the signal on . Method System.Void Asks to unstick window, which means that it will appear on only one of the user's desktops. Note that you shouldn't assume the window is definitely unstuck afterward, because other entities (e.g. the user or window manager) could stick it again. But normally the window will end up stuck. Just do not write code that crashes if not. You can track stickiness via the signal on . Method System.Void Asks to unmaximize . Note that you shouldn't assume the window is definitely unmaximized afterward, because other entities (e.g. the user or window manager) could maximize it again, and not all window managers honor requests to unmaximize. But normally the window will end up unmaximized. Just don't write code that crashes if not. You can track maximization via the signal on . Method System.Void Obtains the current size of . Return location for width, or . Return location for height, or . If window is not onscreen, it returns the size GTK+ will suggest to the window manager for the initial window size (but this is not reliably the same as the size the window manager will actually select). The size obtained by is the last size received in a GdkEventConfigure, that is, GTK+ uses its locally-stored size, rather than querying the X server for the size. As a result, if you call then immediately call , the size would not have taken effect yet. After the window manager processes the resize request, GTK+ receives notification that the size has changed via a configure event, and the size of the window gets updated. Note 1: Nearly any use of this function creates a race condition, because the size of the window may change between the time that you get the size and the time that you perform some action assuming that size is the current size. To avoid race conditions, connect to on the window and adjust your size-dependent state to match the size delivered in the GdkEventConfigure. Method System.Void Gets the default size of the window. Location to store the default width, or . Location to store the default height, or . A value of -1 for the width or height indicates that a default size has not been explicitly set for that dimension, so the "natural" size of the window will be used. Method System.Void To be added an object of type an object of type To be added Method System.Boolean To be added an object of type To be added Method System.Boolean To be added an object of type an object of type To be added Method System.Void To be added an object of type To be added Method System.Void To be added To be added Method System.Void To be added an object of type an object of type an object of type an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.Void To be added an object of type an object of type an object of type an object of type an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.Void To be added To be added Method System.Boolean To be added an object of type an object of type an object of type To be added Method System.Boolean To be added an object of type To be added Method System.Void To be added To be added Method System.Void To be added an object of type an object of type To be added Method System.Void To be added an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.Void To be added an object of type To be added Method System.Void Sets the default size of an object, with the specified width and height arguments. an object of type an object of type It is used for setting the default size an object will have. The first argument, int width, defines the default width of the object ( in pixels ). A similar situation happens with the second argument, int height. It only affects the initial size of the Window, so the user can resizes it. If the Window is hidden and re-shown, it will remmeber the size it had before get hidding. Method System.Void To be added To be added Method System.Void To be added To be added Method System.Void To be added an object of type an object of type To be added Method System.Void Sets the position for a Window, based on the Gtk.WindowPosition position argument. To be added: an object of type 'Gtk.WindowPosition' Is is used for placing the Window in some area, depending on the Gtk.WindowPosition position argument. Method System.Void To be added an object of type To be added Method System.Void To be added an object of type an object of type an object of type To be added Method System.Void Disposes the resources associated with the object. Constructor Internal constructor Pointer to the C object. An instance of Window, wrapping the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new Window object, based on the Gtk.WindowType type argument. an object of type an object of type Creates a new Window object, wich can be of type TopLevel ( most of the cases ) or PopUp. Take care with the use of PopUp type, since it is not controlled by the window manager. Constructor Internal constructor an object of type This is an internal constructor, and should not be used by user code. Constructor Creates a new TopLevel Window object, with the specified string argument as the title. an object of type an object of type Creates a new TopLevel Window object, using the string title argument to specify the Window title. You get the same if you use the public Window ( Gtk.WindowType type ) constructor and later set the string Title property. Property GLib.List To be added an object of type an object of type To be added Property System.UInt32 The for The for the class. Property Gtk.Widget To be added an object of type an object of type To be added Property System.Boolean To be added an object of type an object of type To be added Property Gdk.Gravity To be added an object of type an object of type To be added Property Gdk.ModifierType To be added an object of type an object of type To be added Property Gdk.WindowTypeHint To be added an object of type an object of type To be added Property Gtk.Window To be added an object of type an object of type To be added Property Gtk.Widget To be added an object of type an object of type To be added Property GLib.List To be added an object of type an object of type To be added Property System.String To be added an object of type an object of type To be added Property System.Boolean Sets if a Window will be decorated or not ( borderless ). an object of type an object of type With this property you control if a window will be decorated or not. By default, windows are decorated with a title bar and resize controls. Some window managers allow to disable these decorations, creating a borderless Window. If you set this property as false, Gtk# will try to convince the window manager not to decorate the Window. Property System.Boolean Sets if a Window will be resizable by the user or not. an object of type an object of type By default, windows are resizable, so you can change the size of them. But if you set this property to false, the user won't be able to change the size of them. Property Gtk.WindowPosition Property used for setting/getting the window position. an object of type an object of type This property will alow you to define where a Window must be displayed on the screen. It work with the Gtk.WindowPosition enum, soy maybe you should check it before use it. Property System.Int32 Property used for defining the default height of a window. an object of type an object of type This property will allow you to define the default height for your Window. It only define the default one, so if the Window is resized, it won't be able to do anything. Property System.Boolean To be added an object of type an object of type To be added Property System.Boolean To be added an object of type an object of type To be added Property System.Boolean To be added an object of type an object of type To be added Property System.String Property used for setting the Window Title. an object of type an object of type This property will allow you to set the Window Title. The Title of a window will be displayed in its title bar. Since the title bar is rendered by the window managers on X Window System, the way it appears will depend on the user preferences. This title should help the users to distinguish a window from others opened. A good title will have the application name an the actual document, for example. Property Gtk.WindowType To be added an object of type To be added Property System.Int32 To be added an object of type an object of type To be added Property Gdk.Pixbuf To be added an object of type an object of type To be added Property System.Boolean To be added an object of type an object of type To be added Event To be added To be added Event To be added To be added Event To be added To be added Event To be added To be added Event To be added To be added Event To be added To be added Property System.Drawing.Size To be added an object of type To be added Property System.Drawing.Size To be added an object of type To be added Property System.Drawing.Size To be added an object of type an object of type To be added Constructor Internal constructor GLib type for the type Creates a new instance of Window, using the GLib-provided type This is a constructor used by derivative types of that would have their own GLib type assigned to it. This is not typically used by C# code.