mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 00:45:41 +00:00
7f3171c814
is now tracking Gnome 2.6. svn path=/trunk/gtk-sharp/; revision=35479
26 lines
451 B
C#
26 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;
|
|
}
|
|
}
|
|
}
|