Commit graph

839 commits

Author SHA1 Message Date
Miguel de Icaza
2b87ec95c4 Add install target
svn path=/trunk/gtk-sharp/; revision=13624
2003-04-14 22:59:33 +00:00
Miguel de Icaza
c521f423c1 Add doc target
svn path=/trunk/gtk-sharp/; revision=13623
2003-04-14 22:58:01 +00:00
Miguel de Icaza
538b9e7770 Update
svn path=/trunk/gtk-sharp/; revision=13622
2003-04-14 22:57:49 +00:00
Lee Mallabone
1efb61cb1e Add a compilable working sample for 'Viewport'.
svn path=/trunk/gtk-sharp/; revision=13614
2003-04-14 18:35:24 +00:00
Lee Mallabone
90fac8a1ad Hide the Copy, Free and Hash methods in Gdk.Color and override GetHashCode().
svn path=/trunk/gtk-sharp/; revision=13606
2003-04-14 18:01:28 +00:00
Lee Mallabone
9d3c4431c7 Document ClampPage after gaining an idea of what it does.
svn path=/trunk/gtk-sharp/; revision=13605
2003-04-14 17:41:06 +00:00
Lee Mallabone
6395590d34 Fix bugs #27835 and #38672 by correcting problems in the generated ColorSelection binding.
svn path=/trunk/gtk-sharp/; revision=13600
2003-04-14 17:04:13 +00:00
Lee Mallabone
19c85a596d First raw draft of TreeSelection docs.
svn path=/trunk/gtk-sharp/; revision=13574
2003-04-13 12:55:01 +00:00
Miguel de Icaza
717c46528b More updates
svn path=/trunk/gtk-sharp/; revision=13569
2003-04-12 20:44:26 +00:00
Miguel de Icaza
24ec6aa57f Oops. Fix sample
svn path=/trunk/gtk-sharp/; revision=13568
2003-04-12 19:41:21 +00:00
Alp Toker
7a3264e911 Change Keys to Key
svn path=/trunk/gtk-sharp/; revision=13545
2003-04-12 05:23:55 +00:00
Alp Toker
403ed1ac68 2003-04-12 Alp Toker <alp@atoker.com>
* parser/gen_keysyms: Generates a C# Keys enum from the Gdk headers
        (gdkkeysyms.h)
        * gdk/Keys.cs: The generated Keys

svn path=/trunk/gtk-sharp/; revision=13542
2003-04-12 05:05:00 +00:00
Hector E. Gomez Morales
1b1c171b21 Minor docs and fixes. Got half of the properties of Widget.
svn path=/trunk/gtk-sharp/; revision=13516
2003-04-11 11:44:38 +00:00
Gonzalo Paniagua Javier
1840bd7ef1 2003-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/Object.cs:
	(GetObject): check that the target of the WeakReference is still there. Otherwise,
	create a new wrapper for the IntPtr.

	This fixes the random nullrefs when running nunit-gtk.

svn path=/trunk/gtk-sharp/; revision=13450
2003-04-09 17:50:51 +00:00
Gonzalo Paniagua Javier
0d5cea38d4 *** empty log message ***
svn path=/trunk/gtk-sharp/; revision=13238
2003-04-06 09:21:40 +00:00
Gonzalo Paniagua Javier
3821938764 2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* generator/CallbackGen.cs: the new generated wrappers have:
		-(optional) Field of the same type returned by the callback.
		-A call to RemoveIfNotAlive at the beginning. It returns true,
		return the dummy field.
		-Added an object to the ctor signature and pass it to the base
		class.

	* generator/Ctor.cs: added a Params property.

	* generator/Method.cs: set Static property in Parameters if the method
	is static.

	* generator/Parameters.cs: added Static property. The call creation of
	the delegate wrapper (if applicable) uses the new signature. Pass a null
	as object is the method is static.

	* generator/StructBase.cs: set Static for the parameters of the ctors.

	* glib/DelegateWrapper.cs: the ctor takes an object (the one creating
	the wrapper or null) and creates a weak reference to it. Store it in
	a static Hashtable (this way the wrapper itself is not garbage
	collected).
	(RemoveIfNotAlive): called from the native delegate callbacks. If the
	target of the weak reference has been garbage collected, removes itself
	from the hashtable to let the GC dispose this instance and returns true.

	* gdk/Pixbuf.custom:
	* gtk/Clipboard.custom:
	* gtk/GtkSharp.GtkClipboardClearFuncNative.cs:
	* gtk/GtkSharp.GtkClipboardGetFuncNative.cs:
	* glade/XML.custom: changed delegate wrappers to match the new
	signature.

