gtk-sharp0.0.0.0Gtk# 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.BinAtk.ImplementorGLib.IWrapperGLib.IWrapperSystem.IDisposableMethodGLib.ListReturns 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.
MethodSystem.VoidStarts 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.
MethodSystem.VoidRetrieves 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 .
MethodSystem.VoidAsks 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 .
MethodSystem.VoidAsks 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 .
MethodSystem.VoidAsks 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 .
MethodSystem.VoidObtains 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.
MethodSystem.VoidGets 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.
MethodSystem.VoidTo be added
an object of type
an object of type To be addedMethodSystem.BooleanTo be addedan object of type To be addedMethodSystem.BooleanTo be added
an object of type an object of type To be addedMethodSystem.VoidTo be added
an object of type To be addedMethodSystem.VoidTo be addedTo be addedMethodSystem.VoidTo be added
an object of type
an object of type
an object of type
an object of type To be addedMethodSystem.VoidTo be added
an object of type
an object of type To be addedMethodSystem.VoidTo be added
an object of type
an object of type
an object of type
an object of type
an object of type To be addedMethodSystem.VoidTo be added
an object of type
an object of type To be addedMethodSystem.VoidTo be addedTo be addedMethodSystem.BooleanTo be added
an object of type
an object of type an object of type To be addedMethodSystem.BooleanTo be addedan object of type To be addedMethodSystem.VoidTo be addedTo be addedMethodSystem.VoidTo be added
an object of type
an object of type To be addedMethodSystem.VoidTo be added
an object of type To be addedMethodSystem.VoidTo be added
an object of type
an object of type To be addedMethodSystem.VoidTo be added
an object of type To be addedMethodSystem.VoidSets 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.
MethodSystem.VoidTo be addedTo be addedMethodSystem.VoidTo be addedTo be addedMethodSystem.VoidTo be added
an object of type
an object of type To be addedMethodSystem.VoidSets 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.
MethodSystem.VoidTo be added
an object of type To be addedMethodSystem.VoidTo be added
an object of type
an object of type
an object of type To be addedMethodSystem.VoidDisposes the resources associated with the object.ConstructorInternal 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.ConstructorCreates 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.
ConstructorInternal constructoran object of type This is an internal constructor, and should not be used by user code.ConstructorCreates 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.
PropertyGLib.ListTo be added
an object of type an object of type To be addedPropertySystem.UInt32The for The for the class.PropertyGtk.WidgetTo be added
an object of type an object of type To be addedPropertySystem.BooleanTo be added
an object of type an object of type To be addedPropertyGdk.GravityTo be added
an object of type an object of type To be addedPropertyGdk.ModifierTypeTo be added
an object of type an object of type To be addedPropertyGdk.WindowTypeHintTo be added
an object of type an object of type To be addedPropertyGtk.WindowTo be added
an object of type an object of type To be addedPropertyGtk.WidgetTo be added
an object of type an object of type To be addedPropertyGLib.ListTo be added
an object of type an object of type To be addedPropertySystem.StringTo be added
an object of type an object of type To be addedPropertySystem.BooleanSets 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.
PropertySystem.BooleanSets 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.
PropertyGtk.WindowPositionProperty 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.
PropertySystem.Int32Property 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.
PropertySystem.BooleanTo be added
an object of type an object of type To be addedPropertySystem.BooleanTo be added
an object of type an object of type To be addedPropertySystem.BooleanTo be added
an object of type an object of type To be addedPropertySystem.StringProperty 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.
PropertyGtk.WindowTypeTo be addedan object of type To be addedPropertySystem.Int32To be added
an object of type an object of type To be addedPropertyGdk.PixbufTo be added
an object of type an object of type To be addedPropertySystem.BooleanTo be added
an object of type an object of type To be addedEventTo be addedTo be addedEventTo be addedTo be addedEventTo be addedTo be addedEventTo be addedTo be addedEventTo be addedTo be addedEventTo be addedTo be addedPropertySystem.Drawing.SizeTo be addedan object of type To be addedPropertySystem.Drawing.SizeTo be addedan object of type To be addedPropertySystem.Drawing.SizeTo be added
an object of type an object of type To be addedConstructorInternal constructor
GLib type for the type
Creates a new instance of Window, using the GLib-provided typeThis 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.