GtkSharp/sample/GtkDemo
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
..
images 2003-10-30 Daniel Kornhauser Eisenberg <dkor@alum.mit.edu> 2003-10-31 00:01:35 +00:00
DemoApplicationWindow.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoAttribute.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoButtonBox.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoClipboard.cs * generator/Parameters.cs (IsHidden): method to check if a 2005-05-02 20:10:03 +00:00
DemoColorSelection.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoDialog.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoDrawingArea.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoEditableCells.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoEntryCompletion.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoExpander.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoHyperText.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoIconView.cs * generator/Parameters.cs (Parameters.Validate): If the parameters 2005-05-04 11:47:25 +00:00
DemoImages.cs * generator/ClassBase.cs (ParseImplements): record both managed 2005-04-11 20:35:56 +00:00
DemoListStore.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoMain.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoMenus.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoPanes.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoPixbuf.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoRotatedText.cs add rotated text demo 2005-04-21 20:11:03 +00:00
DemoSizeGroup.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoStockBrowser.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoTextView.cs * pango/Scale.cs: rename the size constants to not have 2005-04-04 18:50:50 +00:00
DemoTreeStore.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
DemoUIManager.cs * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
Makefile.am add demo icon view 2005-04-22 00:46:57 +00:00
README * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some 2005-04-01 21:08:14 +00:00
TODO add demo icon view 2005-04-22 00:46:57 +00:00

This is a mostly complete port of gtk-demo to Gtk#; for notes on
what's missing, see the TODO file.

The original port was done by Daniel Kornhauser (dkor@alum.mit.edu),
with additions/changes/fixes by various other people, as seen in the
main gtk-sharp ChangeLog.

For the most part, the various demos should stay as close as possible
to the C version, so that GtkDemo.exe can be compared against gtk-demo
to make sure Gtk# is working correctly.