2004-11-13 Duncan Mak <duncan@ximian.com>

* generator/SymbolTable.cs: Add support for GDestroyNotify, so
	that `gtk_cell_layout_set_cell_data_func' will be generated in
	Gtk.ComboBox.

svn path=/trunk/gtk-sharp/; revision=36095
This commit is contained in:
Duncan Mak 2004-11-14 03:13:09 +00:00
parent 84f33f7d9a
commit 0469f00a60
2 changed files with 37 additions and 1 deletions

View file

@ -1,3 +1,39 @@
2004-11-13 Duncan Mak <duncan@ximian.com>
* generator/SymbolTable.cs: Add support for GDestroyNotify, so
that `gtk_cell_layout_set_cell_data_func' will be generated in
Gtk.ComboBox.
2004-11-09 Duncan Mak <duncan@ximian.com>
* gtk/Makefile.am (sources): Added NodeSelection and NodeView.
* gtk/NodeSelection.cs: New file, an implementation of
TreeSelection that exposes ITreeNodes instead of TreeIters.
* gtk/NodeStore.cs (NodeType): An internal property for finding
out what the Type of data the store holds.
* gtk/NodeView.cs: New file, subclass of TreeView. Automatically
appends columns based on the data in a NodeStore.
* gtk/TreeIter.custom (New): A new factory method that uses
gtksharp_tree_iter_new_with_index.
* gtk/TreeNodeValueAttribute.cs: Set AllowMultiple to true.
(Attribute, Title, RendererType): New properties.
* gtk/TreeView.custom: Removed constructor that uses a NodeStore as
parameter. NodeView should be used instead.
* gtk/TreeViewColumn.custom (TreeViewColumn): Added new
constructor that doesn't require CellRenderere attributes as arguments.
* gtk/glue/nodestore.c (gtksharp_tree_iter_get_user_data): Returns
the user_data field from a GtkTreeIter pointer.
(gtksharp_tree_iter_new_with_index): Creates a GtkTreeIter * with
a specific node index from the NodeStore.
2004-11-13 Mike Kestner <mkestner@novell.com>
* */*-api.raw : rerun the parser for new vm-age and cleanups.

View file

@ -106,7 +106,7 @@ namespace GtkSharp.Generation {
AddType (new SimpleGen ("va_list", "IntPtr"));
AddType (new SimpleGen ("GParamSpec", "IntPtr"));
AddType (new SimpleGen ("gconstpointer", "IntPtr"));
AddType (new SimpleGen ("GDestroyNotify", "IntPtr"));
AddType (new TimeTGen ());
AddType (new ManualGen ("GSList", "GLib.SList"));
AddType (new ManualGen ("GList", "GLib.List"));