Commit graph

797 commits

Author SHA1 Message Date
Miguel de Icaza c4b0c3d656 Add docs
svn path=/trunk/gtk-sharp/; revision=16663
2003-07-25 13:52:36 +00:00
John Luke 1691a6bbaf whoops fix this real quick
svn path=/trunk/gtk-sharp/; revision=16649
2003-07-25 04:21:48 +00:00
John Luke 772e8caf9f add summaries for GConf and Rsvg
svn path=/trunk/gtk-sharp/; revision=16648
2003-07-25 04:14:59 +00:00
Mike Kestner e13cec3477 2003-07-23 Mike Kestner <mkestner@ximian.com>
* gtk/FileSelection.custom : more s/new Object/GetObject

svn path=/trunk/gtk-sharp/; revision=16590
2003-07-23 23:56:47 +00:00
Mike Kestner 23464e6514 2003-07-23 Mike Kestner <mkestner@ximian.com>
[Equal credit to Ettore Perazzoli <ettore@ximian.com> for fixing
	all the bugs in the initial patch]
	* */*.custom : fix incorrect usage of new Object (IntPtr) where
	Glib.Object.GetObject should've been used.  add ref_owned param
	to GetObject calls.
	* generator/CallbackGen.cs : setup ref_owned in bodies
	* generator/ClassBase.cs : add ref_owned to GetObject FromNative call
	* generator/Method.cs : setup ref_owned in bodies
	* generator/Property.cs : setup ref_owned in bodies
	* generator/SignalHandler.cs : pass ref_owned to GetObject
	* generator/StructBase.cs : setup ref_owned in bodies
	* glib/Object.cs : kill Ref/Unref methods.  Don't want it to be
	easy for users to screw with ref counts, or make it look like they
	should need to.
	(GetObject): add ref_owned param and ref/unref to remain at 1
	* glib/Value.cs : pass ref_owned to GetObject

svn path=/trunk/gtk-sharp/; revision=16581
2003-07-23 17:19:21 +00:00
Martin Willemoes Hansen 9d369d8cf9 * generator/ClassBase.cs: Fixed printouts of ctor validation.
Warnings refering to the same ctor were printed multiple times.

svn path=/trunk/gtk-sharp/; revision=16563
2003-07-23 07:16:46 +00:00
John Luke 66d496114a hmm, should build first then commit...
svn path=/trunk/gtk-sharp/; revision=16554
2003-07-23 01:14:01 +00:00
John Luke a0ee3f3b89 2003-07-22 John Luke <jluke@cfl.rr.com>
* en/Gtk/Menu.xml: add example

svn path=/trunk/gtk-sharp/; revision=16553
2003-07-23 01:10:29 +00:00
John Luke 75d8f2a98b 2003-07-22 John Luke <jluke@cfl.rr.com>
* en/Rsvg: add directory
	* en/Rsvg/*.xml: add initial docs
	* en/Rsvg/Tool.xml: add example

svn path=/trunk/gtk-sharp/; revision=16552
2003-07-23 00:38:08 +00:00
John Luke c8d02f85e0 remove GLib and System.Drawing references
remove workaround for mscorlib
        use Type.GetMembers instead of .GetMethods
        remove Glib.IdleHandler for simplicity

svn path=/trunk/gtk-sharp/; revision=16551
2003-07-22 23:58:07 +00:00
Mike Kestner 31001501ed 2003-07-22 Mike Kestner <mkestner@speakeasy.net>
* generator/Method.cs (GenerateBody): kill the "cast_type"
	overload of this, since cast_type wasn't even used.
	* generator/Property.cs : call simpler GenerateBody sig

svn path=/trunk/gtk-sharp/; revision=16550
2003-07-22 22:56:10 +00:00
Duncan Mak 05172d9599 * en/Gtk/FSButton.xml: Removed the constructor, per the custom
file update and added documentation.

* gtk/FileSelection.custom (FSButton): Mark the constructor as
'internal', instead of 'public'.

svn path=/trunk/gtk-sharp/; revision=16513
2003-07-22 04:38:13 +00:00
Joshua Tauberer 9d0a50175b Updated GtkSharp docs for monodoc's needs
svn path=/trunk/gtk-sharp/; revision=16463
2003-07-21 00:13:00 +00:00
John Luke 2f5dca594f 2003-07-20 John Luke <jluke@cfl.rr.com>
* en/Gtk/FileSelection.xml: update and add example

svn path=/trunk/gtk-sharp/; revision=16447
2003-07-20 18:11:11 +00:00
John Luke 9127f33329 2003-07-18 John Luke <jluke@cfl.rr.com>
* en/Gtk/OptionMenu.xml: documented

svn path=/trunk/gtk-sharp/; revision=16436
2003-07-19 23:00:56 +00:00
John Luke 0fed7fdad3 Wrong day on last entry
svn path=/trunk/gtk-sharp/; revision=16410
2003-07-18 17:28:14 +00:00
John Luke fe7973b7a8 2003-07-17 John Luke <jluke@cfl.rr.com>
* en/Gtk/TreeView.xml: add TreeViewDemo example
	* en/Pango/Weight.xml: remove trailing "n"

svn path=/trunk/gtk-sharp/; revision=16409
2003-07-18 17:23:36 +00:00
Duncan Mak 18e36962aa * en/Pango/Alignment.xml:
* en/Pango/AttrTyoe.xml:
* en/Pango/CoverageLevel.xml:
* en/Pango/Direction.xml:
* en/Pango/FontMask.xml:
* en/Pango/OTTableType.xml:
* en/Pango/Stretch.xml:
* en/Pango/Style.xml:
* en/Pango/TabAlign.xml:
* en/Pango/Underline.xml:
* en/Pango/Variant.xml:
* en/Pango/Weight.xml:
* en/Pango/WrapMode.xml: All enumerations in Pango are documented.

svn path=/trunk/gtk-sharp/; revision=16383
2003-07-18 06:41:42 +00:00
Duncan Mak 1454565034 2003-07-17 Duncan Mak <duncan@ximian.com>
* Fixed another off-by-one error in the enums from the last
	commit. I'm such a doofus.

	Also added the new enums that were missing from last night's
	commit.

svn path=/trunk/gtk-sharp/; revision=16367
2003-07-18 02:50:06 +00:00
John Luke 01bc5d7f9a 2003-07-17 John Luke <jluke@cfl.rr.com>
* en/Gtk/ImageMenuItem.xml: documented

svn path=/trunk/gtk-sharp/; revision=16366
2003-07-18 01:59:08 +00:00
John Luke 5ee4beb801 2003-07-17 John Luke <jluke@cfl.rr.com>
* en/Gtk/CellRenderer.xml: documented

svn path=/trunk/gtk-sharp/; revision=16365
2003-07-18 01:30:49 +00:00
John Luke df08f5bb95 2003-07-17 John Luke <jluke@cfl.rr.com>
* en/Gtk/CellRendererMode.xml: documented
	* en/Gtk/CellRendererState.xml: documented

svn path=/trunk/gtk-sharp/; revision=16360
2003-07-17 23:40:49 +00:00
Duncan Mak ada2962e92 2003-07-17 Duncan Mak <duncan@ximian.com>
* Added new documentation files for the new classes, and fixed the
	off-by-one enum member name bug that was introduced in the previous
	commit.

svn path=/trunk/gtk-sharp/; revision=16325
2003-07-17 06:38:40 +00:00
Duncan Mak ed163952af 2003-07-17 Duncan Mak <duncan@ximian.com>
* Add new documentation files for the new classes.

svn path=/trunk/gtk-sharp/; revision=16324
2003-07-17 06:35:10 +00:00
John Luke d6af05d2e6 whoops, accidently deleted Duncans change
svn path=/trunk/gtk-sharp/; revision=16317
2003-07-17 03:57:19 +00:00
John Luke 9d8a428ec0 2003-07-16 John Luke <jluke@cfl.rr.com>
* en/Gnome/About.xml: documented

svn path=/trunk/gtk-sharp/; revision=16316
2003-07-17 03:39:14 +00:00
John Luke c5ebc2856b 2003-07-16 John Luke <jluke@cfl.rr.com>
* en/GConf/Client.xml: documented

svn path=/trunk/gtk-sharp/; revision=16315
2003-07-17 02:56:34 +00:00
Duncan Mak 749844387c 2003-07-16 Duncan Mak <duncan@ximian.com>
* All enumerations: Fixed the TypeSignature and MemberSignature in all
	documentation files for Enumerations.

svn path=/trunk/gtk-sharp/; revision=16313
2003-07-16 21:03:40 +00:00
John Luke 1ad394854e * en/Gtk/CellRendererText.xml: documented, except one event and method
* en/Gtk/CellRendererToggle.xml: documented
	* en/Gtk/CellRendererPixbuf.xml: documented

svn path=/trunk/gtk-sharp/; revision=16290
2003-07-16 04:35:01 +00:00
Miguel de Icaza 74ef92124b Update with jluke sample
svn path=/trunk/gtk-sharp/; revision=16289
2003-07-16 04:03:32 +00:00
Duncan Mak 573ef76a41 * sources/makefile (get-source-code): make it go a bit faster by
checking out all files in one go.

* gtk/IconSet.custom (Sizes): added proper binding to
gtk_icon_set_get_sizes (), this fixes bug #45835.

svn path=/trunk/gtk-sharp/; revision=16284
2003-07-16 03:29:47 +00:00
Duncan Mak c3ff06ea8d Flush
svn path=/trunk/gtk-sharp/; revision=16283
2003-07-16 02:19:05 +00:00
Duncan Mak 870b00b76e * en/Gtk/ItemFactory.xml: Rename GetItemByAction and
GetWidgetByAction to GetItem and GetWidget, to reflect metadata
changes.

* en/Gtk/TextBuffer.xml: Remove all references to *ByName methods,
as they are now all overrides.

* en/Gtk/HTML.xml: Update to use the new Begin overloads, since
bug #46427 is fixed.

* sources/Gtk.metadata
(GtkIconSet): hide the GetSizes method.
(GtkTextBuffer): new overrides
        MoveMarkByName    -> MoveMark
        DeleteMarkByName  -> DeleteMark
        ApplyTagByName    -> ApplyTag
        RemoveTagByName   -> RemoveTag
(GtkItemFactory): new overrides
        GetItemByAction   -> GetItem
        GetWidgetByAction -> GetWidget

* sources/gtkhtml-font-style-enum.patch: A patch to use real values
in gtkhtml-enums.h so that the parser won't choke on the complex enum
declarations.

svn path=/trunk/gtk-sharp/; revision=16282
2003-07-16 02:07:51 +00:00
Miguel de Icaza 7880ee2044 Add HTML
svn path=/trunk/gtk-sharp/; revision=16277
2003-07-15 23:42:15 +00:00
Duncan Mak 9d32a838a0 Sigh, M-x tabify'd.
svn path=/trunk/gtk-sharp/; revision=16276
2003-07-15 23:04:47 +00:00
Duncan Mak ed0079acdf * sources/gtkhtml-font-style-enum.patch: A patch to use real values
in gtkhtml-enums.h so that the parser won't choke on the complex enum
declarations.

* sources/makefile: Apply the above patch after checking out the
source code for GtkHTML

svn path=/trunk/gtk-sharp/; revision=16275
2003-07-15 23:00:42 +00:00
Mike Kestner 90705a1c98 2003-07-14 Mike Kestner <mkestner@speakeasy.net>
* api/*-api.xml : regenerated
	* gdk/Drawable.custom : DrawRectangle filled param is now bool
	* generator/Parameters.cs : studlify names ending w/ uscore
	* gtk/GtkSharp.GtkClipboardClearFuncNative : s/Opaque/Object
	* gtk/GtkSharp.GtkClipboardGetFuncNative : s/Opaque/Object
	* parser/gapi2xml.pl : put <ns>_string_* methods in Global
	* sample/Scribble.cs : update to new DrawRectangle api
	* sources/Gdk.metadata : hide some conflicting methods
	* sources/Gtk.metadata : finally fix the Progress crap and
	renames, hides and such to fix conflicts
	* sources/README : mention new gtk-2.2 reqs
	* sources/gtk-sharp.sources : update to new gtk-2.2 reqs
	* sources/makefile : update for 2.2 api

svn path=/trunk/gtk-sharp/; revision=16254
2003-07-15 05:52:09 +00:00
Miguel de Icaza f98b4e6398 Add example, and more explanations
svn path=/trunk/gtk-sharp/; revision=16247
2003-07-15 02:34:04 +00:00
Duncan Mak b0da34e07f all documented except for events.
svn path=/trunk/gtk-sharp/; revision=16242
2003-07-15 00:20:31 +00:00
Ben Maurer 7423197846 was not validating. fixed
svn path=/trunk/gtk-sharp/; revision=16240
2003-07-14 21:05:01 +00:00
Duncan Mak 10e594b822 added the missing properties.
svn path=/trunk/gtk-sharp/; revision=16187
2003-07-14 05:34:45 +00:00
Duncan Mak d9a26991fc * en/Gtk/TextTag.xml:
* en/Gtk/TextTagTable.xml:
* en/Gtk/TextMark.xml:
* en/Gtk/TextChildAnchor.xml: documented.

svn path=/trunk/gtk-sharp/; revision=16182
2003-07-14 00:48:35 +00:00
Mike Kestner 1200492df5 2003-07-12 Mike Kestner <mkestner@speakeasy.net>
* api/gda-api.xml : hide the new Type class
	* source/Gda.metadata : hide the new Type class

svn path=/trunk/gtk-sharp/; revision=16148
2003-07-12 17:59:05 +00:00
Duncan Mak 0c4b3dcae1 Remove conflict marker.
svn path=/trunk/gtk-sharp/; revision=16136
2003-07-12 09:23:26 +00:00
Duncan Mak aa65123a95 2003-07-12 Duncan Mak <duncan@ximian.com>
* en/Gtk/TextBuffer.xml: all documented except for events.

2003-07-07  Duncan Mak  <duncan@ximian.com>

	* en/Gtk/TearoffMenuItem.xml: documented.

svn path=/trunk/gtk-sharp/; revision=16135
2003-07-12 09:20:37 +00:00
Mike Kestner de34331936 2003-07-11 Mike Kestner <mkestner@speakeasy.net>
* gdk/Selection.custom : add static fields for the  primary,
	secondary, and clipboard and clipboard selection Gdk.Atoms.
	* glue/Makefile.am : add selection.c
	* glue/selection.c : add glue to get the atoms.
	* gtk/TextBuffer.custom : add a PasteClipboard overload for
	pasting to the cursor location.

svn path=/trunk/gtk-sharp/; revision=16130
2003-07-12 04:09:00 +00:00
Mike Kestner 3ff827ed69 2003-07-10 Mike Kestner <mkestner@speakeasy.net>
* api/*-api.xml : regenerated
	* gdk/Threads.cs : killed since the methods are now gen'd
	* generator/ClassGen.cs : new, static class generatable
	* generator/Parameters.cs : mangle new and byte as param names
	* generator/Parser.cs : parse new <class> elements
	* generator/SymbolTable.cs : add GC SimpleGen
	* parser/gapi2xml.pl : static class element fixes
	* parser/GAPI/Metadata.pm : add class element
	* sources/Art.metadata: new, rename Affine.ToString method
	* sources/Atk.metadata: rename State class
	* sources/Gdk.metadata: hide Pixbuf static class for now. rename
	Event and Pango static classes to avoid collisions.
	* sources/Gnome.metadata: rename Gtk and Gdk static classes to
	avoid collisions.
	* sources/GnomeDb.metadata: rename Stock static class to
	avoid collisions.
	* sources/Gtk.metadata: rename Stock static class to
	avoid collisions. Hide Idle class.

svn path=/trunk/gtk-sharp/; revision=16115
2003-07-11 02:00:13 +00:00
John Luke d0f1f5ef24 fix bulleted list
svn path=/trunk/gtk-sharp/; revision=16080
2003-07-10 03:06:27 +00:00
Ettore Perazzoli 6f04d85cee * gtk/Layout.custom: New file, adding the Layout::BinWindow
property.

* glue/layout.c: New file, adding glue for getting the bin_window
of a GtkLayout.

svn path=/trunk/gtk-sharp/; revision=16048
2003-07-09 03:59:28 +00:00
John Luke 59bcb39f2f * en/Gtk/Fixed.xml:
* en/Gtk/Image.xml:
	* en/Gtk/ToggleButton.xml:
	* en/Gtk/Frame.xml
	* en/Gtk/HBox.xml: small fixes

svn path=/trunk/gtk-sharp/; revision=16043
2003-07-08 18:44:29 +00:00