2004-08-24 John Luke <john.luke@gmail.com>

* gtk/Makefile.am: add Menu.custom
        * gtk/Menu.custom: new custom for Popup () overload
        [Fixes #60668]

svn path=/trunk/gtk-sharp/; revision=32790
This commit is contained in:
John Luke 2004-08-24 19:54:09 +00:00
parent d6350e6b59
commit e385129c44
3 changed files with 33 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2004-08-24 John Luke <john.luke@gmail.com>
* gtk/Makefile.am: add Menu.custom
* gtk/Menu.custom: new custom for Popup () overload
[Fixes #60668]
2004-08-24 Larry Ewing <lewing@ximian.com>
* gdk/Pixbuf.custom : add RenderThresholdAlpha overload which defaults

View file

@ -54,6 +54,7 @@ customs = \
Layout.custom \
ListStore.custom \
MessageDialog.custom \
Menu.custom \
MenuItem.custom \
Notebook.custom \
Object.custom \

26
gtk/Menu.custom Normal file
View file

@ -0,0 +1,26 @@
// Gtk.Menu.custom - Gtk Menu class customizations
//
// Author: John Luke <john.luke@gmail.com>
//
// 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);
}