blob: e954c20a3eba11e2f6425034965bdb73cb108841 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// 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
}
}
|