mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-10-26 12:37:39 +00:00
parameter should be hidden in the managed sig (eg, because it's user_data, or it's the length of the preceding array/string, etc). (VisibleCount): the number of parameters that will actually be exposed in the managed signature. (IsAccessor): test VisibleCount, not Count (AccessorReturnType, AccessorName): deal with the fact that the accessor parameter might not be the first one. * generator/CallbackGen.cs: * generator/Signature.cs: use Parameters.IsHidden. * generator/Method.cs (Initialize): set is_set based on VisibleCount, not Count. (Validate): call base.Validate() before Initialize() so that VisibleCount will be correct in Initialize. * generator/MethodBody.cs (GetCallString, CallArrayLength, Initialize): update to deal with accessors with multiple args. * gtk/Clipboard.custom (SetText): implement as an Obsolete variant of the Text property * gtk/IconTheme.custom (SearchPath, SetSearchPath): obsolete SetSearchPath, implement a setter on SearchPath instead. * gtk/ListStore.custom (SetColumnTypes): * gtk/TreeStore.custom (SetColumnTypes): implement as an Obsolete variant of the ColumnTypes property. * glade/XML.custom (CustomHandler): implement as a property (SetCustomHandler): Mark this obsolete * glade/Global.custom (SetCustomHandler): deprecate in favor of XML.CustomHandler. * gnomedb/Editor.custom (SetText): implement as an Obsolete variant of the Text property svn path=/trunk/gtk-sharp/; revision=43898 |
||
|---|---|---|
| .. | ||
| images | ||
| DemoApplicationWindow.cs | ||
| DemoAttribute.cs | ||
| DemoButtonBox.cs | ||
| DemoClipboard.cs | ||
| DemoColorSelection.cs | ||
| DemoDialog.cs | ||
| DemoDrawingArea.cs | ||
| DemoEditableCells.cs | ||
| DemoEntryCompletion.cs | ||
| DemoExpander.cs | ||
| DemoHyperText.cs | ||
| DemoIconView.cs | ||
| DemoImages.cs | ||
| DemoListStore.cs | ||
| DemoMain.cs | ||
| DemoMenus.cs | ||
| DemoPanes.cs | ||
| DemoPixbuf.cs | ||
| DemoRotatedText.cs | ||
| DemoSizeGroup.cs | ||
| DemoStockBrowser.cs | ||
| DemoTextView.cs | ||
| DemoTreeStore.cs | ||
| DemoUIManager.cs | ||
| Makefile.am | ||
| README | ||
| TODO | ||
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.