Ryujinx-GtkSharp/panelapplet/PanelApplet.custom
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

21 lines
567 B
Plaintext

[DllImport ("panel-applet-2")]
static extern void panel_applet_setup_menu (IntPtr handle, string xml, BonoboUIVerb[] items, IntPtr user_data);
public void SetupMenu (string xml, BonoboUIVerb[] items)
{
BonoboUIVerb[] nulled_items = new BonoboUIVerb[items.Length + 1];
Array.Copy (items, nulled_items, items.Length);
nulled_items[items.Length] = new BonoboUIVerb (null, null);
panel_applet_setup_menu (Handle, xml, nulled_items, IntPtr.Zero);
}
public abstract void Creation ();
public abstract string IID {
get;
}
public abstract string FactoryIID {
get;
}