<Type Name="WindowType" FullName="Gtk.WindowType">
  <TypeSignature Language="C#" Maintainer="Duncan Mak" Value="public enum WindowType" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed WindowType extends System.Enum" />
  <AssemblyInfo>
    <AssemblyName>gtk-sharp</AssemblyName>
    <AssemblyPublicKey>
    </AssemblyPublicKey>
  </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>
  <Base>
    <BaseTypeName>System.Enum</BaseTypeName>
  </Base>
  <Attributes>
    <Attribute>
      <AttributeName>GLib.GType(typeof(Gtk.WindowTypeGType))</AttributeName>
    </Attribute>
  </Attributes>
  <Docs>
    <summary>The type of <see cref="T:Gtk.Window" /></summary>
    <remarks>
      <para>
		A <see cref="T:Gtk.Window" /> can be one of these types.
		Most things you would consider a "window" should have type <see cref="T:Gtk.WindowType.TopLevel" /> ;
		windows with this type are managed by the window manager and have a frame by default (call <see cref="P:Gtk.Window.Decorated" /> to toggle the frame).
		Windows with type <see cref="T:Gtk.Window.Popup" /> are ignored by the window manager;
		window manager keybindings will not work on them, the window manager will not decorate the window with a frame, many GTK+ features that rely on the window manager will not work (e.g. resize grips and maximization/minimization).</para>
      <para>
        <see cref="T:Gtk.WindowType.Popup" /> is used to implement widgets such as <see cref="T:Gtk.Menu" /> or tooltips that you normally do not think of as windows per se. Nearly all windows should be <see cref="T:Gtk.Window.Toplevel" />. In particular, do not use <see cref="T:Gtk.Window.Popup" /> just to turn off the window borders; use <see cref="P:Gtk.Window.Decorated" /> for instead.</para>
    </remarks>
  </Docs>
  <Members>
    <Member MemberName="Popup">
      <MemberSignature Language="C#" Value="Popup" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Gtk.WindowType Popup = int32(1)" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>Gtk.WindowType</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>A special window such as a tooltip.</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="Toplevel">
      <MemberSignature Language="C#" Value="Toplevel" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Gtk.WindowType Toplevel = int32(0)" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>Gtk.WindowType</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>A regular window, such as a dialog.</summary>
        <remarks />
      </Docs>
    </Member>
  </Members>
</Type>
