GtkSharp/gnome/App.custom

13 lines
418 B
Plaintext
Raw Normal View History

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