// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.

namespace Stetic.Metacity
{

	using System;
	using System.Collections;
	using System.Runtime.InteropServices;

#region Autogenerated code
	[StructLayout(LayoutKind.Sequential)]
	internal struct ButtonLayout {

		[MarshalAs (UnmanagedType.ByValArray, SizeConst=4)]
		public Metacity.ButtonFunction[] LeftButtons;
		[MarshalAs (UnmanagedType.ByValArray, SizeConst=4)]
		public Metacity.ButtonFunction[] RightButtons;

		public static Metacity.ButtonLayout Zero = new Metacity.ButtonLayout ();

		public static Metacity.ButtonLayout New(IntPtr raw) {
			if (raw == IntPtr.Zero) {
				return Metacity.ButtonLayout.Zero;
			}
			Metacity.ButtonLayout self = new Metacity.ButtonLayout();
			self = (Metacity.ButtonLayout) Marshal.PtrToStructure (raw, self.GetType ());
			return self;
		}

		internal static GLib.GType GType {
			get { return GLib.GType.Pointer; }
		}
#endregion
	}
}
