Commit graph

253 commits

Author SHA1 Message Date
Miguel de Icaza
e474831d5e Update Cairo Sample
svn path=/trunk/gtk-sharp/; revision=33460
2004-09-06 23:54:35 +00:00
John Luke
8f2aa18cb0 improve this thing
svn path=/trunk/gtk-sharp/; revision=32972
2004-08-28 20:51:06 +00:00
John Luke
6cf715ac84 fix invaliid iter in DemoMain
some lame StockBrowser stuff

svn path=/trunk/gtk-sharp/; revision=32971
2004-08-28 20:04:41 +00:00
John Luke
35e772eef9 argh, distcheck hates me
svn path=/trunk/gtk-sharp/; revision=32962
2004-08-28 03:41:22 +00:00
John Luke
9bc5a874e3 new partial HyperText demo
clean up DemoMain
fix distcheck

svn path=/trunk/gtk-sharp/; revision=32961
2004-08-28 03:30:33 +00:00
John Luke
8ba7c8305b store the .cs files as resources also
svn path=/trunk/gtk-sharp/; revision=32944
2004-08-27 19:43:41 +00:00
John Luke
780218b349 fix my brokenness
svn path=/trunk/gtk-sharp/; revision=32943
2004-08-27 19:16:13 +00:00
John Luke
c3d54388e2 use resources for images
Dont crash if source is not there
makes it easier to run on win32

svn path=/trunk/gtk-sharp/; revision=32942
2004-08-27 19:00:00 +00:00
Mike Kestner
e5dde2ff7e 2004-08-26 Manuel V. Santos <mvsl@telefonica.net>
* gdk/Device.custom : glue to expose object fields.
	* gdk/DeviceAxis.custom : expand the ToString to incl use:
	* gdk/EventButton.custom : fix for Axes prop.
	* gdk/EventMotion.custom : fix for Axes prop.
	* gdk/Gdk.metadata : hide some accessors on Device.
	* gdk/Makefile.am : add new custom.
	* gdk/glue/Makefile.am : add new .c
	* gdk/glue/makefile.win32 : add new .o
	* gdk/glue/device.c : ditto.
	* gtk/InputDialog.custom : glue to expose button fields.
	* gtk/Makefile.am : add new custom.
	* gtk/glue/Makefile.am : add new .c
	* gtk/glue/makefile.win32 : add new .o
	* gtk/glue/inputdialog.c : ditto.
	* sample/ScribbleXInput.cs : new sample using extension events.

svn path=/trunk/gtk-sharp/; revision=32899
2004-08-26 19:10:48 +00:00
John Luke
87ca50791c new example/test for Rsvg
svn path=/trunk/gtk-sharp/; revision=32795
2004-08-24 20:26:36 +00:00
John Luke
a95c723a5d enable this part now
svn path=/trunk/gtk-sharp/; revision=32327
2004-08-13 19:44:15 +00:00
John Luke
2da02fa8bb fix implement some StockBrowser stuff
svn path=/trunk/gtk-sharp/; revision=32177
2004-08-10 19:50:10 +00:00
John Luke
8e7348d260 implement Progressive image loader
and part of the stock browser

svn path=/trunk/gtk-sharp/; revision=32053
2004-08-08 18:30:25 +00:00
John Luke
db410e9497 implement some of the DemoApplicationWindow
fix some bugs in DemoEditableCells
use more consistent tabs and spaces
add a TODO of what is left
use the using () pattern to dispose Dialogs automatically
use args.RetVal when handling the DeleteEvent

svn path=/trunk/gtk-sharp/; revision=32017
2004-08-07 17:06:29 +00:00
John Luke
6b279784d4 2004-07-05 John Luke <jluke@cfl.rr.com>
* sample/VteTest.cs: improve the scrolling in the sample
        and pass on the Environment variables

svn path=/trunk/gtk-sharp/; revision=30770
2004-07-06 00:52:13 +00:00
Mike Kestner
5a1a334410 oops
svn path=/trunk/gtk-sharp/; revision=30625
2004-07-01 16:48:56 +00:00
Mike Kestner
711385e4d6 2004-07-01 Mike Kestner <mkestner@ximian.com>
* sample/rsvg/Makefile.am : add an art-sharp /r.

