* TestMenus.cs: Use MenuItem instead of ImageMenuItem, this test
works now.
* TestFileSelection.cs: window.Selections is crashing, remove
it. OK Button doesn't do anything now.
* WidgetViewer.cs: Add in a frame.
svn path=/trunk/gtk-sharp/; revision=6021
* TestSizeGroup.cs: Minor aesthetic changes.
* TestStatusbar.cs: Some changes in the output to figure out why
it is behaving like this.
svn path=/trunk/gtk-sharp/; revision=5946
* gtk/Paned.custom:
* glue/paned.c: Glue code for getting child1 and child2 out from a Gtk.Paned.
* glue/Makefile.am: Add paned.c
svn path=/trunk/gtk-sharp/; revision=5906
* generator/StructBase.cs : use GetMarshalType for field gen.
* sample/ButtonApp.cs : WriteLine the Gdk.EventAny in DeleteEvent.
svn path=/trunk/gtk-sharp/; revision=5903
* generator/StructGen.cs : make them public structs, not classes.
* parser/build.pl : step up to the g2final tarballs.
* parser/gapi2xml.pl : suppress *Private struct types. Mark
ellipsis terminated param lists.
svn path=/trunk/gtk-sharp/; revision=5902
* WidgetViewer.cs: Fixed InvalidCastException.
* TestStatusbar.cs: Made it work. Sigh, I dunno why I got it wrong
the first time.
* TestMenus.cs: Use null instead of new SList (IntPtr.Zero); and
remove the unnecessary try... catch block.
svn path=/trunk/gtk-sharp/; revision=5889
* parser/Gtk.metadata: Mark gtk_radio_menu_item_new_with_label,
gtk_radio_button_new_with_label and gtk_radio_button_new with
null_ok flags.
svn path=/trunk/gtk-sharp/; revision=5877
* gtk/ScrolledWindow.custom: new file with ScrolledWindow custom
default constructor
* parser/Metadata.pm: addClassData subroutine to add
<disabledefaultconstructor/>
* parser/Gtk.metadata: disable default constructor for
ScrolledWindow
* generator/ObjectGen.cs: added hasDefaultConstructor flag, dont
generate default protected empty constructor if
hasDefaultConstructor is false, it will be provided by .custom
file
* generator/makefile (RUNTIME): use RUNTIME variable
svn path=/trunk/gtk-sharp/; revision=5854
* generator/Method.cs: Honor array in return type.
* parser/Gtk.metadata: Tag FileSelection.GetSelections as array.
* parser/Metadata.pm: Add "return" target.
* parser/gtkhtml, parser/README: Add gtkhtml-stream.[ch].
Needed for url-requested signal. The actual wrapper for this
compiles but is badly borked, it will probably need a lot of love.
svn path=/trunk/gtk-sharp/; revision=5852
* WidgetViewer.cs: Changed the EventArgs stuff to match Mike's
latest commit.
* TestToolbar.cs: Thanks to Dietmar for fixing #27695. Added new
button for toggling showing tooltips.
svn path=/trunk/gtk-sharp/; revision=5841
* generator/ClassBase.cs : make MarshalType virtual.
* generator/Parameters.cs : add Parameter class and Indexer.
* generator/Signal.cs : Now use Parameters.
(GetHandlerName): New abstraction of name handling.
(GenerateDecls): use GetHandlerName.
(GenComments): make private.
(GenHandler): New. Generate custom event handlers and args.
(Generate): use GenHandler. Pass args type to SignalHandler.
* generate/SignalHandler.cs : store args type. Generate handler
dependent args and use MulticastDelegate.DynamicInvoke.
* generate/StructGen.cs : override MarshalType.
* glib/SignalCallback.cs : store a MulticastDelegate and args type
* sample/*.cs : use new DeleteEventHandler
svn path=/trunk/gtk-sharp/; revision=5834
* TestCheckButton.cs:
* TestTooltip.cs: Added copyright material.
* TestColorSelection.cs: Attempt to do something new after color
is selected. ColorSelection.CurrentColor (get) doesn't seem to
work right now, bug 27834.
* TestDialog.cs: Removed debugging messages and beautified the dialog.
* TestFlipping.cs: New test to show widget flipping.
* TestRadioButton.cs: Changed the constructors used to build the
radio buttons to work around bug 27833.
* Makefile: Added TestFlipping.cs.
* WidgetViewer.cs (AddWindow): Another convenience method for
adding new Test dialogs.
2002-07-15 Duncan Mak <duncan@ximian.com>
* WidgetViewer.cs (AddButton): New convenience method so that I don't have to type
the same thing when adding a new test button.
svn path=/trunk/gtk-sharp/; revision=5824
* parser/Gnome.metadata, Gtk.metadata: More conflict
fixes.
* parser/build.pl: Fully qualify all lib names. (Gtk+ packages
are now LFS-compliant in Debian...)
* parser/gapi2xml.pl: Fix for whitespace in fields, defines,
and docs.
* generator/BoxedGen.cs: Remove extraneous CallByName definition,
add "override" keyword to FromNative.
(Generate): Generate methods after fields.
* generator/ClassBase.cs: Change CallByName, FromNative to virtual.
(.ctor): Ignore "hidden" nodes. Set container on signal.
(GenSignals, GenMethods): Add "implementor" argument for interface
use.
(Get(Method|Signal|Property)Recursively): Rework to correctly
recurse interfaces.
(Implements): Added.
* generator/Ctor.cs (Initialize): Move clash initialization completely
out of Generate, so we can check for collisions.
* generator/Method.cs (GenerateDeclCommon): Check for duplicates,
for "new" keyword.
(Generate): Add "implementor" argument.
* generator/ObjectGen.cs (Generate): Initialize ctor clashes on
this and all parents, before generating.
(Ctors, InitializeCtors): Added.
* generator/Signal.cs: Store the container_type, check for
collisions.
* generator/StructGen.cs: Add "override" keyword to overriden methods.
* gtk/FileSelection.custom (ActionArea): Add "new" keyword.
svn path=/trunk/gtk-sharp/; revision=5782
* glue/Makefile.am: Added dialog.c and colorseldialog.c
* glue/dialog.c:
* gtk/Dialog.custom: C# glue for getting more fields from a GtkDialog.
* glue/colorseldialog.c:
* gtk/ColorSelectionDialog.custom: C# glue for getting more fields
from a ColorSelectionDialog.
svn path=/trunk/gtk-sharp/; revision=5699