yes, adding the file is cool

svn path=/trunk/gtk-sharp/; revision=26965
This commit is contained in:
Todd Berman 2004-05-08 02:50:47 +00:00
parent d04d7d6fa4
commit 3761234140

View file

@ -0,0 +1,16 @@
[DllImport("gnomeui-2")]
static extern IntPtr gnome_druid_page_edge_new_with_vals(int position, bool antialiased, string title, string text, IntPtr logo, IntPtr watermark, IntPtr top_watermark);
public DruidPageEdge (Gnome.EdgePosition position) : this (position, false, String.Empty, String.Empty, null, null, null)
{
}
public DruidPageEdge (Gnome.EdgePosition position, bool antialiased, string title, string text, Gdk.Pixbuf logo, Gdk.Pixbuf watermark, Gdk.Pixbuf top_watermark) : base (IntPtr.Zero)
{
if (GetType () != typeof (DruidPageEdge)) {
CreateNativeObject (new string[0], new GLib.Value[0]);
Construct (position, antialiased, title, text, logo, watermark, top_watermark);
return;
}
Raw = gnome_druid_page_edge_new_with_vals((int) position, antialiased, title, text, (logo != null) ? logo.Handle : IntPtr.Zero, (watermark != null) ? watermark.Handle : IntPtr.Zero, (top_watermark != null) ? top_watermark.Handle : IntPtr.Zero);
}