GtkSharp/panelapplet/BonoboUIVerb.cs
Mike Kestner 7f3171c814 merge to HEAD of jeroen and friends' work on the 2-4 branch. HEAD
is now tracking Gnome 2.6.

svn path=/trunk/gtk-sharp/; revision=35479
2004-10-29 20:33:07 +00:00

25 lines
451 B
C#

using System;
using System.Runtime.InteropServices;
namespace PanelApplet
{
public delegate void ContextMenuItemCallback ();
[StructLayout (LayoutKind.Sequential)]
public struct BonoboUIVerb
{
string verb;
ContextMenuItemCallback callback;
IntPtr user_data;
IntPtr dummy;
public BonoboUIVerb (string name, ContextMenuItemCallback cb)
{
verb = name;
callback = cb;
user_data = IntPtr.Zero;
dummy = IntPtr.Zero;
}
}
}