yes, adding the file is cool
svn path=/trunk/gtk-sharp/; revision=26965
This commit is contained in:
parent
d04d7d6fa4
commit
3761234140
1 changed files with 16 additions and 0 deletions
16
gnome/DruidPageEdge.custom
Normal file
16
gnome/DruidPageEdge.custom
Normal 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);
|
||||
}
|
Loading…
Reference in a new issue