mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 20:25:37 +00:00
b138697051
* 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
13 lines
418 B
Plaintext
13 lines
418 B
Plaintext
[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);
|
|
}
|