svn path=/trunk/gtk-sharp/; revision=30624
2004-07-01 16:45:29 +00:00
John Luke
a7a0bf8042 2004-06-18 John Luke <jluke@cfl.rr.com>
* sample/rsvg/Makefile.am:  do not reference gnome-sharp and art-sharp
        * sample/rsvg/svghelloworld.cs: rework with just gtk (no gnome deps)

svn path=/trunk/gtk-sharp/; revision=29923
2004-06-18 21:38:57 +00:00
Mike Kestner
112f066abf 2004-06-11 Mike Kestner <mkestner@ximian.com>
* configure.in : deal with a csc-ism in source paths.
	* */Makefile.am : use the GENERATED_SOURCES var.
	* */glue/Makefile.am : add -no-undefined for win32 dll builds.

svn path=/trunk/gtk-sharp/; revision=29367
2004-06-11 18:19:41 +00:00
Mike Kestner
c1440d52d1 2004-06-10 Mike Kestner <mkestner@ximian.com>
* configure.in : AC_SUBST GACUTIL_FLAGS. require mono-0.95 (though
	it's really cvs bleeding edge.)
	* * AssemblyInfo.cs.in : s/pub/snk.  delaysign=no.
	* * Makefile.am : s/pub/snk.  portability fixes to csc from John
	Luke.  Switch to GACUTIL_FLAGS.
	* doc/Makefile.am : don't build docs, install raw xml to the prefix.

svn path=/trunk/gtk-sharp/; revision=29227
2004-06-10 19:45:20 +00:00
Todd Berman
01e3962bc8 2004-06-04 Todd Berman <tberman@sevenl.net>
* glib/Object.cs: ConnectDefaultHandlers needs to look at public api
        as well for virtual methods.
        * gtk/CellRenderer.custom:
        * gtk/Container.custom:
        * gnome/CanvasItem.custom: Add DefaultSignalHandler to remove the need
        for the static ctor.

svn path=/trunk/gtk-sharp/; revision=28851
2004-06-05 01:01:07 +00:00
Todd Berman
12bc3b0550 2004-06-04 Todd Berman <tberman@sevenl.net>
* gnome/CanvasItem.custom: Changed from OnXXX vmethods to XXX vmethods
        * gnome/CanvasProxy.cs: removed, unused code
        * gnome/GtkSharp.BoundsHandler.cs: removed
        * gnome/GtkSharp.DrawHandler.cs: removed
        * gnome/GtkSharp.PointHandler.cs: removed
        * gnome/GtkSharp.RenderHandler.cs: removed
        * gnome/GtkSharp.UpdateHandler.cs: removed
        * gnome/Makefile.am: updated to reflect removing of old files.
        * gtk/CellRenderer.custom: Changed from OnXXX vmethods to XXX vmethods,
        and added StartEditing vmethod
        * gtk/Container.custom: Changed from OnForall to ForAll
        * gtk/Gtk.metadata: hide CellRenderer.GetSize and StartEditing
        * gtk/glue/cellrenderer.c: new glue for CellRenderer.StartEditing
        override.
        * sample/CustomCellRenderer.cs: updated signatures to reflect new
        code.

svn path=/trunk/gtk-sharp/; revision=28815
2004-06-04 04:55:48 +00:00
Miguel de Icaza
c06d83388c Dont create the font on a loop
svn path=/trunk/gtk-sharp/; revision=28714
2004-06-02 19:32:56 +00:00
Jeroen Zwartepoorte
03df165143 2004-06-01 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* sample/CustomWidget.cs: Add custom widget sample.
	* sample/Makefile.am: Idem.

svn path=/trunk/gtk-sharp/; revision=28649
2004-06-01 18:31:20 +00:00
Mike Kestner
ac5e091b8c 2004-06-01 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : mark SizeRequest requisition as out, not ref.
	[Fixes #59388]

2004-06-01  Mike Kestner  <mkestner@ximian.com>

	* en/Gtk/Widget.xml : move existing docs to new method sig.

svn path=/trunk/gtk-sharp/; revision=28629
2004-06-01 15:28:22 +00:00
Miguel de Icaza
f68162fb3c 2004-05-28 Miguel de Icaza <miguel@ximian.com>
* Added System.Drawing samples.

svn path=/trunk/gtk-sharp/; revision=28397
2004-05-28 21:45:05 +00:00
Miguel de Icaza
5ad44d8a59 Improve
svn path=/trunk/gtk-sharp/; revision=28386
2004-05-28 19:45:22 +00:00
Miguel de Icaza
ebff0837aa Add some lovin'
svn path=/trunk/gtk-sharp/; revision=28385
2004-05-28 19:38:23 +00:00
Miguel de Icaza
977c36bd98 Add samples that use System.Drawing
svn path=/trunk/gtk-sharp/; revision=28384
2004-05-28 19:19:04 +00:00
Todd Berman
ef102fe7cc 2004-05-18 Todd Berman <tberman@sevenl.net>
* samples/Scribble.cs: Im bored, you can erase, etc

svn path=/trunk/gtk-sharp/; revision=27565
2004-05-18 05:48:10 +00:00
Mike Kestner
ffe268c415 2004-05-17 Mike Kestner <mkestner@ximian.com>
* generator/SignalHandler.cs : fix some broken/redundant generation in
	the Object/Struct wrapping for sig params.
	* glib/Object.cs : internalize/protect lots of API that shouldn't need
	to be used by non-subclass/non-glib code. Return GType.Object as GType.
	* glib/Value.cs : use internal GLib.Object.NativeType prop.
	* sample/TestDnd.cs : use ToString instead of TypeName.

svn path=/trunk/gtk-sharp/; revision=27530
2004-05-17 17:52:00 +00:00
Todd Berman
bcb922a320 Fix this up so it works exactly like its C counterpart
svn path=/trunk/gtk-sharp/; revision=27468
2004-05-16 02:03:19 +00:00
Todd Berman
e474eaca89 2004-05-14 Todd Berman <tberman@sevenl.net>
* glib/Object.cs: make static GLib.Object.LookupGType protected for now.        * gtk/CellRenderer.custom: code to allow for subclassing and
        implementing a custom cell renderer.
        * gtk/Makefile.am: add custom to build.
        * gtk/glue/Makefile.am: add glue to build.
        * gtk/glue/cellrenderer.c: glue code to override get_size and render
        from cellrenderer.
        * sample/CustomCellRenderer.cs: new sample to show how to implement a
        custom cell renderer.
        * sample/Makefile.am: add CustomCellRenderer sample.

svn path=/trunk/gtk-sharp/; revision=27426
2004-05-14 20:25:57 +00:00
Mike Kestner
0a74f7083e 2004-05-10 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : mark some Dialog API params as ResponseType
	instead of int.
	[fixes #58240]

svn path=/trunk/gtk-sharp/; revision=27046
2004-05-10 20:00:08 +00:00
Mike Kestner
8bb5dbc321 2004-05-07 Mike Kestner <mkestner@ximian.com>
* sample/GnomeHelloWorld.cs : guard against null args.Event in the
	icon_selected_cb, which occurs on button-presses for some reason.
	Thanks to wmealing on irc for the bug report.

svn path=/trunk/gtk-sharp/; revision=26926
2004-05-07 15:01:56 +00:00
Mike Kestner
5a2659022c 2004-05-07 Mike Kestner <mkestner@ximian.com>
* sample/*/Makefile.am : rebuild if the assemblies change

svn path=/trunk/gtk-sharp/; revision=26920
2004-05-07 14:22:20 +00:00
Mike Kestner
c9f1eadc11 2004-05-07 Mike Kestner <mkestner@ximian.com>
[Derived from a patch by Ben Maurer]
	* generator/Ctor.cs : generate code to detect subclassing and handle
	GType registration and native object creation properly.
	* generator/Parameters.cs : add PropertyName accessor for param attr.
	* generator/Property.cs : use a new GLib.Value ctor.
	* glib/ObjectManager.cs : redo hash access.
	* glib/Object.cs : CreateNativeObject method to invoke g_object_newv
	and some refactoring of RegisterGType and LookupGType.
	* glib/Value.cs : make gtype field an IntPtr.
	* glib/glue/object.c : glue for g_object_newv use.
	* glib/glue/value.c : new glue for value creation.
	* gtk/Dialog.custom : fix a ctor declaration for auto-reg.
	* gtk/Gtk.metadata : mark a couple property_name attrs as examples.
	* sample/Subclass.cs : use auto-GType-registration now.

svn path=/trunk/gtk-sharp/; revision=26916
2004-05-07 13:42:59 +00:00
Mike Kestner
6fd6ecbbdb 2004-05-05 Mike Kestner <mkestner@ximian.com>
* sample/gconf/Makefile.am : fix some whitespace.  I love you, auto*.

svn path=/trunk/gtk-sharp/; revision=26710
2004-05-04 19:08:44 +00:00
Mike Kestner
2681235b22 2004-05-05 Mike Kestner <mkestner@ximian.com>
* configure.in : fix gtkhtml versioning *again*.
	* sample/gconf/Makefile.am : conditional build on ENABLE_GNOME.

svn path=/trunk/gtk-sharp/; revision=26708
2004-05-04 18:58:21 +00:00
Paolo Molaro
5cd8d37664 Sample for GtkHTML.
svn path=/trunk/gtk-sharp/; revision=26585
2004-05-03 14:28:59 +00:00
Mike Kestner
67278125a2 2004-04-30 Mike Kestner <mkestner@ximian.com>
* sample/gconf/* : break System.Drawing dependency.

svn path=/trunk/gtk-sharp/; revision=26427
2004-04-30 16:20:43 +00:00
Mike Kestner
5f4ee87b5c 2004-04-28 Mike Kestner <mkestner@ximian.com>
[Expanded from patch by John Luke attached to bug.]
	* gdk/Gdk.metadata : rename Atom.Name to GetName so it props.
	* gdk/Atom.custom : new string cast operator.
	* sample/TestDnd.cs : fix Atom.Name reference
	* sample/GtkDemo/DemoEditableCell.cs : fix a ListStore.Remove
	ref broken by last commit.
	[Fixes #57721]

svn path=/trunk/gtk-sharp/; revision=26208
2004-04-28 20:58:11 +00:00
John Luke
a0901fea5e 2004-04-04 John Luke <jluke@cfl.rr.com>
* vte/Vte.metadata: mark argv and envv parameters to
        Vte.Terminal.ForkCommand as arrays, it finally works
        * sample/Vte-test.cs: adjust for above

svn path=/trunk/gtk-sharp/; revision=25014
2004-04-04 21:18:56 +00:00
Todd Berman
72df874f24 /resource fix to fix glade-test.exe
svn path=/trunk/gtk-sharp/; revision=24697
2004-03-29 05:14:03 +00:00
Mike Kestner
48b08a3b7a 2004-03-25 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : Widget.Events is a Gdk.EventMask, not int
	* sample/GtkDemo/DemoDrawingArea.cs : remove int casts
	* sample/Scribble.cs : remove int casts

svn path=/trunk/gtk-sharp/; revision=24601
2004-03-25 18:40:12 +00:00
John Luke
dff96be902 2003-03-24 John Luke <jluke@cfl.rr.com>
* samples/gconf/Makefile.am:
        changes SOURCES to FILES to make automake 1.8 happy

svn path=/trunk/gtk-sharp/; revision=24544
2004-03-24 19:38:29 +00:00
Mike Kestner
4616bb2fb2 2004-03-17 Mike Kestner <mkestner@ximian.com>
* sample/rsvg/Makefile.am : make conditional on ENABLE_RSVG

svn path=/trunk/gtk-sharp/; revision=24234
2004-03-17 17:03:54 +00:00
Mike Kestner
5e03bca76f hush
svn path=/trunk/gtk-sharp/; revision=24156
2004-03-16 19:24:53 +00:00
Mike Kestner
e83c55a242 2004-03-12 Mike Kestner <mkestner@ximian.com>
* */Makefile.am : automakify the build
	* */Makefile.in : kill
	* *.custom : remove System.Drawing dependencies
	* *.cs : remove System.Drawing dependencies
	* *-api.xml : mv to *-api.raw
	* glue/* : mv to lib specific gluelibs for glib, gdk, gtk, and glade.
	* gtk/gtk-symbols : alias GtkType to GType
	* sources/gtk-sharp-sources.xml : create .raw files. They are now
	transformed to .xml files by the metadata compilation step.

svn path=/trunk/gtk-sharp/; revision=23967
2004-03-12 21:18:11 +00:00
Mike Kestner
5ab5d3beaf 2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventFocus and EventConfigure.
	* gdk/EventConfigure.cs : glue-based manual implementation.
	* gdk/EventConfigure.custom : kill
	* gdk/EventFocus.cs : glue-based manual implementation.
	* gdk/EventFocus.custom : kill
	* gdk/gdk-api.xml : regen
	* gdk/gdk-symbols.xml : manual mappings.
	* glue/event.cs : expose Focus and Configure struct fields.
	* sample/Scribble.cs : fix EventConfigure api breakage

svn path=/trunk/gtk-sharp/; revision=23239
2004-02-18 20:29:21 +00:00