GtkSharp/sample
Dan Winship a7d8b64f7a * generator/Parameters.cs (Parameters.Validate): If the parameters
end with "callback, gpointer, GDestroyNotify", then mark the
	callback as having "notified" Scope.
	(Parameters.IsHidden): Hide user_data and GDestroyNotify after a
	callback.
	(Parameter.Scope): make this settable
	(Parameter.IsDestroyNotify): new test

	* generator/MethodBody.cs (Initialize): Handle "notified" callback
	scope (using a GCHandle and GLib.DestroyHelper.NotifyHandler)

	* generator/CallbackGen.cs (GenWrapper): Add a static
	"GetManagedDelegate" method to the wrapper type, to translate a
	native delegate back to its corresponding managed delegate.
	(FromNative): use GetManagedDelegate.

	* generator/ReturnValue.cs (Validate): We handle callback return
	values now

	* generator/SymbolTable.cs: marshal GDestroyNotify as
	GLib.DestroyNotify

	* glib/DestroyNotify.cs: Moved from gtk

	* gtk/Gtk.metadata: globally change GtkDestroyNotify to
	GDestroyNotify, but then change back the ones that are exposed in
	the API. Un-hide lots of methods we can correctly autogenerate
	now.

	* gtk/DestroyHelper.cs: moved to glib

	* gtk/*.custom: remove methods that are autogenerated now, add
	Obsolete wrappers where needed, replace Gtk.DestroyHelper usage
	with GLib.DestroyHelper.

	* gdk/Gdk.metadata: 
	* gnome/Gnome.metadata: Turn Gdk.Drawable.SetData and
	Gnome.IconList.SetIconDataFull's GDestroyNotify args into
	gpointers so the generated API stays the same as it used to be.

	* rsvg/Handle.custom: implement deprecated SetSizeCallback

	* sample/GtkDemo/DemoIconView.cs (CreateSort): update for API
	changes

svn path=/trunk/gtk-sharp/; revision=44020
2005-05-04 11:47:25 +00:00
..
DbClient 2004-02-10 Mike Kestner <mkestner@ximian.com> 2004-02-10 20:35:40 +00:00
gconf kill useless .cvsignore files 2005-04-20 20:11:00 +00:00
gnomevfs kill useless .cvsignore files 2005-04-20 20:11:00 +00:00
GtkDemo * generator/Parameters.cs (Parameters.Validate): If the parameters 2005-05-04 11:47:25 +00:00
panelapplet merge to HEAD of jeroen and friends' work on the 2-4 branch. HEAD 2004-10-29 20:33:07 +00:00
pixmaps kill useless .cvsignore files 2005-04-20 20:11:00 +00:00
rsvg kill useless .cvsignore files 2005-04-20 20:11:00 +00:00
test kill useless .cvsignore files 2005-04-20 20:11:00 +00:00
Actions.cs 2005-02-10 Jeroen Zwartepoorte <jeroen@xs4all.nl> 2005-02-10 21:50:50 +00:00
ButtonApp.cs 2004-03-12 Mike Kestner <mkestner@ximian.com> 2004-03-12 21:18:11 +00:00
cairo-sample.exe.config.in Update Cairo Sample 2004-09-06 23:54:35 +00:00
CairoSample.cs Update Cairo Sample 2004-09-06 23:54:35 +00:00
CalendarApp.cs 2004-03-12 Mike Kestner <mkestner@ximian.com> 2004-03-12 21:18:11 +00:00
CanvasExample.cs * generator/CallbackGen.cs: 2004-12-21 18:46:42 +00:00
CustomCellRenderer.cs * generator/CallbackGen.cs: 2004-12-21 18:46:42 +00:00
CustomWidget.cs 2005-01-25 John Luke <john.luke@gmail.com> 2005-01-25 21:18:33 +00:00
DrawingSample.cs 2005-01-11 Mike Kestner <mkestner@novell.com> 2005-01-12 00:11:08 +00:00
Fifteen.cs * generator/CallbackGen.cs: 2004-12-21 18:46:42 +00:00
GladeTest.cs * generator/CallbackGen.cs: 2004-12-21 18:46:42 +00:00
GladeViewer.cs 2004-02-12 Mike Kestner <mkestner@ximian.com> 2004-02-13 21:16:12 +00:00
GnomeHelloWorld.cs 2004-05-07 Mike Kestner <mkestner@ximian.com> 2004-05-07 15:01:56 +00:00
GstPlayer.cs add usage check and message 2003-11-07 21:56:24 +00:00
gtk-html-sample.cs Remove unnecessary config file 2005-04-26 17:10:10 +00:00
GtkCairo.cs Update Cairo Sample 2004-09-06 23:54:35 +00:00
HelloWorld.cs 2004-02-10 Mike Kestner <mkestner@ximian.com> 2004-02-10 20:35:40 +00:00
Makefile.am fix dist for the CustomNotebook to PolarFixed sample switch 2005-04-12 13:54:13 +00:00
makefile.win32 oops 2002-06-25 10:49:23 +00:00
ManagedTreeViewDemo.cs 2005-03-31 Mike Kestner <mkestner@novell.com> 2005-03-31 16:31:31 +00:00
Menu.cs 2004-03-12 Mike Kestner <mkestner@ximian.com> 2004-03-12 21:18:11 +00:00
NodeViewDemo.cs 2004-12-17 Mike Kestner <mkestner@novell.com> 2004-12-17 20:32:33 +00:00
PolarFixed.cs 2005-04-17 Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com> 2005-04-17 08:42:47 +00:00
PrintSample.cs merge to HEAD of jeroen and friends' work on the 2-4 branch. HEAD 2004-10-29 20:33:07 +00:00
Scribble.cs 2004-05-18 Todd Berman <tberman@sevenl.net> 2004-05-18 05:48:10 +00:00
ScribbleXInput.cs * generator/CallbackGen.cs: 2004-12-21 18:46:42 +00:00
Size.cs * generator/ManagedCallString.cs (Setup, Finish, ToString): Add 2004-12-16 23:38:35 +00:00
Subclass.cs 2004-12-23 Mike Kestner <mkestner@novell.com> 2004-12-23 22:59:59 +00:00
test.glade 2002-09-13 Ricardo Fernndez Pascual <ric@users.sourceforge.net> 2002-09-13 11:38:36 +00:00
TestDnd.cs merge to HEAD of jeroen and friends' work on the 2-4 branch. HEAD 2004-10-29 20:33:07 +00:00
TestVfs.cs 2004-12-08 Jeroen Zwartepoorte <jeroen@xs4all.nl> 2004-12-08 08:47:18 +00:00
TreeViewDemo.cs 2004-12-16 Mike Kestner <mkestner@novell.com> 2004-12-16 20:30:43 +00:00
VteTest.cs 2004-07-05 John Luke <jluke@cfl.rr.com> 2004-07-06 00:52:13 +00:00