2005-12-12 Itamar Rogel <chastamar@yahoo.com>

* NodeView.cs : add default ctor and NodeStore setter.
	[Fixes #76827]

svn path=/trunk/gtk-sharp/; revision=54243
This commit is contained in:
Mike Kestner 2005-12-12 15:31:54 +00:00
parent 33fafe7842
commit c37cd06fc5
3 changed files with 25 additions and 5 deletions

View file

@ -1,4 +1,9 @@
2005-12-10 Mike Kestner <mkestner@novell.com>
2005-12-12 Itamar Rogel <chastamar@yahoo.com>
* NodeView.cs : add default ctor and NodeStore setter.
[Fixes #76827]
2005-12-12 Mike Kestner <mkestner@novell.com>
* generator/Signal.cs : pass byte cnt for autogenerated string length
parameters. Thanks to Itamar Rogel for the report and a candidate

View file

@ -31,7 +31,7 @@
</Docs>
</Member>
<Member MemberName="NodeStore">
<MemberSignature Language="C#" Value="public Gtk.NodeStore NodeStore { get; };" />
<MemberSignature Language="C#" Value="public Gtk.NodeStore NodeStore { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.NodeStore</ReturnType>
@ -76,5 +76,14 @@
<remarks />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public NodeView ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<summary>Public Constructor.</summary>
<remarks />
</Docs>
</Member>
</Members>
</Type>

View file

@ -18,9 +18,6 @@
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
// Boston, MA 02111-1307, USA.
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace Gtk {
using System;
@ -42,10 +39,19 @@ namespace Gtk {
this.store = store;
}
public NodeView () : base () {}
[DllImport("libgtk-win32-2.0-0.dll")]
static extern void gtk_tree_view_set_model(IntPtr raw, IntPtr model);
public NodeStore NodeStore {
get {
return store;
}
set {
store = value;
gtk_tree_view_set_model (Handle, store == null ? IntPtr.Zero : store.Handle);
}
}
public NodeSelection NodeSelection {