GtkSharp/doc/en/Gtk/Widget.xml
John Luke 70635096fa 2004-12-29 John Luke <john.luke@gmail.com>
* gen-intptr-ctor-docs.cs: docs for Type (IntPtr) ctor
        * gen-gtype-ctor-docs.cs: docs for Type (GType) ctor
        * gen-finalize-docs.cs: docs Finalize methods
        * gen-gtype-docs.cs: docs GType properties, based off
        of gen-vm-docs.cs
        * en/*.xml: run these 4 tools for all the assemblies


svn path=/trunk/gtk-sharp/; revision=38159
2004-12-29 18:36:31 +00:00

4210 lines
No EOL
205 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="Widget" FullName="Gtk.Widget">
<TypeSignature Language="C#" Value="public class Widget : Gtk.Object, Implementor, IWrapper, IWrapper, IDisposable" Maintainer="Hector Gomez M" />
<AssemblyInfo>
<AssemblyName>gtk-sharp</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyCulture>neutral</AssemblyCulture>
<Attributes />
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>$
<Docs>
<summary>GtkWidget introduces style properties - these are basically object properties that are stored in the style object associated to the <paramref name="widget" />.</summary>
<remarks>
<para>
Style properties are set in resource files. This mechanism is used for configuring such things as the location of the scrollbar arrows through the theme, giving theme authors more control over the look of applications without the need to write a theme engine in C.
</para>
<para>
Use <see cref="M:Gtk.Widget.StyleGetProperty" />, <see cref="P:Gtk.Widget.Style" /> or <see cref="M:Gtk.Widget.StyleGetValist" /> to obtain the value of a style property.
</para>
</remarks>
</Docs><Base>
<BaseTypeName>Gtk.Object</BaseTypeName>
</Base><Interfaces>
<Interface>
<InterfaceName>Atk.Implementor</InterfaceName>
</Interface>
<Interface>
<InterfaceName>GLib.IWrapper</InterfaceName>
</Interface>
<Interface>
<InterfaceName>GLib.IWrapper</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces><Attributes /><Members>
<Member MemberName="PushCompositeChild">
<MemberSignature Language="C#" Value="public static void PushCompositeChild ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Makes all newly-created <paramref name="widgets" /> as composite children until the corresponding <see cref="M:Gtk.Widget.PopCompositeChild" /> call.</summary>
<remarks>
<para>
A composite child is a child that's an implementation detail of the container it's inside and should not be visible to people using the container. Composite children aren't treated differently by GTK# (but see <see cref="M:Gtk.Container.Foreach" /> vs. <see cref="M:GtkContainer.Forall" />), but e.g. GUI builders might want to treat them in a different way.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PushColormap">
<MemberSignature Language="C#" Value="public static void PushColormap (Gdk.Colormap cmap);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cmap" Type="Gdk.Colormap" />
</Parameters>
<Docs>
<summary>Pushes <paramref name="cmap" /> onto a global stack of colormaps.</summary>
<param name="cmap">Colormap that is pushed by <see cref="T:Gdk.Colormap" />.</param>
<remarks>
<para>
Pushes <paramref name="cmap" /> onto a global stack of colormaps; the topmost colormap on the stack will be used to create all <paramref name="widgets" />. Remove <paramref name="cmap" /> with <see cref="M:Gtk.Widget.PopColormap" />. There's little reason to use this method.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PopColormap">
<MemberSignature Language="C#" Value="public static void PopColormap ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Removes a colormap pushed with <see cref="M:Gtk.Widget.PushColormap" />.</summary>
<remarks>
<para>
Removes a colormap pushed with <see cref="M:Gtk.Widget.PushColormap" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PopCompositeChild">
<MemberSignature Language="C#" Value="public static void PopCompositeChild ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Cancels the effect of a previous call to <see cref="M:Gtk.Widget.PushCompositeChild" />.</summary>
<remarks>
<para>
Cancels the effect of a previous call to <see cref="M:Gtk.Widget.PushCompositeChild" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="RefAccessible">
<MemberSignature Language="C#" Value="public virtual Atk.Object RefAccessible ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Atk.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets a reference to an object's <see cref="T:Atk.Object" /> implementation.</summary>
<returns>An <see cref="T:Atk.Object" />.</returns>
<remarks>
<para>
Gets a reference to an object's <see cref="T:Atk.Object" /> implementation.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ShowNow">
<MemberSignature Language="C#" Value="public void ShowNow ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Shows a <paramref name="widget" />.</summary>
<remarks>
<para>
If the <paramref name="widget" /> is an unmapped toplevel <paramref name="widget" />, a <see cref="T:Gtk.Window" /> that has not yet been shown, enter the main loop and wait for the window to actually be mapped. Be careful, because the main loop is running, anything can happen during this method.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GrabDefault">
<MemberSignature Language="C#" Value="public void GrabDefault ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Causes <paramref name="widget" /> to become the default <paramref name="widget" />.</summary>
<remarks>
<para>
The default <paramref name="widget" /> is activated when the user presses Enter in a window. Default <paramref name="widgets" /> must be activatable, that is, <see cref="M:Gtk.Widget.Activate" /> should affect them. The <paramref name="widgets" /> must have the <see cref="F:Gtk.WidgetFlags.CanDefault" /> flag set; typically you have to set this flag yourself by calling <see cref="P:Gtk.Widget.CanDefault" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Reparent">
<MemberSignature Language="C#" Value="public void Reparent (Gtk.Widget new_parent);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="new_parent" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Moves a <paramref name="widget" /> from one <see cref="T:Gtk.Container" /> to another, handling reference count issues to avoid destroying the <paramref name="widget" />.</summary>
<param name="new_parent">A <see cref="T:Gtk.Container" /> to move the <paramref name="widget" /> into.</param>
<remarks>
<para>
Moves a <paramref name="widget" /> from one <see cref="T:Gtk.Container" /> to another, handling reference count issues to avoid destroying the <paramref name="widget" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ChildFocus">
<MemberSignature Language="C#" Value="public bool ChildFocus (Gtk.DirectionType direction);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="direction" Type="Gtk.DirectionType" />
</Parameters>
<Docs>
<summary>Move focus to particular <paramref name="widget" />.</summary>
<param name="direction">Direction of focus movement.</param>
<returns>
<see langword="true" /> if focus ended up inside <paramref name="widget" />.</returns>
<remarks>
<para>
This method is used by custom <paramref name="widget" /> implementations; if you're writing an app, you'd use <see cref="M:Gtk.Widget.GrabFocus" /> to move the focus to a particular <paramref name="widget" />, and <see cref="M:Gtk.Container.SetFocusChain" /> to change the focus tab order. So you may want to investigate those methods instead.
</para>
<para>
<see cref="M:Gtk.Widget.ChildFocus" /> is called by containers as the user moves around the window using keyboard shortcuts. <paramref name="direction" /> indicates what kind of motion is taking place (up, down, left, right, tab forward, tab backward). <see cref="M:Gtk.Widget.ChildFocus" /> invokes the <see cref="F:Gtk.Window.FocusActivated" /> event on <see cref="T:Gtk.Widget" />; <paramref name="widgets" /> override the default handler for this event in order to implement appropriate focus behavior.
</para>
<para>
The "focus" default handler for a <paramref name="widget" /> should return <see langword="true" /> if moving in direction left the focus on a focusable location inside that <paramref name="widget" />, and <see langword="false" /> if moving in direction moved the focus outside the <paramref name="widget" />. If returning <see langword="true" />, <paramref name="widgets" /> normally call <see cref="M:Gtk.Widget.GrabFocus" /> to place the focus accordingly; if returning <see langword="false" />, they don't modify the current focus location.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Unparent">
<MemberSignature Language="C#" Value="public void Unparent ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Should be called by implementations of the remove method on <see cref="T:Gtk.Container" />, to dissociate a child from the container.</summary>
<remarks>
<para>
This method is only for use in widget implementations.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Realize">
<MemberSignature Language="C#" Value="public void Realize ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates the GDK (windowing system) resources associated with a <paramref name="widget" />.</summary>
<remarks>
<para>
For example, <paramref name="widget" />-&gt;window will be created when a <paramref name="widget" /> is realized. Normally realization happens implicitly; if you show a <paramref name="widget" /> and all its parent containers, then it will be realized and mapped automatically. Realizing a <paramref name="widget" /> requires all the widget's parent widgets to be realized; calling <see cref="M:Gtk.Widget.Realize" /> realizes the widget's parents in addition to <paramref name="widget" /> itself. If a <paramref name="widget" /> is not yet inside a toplevel window when you realize it, bad things will happen.
</para>
<para>
This method is primarily used in widget implementations, and isn't very useful otherwise. Many times when you think you might need it, a better approach is to connect to a event that will be called after the <paramref name="widget" /> is realized automatically, such as <see cref="F:Gtk.Widget.ExposeEvent" />. Or simply <see cref="M:Glib.SignalAttr.ConnectAfter" /> to the realize event.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="QueueDrawArea">
<MemberSignature Language="C#" Value="public void QueueDrawArea (int x, int y, int width, int height);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="x" Type="System.Int32" />
<Parameter Name="y" Type="System.Int32" />
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Invalidates the rectangular area of a <paramref name="widget" />.</summary>
<param name="x">y coordinate of upper-left corner of rectangle to redraw.</param>
<param name="y">x coordinate of upper-left corner of rectangle to redraw.</param>
<param name="width">Width of region to draw.</param>
<param name="height">Height of region to draw.</param>
<remarks>
<para>
Invalidates the rectangular area of <paramref name="widget" /> defined by <paramref name="x" />, <paramref name="y" />, <paramref name="width" /> and <paramref name="height" /> by calling <see cref="M:Gdk.Window.InvalidateRect" /> on the <paramref name="widget" />'s window and all its child windows. Once the main loop becomes idle (after the current batch of events has been processed, roughly), the window will receive <see cref="F:Gtk.Widget.ExposeEvent" /> events for the union of all regions that have been invalidated.
</para>
<para>
Normally you would only use this method in widget implementations. You might also use it, or <see cref="M:Gdk.Window.InvalidateRect" /> directly, to schedule a redraw of a <see cref="T:Gtk.DrawingArea" /> or some portion thereof. Frequently you can just call <see cref="M:Gdk.Window.InvalidateRect" /> or <see cref="M:Gdk.Window.InvalidateRegion" /> instead of this method. Those methods will invalidate only a single window, instead of the <paramref name="widget" /> and all its children.
</para>
<para>
The advantage of adding to the invalidated region compared to simply drawing immediately is efficiency; using an invalid region ensures that you only have to redraw one time.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ModifyFg">
<MemberSignature Language="C#" Value="public void ModifyFg (Gtk.StateType state, Gdk.Color color);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="state" Type="Gtk.StateType" />
<Parameter Name="color" Type="Gdk.Color" />
</Parameters>
<Docs>
<summary>Sets the foreground <paramref name="color" /> for a <paramref name="widget" /> in a particular <paramref name="state" />.</summary>
<param name="state">The state for which to set the background color.</param>
<param name="color">The color to assign (does not need to be allocated), or <see langword="null" /> to undo the effect of previous calls to of <see cref="M:Gtk.Widget.ModifyFg" />.</param>
<remarks>
<para>
All other style values are left untouched. See also <see cref="M:Gdk.Widget.ModifyStyle" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="RenderIcon">
<MemberSignature Language="C#" Value="public Gdk.Pixbuf RenderIcon (string stock_id, Gtk.IconSize size, string detail);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gdk.Pixbuf</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="stock_id" Type="System.String" />
<Parameter Name="size" Type="Gtk.IconSize" />
<Parameter Name="detail" Type="System.String" />
</Parameters>
<Docs>
<summary>A convenience method that uses the theme engine and RC file settings for <paramref name="widget" /> to look up <paramref name="stock_id" /> and render it to a <see cref="T:Gdk.Pixbuf" />.</summary>
<param name="stock_id">A stock ID.</param>
<param name="size">A stock size.</param>
<param name="detail">Render detail to pass to theme engine.</param>
<returns>A new <see cref="T:Gdk.Pixbuf" />, or <see langword="null" /> if the <paramref name="stock_id" /> wasn't known.</returns>
<remarks>
<para>
The <paramref name="stock_id" /> should be a stock icon ID such as <see cref="P:Gtk.Stock.Open" /> or <see cref="P:Gtk.Stock.Ok" />. <paramref name="size" /> should be a size such as <see cref="F:Gtk.IconSize.Menu" />. <paramref name="detail" /> should be a string that identifies the <paramref name="widget" /> or code doing the rendering, so that theme engines can special-case rendering for that <paramref name="widget" /> or code.
</para>
<para>
The pixels in the returned <see cref="T:Gdk.Pixbuf" /> are shared with the rest of the application and should not be modified. The <see cref="T:Gdk.Pixbuf" /> should be freed after use with <see cref="M:Glib.Object.Unref" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="StyleGetValist">
<MemberSignature Language="C#" Value="public void StyleGetValist (string first_property_name, IntPtr var_args);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="first_property_name" Type="System.String" />
<Parameter Name="var_args" Type="System.IntPtr" />
</Parameters>
<Docs>
<summary>Gets the values of a multiple style properties of <paramref name="widgets" />.</summary>
<param name="first_property_name">The name of the first property to get.</param>
<param name="var_args">A va_list of pairs of property names and locations to return the property values, starting with the location for <paramref name="first_property_name" />.</param>
<remarks>
<para>
Gets the values of a multiple style properties of <paramref name="widget" />. Used primarily by language bindings.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ShowAll">
<MemberSignature Language="C#" Value="public void ShowAll ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Recursively shows a <paramref name="widget" />, and any child <paramref name="widgets" /> (if the widget is a container).</summary>
<remarks>
<para>
Recursively shows a <paramref name="widget" />, and any child <paramref name="widgets" /> (if the widget is a container).
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ModifyText">
<MemberSignature Language="C#" Value="public void ModifyText (Gtk.StateType state, Gdk.Color color);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="state" Type="Gtk.StateType" />
<Parameter Name="color" Type="Gdk.Color" />
</Parameters>
<Docs>
<summary>Sets the text <paramref name="color" /> for a <paramref name="widget" /> in a particular state.</summary>
<param name="state">The state for which to set the text color.</param>
<param name="color">The color to assign (does not need to be allocated), or <see langword="null" /> to undo the effect of previous calls to of <see cref="M:Gtk.Widget.ModifyText" />.</param>
<remarks>
<para>
All other style values are left untouched. The text color is the foreground color used along with the base color (see <see cref="M:Gtk.Widget.ModifyBase" />) for <paramref name="widgets" /> such as <see cref="T:Gtk.Entry" /> and <see cref="T:Gtk.TextView" />. See also <see cref="M:Gtk.Widget.ModifyStyle" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="CreatePangoContext">
<MemberSignature Language="C#" Value="public Pango.Context CreatePangoContext ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Pango.Context</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates a new <see cref="P:Gtk.Widget.PangoContext" /> with the appropriate colormap, font description, and base direction for drawing text for <paramref name="widget" />.</summary>
<returns>The new <see cref="P:Gtk.Widget.PangoContext" />.</returns>
<remarks>
<para>
See also <see cref="P:Gtk.Widget.PangoContext" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="HideOnDelete">
<MemberSignature Language="C#" Value="public bool HideOnDelete ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Utility method; intended to be connected to the <see cref="F:Gtk.Widget.DeleteEvent" /> event on a <see cref="T:Gtk.Window" />.</summary>
<returns>Returns <see langword="true" />.</returns>
<remarks>
<para>
The method calls <see cref="M:Gtk.Widget.Hide" /> on its argument, then returns <see langword="true" />. If connected to <see cref="F:Gtk.Widget.DeleteEvent" />, the result is that clicking the close button for a window (on the window frame, top right corner usually) will hide but not destroy the window. By default, GTK+ destroys windows when <see cref="F:Gtk.Widget.DeleteEvent" /> is received.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GrabFocus">
<MemberSignature Language="C#" Value="public void GrabFocus ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Causes a <paramref name="widget" /> to have the keyboard focus for the <see cref="T:Gtk.Window" /> it's inside.</summary>
<remarks>
<para>
The <paramref name="widget" /> must be a focusable <paramref name="widget" />, such as a <see cref="T:Gtk.Entry" />; something like <see cref="T:Gtk.Frame" /> won't work (More precisely, it must have the <see cref="P:Gtk.Widget.CanFocus" /> flag set).
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="QueueDraw">
<MemberSignature Language="C#" Value="public void QueueDraw ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Equivalent to calling <see cref="M:Gtk.Widget.QueueDrawArea" /> for the entire area of a <paramref name="widget" />.</summary>
<remarks>
<para>
Equivalent to calling <see cref="M:Gtk.Widget.QueueDrawArea" /> for the entire area of a <paramref name="widget" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SetAccelPath">
<MemberSignature Language="C#" Value="public void SetAccelPath (string accel_path, Gtk.AccelGroup accel_group);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="accel_path" Type="System.String" />
<Parameter Name="accel_group" Type="Gtk.AccelGroup" />
</Parameters>
<Docs>
<summary>Given an accelerator group, <paramref name="accel_group" />, and an accelerator path, <paramref name="accel_path" />, sets up an accelerator in <paramref name="accel_group" /> so whenever the key binding that is defined for <paramref name="accel_path" /> is pressed, <paramref name="widget" /> will be activated.</summary>
<param name="accel_path">Path used to look up the the accelerator.</param>
<param name="accel_group">A <see cref="T:Gtk.AccelGroup" />.</param>
<remarks>
<para>
This removes any accelerators (for any accelerator group) installed by previous calls to <see cref="M:Gtk.Widget.SetAccelPath" />. Associating accelerators with paths allows them to be modified by the user and the modifications to be saved for future use.
</para>
<para>
This is a low level method that would most likely be used by a menu creation system like <see cref="T:Gtk.ItemFactory" />. If you use <see cref="T:Gtk.ItemFactory" />, setting up accelerator paths will be done automatically.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Show">
<MemberSignature Language="C#" Value="public void Show ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Flags a <paramref name="widget" /> to be displayed.</summary>
<remarks>
<para>
Any <paramref name="widget" /> that isn't shown will not appear on the screen. If you want to show all the <paramref name="widgets" /> in a container, it's easier to call <see cref="M:Gtk.Widget.ShowAll" /> on the container, instead of individually showing the <paramref name="widgets" />.
</para>
<para>
Remember that you have to show the containers containing a <paramref name="widget" />, in addition to the <paramref name="widget" /> itself, before it will appear onscreen. And that when a toplevel container is shown, it is immediately realized and mapped; other shown <paramref name="widgets" /> are realized and mapped when their toplevel container is realized and mapped.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SetScrollAdjustments">
<MemberSignature Language="C#" Value="public bool SetScrollAdjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="hadjustment" Type="Gtk.Adjustment" />
<Parameter Name="vadjustment" Type="Gtk.Adjustment" />
</Parameters>
<Docs>
<summary>For <paramref name="widgets" /> that support scrolling, sets the scroll adjustments.</summary>
<param name="hadjustment">An adjustment for horizontal scrolling, or <see langword="null" />.</param>
<param name="vadjustment">An adjustment for vertical scrolling, or <see langword="null" />.</param>
<returns>Returns <see langword="true" /> if the <paramref name="widget" /> supports scrolling.</returns>
<remarks>
<para>
For <paramref name="widgets" /> that don't support scrolling, does nothing and returns <see langword="false" />. <paramref name="Widgets" /> that don't support scrolling can be scrolled by placing them in a <see cref="T:Gtk.ViewPort" />, which does support scrolling.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="CreatePangoLayout">
<MemberSignature Language="C#" Value="public Pango.Layout CreatePangoLayout (string text);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Pango.Layout</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="text" Type="System.String" />
</Parameters>
<Docs>
<summary>Creates a new <see cref="T:Pango.Layout" /> with the appropriate colormap, font description, and base direction for drawing text for <paramref name="widget" />.</summary>
<param name="text"> text to set on the layout (can be <see langword="null" />).</param>
<returns>The new <see cref="T:Pango.Layout" />.</returns>
<remarks>
<para>
If you keep a <see cref="T:Pango.Layout" /> created in this way around, in order notify the layout of changes to the base direction or font of this <paramref name="widget" />, you must call <see cref="M:Pango.Layout.ContextChanged" /> in response to the <see cref="F:Gtk.Widget.StyleSet" /> and <see cref="F:Gtk.Widget.DirectionChanged" /> events for the <paramref name="widget" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ResetRcStyles">
<MemberSignature Language="C#" Value="public void ResetRcStyles ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Reset the styles of <paramref name="widget" /> and all descendents, so when they are looked up again, they get the correct values for the currently loaded RC file settings.</summary>
<remarks>
<para>
This method is not useful for applications.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Activate">
<MemberSignature Language="C#" Value="public bool Activate ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>For <paramref name="widgets" /> that can be "activated" (buttons, menu items, etc.) this method activates them.</summary>
<returns>Returns <see langword="true" /> if the <paramref name="widget" /> was activatable.</returns>
<remarks>
<para>
Activation is what happens when you press Enter on a widget during key navigation; clicking a button, selecting a menu item, etc. If the <paramref name="widget" /> isn't activatable, the method returns <see langword="false" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ModifyBg">
<MemberSignature Language="C#" Value="public void ModifyBg (Gtk.StateType state, Gdk.Color color);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="state" Type="Gtk.StateType" />
<Parameter Name="color" Type="Gdk.Color" />
</Parameters>
<Docs>
<summary>Sets the background color for a <paramref name="widget" /> in a particular state.</summary>
<param name="state">The state for which to set the background color.</param>
<param name="color">The color to assign (does not need to be allocated), or <see langword="null" /> to undo the effect of previous calls of <see cref="M:Gtk.Widget.ModifyBg" />.</param>
<remarks>
<para>
All other style values are left untouched. See also <see cref="M:Gtk.Widget.ModifyStyle" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ProcessEvent">
<MemberSignature Language="C#" Value="public bool ProcessEvent (Gdk.Event evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.Event" />
</Parameters>
<Docs>
<summary>Rarely-used method. This method is used to emit the events on a <paramref name="widget" />.</summary>
<param name="evnt">A <see cref="T:Gdk.Event" />.</param>
<returns>Return from the event emission (<see langword="true" /> if the event was handled)</returns>
<remarks>
<para>
If you want to synthesize an event though, don't use this method; instead, use <see cref="M:Gdk.Windowt.InvalidateRect" /> to invalidate a region of the window.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Hide">
<MemberSignature Language="C#" Value="public void Hide ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Reverses the effects of <see cref="M:Gtk.Widget.Show" />, causing the <paramref name="widget" /> to be hidden (invisible to the user).</summary>
<remarks>
<para>
Reverses the effects of <see cref="M:Gtk.Widget.Show" />, causing the <paramref name="widget" /> to be hidden (invisible to the user).
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ModifyBase">
<MemberSignature Language="C#" Value="public void ModifyBase (Gtk.StateType state, Gdk.Color color);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="state" Type="Gtk.StateType" />
<Parameter Name="color" Type="Gdk.Color" />
</Parameters>
<Docs>
<summary>Sets the base color for a <paramref name="widget" /> in a particular state.</summary>
<param name="state">The state for which to set the base color.</param>
<param name="color">The color to assign (does not need to be allocated), or <see langword="null" /> to undo the effect of previous calls to of <see cref="M:Gtk.Widget.ModifyBase" />.</param>
<remarks>
<para>
All other style values are left untouched. The base color is the background color used along with the text color (see <see cref="M:Gtk.Widget.ModifyText" />) for <paramref name="widgets" /> such as <see cref="T:Gtk.Entry" /> and <see cref="T:Gtk.TextView" />. See also <see cref="M:Gtk.Widget.ModifyStyle" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ResetShapes">
<MemberSignature Language="C#" Value="public void ResetShapes ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Recursively resets the shape on <paramref name="widget" /> and its descendants.</summary>
<remarks>
<para>
Recursively resets the shape on this <paramref name="widget" /> and its descendants.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ModifyStyle">
<MemberSignature Language="C#" Value="public void ModifyStyle (Gtk.RcStyle style);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="style" Type="Gtk.RcStyle" />
</Parameters>
<Docs>
<summary>Modifies style values on the <paramref name="widget" />.</summary>
<param name="style">The <see cref="T:Gtk.RcStyle" /> holding the style modifications.</param>
<remarks>
<para>
Modifications made using this technique take precedence over style values set via an RC file, however, they will be overriden if a <paramref name="style" /> is explicitely set on the <paramref name="widget" /> using <see cref="M:Gtk.Widget.StyleSet" />. The <see cref="T:Gtk.RcStyle" /> structure is designed so each field can either be set or unset, so it is possible, using this method, to modify some style values and leave the others unchanged.
</para>
<para>
Note that modifications made with this method are not cumulative with previous calls to <see cref="M:Gtk.Widget.ModifyStyle" /> or with such methods as <see cref="M:Gtk.Widget.ModifyBg" />. If you wish to retain previous values, you must first call <see cref="M:Gtk.Widget.ModifierStyle" />, make your modifications to the returned <paramref name="style" />, then call <see cref="M:Gtk.Widget.ModifyStyle" /> with that <paramref name="style" />. On the other hand, if you first call <see cref="M:Gtk.Widget.ModifyStyle" />, subsequent calls to such methods <see cref="M:Gtk.Widget.ModifyFg" /> will have a cumulative effect with the initial modifications.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SetSizeRequest">
<MemberSignature Language="C#" Value="public void SetSizeRequest (int width, int height);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Sets the minimum size of a <paramref name="widget" />; that is, the <paramref name="widget" />'s size request will be <paramref name="width" /> by <paramref name="height" />.</summary>
<param name="width">Width <paramref name="widget" /> should request, or -1 to unset.</param>
<param name="height">Weight <paramref name="widget" /> should request, or -1 to unset.</param>
<remarks>
<para>
You can use this method to force a <paramref name="widget" /> to be either larger or smaller than it normally would be. In most cases, <see cref="M:Gtk.Window.SetDefaultSize" /> is a better choice for toplevel windows than this method; setting the default size will still allow users to shrink the window. Setting the size request will force them to leave the window at least as large as the size request. When dealing with window sizes, <see cref="M:Gtk.Window.SetGeometryHints" /> can be a useful method as well.
</para>
<para>
Note the inherent danger of setting any fixed size - themes, translations into other languages, different fonts, and user action can all change the appropriate size for a given <paramref name="widget" />. So, it's basically impossible to hardcode a size that will always be correct. The size request of a <paramref name="widget" /> is the smallest size a <paramref name="widget" /> can accept while still methoding well and drawing itself correctly. However in some strange cases a <paramref name="widget" /> may be allocated less than its requested size, and in many cases a <paramref name="widget" /> may be allocated more space than it requested.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="MnemonicActivate">
<MemberSignature Language="C#" Value="public bool MnemonicActivate (bool group_cycling);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group_cycling" Type="System.Boolean" />
</Parameters>
<Docs>
<summary>Activates the targets associated with the mnemonic.</summary>
<param name="group_cycling">A boolean; set to true if the list of targets should cycle once the end of the list is reached.</param>
<returns>
<see langword="true" /> if the activation is done.</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="GetSizeRequest">
<MemberSignature Language="C#" Value="public void GetSizeRequest (out int width, out int height);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="width" Type="System.Int32&amp;" RefType="out" />
<Parameter Name="height" Type="System.Int32&amp;" RefType="out" />
</Parameters>
<Docs>
<summary>Gets the size request that was explicitly set for the <paramref name="widget" /> using <see cref="M:Gtk.Widget.SetSizeRequest" />.</summary>
<param name="width">Return location for width, or <see langword="null" />.</param>
<param name="height">Return location for height, or <see langword="null" />.</param>
<remarks>
<para>
A value of -1 stored in <paramref name="width" /> or <paramref name="height" /> indicates that that dimension has not been set explicitly and the natural requisition of the <paramref name="widget" /> will be used intead. See <see cref="M:Gtk.Widget.SetSizeRequest" />. To get the size a <paramref name="widget" /> will actually use, call <see cref="M:Gtk.Widget.SizeRequest" /> instead of this method.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="RemoveAccelerator">
<MemberSignature Language="C#" Value="public bool RemoveAccelerator (Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="accel_group" Type="Gtk.AccelGroup" />
<Parameter Name="accel_key" Type="System.UInt32" />
<Parameter Name="accel_mods" Type="Gdk.ModifierType" />
</Parameters>
<Docs>
<summary>Removes an accelerator from <paramref name="widget" />, previously installed with <see cref="M:Gtk.Widget.AddAccelerator" />.</summary>
<param name="accel_group">Accel group for this <paramref name="widget" />.</param>
<param name="accel_key">GDK keyval of the accelerator.</param>
<param name="accel_mods">Modifier key combination of the accelerator.</param>
<returns>Returns whether an accelerator was installed and could be removed.</returns>
<remarks>
<para>
Removes an accelerator from <paramref name="widget" />, previously installed with <see cref="M:Gtk.Widget.AddAccelerator" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Unmap">
<MemberSignature Language="C#" Value="public void Unmap ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Causes a <paramref name="widget" /> to be unmapped if it's currently mapped.</summary>
<remarks>
<para>
This method is only for use in widget implementations.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Map">
<MemberSignature Language="C#" Value="public void Map ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Causes a <paramref name="widget" /> to be mapped if it isn't already.</summary>
<remarks>
<para>
This method is only for use in widget implementations.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="RegionIntersect">
<MemberSignature Language="C#" Value="public Gdk.Region RegionIntersect (Gdk.Region region);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gdk.Region</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="region" Type="Gdk.Region" />
</Parameters>
<Docs>
<summary>Computes the intersection of a <paramref name="widget" />'s area and <paramref name="region" />, returning the intersection. </summary>
<param name="region">A <see cref="T:Gdk.Region" />, in the same coordinate system as <paramref name="widget" />-&gt;allocation. That is, relative to <paramref name="widget" />-&gt;window for <see cref="F:Gtk.WidgetFlags.NoWindow" /><paramref name="widgets" />; relative to the parent window of <paramref name="widget" />-&gt;window for widgets with their own window.</param>
<returns> A newly allocated region holding the intersection of <paramref name="widget" /> and <paramref name="region" />. The coordinates of the return value are relative to <paramref name="widget" />-&gt;window for <see cref="F:Gtk.WidgetFlags.NoWindow" /><paramref name="widgets" />, and relative to the parent window of <paramref name="widget" />-&gt;window for widgets with their own window.</returns>
<remarks>
<para>
The result may be empty, use <see cref="M:Gdk.Region.Empty" /> to check.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="QueueResize">
<MemberSignature Language="C#" Value="public void QueueResize ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Flags a <paramref name="widget" /> to have its size renegotiated; should be called when a <paramref name="widget" /> for some reason has a new <see cref="M:Gtk.Widget.SizeRequest" />.</summary>
<remarks>
<para>
This method is only for use in widget implementations. One example, when you change the text in a <see cref="T:Gtk.Label" />, it queues a resize to ensure there's enough space for the new text.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ModifyFont">
<MemberSignature Language="C#" Value="public void ModifyFont (Pango.FontDescription font_desc);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="font_desc" Type="Pango.FontDescription" />
</Parameters>
<Docs>
<summary>Sets the font to use for a <paramref name="widget" />.</summary>
<param name="font_desc">The font description to use, or <see langword="null" /> to undo the effect of previous calls to <see cref="M:Gtk.Widget.ModifyFont" />.</param>
<remarks>
<para>
All other style values are left untouched. See also <see cref="M:Gtk.Widget.ModifyStyle" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SendExpose">
<MemberSignature Language="C#" Value="public int SendExpose (Gdk.Event evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.Event" />
</Parameters>
<Docs>
<summary>Very rarely-used method. This method is used to emit an <see cref="F:Gtk.Widget.ExposeEvent" /> events on a <paramref name="widget" />.</summary>
<param name="evnt">A <see cref="F:Gtk.Widget.ExposeEvent" />.</param>
<returns>Return from the event emission (<see langword="true" /> if the event was handled).</returns>
<remarks>
<para>
This method is not normally used directly. The only time it is used is when propagating an <see cref="F:Gtk.Widget.ExposeEvent" /> to a child <see cref="F:Gtk.WidgetFlags.NoWindow" /><paramref name="widget" />, and that is normally done using <see cref="M:Gtk.Container.PropagateExpose" />. If you want to force an area of a window to be redrawn, use <see cref="M:Gdk.Window.InvalidateRect" /> or <see cref="M:Gdk.Window.InvalidateRegion" />. To cause the redraw to be done immediately, follow that call with a call to <see cref="M:Gdk.Window.ProcessUpdates" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Unrealize">
<MemberSignature Language="C#" Value="public void Unrealize ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Causes a <paramref name="widget" /> to be unrealized (frees all GDK resources associated with the widget).</summary>
<remarks>
<para>
This method is only useful in widget implementations.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="EnsureStyle">
<MemberSignature Language="C#" Value="public void EnsureStyle ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Ensures that <paramref name="widget" /> has a style (<paramref name="widget" />-&gt;style).</summary>
<remarks>
<para>
Not a very useful method; most of the time, if you want the style, the <paramref name="widget" /> is realized, and realized <paramref name="widgets" /> are guaranteed to have a style already.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="IsAncestor">
<MemberSignature Language="C#" Value="public bool IsAncestor (Gtk.Widget ancestor);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="ancestor" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Determines whether <paramref name="widget" /> is somewhere inside <paramref name="ancestor" />, possibly with intermediate containers.</summary>
<param name="ancestor">Another <see cref="T:Gtk.Widget" />.</param>
<returns>Returns <see langword="true" /> if ancestor contains <paramref name="widget" /> as a child, grandchild, great grandchild, etc.</returns>
<remarks>
<para>
Determines whether <paramref name="widget" /> is somewhere inside <paramref name="ancestor" />, possibly with intermediate containers.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AddEvents">
<MemberSignature Language="C#" Value="public void AddEvents (int events);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="events" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Adds the events in the bitfield <paramref name="events" /> to the event mask for <paramref name="widget" />.</summary>
<param name="events" />
<remarks>
<para>
See <see cref="M:Gtk.Widget.Events" /> for details.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="HideAll">
<MemberSignature Language="C#" Value="public void HideAll ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Recursively hides a <paramref name="widget" /> and any child <paramref name="widgets" />.</summary>
<remarks>
<para>
Recursively hides a <paramref name="widget" /> and any child <paramref name="widgets" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ThawChildNotify">
<MemberSignature Language="C#" Value="public void ThawChildNotify ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Reverts the effect of a previous call to <see cref="M:Gtk.Widget.FreezeChildNotify" />.</summary>
<remarks>
<para>
Reverts the effect of a previous call to <see cref="M:Gtk.Widget.FreezeChildNotify" />. This causes all queued <see cref="F:Gtk.Widget.ChildNotified" /> events on <paramref name="widget" /> to be emitted.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ShapeCombineMask">
<MemberSignature Language="C#" Value="public void ShapeCombineMask (Gdk.Pixmap shape_mask, int offset_x, int offset_y);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="shape_mask" Type="Gdk.Pixmap" />
<Parameter Name="offset_x" Type="System.Int32" />
<Parameter Name="offset_y" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Sets a shape for this <paramref name="widget" />'s GDK window. This allows for transparent windows etc., see <see cref="M:Gdk.Window.ShapeCombineMask" /> for more information.</summary>
<param name="shape_mask">Shape to be added, or <see langword="null" /> to remove an existing shape.</param>
<param name="offset_x">X position of shape mask with respect to the window.</param>
<param name="offset_y">Y position of shape mask with respect to the window.</param>
<remarks>
<para>
Sets a shape for this <paramref name="widget" />'s GDK window. This allows for transparent windows etc., see <see cref="M:Gdk.Window.ShapeCombineMask" /> for more information.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ChildNotify">
<MemberSignature Language="C#" Value="public void ChildNotify (string child_property);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child_property" Type="System.String" />
</Parameters>
<Docs>
<summary>Emits a <see cref="F:Gtk.Widget.ChildNotified" /> event for the child property on <paramref name="widget" />.</summary>
<param name="child_property">The name of a child property installed on the class of widget's parent.</param>
<remarks>
<para>
Emits a <see cref="F:Gtk.Widget.ChildNotified" /> event for the child property on <paramref name="widget" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Destroy">
<MemberSignature Language="C#" Value="public override void Destroy ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Destroys a widget.</summary>
<remarks>
<para>
Equivalent to <see cref="M:Gtk.Object.Destroy" />, except that you don't have to cast the <paramref name="widget" /> to <see cref="T:Gtk.Object" />. When a <paramref name="widget" /> is destroyed, it will break any references it holds to other objects. If the <paramref name="widget" /> is inside a container, the <paramref name="widget" /> will be removed from the container. If the <paramref name="widget" /> is a toplevel (derived from <see cref="T:Gtk.Window" />), it will be removed from the list of toplevels, and the reference GTK+ holds to it will be removed.
</para>
<para>
Removing a <paramref name="widget" /> from its container or the list of toplevels results in the <paramref name="widget" /> being finalized, unless you've added additional references to the <paramref name="widget" /> with <see cref="M:Glib.Object.Ref" />.In most cases, only toplevel widgets (windows) require explicit destruction, because when you destroy a toplevel its children will be destroyed as well.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="FreezeChildNotify">
<MemberSignature Language="C#" Value="public void FreezeChildNotify ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Stops emission of <see cref="F:Gtk.Widget.ChildNotified" /> events on <paramref name="widget" />.</summary>
<remarks>
<para>
The events are queued until <see cref="M:Gtk.Widget.ThawChildNotify" /> is called on <paramref name="widget" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SizeAllocate">
<MemberSignature Language="C#" Value="public void SizeAllocate (Gdk.Rectangle allocation);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="allocation" Type="Gdk.Rectangle" />
</Parameters>
<Docs>
<summary>This method is only used by <see cref="T:Gtk.Container" /> subclasses, to assign a size and position to their child <paramref name="widgets" />.</summary>
<param name="allocation">A position and size to be allocated to <paramref name="widget" />.</param>
<remarks>
<para>
This fuction is only used by <see cref="T:Gtk.Container" /> subclasses, to assign a size and position to their child <paramref name="widgets" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Finalize">
<MemberSignature Language="C#" Value="protected override void Finalize ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Disposes the resources associated with the object.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Widget (IntPtr raw);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<summary>Internal constructor</summary>
<param name="raw">Pointer to the C object.</param>
<returns>An instance of Widget, wrapping the C object.</returns>
<remarks>
<para>This is an internal constructor, and should not be used by user code.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="DefaultVisual">
<MemberSignature Language="C#" Value="public static Gdk.Visual DefaultVisual { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gdk.Visual</ReturnType>
</ReturnValue>
<Docs>
<summary>Obtains the visual of the default colormap.</summary>
<returns>Returns a visual of the default colormap.</returns>
<remarks>
<para>
Not really useful; used to be useful before <see cref="M:Gdk.Colormap.GetVisual" /> existed.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="DefaultStyle">
<MemberSignature Language="C#" Value="public static Gtk.Style DefaultStyle { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.Style</ReturnType>
</ReturnValue>
<Docs>
<summary>Obtains the default style used by all <paramref name="widgets" /> initially.</summary>
<returns>Returns the default style. This <see cref="T:Gtk.Style" /> object is owned by GTK+ and should not be modified or freed.</returns>
<remarks>
<para>
Returns the default style used by all <paramref name="widgets" /> initially.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="DefaultColormap">
<MemberSignature Language="C#" Value="public static Gdk.Colormap DefaultColormap { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gdk.Colormap</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains the default colormap to use when creating <paramref name="widgets" />.</summary>
<param name="value">A colormap (see <see cref="T:Gdk.Colormap" />).</param>
<returns>A <see cref="T:Gdk.Colormap" />.</returns>
<remarks>
<para>
<see cref="M:Gtk.Widget.PushColormap" /> is a better method to use if you only want to affect a few widgets, rather than all widgets.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="DefaultDirection">
<MemberSignature Language="C#" Value="public static Gtk.TextDirection DefaultDirection { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.TextDirection</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains the default reading direction for <paramref name="widgets" />.</summary>
<param name="value">A <see cref="P:Gtk.Widget.TextDirection" />.</param>
<returns>A <see cref="P:Gtk.Widget.TextDirection" />.</returns>
<remarks>
<para>
Where the direction has not been explicitly set by <see cref="P:Gtk.Widget.Direction" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Accessible">
<MemberSignature Language="C#" Value="public Atk.Object Accessible { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Atk.Object</ReturnType>
</ReturnValue>
<Docs>
<summary>Obtains the default reading direction for <paramref name="widgets" />.</summary>
<returns>A <see cref="T:Atk.Object" />.</returns>
<remarks>Obtains the default reading direction for <paramref name="widgets" />.</remarks>
</Docs>
</Member>
<Member MemberName="Direction">
<MemberSignature Language="C#" Value="public Gtk.TextDirection Direction { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.TextDirection</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains the reading direction on a particular <paramref name="widget" />.</summary>
<param name="value">A <see cref="T:Gtk.TextDirection" />.</param>
<returns>The reading direction for the <paramref name="widget" />.</returns>
<remarks>
<para>
This direction controls the primary direction for <paramref name="widgets" /> containing text, and also the direction in which the children of a container are packed. The ability to set the direction is present in order so that correct localization into languages with right-to-left reading directions can be done. Generally, applications will let the default reading direction present, except for containers where the containers are arranged in an order that is explicitely visual rather than logical (such as buttons for text justification). If the direction is set none, then the value set by <see cref="P:Gtk.Widget.DefaultDirection" /> will be used.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Colormap">
<MemberSignature Language="C#" Value="public Gdk.Colormap Colormap { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gdk.Colormap</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains the colormap that will be used to render <paramref name="widget" />.</summary>
<param name="value">A colormap (see <see cref="T:Gdk.Colormap" />).</param>
<returns>A <see cref="T:Gdk.Colormap" />.</returns>
<remarks>
<para>
Widget must not have been previously realized.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ChildVisible">
<MemberSignature Language="C#" Value="public bool ChildVisible { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains whether <paramref name="widget" /> should be mapped along with its when its parent is mapped and <paramref name="widget" /> has been shown with <see cref="M:Gtk.Widget.Show" />.</summary>
<param name="value">If <see langword="true" />, <paramref name="widget" /> should be mapped along with its parent.</param>
<returns>Returns <see langword="true" /> if the <paramref name="widget" /> is mapped with the parent.</returns>
<remarks>
<para>
The child visibility can be set for <paramref name="widget" /> before it is added to a container with <see cref="P:Gtk.Widget.Parent" />, to avoid mapping children unnecessary before immediately unmapping them. However it will be reset to its default state of <see langword="true" /> when the <paramref name="widget" /> is removed from a container.
</para>
<para>
Note that changing the child visibility of a <paramref name="widget" /> does not queue a resize on the <paramref name="widget" />. Most of the time, the size of a <paramref name="widget" /> is computed from all visible children, whether or not they are mapped. If this is not the case, the container can queue a resize itself. This property is only useful for container implementations and never should be called by an application.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="CompositeName">
<MemberSignature Language="C#" Value="public string CompositeName { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains a <paramref name="widget" /> composite name.</summary>
<param name="value">The name to set.</param>
<returns>The composite name of <paramref name="widget" />, or <see langword="null" /> if <paramref name="widget" /> is not a composite child. The string should not be freed when it is no longer needed.</returns>
<remarks>
<para>
The <paramref name="widget" /> must be a composite child of its parent; see <see cref="M:Gtk.Widget.PushCompositeChild" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Toplevel">
<MemberSignature Language="C#" Value="public Gtk.Widget Toplevel { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.Widget</ReturnType>
</ReturnValue>
<Docs>
<summary>Obtains the topmost <paramref name="widget" /> in the container hierarchy <paramref name="widget" /> is a part of.</summary>
<returns>The topmost ancestor of <paramref name="widget" />, or <paramref name="widget" /> itself if there's no ancestor.</returns>
<remarks>
<para>
Note the difference in behavior against <see cref="P:Gtk.Widget.GetAncestor" />, would return <see langword="null" /> if <paramref name="widget" /> wasn't inside a toplevel window, and if the window was inside a GtkWindow-derived <paramref name="widget" /> which was in turn inside the toplevel <see cref="T:Gtk.Window" />. While the second case may seem unlikely, it actually happens when a <see cref="T:Gtk.Plug" /> is embedded inside a <see cref="T:Gtk.Socket" /> within the same application. To reliably find the toplevel <see cref="T:Gtk.Window" />, use <see cref="P:Gtk.Widget.TopLevel" /> and check if the <see cref="F:Gtk.WidgetFlags.TopLevel" /> flag is set on the result.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="RedrawOnAllocate">
<MemberSignature Language="C#" Value="public bool RedrawOnAllocate { set; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets whether a <paramref name="widget" /> size allocation changes, the entire <paramref name="widget" /> is queued for drawing.</summary>
<param name="value">
<see langword="true" /> the entire <paramref name="widget" /> will be redrawn when it is allocated to a new size. <see langword="false" /> only the new portion of the <paramref name="widget" /> will be redrawn.</param>
<returns>Returns <see langword="true" /> because it is on by Default, but returns <see langword="false" /> if you turn it off.</returns>
<remarks>
<para>
By default, this setting is <see langword="true" /> and the entire <paramref name="widget" /> is redrawn on every size change. If your <paramref name="widget" /> leaves the upper left are unchanged when made bigger, turning this setting on will improve performance.
</para>
<para>
Note that for <see cref="F:Gtk.WidgetFlags.NoWindow" /><paramref name="widgets" /> setting this flag to <see langword="false" /> turns off all allocation on resizing: the <paramref name="widget" /> will not even redraw if its position changes; this is to allow containers that don't draw anything to avoid excess invalidations. If you set this flag on a <see cref="F:Gtk.WidgetFlags.NoWindow" /><paramref name="widget" /> that does draw on <paramref name="widget" />-&gt;window, you are responsible for invalidating both the old and new allocation of the <paramref name="widget" /> when the <paramref name="widget" /> is moved and responsible for invalidating regions newly when the <paramref name="widget" /> increases size.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="DoubleBuffered">
<MemberSignature Language="C#" Value="public bool DoubleBuffered { set; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Use this property to turn off the double buffering.</summary>
<param name="value">
<see langword="true" /> is on by Default, <see langword="false" /> if you want to turn off double buffering no use call for true because it is default.</param>
<returns>Returns <see langword="true" /> because double buffering is on by Default, but returns <see langword="false" /> if you turn it off.</returns>
<remarks>
<para>
Widgets are double buffered by default, you can use this property to turn off the buffering. "Double buffered" simply means that <see cref="M:Gdk.Window.BeginPaintRegion" /> and <see cref="M:Gdk.Window.EndPaint" /> are called automatically around <see cref="F:Gtk.Widget.ExposeEvent" /> events sent to the <paramref name="widget" />. <see cref="M:Gdk.Window.BeginPaint" /> diverts all drawing to a <paramref name="widget" />'s window to an offscreen buffer, and <see cref="M:Gdk.Window.EndPaint" /> draws the buffer to the screen. The result is that users see the window update in one smooth step, and don't see individual graphics primitives being rendered.
</para>
<para>
In very simple terms, double buffered <paramref name="widgets" /> don't flicker, so you would only use this property to turn off double buffering if you had special needs and really knew what you were doing.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Settings">
<MemberSignature Language="C#" Value="public Gtk.Settings Settings { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.Settings</ReturnType>
</ReturnValue>
<Docs>
<summary>Obtains the settings object holding the settings (global property settings, RC file information, etc) used for this <paramref name="widget" />.</summary>
<returns>The relevant <see cref="T:Gtk.Settings" /> object.</returns>
<remarks>
<para>
Note that this property can only be called when the <see cref="T:Gtk.Widget" /> is attached to a toplevel, since the settings object is specific to a particular <see cref="T:Gdk.Screen" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ParentWindow">
<MemberSignature Language="C#" Value="public Gdk.Window ParentWindow { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gdk.Window</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets or obtains <paramref name="widget" />'s parent window.</summary>
<param name="value">The new parent window.</param>
<returns>The parent window of <paramref name="widget" />.</returns>
<remarks>
<para>
Sets or obtains <paramref name="widget" />'s parent window.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PangoContext">
<MemberSignature Language="C#" Value="public Pango.Context PangoContext { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Pango.Context</ReturnType>
</ReturnValue>
<Docs>
<summary>Obtains a <see cref="T:Pango.Context" /> with the appropriate colormap, font description and base direction for <paramref name="widget" />.</summary>
<returns />
<remarks>
<para>
Unlike the context returned by <see cref="M:Gtk.Widget.CreatePangoContext" />, this context is owned by the <paramref name="widget" /> (it can be used until the screen for the <paramref name="widget" /> changes or the <paramref name="widget" /> is removed from its toplevel), and will be updated to match any changes to the <paramref name="widget" />'s attributes.
</para>
<para>
If you create and keep a <see cref="T:Pango.Layout" /> using this context, you must deal with changes to the context by calling <see cref="T:Pango.Layout.ContextChanged" /> on the layout in response to the <see cref="F:Gtk.Widget.StyleSet" /> and <see cref="F:Gtk.Widget.DirectionChanged" /> events for the <paramref name="widget" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Visual">
<MemberSignature Language="C#" Value="public Gdk.Visual Visual { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gdk.Visual</ReturnType>
</ReturnValue>
<Docs>
<summary>Obtains the visual that will be used to render <paramref name="widget" />.</summary>
<returns>The visual for <paramref name="widget" />.</returns>
<remarks>
<para>
Obtains the visual that will be used to render <paramref name="widget" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ModifierStyle">
<MemberSignature Language="C#" Value="public Gtk.RcStyle ModifierStyle { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.RcStyle</ReturnType>
</ReturnValue>
<Docs>
<summary>Obtains the current modifier style for the <paramref name="widget" />.(As set by <see cref="M:Gtk.Widget.ModifyStyle" />)</summary>
<returns>The modifier style for the <paramref name="widget" />. This rc style is owned by the <paramref name="widget" />.</returns>
<remarks>
<para>
If no style has previously set, a new <see cref="T:Gtk.RcStyle" /> will be created with all values unset, and set as the modifier style for the <paramref name="widget" />. If you make changes to this rc style, you must call <see cref="M:Gtk.Widget.ModifyStyle" />, passing in the returned rc style, to make sure that your changes take effect.
</para>
<para>
Caution: passing the style back to <see cref="M:Gtk.Widget.ModifyStyle" /> will normally end up destroying it, because <see cref="M:Gtk.Widget.ModifyStyle" /> copies the passed-in style and sets the copy as the new modifier style, thus dropping any reference to the old modifier style. Add a reference to the modifier style if you want to keep it alive.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Visible">
<MemberSignature Language="C#" Value="public bool Visible { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Whether the <paramref name="widget" /> is visible.</summary>
<param name="value">If <see langword="true" /> the widget is set to be visible.</param>
<returns>
<see langword="true" /> if the widget is meant to be visible.</returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="WidthRequest">
<MemberSignature Language="C#" Value="public int WidthRequest { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Override for the width request for the <paramref name="widget" />.</summary>
<param name="value">The width to be set for the <paramref name="widget" />.</param>
<returns>The width of the <paramref name="widget" />.</returns>
<remarks>Or -1 if natural request should be used.</remarks>
</Docs>
</Member>
<Member MemberName="Sensitive">
<MemberSignature Language="C#" Value="public bool Sensitive { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Sets the sensitivity of the <see cref="T:Gtk.Widget" />. A widget is sensitive if the user can interact with it, otherwise, it is grayed.</summary>
<param name="value">A System.Boolean value. Set to <see langword="true" /> to enable the <paramref name="widget" /> sensitivity, this is, whether the widget should respond to input or not.</param>
<returns>
<see langword="true" /> if the <paramref name="widget" /> responds to input.</returns>
<remarks>
<para>Insensitive widgets are "grayed out" and the user can't
interact with them. Insensitive widgets are known as
"inactive", "disabled", or "ghosted" in some other toolkits.
The sensitivity of a widget determines whether it will receive
certain events (e.g. button or key presses).</para>
<para>
If the ancestor (parent) widget sesitivity is set to false,
it does not matter what the sensitivity property have,
the widget will not be sensitive. Use
<c>widget.Parent.Sensitive</c>
to check whether the ancestor widget is sensitive or not.
</para>
<see cref="P:Gtk.Widget.Parent" />
<see cref="M:Gtk.Widget.GetAncestor(uint)" />
<para>
When the sensitive property is set to false, the widget
property <see cref="P:Gtk.Widget.CanDefault" /> will return false.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ReceivesDefault">
<MemberSignature Language="C#" Value="public bool ReceivesDefault { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Whether to make the <paramref name="widget" /> receive the default action when it is focused.</summary>
<param name="value">If <see langword="true" /> the <paramref name="widget" /> will receive the default action when is focused.</param>
<returns>
<see langword="true" /> if the <paramref name="true" /> will receive the default action when is focused.</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="HasFocus">
<MemberSignature Language="C#" Value="public bool HasFocus { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Whether the <paramref name="widget" /> has the input focus.</summary>
<param name="value">If <see langword="true" /> the <paramref name="widget" /> has the input focus.</param>
<returns>
<see langword="true" /> if the <paramref name="widget" /> has the input focus.</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="ExtensionEvents">
<MemberSignature Language="C#" Value="public Gdk.ExtensionMode ExtensionEvents { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gdk.ExtensionMode</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>The mask that decides what kind of extension events the <paramref name="widget" /> gets.</summary>
<param name="value">A Gdk.ExtensionMode.</param>
<returns>A Gdk.ExtensionMode.</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="HasDefault">
<MemberSignature Language="C#" Value="public bool HasDefault { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>
<see langword="true" /> when the <paramref name="widget" /> currently is receiving the default action.</summary>
<param name="value">If <paramref name="true" /> the <paramref name="widget" /> is the default <paramref name="widget" />.</param>
<returns>Evaluates to <see langword="true" />if the <paramref name="widget" /> currently is receiving the default action.</returns>
<remarks>When the <paramref name="widget" /> is focused will receive the default action, and HasDefault will be <see langword="true" /> even if there is a different widget set as default.</remarks>
</Docs>
</Member>
<Member MemberName="CompositeChild">
<MemberSignature Language="C#" Value="public bool CompositeChild { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Whether the <paramref name="widget" /> is part of a composite widget.</summary>
<returns>
<see langword="true" /> if the <paramref name="widget" /> is part of a composite widget.</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="CanDefault">
<MemberSignature Language="C#" Value="public bool CanDefault { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Evaluates to <see langword="true" /> if the <paramref name="widget" /> is allowed to receive the default focus.</summary>
<param name="value">
<see cref="System.Boolean" /> value that get or set the capability of the widget to receive the default focus.</param>
<returns>
<see cref="System.Boolean" /> that indicates if the widget can grab the default focus, using <see cref="M:Gtk.Widget.GrabDefault()" />.</returns>
<remarks>
<para>
When this property is set to true, the widget itself will reserve space to
draw the default if possible.
</para>
<para>
If either the widget's <see cref="P:Gtk.Widget.Sensitive" /> property or
the <see cref="P:Gtk.Widget.Parent" />'s <see cref="P:Gtk.Widget.Sensitive" /> property evaluates
to false, the <see cref="P:Gtk.Widget.CanDefault" /> property will return false. Otherwise, the
<see cref="P:Gtk.Widget.CanDefault" /> property will return its own value.
</para>
<para>Typically, you'd like to set the default widget using
<see cref="M:Gtk.Widget.GrabDefault()" />, but you must set the <see cref="P:Gtk.Widget.CanDefault" />
property to true before you call it, in order to force the focus to be grabbed
into the widget.
</para>
<para>
When certain conditions are met and the user press Enter, the default
widget will be focused. Conditions: the <see cref="P:Gtk.Widget.CanDefault" /> property is set
to true, the <see cref="M:Gtk.Widget.GrabDefault()" /> has been called and
the <see cref="T:Gtk.Window" /> containing the widget have the focus.
This state is common when your window is shown for the first time, and no
<see cref="M:Gtk.Widget.GrabFocus()" /> call has been made (or when by no
other means, the focus has been set to any particular widget).
</para>
<para>
<see cref="M:Gtk.Widget.GrabDefault()" /> [FIXME] This is a seealso instead see</para>
<para>
<see cref="P:Gtk.Widget.HasDefault" /> [FIXME] This is a seealso instead see</para>
</remarks>
</Docs>
</Member>
<Member MemberName="CanFocus">
<MemberSignature Language="C#" Value="public bool CanFocus { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Determines whether the <paramref name="widget" /> is able to receive the focus.</summary>
<param name="value">Set to <see langword="true" /> to give focus capability to the <paramref name="widget" />.</param>
<returns>Evaluates to <see langword="true" /> if the <paramref name="widget" /> is able to
handle focus grabs.</returns>
<remarks>
<para>
If the widget property <see cref="P:Gtk.Widget.Sensitive" /> evaluates
to <see langword="false" />, the <see cref="P:Gtk.Widget.CanFocus" /> property will also return
<see langword="false" />. widget
must be a focusable widget, such as an <see cref="T:Gtk.Entry" />; something
like <see cref="T:Gtk.Frame" /> won't work. More precisely, it must have the
property <see cref="P:Gtk.Widget.CanFocus" /> set.
</para>
<para>
The <see cref="P:Gtk.Widget.CanFocus" /> property is just the helper that will tell you whether
the widget is focusable.
</para>
<para>
Evaluate it before you make a call to <see cref="M:Gtk.Widget.GrabFocus()" />,
if you are unsure about the "focusability" of the widget.
</para>[FIXME] This two links are seealso instead see: <see cref="P:Gtk.Widget.HasFocus" /> and
<see cref="M:Gtk.Widget.GrabFocus()" /></remarks>
</Docs>
</Member>
<Member MemberName="HeightRequest">
<MemberSignature Language="C#" Value="public int HeightRequest { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Override for the height request for the <paramref name="widget" />.</summary>
<param name="value">The height to be set for the <paramref name="widget" />.</param>
<returns>The height of the <paramref name="widget" />.</returns>
<remarks>Or -1 if natural request should be used.</remarks>
</Docs>
</Member>
<Member MemberName="AppPaintable">
<MemberSignature Language="C#" Value="public bool AppPaintable { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Whether the application will paint directly on the <paramref name="widget" />.</summary>
<param name="value">If <see langword="true" /> the application will paint directly on the <paramref name="widget" />.</param>
<returns>
<see langword="true" /> if the application will paint directly on the <paramref name="widget" />.</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="Parent">
<MemberSignature Language="C#" Value="public Gtk.Widget Parent { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>The parent widget of this <paramref name="widget" />.</summary>
<param name="value">The parent widget.</param>
<returns>The parent widget.</returns>
<remarks>Must be a Container <paramref name="widget" />,</remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>The name of the <paramref name="widget" />.</summary>
<param name="value">The name to be set for the <paramref name="widget" />.</param>
<returns>The name of the <paramref name="widget" />.</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="Style">
<MemberSignature Language="C#" Value="public Gtk.Style Style { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.Style</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>The style of the <paramref name="widget" />.</summary>
<param name="value">A style.</param>
<returns>A style.</returns>
<remarks>Which contains information about how it will look (colors etc).</remarks>
</Docs>
</Member>
<Member MemberName="UnmapEvent">
<MemberSignature Language="C#" Value="public event Gtk.UnmapEventHandler UnmapEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.UnmapEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired whenever this widget (or its parent, if <see cref="M:Gtk.Widget.ChildVisible" /> is true for the parent) is told to hide itself.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Focused">
<MemberSignature Language="C#" Value="public event Gtk.FocusedHandler Focused;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.FocusedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired whenever this widget is focused.</summary>
<returns> a <see cref="T:Gtk.FocusedHandler" /></returns>
<remarks>The widget gets this signal as the user uses keyboard shortcuts or tabs through the widgets in a window.</remarks>
</Docs>
</Member>
<Member MemberName="ParentSet">
<MemberSignature Language="C#" Value="public event Gtk.ParentSetHandler ParentSet;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.ParentSetHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired whenever this widget's parent widget is set.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="KeyReleaseEvent">
<MemberSignature Language="C#" Value="public event Gtk.KeyReleaseEventHandler KeyReleaseEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.KeyReleaseEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when a key is released within this widget.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Hidden">
<MemberSignature Language="C#" Value="public event EventHandler Hidden;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired whenever this widget is hidden.</summary>
</Docs>
</Member>
<Member MemberName="SelectionRequestEvent">
<MemberSignature Language="C#" Value="public event Gtk.SelectionRequestEventHandler SelectionRequestEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.SelectionRequestEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired whenever the widget receives a request for a selection.</summary>
<remarks>TODO: explain more about the X selection model </remarks>
</Docs>
</Member>
<Member MemberName="DirectionChanged">
<MemberSignature Language="C#" Value="public event Gtk.DirectionChangedHandler DirectionChanged;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.DirectionChangedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the text direction for this widget is changed.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="DragLeave">
<MemberSignature Language="C#" Value="public event Gtk.DragLeaveHandler DragLeave;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.DragLeaveHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when a drag action leaves this widget.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="ScrollEvent">
<MemberSignature Language="C#" Value="public event Gtk.ScrollEventHandler ScrollEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.ScrollEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the widget is scrolled.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="VisibilityNotifyEvent">
<MemberSignature Language="C#" Value="public event Gtk.VisibilityNotifyEventHandler VisibilityNotifyEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.VisibilityNotifyEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired whenever the visibility state of the widget changes--- partially visible or fully visible, for example.</summary>
<remarks>It may be preferable to handle a <see cref="T:Gtk.Widget.ExposeEvent" />instead.</remarks>
</Docs>
</Member>
<Member MemberName="WindowStateEvent">
<MemberSignature Language="C#" Value="public event Gtk.WindowStateEventHandler WindowStateEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.WindowStateEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Emitted when the Window state changes.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Mapped">
<MemberSignature Language="C#" Value="public event EventHandler Mapped;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when this widget is mapped.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="DragBegin">
<MemberSignature Language="C#" Value="public event Gtk.DragBeginHandler DragBegin;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.DragBeginHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired on a source widget when the user begins a drag.</summary>
</Docs>
</Member>
<Member MemberName="HierarchyChanged">
<MemberSignature Language="C#" Value="public event Gtk.HierarchyChangedHandler HierarchyChanged;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.HierarchyChangedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the hierarchy (parent or child relationships) of this widget or its parent or children changes.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="ConfigureEvent">
<MemberSignature Language="C#" Value="public event Gtk.ConfigureEventHandler ConfigureEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.ConfigureEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the configuration of the window has changed (it has been moved or resized).</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="KeyPressEvent">
<MemberSignature Language="C#" Value="public event Gtk.KeyPressEventHandler KeyPressEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.KeyPressEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when a key is pressed within this widget.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="MapEvent">
<MemberSignature Language="C#" Value="public event Gtk.MapEventHandler MapEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.MapEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired just after the widget is mapped.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="FocusGrabbed">
<MemberSignature Language="C#" Value="public event EventHandler FocusGrabbed;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when this widget grabs the keyboard focus.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="MotionNotifyEvent">
<MemberSignature Language="C#" Value="public event Gtk.MotionNotifyEventHandler MotionNotifyEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.MotionNotifyEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the pointer moves within this widget.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="StateChanged">
<MemberSignature Language="C#" Value="public event Gtk.StateChangedHandler StateChanged;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.StateChangedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the state of the widget changes.</summary>
<remarks>See <see cref="T:Gtk.StateType" /> for the possible states of a widget.</remarks>
</Docs>
</Member>
<Member MemberName="NoExposeEvent">
<MemberSignature Language="C#" Value="public event Gtk.NoExposeEventHandler NoExposeEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.NoExposeEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Emits NoExposeEvent</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Unrealized">
<MemberSignature Language="C#" Value="public event EventHandler Unrealized;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when a widget is unrealized.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="ButtonReleaseEvent">
<MemberSignature Language="C#" Value="public event Gtk.ButtonReleaseEventHandler ButtonReleaseEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.ButtonReleaseEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when a (mouse) button is released on this widget.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="SelectionGet">
<MemberSignature Language="C#" Value="public event Gtk.SelectionGetHandler SelectionGet;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.SelectionGetHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when this widget gets a selection from the clipboard.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="SizeAllocated">
<MemberSignature Language="C#" Value="public event Gtk.SizeAllocatedHandler SizeAllocated;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.SizeAllocatedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when size is allocated for this widget.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="PopupMenu">
<MemberSignature Language="C#" Value="public event Gtk.PopupMenuHandler PopupMenu;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.PopupMenuHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when this widget's popup menu is activated.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="ExposeEvent">
<MemberSignature Language="C#" Value="public event Gtk.ExposeEventHandler ExposeEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.ExposeEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the widget needs to be (fully or partially) redrawn.</summary>
<remarks>See <see cref="T:Gtk.ExposeEventArgs" />, <see cref="T:Gtk.ExposeEventHandler" />. </remarks>
</Docs>
</Member>
<Member MemberName="Shown">
<MemberSignature Language="C#" Value="public event EventHandler Shown;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the widget is shown.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="SelectionNotifyEvent">
<MemberSignature Language="C#" Value="public event Gtk.SelectionNotifyEventHandler SelectionNotifyEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.SelectionNotifyEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Emitted when a selection is made.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="FocusInEvent">
<MemberSignature Language="C#" Value="public event Gtk.FocusInEventHandler FocusInEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.FocusInEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the widget has just gained the focus.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="ButtonPressEvent">
<MemberSignature Language="C#" Value="public event Gtk.ButtonPressEventHandler ButtonPressEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.ButtonPressEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when a button is pressed.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="PropertyNotifyEvent">
<MemberSignature Language="C#" Value="public event Gtk.PropertyNotifyEventHandler PropertyNotifyEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.PropertyNotifyEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Emitted when a property is changed.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="HelpShown">
<MemberSignature Language="C#" Value="public event Gtk.HelpShownHandler HelpShown;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.HelpShownHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the help text is shown.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="ClientEvent">
<MemberSignature Language="C#" Value="public event Gtk.ClientEventHandler ClientEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.ClientEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when a message is received from another application.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="ProximityInEvent">
<MemberSignature Language="C#" Value="public event Gtk.ProximityInEventHandler ProximityInEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.ProximityInEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the user is using a stylus or touch screen and their pointer comes near the widget.</summary>
<remarks>See <see cref="T:Gdk.EventProximity" /> for context.</remarks>
</Docs>
</Member>
<Member MemberName="ProximityOutEvent">
<MemberSignature Language="C#" Value="public event Gtk.ProximityOutEventHandler ProximityOutEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.ProximityOutEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the user is using a stylus or touch screen and their pointer leaves the area near the widget.</summary>
<remarks>See <see cref="T:Gdk.EventProximity" /> for context.</remarks>
</Docs>
</Member>
<Member MemberName="DestroyEvent">
<MemberSignature Language="C#" Value="public event Gtk.DestroyEventHandler DestroyEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.DestroyEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when this widget is destroyed.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="SelectionReceived">
<MemberSignature Language="C#" Value="public event Gtk.SelectionReceivedHandler SelectionReceived;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.SelectionReceivedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when this widget is the destination of a received selection.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="DragDataGet">
<MemberSignature Language="C#" Value="public event Gtk.DragDataGetHandler DragDataGet;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.DragDataGetHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the drag-and-drop process gets data from a source widget.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="EnterNotifyEvent">
<MemberSignature Language="C#" Value="public event Gtk.EnterNotifyEventHandler EnterNotifyEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.EnterNotifyEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The pointer has just entered the widget.</summary>
<remarks>If the <see cref="P:Gtk.Widget.CanFocus" /> flag is set, Widget will gain the focus, and the widget might be drawn differently. If the handler returns False, the event might be passed to the parent of widget (if no other handler of widget has returned True).</remarks>
</Docs>
</Member>
<Member MemberName="DragDataReceived">
<MemberSignature Language="C#" Value="public event Gtk.DragDataReceivedHandler DragDataReceived;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.DragDataReceivedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired on a destination widget when it receives dragged data.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="DragMotion">
<MemberSignature Language="C#" Value="public event Gtk.DragMotionHandler DragMotion;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.DragMotionHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired on a source widget when the user is moving a dragged selection.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="SizeRequested">
<MemberSignature Language="C#" Value="public event Gtk.SizeRequestedHandler SizeRequested;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.SizeRequestedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when this widget needs to notify another object of its preferred size.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="GrabNotify">
<MemberSignature Language="C#" Value="public event Gtk.GrabNotifyHandler GrabNotify;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.GrabNotifyHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Emitted when a widget grabs focus.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="StyleSet">
<MemberSignature Language="C#" Value="public event Gtk.StyleSetHandler StyleSet;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.StyleSetHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when a <see cref="T:Gtk.Style" /> is set for this widget.t</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="FocusOutEvent">
<MemberSignature Language="C#" Value="public event Gtk.FocusOutEventHandler FocusOutEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.FocusOutEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the focus leaves this widget.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="ChildNotified">
<MemberSignature Language="C#" Value="public event Gtk.ChildNotifiedHandler ChildNotified;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.ChildNotifiedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Emitted when a child has been notified.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Unmapped">
<MemberSignature Language="C#" Value="public event EventHandler Unmapped;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the widget is unmapped on the screen.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="DragEnd">
<MemberSignature Language="C#" Value="public event Gtk.DragEndHandler DragEnd;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.DragEndHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired on a source widget when a drag operation is completed.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="SelectionClearEvent">
<MemberSignature Language="C#" Value="public event Gtk.SelectionClearEventHandler SelectionClearEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.SelectionClearEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the current selection is cleared.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="MnemonicActivated">
<MemberSignature Language="C#" Value="public event Gtk.MnemonicActivatedHandler MnemonicActivated;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.MnemonicActivatedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when someone presses a mnemonic key.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="DragDrop">
<MemberSignature Language="C#" Value="public event Gtk.DragDropHandler DragDrop;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.DragDropHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired on a source widget when dragged data is dropped.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="LeaveNotifyEvent">
<MemberSignature Language="C#" Value="public event Gtk.LeaveNotifyEventHandler LeaveNotifyEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.LeaveNotifyEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the mouse leaves this widget.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="DeleteEvent">
<MemberSignature Language="C#" Value="public event Gtk.DeleteEventHandler DeleteEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.DeleteEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the user has clicked on the "close" button in the window's frame (the button that is automatically set by the window manager).</summary>
<remarks>If the handler returns False, the widget will be destroyed (and the window closed), but if the handler returns True, nothing will be done. This is a good way to prevent the user from closing your application's window if there should be some cleanups first (like saving the document).</remarks>
</Docs>
</Member>
<Member MemberName="Realized">
<MemberSignature Language="C#" Value="public event EventHandler Realized;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Emitted when a widget is realized.</summary>
<remarks>The default handler creates the Gdk window associated with the widget, and its ancestors.</remarks>
</Docs>
</Member>
<Member MemberName="DragDataDelete">
<MemberSignature Language="C#" Value="public event Gtk.DragDataDeleteHandler DragDataDelete;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.DragDataDeleteHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired on a source widget when dragged data is deleted.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="RootWindow">
<MemberSignature Language="C#" Value="public Gdk.Window RootWindow { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gdk.Window</ReturnType>
</ReturnValue>
<Docs>
<summary>The root window this Widget is attached to.</summary>
<returns>a <see cref="T:Gdk.Window" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName="Display">
<MemberSignature Language="C#" Value="public Gdk.Display Display { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gdk.Display</ReturnType>
</ReturnValue>
<Docs>
<summary>Obtains the <see cref="T:Gdk.Display" /> for the toplevel window associated with this <paramref name="widget" />.</summary>
<returns>The <see cref="T:Gdk.Display" /> for the toplevel for this <paramref name="widget" />.</returns>
<remarks>
<para>
This method can only be called after the <paramref name="widget" /> has been added to a widget hierarchy with a <see cref="T:Gtk.Window" /> at the top.
</para>
<para>
In general, you should only create display specific resources when a <paramref name="widget" /> has been realized, and you should free those resources when the <paramref name="widget" /> is unrealized.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Screen">
<MemberSignature Language="C#" Value="public Gdk.Screen Screen { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gdk.Screen</ReturnType>
</ReturnValue>
<Docs>
<summary>Obtains the <see cref="T:Gdk.Screen" /> from the toplevel window associated with this <paramref name="widget" />.</summary>
<returns>The <see cref="T:Gdk.Screen" /> for the toplevel for this <paramref name="widget" />.</returns>
<remarks>
<para>
This method can only be called after the <paramref name="widget" /> has been added to a widget hierarchy with a <see cref="T:Gtk.Window" /> at the top.
</para>
<para>
In general, you should only create screen specific resources when a <paramref name="widget" /> has been realized, and you should free those resources when the <paramref name="widget" /> is unrealized.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="IsFocus">
<MemberSignature Language="C#" Value="public bool IsFocus { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Determines if the <paramref name="widget" /> is the focus widget within its toplevel.</summary>
<returns>
<see langword="true" /> if the <paramref name="widget" /> is the focus widget.</returns>
<remarks>
<para>
This does not mean that the <see cref="P:Gtk.Widget.HasFocus" /> flag is necessarily set; <see cref="P:Gtk.Widget.HasFocus" /> will only be set if the toplevel <paramref name="widget" /> additionally has the global input focus.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ScreenChanged">
<MemberSignature Language="C#" Value="public event Gtk.ScreenChangedHandler ScreenChanged;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.ScreenChangedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Emitted when the screen has changed.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Intersect">
<MemberSignature Language="C#" Value="public bool Intersect (Gdk.Rectangle area, out Gdk.Rectangle intersection);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="area" Type="Gdk.Rectangle" />
<Parameter Name="intersection" Type="Gdk.Rectangle&amp;" RefType="out" />
</Parameters>
<Docs>
<summary>Computes the intersection of a <paramref name="widget" />'s area and <paramref name="area" />.</summary>
<param name="area"> A rectangle.</param>
<param name="intersection"> A rectangle to store intersection of <paramref name="widget" /> and <paramref name="area" />.</param>
<returns>
<see langword="true" /> if there was an intersection.</returns>
<remarks>
<para>
Computes the intersection of a <paramref name="widget" />'s area and <paramref name="area" />, storing the intersection in <paramref name="intersection" />, and returns <see langword="true" /> if there was an intersection. <paramref name="intersection" /> may be <see langword="null" /> if you're only interested in whether there was an intersection.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetClipboard">
<MemberSignature Language="C#" Value="public Gtk.Clipboard GetClipboard (Gdk.Atom selection);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gtk.Clipboard</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="selection" Type="Gdk.Atom" />
</Parameters>
<Docs>
<summary>Returns the clipboard object for the given selection to be used with <paramref name="widget" />.</summary>
<param name="selection">A <see cref="T:Gdk.Atom" /> which identifies the clipboard to use. <see cref="F:Gdk.Selection.Clipboard" /> gives the default clipboard, another common value is <see cref="F:Gdk.Selection.Primary" />, which gives the primary X selection.</param>
<returns>The appropiate clipboard object. If no clipboard already exists, a new one will be created. Once a clipboard object has been created, it is persistent for all time.</returns>
<remarks>
<para>
<paramref name="widget" /> must have a <see cref="T:Gdk.Display" /> associated with it, so must be attached to a toplevel window.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetPointer">
<MemberSignature Language="C#" Value="public void GetPointer (out int x, out int y);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="x" Type="System.Int32&amp;" RefType="out" />
<Parameter Name="y" Type="System.Int32&amp;" RefType="out" />
</Parameters>
<Docs>
<summary>Obtains the location of the mouse pointer in <paramref name="widget" /> coordinates.</summary>
<param name="x">Return location for the X coordinate, or <see langword="null" />.</param>
<param name="y">Return location for the Y coordinate, or <see langword="null" />.</param>
<remarks>
<para>
Widget coordinates are a bit odd; for historical reasons, they are defined as <paramref name="widget" />-&gt;window coordinates for widgets that are not <see cref="F:Gtk.WidgetFlags.NoWindow" /><paramref name="widgets" />, and are relative to <paramref name="widget" />-&gt;allocation.x, <paramref name="widget" />-&gt;allocation.y for widgets that are <see cref="F:Gtk.WidgetFlags.NoWindow" /><paramref name="widgets" />.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="TranslateCoordinates">
<MemberSignature Language="C#" Value="public bool TranslateCoordinates (Gtk.Widget dest_widget, int src_x, int src_y, out int dest_x, out int dest_y);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dest_widget" Type="Gtk.Widget" />
<Parameter Name="src_x" Type="System.Int32" />
<Parameter Name="src_y" Type="System.Int32" />
<Parameter Name="dest_x" Type="System.Int32&amp;" RefType="out" />
<Parameter Name="dest_y" Type="System.Int32&amp;" RefType="out" />
</Parameters>
<Docs>
<summary>Translate coordinates relative to <paramref name="widget" />'s allocation to coordinates relative to <paramref name="dest_widget" />'s allocations.</summary>
<param name="dest_widget">A <see cref="T:Gtk.Widget" />.</param>
<param name="src_x">X position relative to source <paramref name="widget" />.</param>
<param name="src_y">Y position relative to source <paramref name="widget" />.</param>
<param name="dest_x">Location to store X position relative to <paramref name="dest_widget" />.</param>
<param name="dest_y">Location to store Y position relative to <paramref name="dest_widget" />.</param>
<returns>Returns <see langword="false" /> if either <paramref name="widget" /> was not realized, or there was no common ancestor. In this case, nothing is stored in <paramref name="*dest_x" /> and <paramref name="*dest_y" />. Otherwise <see langword="true" />.</returns>
<remarks>
<para>
In order to perform this operation, both widgets must be realized, and must share a common toplevel.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Path">
<MemberSignature Language="C#" Value="public void Path (out uint path_length, out string path, out string path_reversed);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path_length" Type="System.UInt32&amp;" RefType="out" />
<Parameter Name="path" Type="System.String&amp;" RefType="out" />
<Parameter Name="path_reversed" Type="System.String&amp;" RefType="out" />
</Parameters>
<Docs>
<summary>Obtains the full path to <paramref name="widget" />.</summary>
<param name="path_length">Location to store length of the path, or <see langword="null" />.</param>
<param name="path">Location to store allocated path string, or <see langword="null" />.</param>
<param name="path_reversed">Location to store allocated reverse path string, or <see langword="null" />.</param>
<remarks>
<para>
The path is simply the name of a <paramref name="widget" /> and all its parents in the container hierarchy, separated by periods. The name of a <paramref name="widget" /> comes from <see cref="P:Gtk.Widget.Name" />. Paths are used to apply styles to a <paramref name="widget" /> in gtkrc configuration files. Widget names are the type of the <paramref name="widget" /> by default (e.g. "<see cref="T:Gtk.Button" />") or can be set to an application-specific value with <see cref="P:Gtk.Widget.Name" />.
</para>
<para>
By setting the name of a <paramref name="widget" />, you allow users or theme authors to apply styles to that specific <paramref name="widget" /> in their gtkrc file. <paramref name="path_reversed_p" /> fills in the path in reverse order, i.e. starting with <paramref name="widget" />'s name instead of starting with the name of <paramref name="widget" />'s outermost ancestor.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ClassPath">
<MemberSignature Language="C#" Value="public void ClassPath (out uint path_length, out string path, out string path_reversed);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path_length" Type="System.UInt32&amp;" RefType="out" />
<Parameter Name="path" Type="System.String&amp;" RefType="out" />
<Parameter Name="path_reversed" Type="System.String&amp;" RefType="out" />
</Parameters>
<Docs>
<summary>Same as <see cref="M:Gtk.Widget.Path" />, but always uses the name of a <paramref name="widget" />'s type, never uses a custom name set with <see cref="P:Gtk.Widget.Name" />.</summary>
<param name="path_length">Location to store the length of the class path. or <see langword="null" />.</param>
<param name="path">Location to store the class path as an allocated string, or <see langword="null" />.</param>
<param name="path_reversed">Location to store the reverse class path as an allocated string, or <see langword="null" />.</param>
<remarks />
</Docs>
</Member>
<Member MemberName="WidgetEvent">
<MemberSignature Language="C#" Value="public event Gtk.WidgetEventHandler WidgetEvent;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.WidgetEventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Emits the WidgetEvent.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="StyleGetProperty">
<MemberSignature Language="C#" Value="public void StyleGetProperty (string property_name, GLib.Value value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="property_name" Type="System.String" />
<Parameter Name="value" Type="GLib.Value" />
</Parameters>
<Docs>
<summary>Obtains the value of a style property of <paramref name="widget" />.</summary>
<param name="property_name">The name of a style property.</param>
<param name="value">Location to return the property value.</param>
<remarks />
</Docs>
</Member>
<Member MemberName="HasScreen">
<MemberSignature Language="C#" Value="public bool HasScreen { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Checks whether there is a <see cref="T:Gdk.Screen" /> is associated with this <paramref name="widget" />.</summary>
<returns>see langword="true" /&gt; if there is a <see cref="T:Gdk.Screen" /> associated with the <paramref name="widget" />.</returns>
<remarks>All toplevel <paramref name="widgets" /> have an associated screen, and all <paramref name="widgets" /> added into a hierarchy with a toplevel window at the top.</remarks>
</Docs>
</Member>
<Member MemberName="GType">
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>GType Property.</summary>
<returns>a <see cref="T:GLib.GType" /></returns>
<remarks>Returns the native <see cref="T:GLib.GType" /> value for <see cref="T:Gtk.Widget" />.</remarks>
</Docs>
</Member>
<Member MemberName="OnDragDataDelete">
<MemberSignature Language="C#" Value="protected virtual void OnDragDataDelete (Gdk.DragContext context);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Gdk.DragContext" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.DragDataDelete" /> event.</summary>
<param name="context">a <see cref="T:Gdk.DragContext" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.DragDataDelete" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnRealized">
<MemberSignature Language="C#" Value="protected virtual void OnRealized ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.Realized" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.Realized" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnDragDrop">
<MemberSignature Language="C#" Value="protected virtual bool OnDragDrop (Gdk.DragContext context, int x, int y, uint time_);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Gdk.DragContext" />
<Parameter Name="x" Type="System.Int32" />
<Parameter Name="y" Type="System.Int32" />
<Parameter Name="time_" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.DragDrop" /> event.</summary>
<param name="context">a <see cref="T:Gdk.DragContext" /></param>
<param name="x">a <see cref="T:System.Int32" /></param>
<param name="y">a <see cref="T:System.Int32" /></param>
<param name="time_">a <see cref="T:System.UInt32" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.DragDrop" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnMnemonicActivated">
<MemberSignature Language="C#" Value="protected virtual bool OnMnemonicActivated (bool group_cycling);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group_cycling" Type="System.Boolean" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.MnemonicActivated" /> event.</summary>
<param name="group_cycling">a <see cref="T:System.Boolean" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.MnemonicActivated" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnDragEnd">
<MemberSignature Language="C#" Value="protected virtual void OnDragEnd (Gdk.DragContext context);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Gdk.DragContext" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.DragEnd" /> event.</summary>
<param name="context">a <see cref="T:Gdk.DragContext" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.DragEnd" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnUnmapped">
<MemberSignature Language="C#" Value="protected virtual void OnUnmapped ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.Unmapped" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.Unmapped" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnChildNotified">
<MemberSignature Language="C#" Value="protected virtual void OnChildNotified (IntPtr pspec);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pspec" Type="System.IntPtr" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.ChildNotified" /> event.</summary>
<param name="pspec">a <see cref="T:System.IntPtr" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.ChildNotified" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnStyleSet">
<MemberSignature Language="C#" Value="protected virtual void OnStyleSet (Gtk.Style previous_style);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="previous_style" Type="Gtk.Style" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.StyleSet" /> event.</summary>
<param name="previous_style">a <see cref="T:Gtk.Style" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.StyleSet" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnScreenChanged">
<MemberSignature Language="C#" Value="protected virtual void OnScreenChanged (Gdk.Screen previous_screen);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="previous_screen" Type="Gdk.Screen" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.ScreenChanged" /> event.</summary>
<param name="previous_screen">a <see cref="T:Gdk.Screen" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.ScreenChanged" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnGrabNotify">
<MemberSignature Language="C#" Value="protected virtual void OnGrabNotify (bool was_grabbed);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="was_grabbed" Type="System.Boolean" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.GrabNotify" /> event.</summary>
<param name="was_grabbed">a <see cref="T:System.Boolean" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.GrabNotify" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnDragMotion">
<MemberSignature Language="C#" Value="protected virtual bool OnDragMotion (Gdk.DragContext context, int x, int y, uint time_);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Gdk.DragContext" />
<Parameter Name="x" Type="System.Int32" />
<Parameter Name="y" Type="System.Int32" />
<Parameter Name="time_" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.DragMotion" /> event.</summary>
<param name="context">a <see cref="T:Gdk.DragContext" /></param>
<param name="x">a <see cref="T:System.Int32" /></param>
<param name="y">a <see cref="T:System.Int32" /></param>
<param name="time_">a <see cref="T:System.UInt32" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.DragMotion" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnDragDataReceived">
<MemberSignature Language="C#" Value="protected virtual void OnDragDataReceived (Gdk.DragContext context, int x, int y, Gtk.SelectionData selection_data, uint info, uint time_);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Gdk.DragContext" />
<Parameter Name="x" Type="System.Int32" />
<Parameter Name="y" Type="System.Int32" />
<Parameter Name="selection_data" Type="Gtk.SelectionData" />
<Parameter Name="info" Type="System.UInt32" />
<Parameter Name="time_" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.DragDataReceived" /> event.</summary>
<param name="context">a <see cref="T:Gdk.DragContext" /></param>
<param name="x">a <see cref="T:System.Int32" /></param>
<param name="y">a <see cref="T:System.Int32" /></param>
<param name="selection_data">a <see cref="T:Gtk.SelectionData" /></param>
<param name="info">a <see cref="T:System.UInt32" /></param>
<param name="time_">a <see cref="T:System.UInt32" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.DragDataReceived" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnDragDataGet">
<MemberSignature Language="C#" Value="protected virtual void OnDragDataGet (Gdk.DragContext context, Gtk.SelectionData selection_data, uint info, uint time_);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Gdk.DragContext" />
<Parameter Name="selection_data" Type="Gtk.SelectionData" />
<Parameter Name="info" Type="System.UInt32" />
<Parameter Name="time_" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.DragDataGet" /> event.</summary>
<param name="context">a <see cref="T:Gdk.DragContext" /></param>
<param name="selection_data">a <see cref="T:Gtk.SelectionData" /></param>
<param name="info">a <see cref="T:System.UInt32" /></param>
<param name="time_">a <see cref="T:System.UInt32" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.DragDataGet" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnSelectionReceived">
<MemberSignature Language="C#" Value="protected virtual void OnSelectionReceived (Gtk.SelectionData selection_data, uint time_);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="selection_data" Type="Gtk.SelectionData" />
<Parameter Name="time_" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.SelectionReceived" /> event.</summary>
<param name="selection_data">a <see cref="T:Gtk.SelectionData" /></param>
<param name="time_">a <see cref="T:System.UInt32" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.SelectionReceived" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnHelpShown">
<MemberSignature Language="C#" Value="protected virtual bool OnHelpShown (Gtk.WidgetHelpType help_type);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="help_type" Type="Gtk.WidgetHelpType" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.HelpShown" /> event.</summary>
<param name="help_type">a <see cref="T:Gtk.WidgetHelpType" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.HelpShown" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnShown">
<MemberSignature Language="C#" Value="protected virtual void OnShown ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.Shown" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.Shown" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnPopupMenu">
<MemberSignature Language="C#" Value="protected virtual bool OnPopupMenu ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.PopupMenu" /> event.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.PopupMenu" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnSizeAllocated">
<MemberSignature Language="C#" Value="protected virtual void OnSizeAllocated (Gdk.Rectangle allocation);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="allocation" Type="Gdk.Rectangle" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.SizeAllocated" /> event.</summary>
<param name="allocation">a <see cref="T:Gdk.Rectangle" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.SizeAllocated" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnWidgetEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnWidgetEvent (Gdk.Event evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.Event" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.WidgetEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.Event" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.WidgetEvent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnUnrealized">
<MemberSignature Language="C#" Value="protected virtual void OnUnrealized ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.Unrealized" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.Unrealized" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnSelectionGet">
<MemberSignature Language="C#" Value="protected virtual void OnSelectionGet (Gtk.SelectionData selection_data, uint info, uint time_);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="selection_data" Type="Gtk.SelectionData" />
<Parameter Name="info" Type="System.UInt32" />
<Parameter Name="time_" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.SelectionGet" /> event.</summary>
<param name="selection_data">a <see cref="T:Gtk.SelectionData" /></param>
<param name="info">a <see cref="T:System.UInt32" /></param>
<param name="time_">a <see cref="T:System.UInt32" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.SelectionGet" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnStateChanged">
<MemberSignature Language="C#" Value="protected virtual void OnStateChanged (Gtk.StateType previous_state);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="previous_state" Type="Gtk.StateType" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.StateChanged" /> event.</summary>
<param name="previous_state">a <see cref="T:Gtk.StateType" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.StateChanged" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnFocusGrabbed">
<MemberSignature Language="C#" Value="protected virtual void OnFocusGrabbed ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.FocusGrabbed" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.FocusGrabbed" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnHierarchyChanged">
<MemberSignature Language="C#" Value="protected virtual void OnHierarchyChanged (Gtk.Widget previous_toplevel);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="previous_toplevel" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.HierarchyChanged" /> event.</summary>
<param name="previous_toplevel">a <see cref="T:Gtk.Widget" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.HierarchyChanged" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnDragBegin">
<MemberSignature Language="C#" Value="protected virtual void OnDragBegin (Gdk.DragContext context);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Gdk.DragContext" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.DragBegin" /> event.</summary>
<param name="context">a <see cref="T:Gdk.DragContext" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.DragBegin" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnMapped">
<MemberSignature Language="C#" Value="protected virtual void OnMapped ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.Mapped" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.Mapped" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnDragLeave">
<MemberSignature Language="C#" Value="protected virtual void OnDragLeave (Gdk.DragContext context, uint time_);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Gdk.DragContext" />
<Parameter Name="time_" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.DragLeave" /> event.</summary>
<param name="context">a <see cref="T:Gdk.DragContext" /></param>
<param name="time_">a <see cref="T:System.UInt32" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.DragLeave" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnDirectionChanged">
<MemberSignature Language="C#" Value="protected virtual void OnDirectionChanged (Gtk.TextDirection previous_direction);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="previous_direction" Type="Gtk.TextDirection" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.DirectionChanged" /> event.</summary>
<param name="previous_direction">a <see cref="T:Gtk.TextDirection" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.DirectionChanged" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnHidden">
<MemberSignature Language="C#" Value="protected virtual void OnHidden ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.Hidden" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.Hidden" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnParentSet">
<MemberSignature Language="C#" Value="protected virtual void OnParentSet (Gtk.Widget previous_parent);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="previous_parent" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.ParentSet" /> event.</summary>
<param name="previous_parent">a <see cref="T:Gtk.Widget" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.ParentSet" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnFocused">
<MemberSignature Language="C#" Value="protected virtual bool OnFocused (Gtk.DirectionType direction);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="direction" Type="Gtk.DirectionType" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.Focused" /> event.</summary>
<param name="direction">a <see cref="T:Gtk.DirectionType" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.Focused" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="GetAncestor">
<MemberSignature Language="C#" Value="public Gtk.Widget GetAncestor (GLib.GType widget_type);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="widget_type" Type="GLib.GType" />
</Parameters>
<Docs>
<summary>Obtains the first ancestor of <paramref name="widget" />.</summary>
<param name="widget_type">Ancestor type.</param>
<returns>The ancesor <paramref name="widget" />, or see <see langword="null" /> if not found.</returns>
<remarks>
<para>
For example sending <paramref name="GTK_TYPE_BOX" /> gets the first <see cref="T:Gtk.Box" /> that's an ancstor of <paramref name="widget" />. No reference will be added to the retured <paramref name="widget" />; it should not be unreferenced. See note about checking for a toplevel <see cref="T:Gtk.WIndow" /> in the docs for <see cref="M:Gtk.Widget.Toplevel" />. Note that unlike <see cref="M:Gtk.Widget.IsAncestor" />, <see cref="M:Gtk.Widget.GetAncestor" /> considers <paramref name="widget" /> to be an ancestor of itself.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected Widget (GLib.GType gtype);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="gtype" Type="GLib.GType" />
</Parameters>
<Docs>
<summary>Protected Constructor.</summary>
<param name="gtype">a <see cref="T:GLib.GType" /></param>
<returns>a <see cref="T:Gtk.Widget" /></returns>
<remarks>Chain to this constructor if you have manually registered a native <see cref="T:GLib.GType" /> value for your subclass.</remarks>
</Docs>
</Member>
<Member MemberName="State">
<MemberSignature Language="C#" Value="public Gtk.StateType State { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.StateType</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Sets or obtains the state of a <paramref name="widget" /> (insensitive, prelighted, etc.).</summary>
<param name="value">New state for <paramref name="widget" />.</param>
<returns>New state for <paramref name="widget" />.</returns>
<remarks>
<para>
Usually you should set the state using wrapper fuctions such as <see cref="P:Gtk.Widget.Sensitive" />. This property is for use in widget implementations.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AccelClosuresChanged">
<MemberSignature Language="C#" Value="public event EventHandler AccelClosuresChanged;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Fired when the closures for this widget's accelerator change.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="OnDeleteEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnDeleteEvent (Gdk.Event evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.Event" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.DeleteEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.Event" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.DeleteEvent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnLeaveNotifyEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnLeaveNotifyEvent (Gdk.EventCrossing evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventCrossing" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.LeaveNotifyEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventCrossing" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.LeaveNotifyEvent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnSelectionClearEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnSelectionClearEvent (Gdk.EventSelection evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventSelection" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.SelectionClearEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventSelection" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.SelectionClearEvent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnFocusOutEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnFocusOutEvent (Gdk.EventFocus evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventFocus" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.FocusOutEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventFocus" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.FocusOutEvent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnEnterNotifyEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnEnterNotifyEvent (Gdk.EventCrossing evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventCrossing" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.EnterNotifyEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventCrossing" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.EnterNotifyEvent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnDestroyEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnDestroyEvent (Gdk.Event evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.Event" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.DestroyEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.Event" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.DestroyEvent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnProximityOutEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnProximityOutEvent (Gdk.EventProximity evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventProximity" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.ProximityOutEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventProximity" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.ProximityOutEvent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnProximityInEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnProximityInEvent (Gdk.EventProximity evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventProximity" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.ProximityInEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventProximity" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.ProximityInEvent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnClientEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnClientEvent (Gdk.EventClient evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventClient" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.ClientEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventClient" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.ClientEvent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnButtonPressEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnButtonPressEvent (Gdk.EventButton evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventButton" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.ButtonPressEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventButton" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.ButtonPressEvent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnFocusInEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnFocusInEvent (Gdk.EventFocus evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventFocus" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.FocusInEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventFocus" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.FocusInEvent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnSelectionNotifyEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnSelectionNotifyEvent (Gdk.EventSelection evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventSelection" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.SelectionNotifyEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventSelection" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.SelectionNotifyEvent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnExposeEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnExposeEvent (Gdk.EventExpose evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventExpose" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.ExposeEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventExpose" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.ExposeEvent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnButtonReleaseEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnButtonReleaseEvent (Gdk.EventButton evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventButton" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.ButtonReleaseEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventButton" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.ButtonReleaseEvent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnNoExposeEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnNoExposeEvent (Gdk.Event evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.Event" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.NoExposeEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.Event" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.NoExposeEvent" /> event.</remarks>
</Docs>
</Member>
<Member MemberName="OnMotionNotifyEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnMotionNotifyEvent (Gdk.EventMotion evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventMotion" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.MotionNotifyEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventMotion" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.MotionNotifyEvent" /> event.</remarks>
</Docs>
</Member>
xs <Member MemberName="OnMapEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnMapEvent (Gdk.Event evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.Event" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.MapEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.Event" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.MapEvent" /> event.</remarks>
</Docs>
</Member><Member MemberName="OnKeyPressEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnKeyPressEvent (Gdk.EventKey evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventKey" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.KeyPressEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventKey" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.KeyPressEvent" /> event.</remarks>
</Docs>
</Member><Member MemberName="OnConfigureEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnConfigureEvent (Gdk.EventConfigure evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventConfigure" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.ConfigureEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventConfigure" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.ConfigureEvent" /> event.</remarks>
</Docs>
</Member><Member MemberName="OnWindowStateEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnWindowStateEvent (Gdk.EventWindowState evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventWindowState" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.WindowStateEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventWindowState" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.WindowStateEvent" /> event.</remarks>
</Docs>
</Member><Member MemberName="OnVisibilityNotifyEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnVisibilityNotifyEvent (Gdk.EventVisibility evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventVisibility" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.VisibilityNotifyEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventVisibility" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.VisibilityNotifyEvent" /> event.</remarks>
</Docs>
</Member><Member MemberName="OnScrollEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnScrollEvent (Gdk.EventScroll evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventScroll" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.ScrollEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventScroll" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.ScrollEvent" /> event.</remarks>
</Docs>
</Member><Member MemberName="OnKeyReleaseEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnKeyReleaseEvent (Gdk.EventKey evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventKey" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.KeyReleaseEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventKey" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.KeyReleaseEvent" /> event.</remarks>
</Docs>
</Member><Member MemberName="OnAccelClosuresChanged">
<MemberSignature Language="C#" Value="protected virtual void OnAccelClosuresChanged ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.AccelClosuresChanged" /> event.</summary>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.AccelClosuresChanged" /> event.</remarks>
</Docs>
</Member><Member MemberName="OnSelectionRequestEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnSelectionRequestEvent (Gdk.EventSelection evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventSelection" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.SelectionRequestEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventSelection" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.SelectionRequestEvent" /> event.</remarks>
</Docs>
</Member><Member MemberName="OnPropertyNotifyEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnPropertyNotifyEvent (Gdk.EventProperty evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.EventProperty" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.PropertyNotifyEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.EventProperty" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.PropertyNotifyEvent" /> event.</remarks>
</Docs>
</Member><Member MemberName="OnUnmapEvent">
<MemberSignature Language="C#" Value="protected virtual bool OnUnmapEvent (Gdk.Event evnt);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evnt" Type="Gdk.Event" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.UnmapEvent" /> event.</summary>
<param name="evnt">a <see cref="T:Gdk.Event" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.UnmapEvent" /> event.</remarks>
</Docs>
</Member><Member MemberName="AddAccelerator">
<MemberSignature Language="C#" Value="public void AddAccelerator (string accel_signal, Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="accel_signal" Type="System.String" />
<Parameter Name="accel_group" Type="Gtk.AccelGroup" />
<Parameter Name="accel_key" Type="System.UInt32" />
<Parameter Name="accel_mods" Type="Gdk.ModifierType" />
<Parameter Name="accel_flags" Type="Gtk.AccelFlags" />
</Parameters>
<Docs>
<summary>Installs an accelerator for this <paramref name="widget" /> in <paramref name="accel-group" /> that causes <paramref name="accel_signal" /> to be emitted if the accelerator is activated.</summary>
<param name="accel_signal">Widget signal to emit on accelerator activation.</param>
<param name="accel_group">Accel group for this <paramref name="widget" />, added to its toplevel.</param>
<param name="accel_key">GDK keyval of the accelerator.</param>
<param name="accel_mods">Modifier key combination of the accelerator.</param>
<param name="accel_flags">Flag accelerators.</param>
<remarks>
<para>
The <paramref name="accel-group" /> needs to be added to the widget's toplevel via <see cref="M:Gtk.Window.AddAccelGroup" />, and the signal must be of type G_RUN_ACTION. Accelerators added through this method are not user changeable during runtime.
</para>
<para>
Accelerators added through this method are not user changeable during runtime. If you want to support accelerators that can be changed by the user, use <see cref="M:Gtk.Window.SetAccelPath" /> instead.
</para>
</remarks>
</Docs>
</Member><Member MemberName="AddAccelerator">
<MemberSignature Language="C#" Value="public void AddAccelerator (string accel_signal, Gtk.AccelGroup accel_group, Gtk.AccelKey accel_key);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="accel_signal" Type="System.String" />
<Parameter Name="accel_group" Type="Gtk.AccelGroup" />
<Parameter Name="accel_key" Type="Gtk.AccelKey" />
</Parameters>
<Docs>
<summary>Installs an accelerator for this <paramref name="widget" /> in <paramref name="accel-group" /> that causes <paramref name="accel_signal" /> to be emitted if the accelerator is activated.</summary>
<param name="accel_signal">Widget signal to emit on accelerator activation.</param>
<param name="accel_group">Accel group for this <paramref name="widget" />, added to its toplevel.</param>
<param name="accel_key">GDK keyval of the accelerator.</param>
<remarks>
<para>
The <paramref name="accel-group" /> needs to be added to the widget's toplevel via <see cref="M:Gtk.Window.AddAccelGroup" />, and the signal must be of type G_RUN_ACTION. Accelerators added through this method are not user changeable during runtime.
</para>
<para>
Accelerators added through this method are not user changeable during runtime. If you want to support accelerators that can be changed by the user, use <see cref="M:Gtk.Window.SetAccelPath" /> instead.
</para>
</remarks>
</Docs>
</Member><Member MemberName="Events">
<MemberSignature Language="C#" Value="public Gdk.EventMask Events { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gdk.EventMask</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Obtains or sets the event mask for the <paramref name="widget" /> (a bitfield containing flags from <see cref="T:Gdk.EventMask" />).</summary>
<returns>a <see cref="T:Gdk.EventMask" /></returns>
<remarks>
<para>
The event mask determines which events a <paramref name="widget" /> will receive. Keep in mind that different widgets have different default event masks, and by changing the event mask you may disrupt a <paramref name="widget" />'s fuctionalit, so be careful.
</para>
<para>
This property must be called while a <paramref name="widget" /> is unrealized. Consider <see cref="M:Gtk.Widget.AddEvents" /> for widgets that are already realized, or if you want to preserve the existing event mask.
</para>
<para>
This property can't be used with <see cref="F:Gtk.WidgetFlags.NoWindow" /> widgets; to get events on those events, place them inside a <see cref="T:Gtk.EventBox" /> and receive events on the event box.
</para>
<para>
These are the events that the <paramref name="widget" /> will receive.
</para>
</remarks>
</Docs>
</Member><Member MemberName="OnSizeRequested">
<MemberSignature Language="C#" Value="protected virtual void OnSizeRequested (ref Gtk.Requisition requisition);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="requisition" Type="Gtk.Requisition&amp;" RefType="ref" />
</Parameters>
<Docs>
<summary>Default handler for the <see cref="M:Gtk.Widget.SizeRequested" /> event.</summary>
<param name="requisition">a <see cref="T:Gtk.Requisition" /></param>
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Widget.SizeRequested" /> event.</remarks>
</Docs>
</Member><Member MemberName="GdkWindow">
<MemberSignature Language="C#" Value="public Gdk.Window GdkWindow { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gdk.Window</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Obtains or sets the underlying Gdk.Window used to display the contents of the <paramref name="widget" />.</summary>
<returns>a <see cref="T:Gdk.Window" /></returns>
<remarks />
</Docs>
</Member><Member MemberName="Flags">
<MemberSignature Language="C#" Value="public int Flags { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Obtains or sets the flags for this <paramref name="widget" />.</summary>
<returns>a <see cref="T:System.Int32" /></returns>
<remarks>
<para>
This property should only be used when writing custom widgets in C#. The <see cref="M:Gtk.Widget.WidgetFlags" /> property is a preferred more strongly typed member. This member is obsolete in Gtk# 2.0.
</para>
<para>
See <see cref="T:Gtk.WidgetFlags" /> for possible values.
</para>
</remarks>
</Docs>
</Member><Member MemberName="SizeRequest">
<MemberSignature Language="C#" Value="public Gtk.Requisition SizeRequest ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gtk.Requisition</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Obtains the preferred size of a <paramref name="widget" />.</summary>
<returns>a <see cref="T:Gtk.Requisition" /></returns>
<remarks>
<para>
The container uses this information to arrange its child widgets and decide what size allocations to give them with <see cref="M:Gtk.Widget.SizeAllocate" />.
</para>
<para>
You can also call this method from an application, with some caveats. Most notably, getting a size request requieres the <paramref name="widget" /> to be associated with a screen, because font information may be needed. Multihead-aware applications should keep this in mind.
</para>
<para>
Also remember that the size request is not necessarily the size a <paramref name="widget" /> will actually be allocated.
</para>
</remarks>
</Docs>
</Member><Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected Widget ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>Protected constructor.</summary>
<returns>a <see cref="T:Gtk.Widget" /></returns>
<remarks />
</Docs>
</Member><Member MemberName="FocusLineWidth">
<MemberSignature Language="C#" Value="public int FocusLineWidth { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The width of the focus line in a <paramref name="widget" />.</summary>
<returns>a <see cref="T:System.Int32" /></returns>
<remarks>
<para>
Subclasses of <paramref name="widget" /> use this style property to correctly layout their children.
</para>
</remarks>
</Docs>
</Member><Member MemberName="Allocation">
<MemberSignature Language="C#" Value="public Gdk.Rectangle Allocation { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gdk.Rectangle</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets or Sets the widget's allocation.</summary>
<returns>a <see cref="T:Gdk.Rectangle" /> representing the size of the widget's allocation.
<para>
When the top-level widget has determined how much space its child would like to have, the second phase of the size negotiation, size allocation, begins. Depending on its configuration (see <see cref="P:Gtk.Window.Resizable" />), the top-level widget may be able to expand in order to satisfy the size request or it may have to ignore the size request and keep its fixed size. It then tells its child widget how much space it gets by calling <see cref="M:Gtk.Widget.SizeAllocate(Gdk.Rectangle)" />. The child widget divides the space among its children and tells each child how much space it got, and so on. Under normal circumstances, a <see cref="T:Gtk.Window" /> will always give its child the amount of space the child requested.
</para><para>
A child's size allocation is represented by a <see cref="T:Gtk.Allocation" />. This struct contains not only a width and height, but also a position (i.e. X and Y coordinates), so that containers can tell their children not only how much space they have gotten, but also where they are positioned inside the space available to the container.
</para><para>
Widgets are required to honor the size allocation they receive; a size request is only a request, and widgets must be able to cope with any size.
</para></returns>
<remarks>None.</remarks>
</Docs>
</Member><Member MemberName="IsMapped">
<MemberSignature Language="C#" Value="public bool IsMapped { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Check to see if the widget is Mapped</summary>
<returns>true if the widget is Mapped, false otherwise.</returns>
<remarks>None.</remarks>
</Docs>
</Member><Member MemberName="IsRealized">
<MemberSignature Language="C#" Value="public bool IsRealized { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Checks to see if the widget is Realized</summary>
<returns>returns true if the widget is Realized</returns>
<remarks>None.</remarks>
</Docs>
</Member><Member MemberName="IsNoWindow">
<MemberSignature Language="C#" Value="public bool IsNoWindow { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Convenience property to check Flags for WidgetFlags.NoWindow</summary>
<returns>True if the NoWindow flag is set.</returns>
<remarks>None.</remarks>
</Docs>
</Member><Member MemberName="IsTopLevel">
<MemberSignature Language="C#" Value="public bool IsTopLevel { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Convenience property to check Flags for WidgetFlags.Toplevel</summary>
<returns>True if the Toplevel flag is set.</returns>
<remarks>None</remarks>
</Docs>
</Member><Member MemberName="HasGrab">
<MemberSignature Language="C#" Value="public bool HasGrab { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Convenience property to check Flags for WidgetFlags.HasGrab</summary>
<returns>True if the HasGrab flag is set.</returns>
<remarks>None.</remarks>
</Docs>
</Member><Member MemberName="IsCompositeChild">
<MemberSignature Language="C#" Value="public bool IsCompositeChild { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Convenience property to check Flags for WidgetFlags.CompositeChild</summary>
<returns>True if the CompositeChild flag is set</returns>
<remarks>None</remarks>
</Docs>
</Member><Member MemberName="IsAppPaintable">
<MemberSignature Language="C#" Value="public bool IsAppPaintable { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Convenience property to check Flags for WidgetFlags.AppPaintable</summary>
<returns>True if the AppPaintable flag is set</returns>
<remarks>None</remarks>
</Docs>
</Member><Member MemberName="IsDoubleBuffered">
<MemberSignature Language="C#" Value="public bool IsDoubleBuffered { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Convenience property to check Flags for WidetFlags.DoubleBuffered</summary>
<returns>True if the DoubleBuffered flag is set.</returns>
<remarks>None</remarks>
</Docs>
</Member><Member MemberName="IsDrawable">
<MemberSignature Language="C#" Value="public bool IsDrawable { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Convenience property to check if the widget is Visible and Realized.</summary>
<returns>True if the widget is able to be drawn on</returns>
<remarks>None</remarks>
</Docs>
</Member><Member MemberName="SetFlag">
<MemberSignature Language="C#" Value="public void SetFlag (Gtk.WidgetFlags flag);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="flag" Type="Gtk.WidgetFlags" />
</Parameters>
<Docs>
<summary>Convenience method to set a flag.</summary>
<param name="flag">a <see cref="T:Gtk.WidgetFlags" /> to set</param>
<remarks>None.</remarks>
</Docs>
</Member><Member MemberName="ClearFlag">
<MemberSignature Language="C#" Value="public void ClearFlag (Gtk.WidgetFlags flag);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="flag" Type="Gtk.WidgetFlags" />
</Parameters>
<Docs>
<summary>Convenince method to clear a flag</summary>
<param name="flag">a <see cref="T:Gtk.WidgetFlags" /> to set</param>
<remarks>None</remarks>
</Docs>
</Member><Member MemberName="OnSetScrollAdjustments">
<MemberSignature Language="C#" Value="protected virtual void OnSetScrollAdjustments (Gtk.Adjustment hadj, Gtk.Adjustment vadj);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="hadj" Type="Gtk.Adjustment" />
<Parameter Name="vadj" Type="Gtk.Adjustment" />
</Parameters>
<Docs>
<summary>Virtual method to support scrollable widgets.</summary>
<param name="hadj">a horizontal plane <see cref="T:Gtk.Adjustment" /></param>
<param name="vadj">a vertical plane <see cref="T:Gtk.Adjustment" /></param>
<remarks>Override this method in a subclass to support scrolling of the widget within a viewport smaller than the widget's size.</remarks>
</Docs>
</Member><Member MemberName="ChildRequisition">
<MemberSignature Language="C#" Value="public Gtk.Requisition ChildRequisition { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.Requisition</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Obtains the widget's requisition.</summary>
<returns>a <see cref="T:Gtk.Requisition" /></returns>
<remarks>
<para>
Obtains requisition, unless someone has forced a particular geometry, in which case it returns that geometry instead of the widget's requisition. This method differs from <see cref="M:Gtk.Widget.SizeRequest" /> in that it retrieves the last size request value, while the <see cref="M:Gtk.Widget.SizeRequest" /> method recomputes the size request and fills in the requisition, and then returns the recomputed value.
</para>
</remarks>
</Docs>
</Member><Member MemberName="NoShowAll">
<MemberSignature Language="C#" Value="public bool NoShowAll { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
This property determines whether the widget will be affected by
<see cref="M:Gtk.Widget.ShowAll" /> and <see cref="M:Gtk.Widget.HideAll" />.
</summary>
<returns>a <see cref="T:System.Boolean" />, true if the widget should be affected</returns>
<remarks />
</Docs>
</Member><Member MemberName="AccelCanActivate">
<MemberSignature Language="C#" Value="public event Gtk.AccelCanActivateHandler AccelCanActivate;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>Gtk.AccelCanActivateHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
This signal is present to allow applications and derived
widgets to override the default Gtk.Widget handling
for determining whether an accelerator can be activated.
</summary>
<remarks>See <see cref="M:Gtk.Widget.OnAccelCanActivate" /> for more details.</remarks>
</Docs>
</Member><Member MemberName="OnAccelCanActivate">
<MemberSignature Language="C#" Value="protected virtual bool OnAccelCanActivate (uint signal_id);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="signal_id" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>
Method fired when the <see cref="E:Gtk.Widget.AccelCanActivate" />
event happens; override this for additional functionality.
</summary>
<param name="signal_id">a <see cref="T:System.UInt32" />, a signal ID</param>
<returns>a <see cref="T:System.Boolean" />, true if the accelerator can be activated.</returns>
<remarks>
</remarks>
</Docs>
</Member><Member MemberName="Draw">
<MemberSignature Language="C#" Value="public void Draw (Gdk.Rectangle area);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="area" Type="Gdk.Rectangle" />
</Parameters>
<Docs>
<summary>Deprecated.</summary>
<param name="area">a <see cref="T:Gdk.Rectangle" /></param>
<remarks>
In GTK+ 1.2, this function would immediately render the
region <paramref name="area" /> of a widget, by invoking the virtual draw method of a
widget. In GTK+ 2.0, this method simply invalidates the specified region of the
widget, then updates the invalid region of the widget immediately.
Usually you don't want to update the region immediately for
performance reasons, so in general <see cref="M:Gtk.Widget.QueueDrawArea" /> is
a better choice if you want to draw a region of a widget.
</remarks>
</Docs>
</Member><Member MemberName="QueueClearArea">
<MemberSignature Language="C#" Value="public void QueueClearArea (int x, int y, int width, int height);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="x" Type="System.Int32" />
<Parameter Name="y" Type="System.Int32" />
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Deprecated equivalent of <see cref="M:Gtk.Widget.QueueDrawArea()" /></summary>
<param name="x">a <see cref="T:System.Int32" /></param>
<param name="y">a <see cref="T:System.Int32" /></param>
<param name="width">a <see cref="T:System.Int32" /></param>
<param name="height">a <see cref="T:System.Int32" /></param>
<remarks />
</Docs>
</Member><Member MemberName="AddMnemonicLabel">
<MemberSignature Language="C#" Value="public void AddMnemonicLabel (Gtk.Widget label);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="label" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Adds a widget to the list of mnemonic labels for this widget.</summary>
<param name="label">a <see cref="T:Gtk.Widget" /></param>
<remarks>(See <see cref="M:Gtk.Widget.ListMnemonicLabels()" />). Note the list of mnemonic labels for the widget is cleared when the widget is destroyed, so the caller must make sure to update its internal state at this point as well, by using a connection to the Destroy signal or a weak notifier.</remarks>
</Docs>
</Member><Member MemberName="SetUposition">
<MemberSignature Language="C#" Value="public void SetUposition (int x, int y);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="x" Type="System.Int32" />
<Parameter Name="y" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Deprecated way to set the position of a widget.</summary>
<param name="x">a <see cref="T:System.Int32" /></param>
<param name="y">a <see cref="T:System.Int32" /></param>
<remarks>The funny "u" in the name comes from the "user position" hint specified by the X Window System, and exists for legacy reasons. This function does not work if a widget is inside a container; it is only really useful on <see cref="T:Gtk.Window" />.</remarks>
</Docs>
</Member><Member MemberName="QueueClear">
<MemberSignature Language="C#" Value="public void QueueClear ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Deprecated: Use <see cref="M:Gtk.Widget.QueueDraw()" /> instead.</summary>
<remarks />
</Docs>
</Member><Member MemberName="SetUsize">
<MemberSignature Language="C#" Value="public void SetUsize (int width, int height);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Sets the minimum size of a widget</summary>
<param name="width">a <see cref="T:System.Int32" /></param>
<param name="height">a <see cref="T:System.Int32" /></param>
<remarks>
<see cref="M:Gtk.Widget.SetUsize()" /> is deprecated and should not be used in newly-written code.</remarks>
</Docs>
</Member><Member MemberName="QueueResizeNoRedraw">
<MemberSignature Language="C#" Value="public void QueueResizeNoRedraw ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>This function works like <see cref="M:Gtk.Widget.QueueResize()" />, except that the widget is not invalidated.</summary>
<remarks />
</Docs>
</Member><Member MemberName="ListMnemonicLabels">
<MemberSignature Language="C#" Value="public GLib.List ListMnemonicLabels ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>GLib.List</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns a newly allocated list of the widgets, normally labels, for which this widget is a the target of a mnemonic</summary>
<returns>a <see cref="T:GLib.List" /></returns>
<remarks>
</remarks>
</Docs>
</Member><Member MemberName="CanActivateAccel">
<MemberSignature Language="C#" Value="public bool CanActivateAccel (uint signal_id);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="signal_id" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>
Determines whether an accelerator that activates the signal
identified by <paramref name="signal_id" /> can currently be activated.
</summary>
<param name="signal_id">a <see cref="T:System.UInt32" />, a signal ID (XXX: API: should this really work this way?)</param>
<returns>a <see cref="T:System.Boolean" />, true if the accelerator can be activated.</returns>
<remarks>
This is done by emitting the <see cref="E:Gtk.Widget.CanActivateAccel" />
signal on the widget; if the signal isn't overridden by a
handler or in a derived widget, then the default check is
that the widget must be sensitive, and the widget and all
its ancestors mapped.
</remarks>
</Docs>
</Member><Member MemberName="RemoveMnemonicLabel">
<MemberSignature Language="C#" Value="public void RemoveMnemonicLabel (Gtk.Widget label);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="label" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Removes a widget from the list of mnemonic labels for this widget.</summary>
<param name="label">a <see cref="T:Gtk.Widget" /></param>
<remarks>The widget must have previously been added to the list with <see cref="M:Gtk.Widget.AddMnemonicLabel()" />.</remarks>
</Docs>
</Member><Member MemberName="CreateNativeObject">
<MemberSignature Language="C#" Value="protected override void CreateNativeObject (string [] names, GLib.Value[] vals);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="names" Type="System.String[]" />
<Parameter Name="vals" Type="GLib.Value[]" />
</Parameters>
<Docs>
<summary>Creates the GObject underlying a managed <see cref="T:Gtk.Widget" /> subclass</summary>
<param name="names">an array of (GObject) property names</param>
<param name="vals">the values for the properties identified by <paramref name="names" /></param>
<remarks>See <see cref="M:GLib.Object.CreateNativeObject" /> for more details. This overridden method also sets up event handlers on the object to ensure that the wrapper object always stays alive when the widget is contained by another widget (even when it is contained by an unmanaged widget that doesn't know about its managed wrapper).</remarks>
</Docs>
</Member><Member MemberName="WidgetFlags">
<MemberSignature Language="C#" Value="public Gtk.WidgetFlags WidgetFlags { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.WidgetFlags</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Contains Widget specific flags values.</summary>
<returns>a <see cref="T:Gtk.WidgetFlags" /></returns>
<remarks />
</Docs>
</Member></Members></Type>