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); + }