svn path=/trunk/gtk-sharp/; revision=13237
2003-04-06 09:21:15 +00:00
Duncan Mak
f7495647c1 Add first draft of Label docs.
svn path=/trunk/gtk-sharp/; revision=13176
2003-04-04 23:13:02 +00:00
Lee Mallabone
591c9eca8f Apply a modified version of a patch from Artemis <artemis@yandex.ru>, to fix and clean DrawPolygon and DrawLines in Gdk.Drawable.
svn path=/trunk/gtk-sharp/; revision=13133
2003-04-04 07:24:02 +00:00
Charles Iliya Krempeaux
03ebb1fcb3 2003-04-02 Charles Iliya Krempeaux <charles@reptile.ca>
* generator/SignalHandler.cs : Added Patch submitted by
	  Mark Crichton <crichton@gimp.org>, to get GtkMozEmbed
	  bindings working.

svn path=/trunk/gtk-sharp/; revision=13043
2003-04-02 22:29:26 +00:00
Lee Mallabone
62494b387b Add an example to Viewport docs.
svn path=/trunk/gtk-sharp/; revision=13022
2003-04-02 08:30:07 +00:00
Lee Mallabone
95a81a7706 Add a custom constructor to Entry, and fix API bugs with Widget and Frame.
svn path=/trunk/gtk-sharp/; revision=13021
2003-04-02 08:26:36 +00:00
Lee Mallabone
8f7e0a2cbd Second draft of Calendar docs. First one may have got messed up.
svn path=/trunk/gtk-sharp/; revision=12880
2003-03-28 08:46:25 +00:00
Lee Mallabone
0e53feb354 First draft of Viewport docs.
svn path=/trunk/gtk-sharp/; revision=12876
2003-03-27 21:19:43 +00:00
Lee Mallabone
b68542269f Add a default zero-arg constructor for Gtk.Viewport.
svn path=/trunk/gtk-sharp/; revision=12869
2003-03-27 19:15:04 +00:00
Duncan Mak
fa8aea036c Some files missing from the last commit.
svn path=/trunk/gtk-sharp/; revision=12842
2003-03-26 00:54:24 +00:00
Duncan Mak
b0b964c502 This text was accidentally overwritten.
svn path=/trunk/gtk-sharp/; revision=12841
2003-03-26 00:46:05 +00:00
Duncan Mak
94e4a805f8 Update docs reflect latest updater changes.
svn path=/trunk/gtk-sharp/; revision=12840
2003-03-26 00:38:24 +00:00
Duncan Mak
4002b3d9f1 new overwrite family of targets. Use these for
removing deprecated nodes, instead of just leaving them tagged
with an attribute.

svn path=/trunk/gtk-sharp/; revision=12839
2003-03-26 00:38:09 +00:00
Duncan Mak
1f4caa729e Put a space between type and [] for array declarations.
svn path=/trunk/gtk-sharp/; revision=12836
2003-03-25 23:49:54 +00:00
Lee Mallabone
053ce0b012 First draft Calendar docs.
svn path=/trunk/gtk-sharp/; revision=12832
2003-03-25 22:32:50 +00:00
Lee Mallabone
438b788722 Fix crashes in TreeView.ScrollToCell.
svn path=/trunk/gtk-sharp/; revision=12830
2003-03-25 19:05:40 +00:00
Martin Baulig
860cab4b30 2003-03-25 Martin Baulig <martin@ximian.com>
* gtk/Application.cs (CurrentEvent): Made this property static.

svn path=/trunk/gtk-sharp/; revision=12823
2003-03-25 16:57:05 +00:00
Gonzalo Paniagua Javier
a43c7cc88b 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/rsvg/Makefile.in: don't build the sample app. everytime.

svn path=/trunk/gtk-sharp/; revision=12800
2003-03-25 00:58:50 +00:00
Gonzalo Paniagua Javier
7ab055de16 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* api/gtk-api.xml: changed DisplayOptions by SetDisplayOptions.
	* sources/Gtk.metadata: added rename hint for DisplayOptions. Moved
	GtkHTMLStream hints to 'misc' area (they were in 'rename' area).

	* gtk/Calendar.custom: added a .net style GetDate override.
	* sample/CalendarApp.cs: updated to new methods in the Calendar API.

