From e385129c4458fd2d19034f611dec8732a63e58c8 Mon Sep 17 00:00:00 2001 From: John Luke Date: Tue, 24 Aug 2004 19:54:09 +0000 Subject: [PATCH] 2004-08-24 John Luke * gtk/Makefile.am: add Menu.custom * gtk/Menu.custom: new custom for Popup () overload [Fixes #60668] svn path=/trunk/gtk-sharp/; revision=32790 --- ChangeLog | 6 ++++++ gtk/Makefile.am | 1 + gtk/Menu.custom | 26 ++++++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 gtk/Menu.custom diff --git a/ChangeLog b/ChangeLog index 2dbd70d5a..acb7b7737 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-08-24 John Luke + + * gtk/Makefile.am: add Menu.custom + * gtk/Menu.custom: new custom for Popup () overload + [Fixes #60668] + 2004-08-24 Larry Ewing * gdk/Pixbuf.custom : add RenderThresholdAlpha overload which defaults diff --git a/gtk/Makefile.am b/gtk/Makefile.am index d6b559900..6cdc8d3d6 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -54,6 +54,7 @@ customs = \ Layout.custom \ ListStore.custom \ MessageDialog.custom \ + Menu.custom \ MenuItem.custom \ Notebook.custom \ Object.custom \ diff --git a/gtk/Menu.custom b/gtk/Menu.custom new file mode 100644 index 000000000..48aa97d41 --- /dev/null +++ b/gtk/Menu.custom @@ -0,0 +1,26 @@ +// Gtk.Menu.custom - Gtk Menu class customizations +// +// Author: John Luke +// +// Copyright (C) 2004 John Luke +// +// This code is inserted after the automatically generated code. +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of version 2 of the Lesser GNU General +// Public License as published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this program; if not, write to the +// Free Software Foundation, Inc., 59 Temple Place - Suite 330, +// Boston, MA 02111-1307, USA. + + public void Popup () + { + this.Popup (null, null, null, IntPtr.Zero, 3, Global.CurrentEventTime); + }