2004-05-07 Todd Berman <tberman@sevenl.net>

* gnome/Gnome.metadat: Hide App ctor.
        * gnome/Makefile.am: add App.custom.
        * gnome/App.custom: New custom for subclassing.

svn path=/trunk/gtk-sharp/; revision=26960
This commit is contained in:
Todd Berman 2004-05-08 01:44:21 +00:00
parent 864884b4f0
commit b138697051
4 changed files with 20 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2004-05-07 Todd Berman <tberman@sevenl.net>
* gnome/Gnome.metadat: Hide App ctor.
* gnome/Makefile.am: add App.custom.
* gnome/App.custom: New custom for subclassing.
2004-05-07 Todd Berman <tberman@sevenl.net>
* gnome/Gnome.metadata: Hide Scores ctor.

12
gnome/App.custom Normal file
View file

@ -0,0 +1,12 @@
[DllImport("gnomeui-2")]
static extern IntPtr gnome_app_new(string appname, string title);
public App (string appname, string title) : base (IntPtr.Zero)
{
if (GetType () != typeof (App)) {
CreateNativeObject (new string[0], new GLib.Value[0]);
Construct (appname, title);
return;
}
Raw = gnome_app_new(appname, title);
}

View file

@ -1,5 +1,6 @@
<?xml version="1.0"?>
<metadata>
<attr path="/api/namespace/object[@cname='GnomeApp']/constructor[@cname='gnome_app_new']" name="hidden">1</attr>
<attr path="/api/namespace/boxed[@cname='GnomeCanvasPoints']" name="opaque">1</attr>
<attr path="/api/namespace/boxed[@cname='GnomeGlyphList']/method/*/*[@type='const-guchar*']" name="type">const-gchar*</attr>
<attr path="/api/namespace/boxed[@cname='GnomePrintUnit']/method/*/*[@type='const-guchar*']" name="type">const-gchar*</attr>

View file

@ -40,6 +40,7 @@ sources = \
build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs
customs = \
App.custom \
CanvasBpath.custom \
CanvasClipgroup.custom \
Canvas.custom \