svn path=/trunk/gtk-sharp/; revision=12799
2003-03-25 00:47:13 +00:00
Lee Mallabone
582723b68b Updated Ruler docs.
svn path=/trunk/gtk-sharp/; revision=12786
2003-03-24 18:12:01 +00:00
Martin Baulig
73ae9d533f 2003-03-23 Martin Baulig <martin@ximian.com>
* glib/Object.cs (Dispose): Call `Objects.Remove (_obj)' here
	instead of in PerformQueuedUnrefs().

svn path=/trunk/gtk-sharp/; revision=12764
2003-03-23 18:05:36 +00:00
Lee Mallabone
eed31b9cb6 HRuler docs.
svn path=/trunk/gtk-sharp/; revision=12753
2003-03-22 17:54:47 +00:00
Gonzalo Paniagua Javier
a02e962425 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/Fifteen.cs: work-around for bug 106145 in gnome bugzilla.
	* sample/DbClient/client.cs: updated to make it compile again.

svn path=/trunk/gtk-sharp/; revision=12752
2003-03-22 17:48:43 +00:00
Gonzalo Paniagua Javier
d7a08db9f6 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glue/adjustment.c:
	* glue/canvaspoints.c:
	* glue/clipboard.c:
	* glue/colorseldialog.c:
	* glue/combo.c:
	* glue/dialog.c:
	* glue/error.c:
	* glue/event.c:
	* glue/fileselection.c:
	* glue/list.c:
	* glue/object.c:
	* glue/paned.c:
	* glue/program.c:
	* glue/slist.c:
	* glue/style.c:
	* glue/type.c:
	* glue/value.c:
	* glue/widget.c: removed almost all the warnings.

svn path=/trunk/gtk-sharp/; revision=12751
2003-03-22 17:37:43 +00:00
Lee Mallabone
6dacec484b Add a sample showing a Calendar and build it on linux by default.
svn path=/trunk/gtk-sharp/; revision=12749
2003-03-22 16:37:03 +00:00
Lee Mallabone
f8c625b0f9 First draft of Adjustment docs.
svn path=/trunk/gtk-sharp/; revision=12734
2003-03-21 18:52:24 +00:00
Lee Mallabone
b0b6e31e78 Simple docs for 2 enums.
svn path=/trunk/gtk-sharp/; revision=12720
2003-03-21 08:54:51 +00:00
Hector E. Gomez Morales
c0c9297c79 Commited full docs of MenuShell and MenuDirectionType.
svn path=/trunk/gtk-sharp/; revision=12607
2003-03-17 05:07:54 +00:00
Hector E. Gomez Morales
a6de3a7745 Full docs of Menushell and MenuDirectionType.
svn path=/trunk/gtk-sharp/; revision=12606
2003-03-17 05:04:39 +00:00
Duncan Mak
919841f25b fix the makefile
svn path=/trunk/gtk-sharp/; revision=12605
2003-03-17 01:13:48 +00:00
Charles Iliya Krempeaux
e0a61c2197 2003-03-13 Charles Iliya Krempeaux <charles@reptile.ca>
* README : Did some spelling and grammar corrections.
	  Fixed indentation problem.  And added some more info.
	* HACKING: Added info for people getting started with
	  hacking Gtk#.

svn path=/trunk/gtk-sharp/; revision=12583
2003-03-16 07:03:45 +00:00
Duncan Mak
31a519a4cd * gtk/ColorSelectionDialog.custom: Rename the inner Button class
to be ColorSelectionButton to avoid a name clash in the doc generator.

* gtk/TextBuffer.custom: Fix the Text property. Patch from Mathias
Hasselmann <mathias.hasselmann@gmx.de>.

svn path=/trunk/gtk-sharp/; revision=12572
2003-03-16 00:08:18 +00:00
Duncan Mak
335ddb466a Update the docs for Gtk.Application. The changes from the last commit
were wrong.

There's a bug in the signature formation code. 'string []' is now
'String[]', which leads to deprecation of valid nodes. I'll be fixing that now.

svn path=/trunk/gtk-sharp/; revision=12571
2003-03-15 23:06:26 +00:00
Duncan Mak
f7356a040e Remove GladeWidgetAttribute.xml
svn path=/trunk/gtk-sharp/; revision=12570
2003-03-15 23:00:21 +00:00
Duncan Mak
a8ce5e560a Update docs for Gdk.Color and also Gtk.Application. The Makefile is
updated to always use the updater instead of the generator.

svn path=/trunk/gtk-sharp/; revision=12569
2003-03-15 22:58:57 +00:00