mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 01:05:30 +00:00
2004-05-07 Todd Berman <tberman@sevenl.net>
* gnome/IconList.custom: subclassable ctor. * gnome/Gnome.metadata: hide IconList ctor. svn path=/trunk/gtk-sharp/; revision=26963
This commit is contained in:
parent
b9cee94a37
commit
534948c298
|
@ -1,3 +1,8 @@
|
|||
2004-05-07 Todd Berman <tberman@sevenl.net>
|
||||
|
||||
* gnome/IconList.custom: subclassable ctor.
|
||||
* gnome/Gnome.metadata: hide IconList ctor.
|
||||
|
||||
2004-05-07 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* gnome/Canvas.custom : PixelsPerUnit prop.
|
||||
|
|
|
@ -85,7 +85,8 @@
|
|||
<attr path="/api/namespace/object[@cname='GnomeFontFamily']/method[@name='StyleListFree']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/class[@cname='GnomeIcon_']/method[@name='LookupSync']/*/*[@name='thumbnail_factory']" name="null_ok">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeIconEntry']/method[@name='PickDialog']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeIconList']/constructor[@cname='gnome_icon_list_new']/*/*[@type='GtkAdjustment*']" name="null_ok">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeIconList']/method[@cname='gnome_icon_list_construct']/*/*[@type='GtkAdjustment*']" name="null_ok">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeIconList']/constructor[@cname='gnome_icon_list_new']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeIconList']/method[@name='GetSelection']" name="hidden">i</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeIconList']/method[@name='SetHadjustment']/*/*[@type='GtkAdjustment*']" name="null_ok">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeIconList']/method[@name='SetVadjustment']/*/*[@type='GtkAdjustment*']" name="null_ok">1</attr>
|
||||
|
|
|
@ -22,3 +22,15 @@
|
|||
}
|
||||
}
|
||||
|
||||
[DllImport("gnomeui-2")]
|
||||
static extern IntPtr gnome_icon_list_new(uint icon_width, IntPtr adj, int flags);
|
||||
|
||||
public IconList (uint icon_width, Gtk.Adjustment adj, int flags) : base (IntPtr.Zero)
|
||||
{
|
||||
if (GetType () != typeof (IconList)) {
|
||||
CreateNativeObject (new string[0], new GLib.Value[0]);
|
||||
Construct (icon_width, adj, flags);
|
||||
return;
|
||||
}
|
||||
Raw = gnome_icon_list_new(icon_width, (adj != null) ? adj.Handle : IntPtr.Zero, flags);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue