Commit graph

626 commits

Author SHA1 Message Date
Mike Kestner adef5f7bbd 2004-12-23 Mike Kestner <mkestner@novell.com>
* glib/ClassInitializerAttribute.cs : new attr for identifying type.
	inialization methods to be run by RegisterGType.
	* glib/Makefile.am : add file.
	* glib/Object.cs : add private method to invoke ClassInitializers.
	* gtk/glue/widget.c : some new glue for binding registration.
	* gtk/BindingAttribute.cs : new attr for registering key bindings.
	* gtk/Makefile.am : add file.
	* gtk/Widget.custom : add ClassInitializer method to scan types
	for [Binding] and register key bindings.

svn path=/trunk/gtk-sharp/; revision=38074
2004-12-23 22:59:59 +00:00
Dan Winship 4eabbb4007 * sources/gtk-sharp-sources.xml: exclude a bunch of uninstalled
gtk headers.

        * gtk/gtk-api.raw: regen

        * gtk/Gtk.metadata: Remove some explicit hiding of things that
        shouldn't have been there anyway. Hide a few types that just show
        up as unusable stubs.

svn path=/trunk/gtk-sharp/; revision=38054
2004-12-22 19:37:58 +00:00
Mike Kestner ba4b11a21b 2004-12-22 Mike Kestner <mkestner@novell.com>
* gdk/gdk-api.raw : update enum values.
	* gnome/gnome-api.raw : update enum values.
	* gtk/gtk-api.raw : update enum values.
	* pango/pango-api.raw : update enum values.
	* parser/gapi2xml.pl : pull whitespace out of enum prefixing logic.
	[Fixes #70593]

svn path=/trunk/gtk-sharp/; revision=38051
2004-12-22 19:12:15 +00:00
Mike Kestner e38ece1fdb 2004-12-21 Mike Kestner <mkestner@novell.com>
* glib/Argv.cs : argv marshaling class.
	* glib/Makefile.am : add file.
	* glib/Marshaller.cs : mark the argv methods obsolete.
	* gtk/Application.cs : use GLib.Argv. [Fixes #68812]

svn path=/trunk/gtk-sharp/; revision=38046
2004-12-21 19:47:55 +00:00
Dan Winship 62258ca7c3 * generator/CallbackGen.cs:
* generator/CodeGenerator.cs: 
        * generator/ManagedCallString.cs:
        * generator/Property.cs: Remove unused vars

        * generator/Method.cs (GetHashCode): have to implement this since
        we're overriding Equals.

        * generator/CallbackGen.cs: print a message when generating a
        broken struct-returning callback. (Currently affects
        GtkSharp.TextSegSplitFuncNative and
        GtkSharp.TextSegCleanupFuncNative)

        * gdk/glue/device.c: 
        * gdk/glue/dragcontext.c: Add missing prototypes

        * gtk/Gtk.metadata: Mark SeparatorToolItem.Draw "new". Re-rename
        CheckMenuItem.Toggled to EmitToggled rather than Toggle, since
        that's a better description of what it does.

        * gtk/CheckMenuItem.custom: implement a "Toggle" method that does
        what the documentation claims it does.

        * gtk/NodeStore.cs: remove unused var

        * gnome/Gnome.metadata: mark DateEdit.Flags, Dialog.Default, and
        PropertyBox.State "new". Hide GnomePixmapEntry.GnomeEntry and
        GnomePixmapEntry.GtkEntry since they do exactly the same thing as
        the methods of the same names inherited from GnomeFileEntry.

        * gnome/glue/canvas-proxy.c:
        * gnome/glue/canvas-proxy.h:
        * gnome/glue/canvas-proxy-marshal.c:
        * gnome/glue/canvas-proxy-marshal.h:
        * gnome/glue/canvas-proxy-marshal.list: Remove unused code

        * gnome/glue/Makefile.am (libgnomesharpglue_2_la_SOURCES): update

        * panelapplet/PanelApplet.metadata: mark PanelApplet.Flags "new"

        * sample/CanvasExample.cs: 
        * sample/CustomCellRenderer.cs: 
        * sample/CustomNotebook.cs: 
        * sample/DrawingSample.cs:
        * sample/Fifteen.cs: 
        * sample/GladeTest.cs: 
        * sample/GtkDemo/DemoHyperText.cs: 
        * sample/GtkDemo/DemoPixbuf.cs: 
        * sample/ScribbleXInput.cs: remove unused vars, use
        GLib.Timeout.Add rather than the deprecated Gtk.Timeout.Add

svn path=/trunk/gtk-sharp/; revision=38043
2004-12-21 18:46:42 +00:00
Jeroen Zwartepoorte 2d8853461e 2004-12-21 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Async.cs:
	* gnomevfs/Directory.cs:
	* gnomevfs/Sync.cs:
	* gnomevfs/Vfs.cs: Make the constructors private so they don't show up
	in monodoc (these classes aren't meant to be instantiated).


svn path=/trunk/gtk-sharp/; revision=38025
2004-12-21 12:52:49 +00:00
Jeroen Zwartepoorte bdf07d6a55 2004-12-21 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Gnomevfs.metadata: Hide the auto-generated ModuleCallback
	stuff in favor of the more developer friendly custom bindings.
	* gnomevfs/Makefile.am:
	* gnomevfs/ModuleCallbackAuthentication.cs:
	* gnomevfs/ModuleCallbackFillAuthentication.cs:
	* gnomevfs/ModuleCallbackFullAuthentication.cs:
	* gnomevfs/ModuleCallbackSaveAuthentication.cs:
	* gnomevfs/ModuleCallbackStatusMessage.cs: Complete the module callback
	implementations.


svn path=/trunk/gtk-sharp/; revision=38022
2004-12-21 09:18:44 +00:00
John Luke 163cacb30f 2004-12-20 John Luke <john.luke@gmail.com>
* en/Gtk/Widget.xml: finish
        * en/Gtk/Window.xml: finish
        * en/Gtk/*.xml: random stuff, mostly enums

svn path=/trunk/gtk-sharp/; revision=38021
2004-12-21 04:08:27 +00:00
John Luke 2cdcc3714c 2004-12-20 John Luke <john.luke@gmail.com>
* en/Gtk/CellView.xml: doc most of this
        * en/Gtk/EntryCompletion.xml: add an example from GtkDemo


svn path=/trunk/gtk-sharp/; revision=38008
2004-12-21 00:16:14 +00:00
Mike Kestner b6b89a0633 2004-12-20 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : mark a couple array params.
	* generator/Field.cs : remove the MarshalAs hack. We have to
	do something much more evil since MarshalAs can't hang.
	* generator/ImportSignature.cs : deal with out LP(U)Gen params.
	* generator/LPGen.cs : moved from SSizeTGen and generalized.
	* generator/LPUGen.cs : moved from SizeTGen and generalized.
	* generator/Makefile.am : update sources.
	* generator/MethodBody.cs : deal with out LP(U)Gen params.
	* generator/Parameters.cs : deal with out LP(U)Gen params.
	* generator/SymbolTable.cs : make all longs and size_t types LP(U)Gens.

svn path=/trunk/gtk-sharp/; revision=37999
2004-12-20 22:08:43 +00:00
Dan Winship a610fb9a79 * generator/GUnicharGen.cs: generatable for gunichar, using
GLib.Marshaller.CharToGUnichar and .GUnicharToChar [#70704]

        * generator/SymbolTable.cs (SymbolTable): add a GUnicharGen.

        * generator/Makefile.am (sources): add GUnicharGen.cs

        * parser/gapi2xml.pl (addPropElem): g_param_spec_unichar() has
        type "gunichar" not "unichar".

        * gtk/gtk-api.raw: Regen

        * glib/Marshaller.cs: Import CharToGUnichar's glue method by the
        right name

svn path=/trunk/gtk-sharp/; revision=37998
2004-12-20 22:05:21 +00:00
Dan Winship 99735b0d7e * en/Gtk/StockManager.xml: gone
* en/Gtk/Stock.xml (Lookup): document here

svn path=/trunk/gtk-sharp/; revision=37997
2004-12-20 19:55:00 +00:00
Mike Kestner c9683719ef 2004-12-20 Mike Kestner <mkestner@novell.com>
* en/Gnome.Vfs/*.xml : updater run for recent changes.

svn path=/trunk/gtk-sharp/; revision=37987
2004-12-20 18:09:36 +00:00
Mike Kestner 5e298ce11a 2004-12-20 Mike Kestner <mkestner@novell.com>
* generator/Property.cs : generate Interface properties.
	* gtk/ComboBox.custom : remove dup model prop.
	* gtk/TreeView.custom : remove dup model prop.

svn path=/trunk/gtk-sharp/; revision=37985
2004-12-20 18:01:55 +00:00
Mike Kestner 1cdd16f09c 2004-12-18 Mike Kestner <mkestner@novell.com>
* gconf/GConf/ChangeSet.cs : add internal Handle prop.
	* gconf/GConf/Engine.cs : new class to expose the default gconf engine
	perform changeset commits and reverses.

svn path=/trunk/gtk-sharp/; revision=37921
2004-12-18 16:44:20 +00:00
Mike Kestner 9727ef31e2 2004-12-17 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide Object and Widget.Destroy.
	* gtk/Object.custom : manual virtual Destroy impl.
	* gtk/Widget.custom : manual virtual Destroy impl.
	* gtk/Window.custom : hold a managed ref for all toplevels. Release
	it in a Destroy override.  Window is frequently subclassed and is
	never parented, so this keeps a managed ref around to avoid GC.
	[Fixes #70120]

svn path=/trunk/gtk-sharp/; revision=37914
2004-12-17 23:21:53 +00:00
Mike Kestner d97845dbf0 2004-12-17 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : mark out param on Window.GetFrameExtents.
	* gdk/WindowAttr.custom : new typed Mask prop.
	* gtk/Widget.custom : new typed WidgetFlags prop. mark Flags obsolete.

svn path=/trunk/gtk-sharp/; revision=37909
2004-12-17 21:44:47 +00:00
Mike Kestner 6f3dd46742 forgot an add
svn path=/trunk/gtk-sharp/; revision=37905
2004-12-17 20:34:25 +00:00
Mike Kestner 59faab866e 2004-12-17 Mike Kestner <mkestner@novell.com>
* gtk/Makefile.am : add new file.
	* gtk/glue/makefile.win32 : add missing file.
	* gtk/NodeCellDataFunc.cs : new callback delegate type and marshaler
	for NodeStore tree views using GtkTreeCellDataFuncs.
	* gtk/NodeStore.cs : add internal GetNode overload by TreeIter.
	* gtk/NodeView.cs : add AppendColumn overload that uses data funcs.
	* gtk/TreeViewColumn.custom : manual implementation for SetCellDataFunc
	to support both TreeIter and ITreeNode models.  We need to hold a ref
	to a delegate for each cell renderer on a column. [Fixes #63062]
	* sample/NodeViewDemo.cs : use a NodeCellDataFunc for one of the 
	cell renderers in the tree.

svn path=/trunk/gtk-sharp/; revision=37904
2004-12-17 20:32:33 +00:00
Shane Landrum 43932ea8ae 2004-12-17 Shane Landrum <epicene@pobox.com>
* en/Gtk/Tooltips.xml
	* en/Gtk/ToggleToolButton.xml
	* en/Gtk/ToolItem.xml
	* en/Gtk/ToolbarChildType.xml
	* en/Gtk/SeparatorToolItem.xml
	* en/Gtk/TooltipSetArgs.xml: Docs for tooltips and toolbar tools.


svn path=/trunk/gtk-sharp/; revision=37895
2004-12-17 19:15:25 +00:00
Dan Winship 104dbedf07 * generator/ClassBase.cs (IgnoreMethod): Don't ignore GetFoo and
SetFoo methods if they aren't in the right form to be turned into
        property accessors. (Causes 13 previously ignored methods to now
        be wrapped. See doc/ChangeLog.)

        * gtk/Gtk.metadata: Fix up a few of those newly-exposed methods

svn path=/trunk/gtk-sharp/; revision=37891
2004-12-17 17:55:07 +00:00
Shane Landrum 93209fbd15 2004-12-17 Shane Landrum <epicene@pobox.com>
* en/Gtk/FontSelectionDialog.xml: Doc 1 property
	* en/Gtk/TargetEntry.xml
	* en/Gtk/TargetPair.xml
	* en/Gtk/SelectionData.xml
	* en/Gtk/SelectionGetArgs.xml
	* en/Gtk/SelectionNotifyEventArgs.xml
	* en/Gtk/SelectionRequestEventArgs.xml: Docs for selection-related
	and DND code.
	* en/Gtk/Stock.xml: Doc some new items for 2.4
	* en/Gtk/ToolButton.xml: Add docs


svn path=/trunk/gtk-sharp/; revision=37890
2004-12-17 17:52:22 +00:00
Shane Landrum fb2a4b6c9a 2004-12-17 Shane Landrum <epicene@pobox.com>
* en/Gtk/RadioAction.xml
	* en/Gtk/RadioActionEntry.xml
	* en/Gtk/RadioButton.xml
	* en/Gtk/RadioMenuItem.xml
	* en/Gtk/RadioToolButton.xml: Add docs


svn path=/trunk/gtk-sharp/; revision=37889
2004-12-17 17:47:57 +00:00
Dan Winship faaccd7e0b * generator/ManagedCallString.cs (Setup, Finish, ToString): Add
new methods to allow arbitrary setup and teardown code around the
        managed call. When passing a type with "complicated" marshalling
        requirements as a ref or out param, first assign the value to a
        temporary variable (in Setup), then pass the temp as the ref or
        out param (in ToString), and then assign the new value back to the
        original argument (in Finish).

        * generator/Signal.cs: 
        * generator/SignalHandler.cs: Update to generate correct glue for
        signals with "ref" or "out" params. (#70566)

        * generator/VirtualMethod.cs: Update for ManagedCallString change

        * generator/IGeneratable.cs: add comments explaining what each
        member does

        * gtk/Gtk.metadata: mark Editable.InsertText's "position" arg
        * pass-by-ref

        * sample/Size.cs: connect to the SizeRequested event and override
        it, to test/demo the changes

svn path=/trunk/gtk-sharp/; revision=37854
2004-12-16 23:38:35 +00:00
Dan Winship 88cc4817f5 * parser/gapi_pp.pl: Don't strip out /*< public >*/ and
/*< private >*/ comments.

        * parser/gapi2xml.pl: Use those comments to determine the
        accessibility of struct/object fields, and set the "access"
        attribute on fields with non-default accessibiliy (private for
        structs, public for objects). Also, output a StudlyName for each
        field as well as a c_name.

        * */*-api.raw: Regen

        * generator/Field.cs (StudlyName): Use the parser-generated studly
        name rather than studlifying Name, which might have been mangled
        to avoid conflicts with an all-lowercase keyword.
        (Generate): Respect the access property on all field types rather
        than always making certain types public. Don't bother outputting
        wrapper properties for private fields, since the only code that
        could use them is the generated code, which won't.

        See doc/ChangeLog for the (very minimal) fallout from these
        changes.

        * en/Art/AlphaGamma.xml:
        * en/Gtk/TextAttributes.xml (Refcount):
        * en/Pango/GlyphString.xml (Space): these are now private

        * en/Gda/XqlItem.xml:
        * en/Glade/SignalInfo.xml:
        * en/Gnome.Vfs/ModuleCallbackSaveAuthenticationIn.xml: 
        * en/Gnome.Vfs/ModuleCallbackFullAuthenticationIn.xml: 
        * en/Gnome.Vfs/ModuleCallbackFillAuthenticationIn.xml: rename
        Objekt to Object.

        * en/Atk/KeyEventStruct.xml: rename Str1ng to String

svn path=/trunk/gtk-sharp/; revision=37853
2004-12-16 23:22:07 +00:00
Mike Kestner 48358ccf22 2004-12-16 Mike Kestner <mkestner@novell.com>
* sample/NodeViewDemo.cs : rework of TreeViewDemo to use NodeStore.
	* sample/TreeViewDemo.cs : added some timing and node counting fu.

2004-12-16  Duncan Mak  <duncan@ximian.com>

	* gtk/Makefile.am (sources): Added NodeSelection and NodeView.
	* gtk/NodeSelection.cs: New file, an implementation of
 	TreeSelection that exposes ITreeNodes instead of TreeIters.
	* gtk/NodeStore.cs : added internal GetIter and GetPath methods for 
	NodeSelection. Reworked [TreeNodeValue] lookup logic.
 	out what the Type of data the store holds.
	* gtk/NodeView.cs: New subclass of TreeView utilizing NodeStore and
	NodeSelection.
	* gtk/TreeIter.custom : new internal UserData prop.
	* gtk/TreeNodeValueAttribute.cs: Set AllowMultiple to true.
	* gtk/TreeView.custom: Obsoleted constructor that uses a NodeStore as
 	parameter. NodeView should be used instead.

svn path=/trunk/gtk-sharp/; revision=37845
2004-12-16 20:30:43 +00:00
Mike Kestner 256bc09aee 2004-12-16 Tambet Ingo <tambet@ximian.com>
* glib/Opaque.cs : hold a weakref in the hash, not a strong ref.

svn path=/trunk/gtk-sharp/; revision=37840
2004-12-16 17:09:58 +00:00
Mike Kestner cf2596acf0 2004-12-15 Mike Kestner <mkestner@novell.com>
* gnome/Gnome.metadata : resolve a collision that was causing
	Print class methods to be lost.

svn path=/trunk/gtk-sharp/; revision=37814
2004-12-15 22:41:14 +00:00
John Luke f2ef7c5f28 run gen-vm-docs.exe and gen-handlerargs.exe on
all the assemblies

svn path=/trunk/gtk-sharp/; revision=37812
2004-12-15 21:54:42 +00:00
John Luke 4ff5ea4ddb 2004-12-15 John Luke <john.luke@gmail.com>
* en/Atk/LinkSelectedArgs.xml
        * en/Atk/StateSet.xml
        * en/Atk/TextRange.xml
        * en/Atk/HyperLink.xml
        * en/Atk/TextRectangle.xml
        * en/Atk/NoOpObject.xml
        * en/Atk/LinkSelectedHandler.xml
        * en/Atk/StateManager.xml
        * en/Atk/TextClipType.xml
        * en/Gtk/FileChooserAction.xml
        * en/Gtk/FileChooserError.xml: add docs


svn path=/trunk/gtk-sharp/; revision=37811
2004-12-15 21:46:24 +00:00
John Luke e3e4c2528a 2004-12-15 John Luke <john.luke@gmail.com>
* en/Pango/FcFont.xml:
        * en/Pango/FcFontMap.xml:
        * en/Pango/Script.xml:
        * en/Pango/ScriptIter.xml: doc'em

svn path=/trunk/gtk-sharp/; revision=37806
2004-12-15 20:37:05 +00:00
Shane Landrum c01ab2e2ef 2004-12-14 Shane Landrum <epicene@pobox.com>
* en/Gtk/FileChooser.xml: Added full docs.
	* en/Gtk/FileChooserDialog.xml
	* en/Gtk/FileChooserEmbed.xml
	* en/Gtk/FileChooserAction.xml
	* en/Gtk/FileChooserWidget.xml
	* en/Gtk/FileChooserEntry.xml
	* en/Gtk/FileChooserDefault.xml
	* en/Gtk/FileChooserError.xml
	* en/Gtk/FileChooserProp.xml: Began working on docs.


svn path=/trunk/gtk-sharp/; revision=37765
2004-12-15 00:19:32 +00:00
Shane Landrum 5e4e7b1498 2004-12-14 Shane Landrum <epicene@pobox.com>
* en/Gtk/TextTagInfo.xml
	* en/Gtk/TextToggleBody.xml
	* en/Gtk/TextLineSegmentClass.xml
	* en/Gtk/TextPendingScroll.xml
	* en/Gtk/TextView.xml
	* en/Gtk/TextLineSegment.xml: Changed "to be added" to "do not use"
	* en/Gtk/TextIter.xml
	* en/Gtk/TextBuffer.xml : Added docs for remaining TBA items.


svn path=/trunk/gtk-sharp/; revision=37763
2004-12-14 22:04:26 +00:00
Shane Landrum c11a708513 2004-12-12 Shane Landrum <epicene@pobox.com>
* en/Gtk/ToolItem.xml
	* en/Gtk/Toolbar.xml: Expanded docs for toolbar-related classes.
	* en/Gtk/SubmenuDirection.xml
	* en/Gtk/SubmenuPlacement.xml: Docced submenu enums.


svn path=/trunk/gtk-sharp/; revision=37678
2004-12-13 02:51:29 +00:00
Mike Kestner 81c32f1c38 2004-12-09 Mike Kestner <mkestner@novell.com>
* gtkhtml/HTML.custom : remove obsolete attr for Write overload.
	* gtkhtml/HTMLStream.custom : ditto.

svn path=/trunk/gtk-sharp/; revision=37606
2004-12-10 23:03:33 +00:00
Mike Kestner 84e058dd1a 2004-12-09 Mike Kestner <mkestner@novell.com>
* gtkhtml/HTML.custom : add an back-compat obsolete overload for Write.
	* gtkhtml/HTMLStream.custom : add an obsolete overload for Write.


svn path=/trunk/gtk-sharp/; revision=37516
2004-12-09 19:55:53 +00:00
Mike Kestner 62977484e6 2004-12-09 Mike Kestner <mkestner@novell.com>
* generator/Makefile.am : new files.
	* generator/MethodBody.cs : fix for length param code.
	* generator/SizeTGen.cs : smarter size_t marshaling.
	* generator/SSizeTGen.cs : smarter ssize_t marshaling.
	* generator/SymbolTable.cs : use the new generatables.

svn path=/trunk/gtk-sharp/; revision=37509
2004-12-09 18:40:09 +00:00
John Luke 1cea948a37 2004-12-08 John Luke <john.luke@gmail.com>
* en/Gtk/IconLookupFlags.xml
        * en/Gtk/IconInfo.xml
        * en/Gtk/IconTheme.xml
        * en/Gtk/IconThemeError.xml: doc these


svn path=/trunk/gtk-sharp/; revision=37410
2004-12-08 19:24:38 +00:00
Mike Kestner 5cca5957df 2004-12-08 Mike Kestner <mkestner@novell.com>
* art/Art.metadata : mark some ints as bools. [Fixes #61047]

svn path=/trunk/gtk-sharp/; revision=37408
2004-12-08 18:57:08 +00:00
John Luke f662bb93a5 doc ComboBoxEntry
svn path=/trunk/gtk-sharp/; revision=37363
2004-12-08 02:52:40 +00:00
John Luke 27fb970cd1 and gen-vm-docs.exe for gtk-sharp.dll
svn path=/trunk/gtk-sharp/; revision=37362
2004-12-08 02:37:02 +00:00
John Luke 62c30e4200 run gen-handlerargs-docs.exe for gtk-sharp.dll
svn path=/trunk/gtk-sharp/; revision=37361
2004-12-08 02:32:32 +00:00
John Luke 8bde6a44a4 doc a few missing things here
svn path=/trunk/gtk-sharp/; revision=37360
2004-12-08 02:27:49 +00:00
John Luke 628493fa3d 2004-12-06 John Luke <john.luke@gmail.com>
* gtk/Gtk.metadata: set with_mnemonic as the preferred ctor
        * doc/en/Gtk/Expander.xml: update


svn path=/trunk/gtk-sharp/; revision=37273
2004-12-07 01:34:17 +00:00
John Luke 75cb1c66db 2004-12-06 John Luke <john.luke@gmail.com>
* gtk/Action.custom
        * gtk/ActionGroup.custom
        * gtk/UIManager.custom
        * gtk/Gtk.metadata
        * doc/en/Gtk/ActionGroup.xml
        * file doc/en/Gtk/Action.xml
        * doc/en/Gtk/UIManager.xml: replace List and SList with arrays
        and update the docs


svn path=/trunk/gtk-sharp/; revision=37272
2004-12-07 01:31:50 +00:00
Mike Kestner 84d8a42f96 2004-12-06 Mike Kestner <mkestner@novell.com>
* doc/en/*/*.xml : docs for new GValue members and size_t changes.
	* generator/SymbolTable.cs : add ssize_t and make size_t a UIntPtr
	instead of the current broken int mapping on 64 bit platforms.
	* gtkhtml/HTMLStream.custom : fix size_t related overload.
	[fixes #69574]

svn path=/trunk/gtk-sharp/; revision=37223
2004-12-06 19:37:03 +00:00
Shane Landrum dddd3dcc9f 2004-12-06 Shane Landrum <epicene@pobox.com>
* en/Gtk/AccelCanActivateHandler.xml
	* en/Gtk/Widget.xml
	* en/Gtk/AccelCanActivateArgs.xml: Added docs for accelerator-related
	signals and handlers.


svn path=/trunk/gtk-sharp/; revision=37170
2004-12-06 06:21:01 +00:00
John Luke 95fc8a551d doc Expander
svn path=/trunk/gtk-sharp/; revision=37148
2004-12-05 21:05:29 +00:00
Dan Winship e0a0bd13fa * gdk/gdk-symbols.xml: alias GdkBitmap to GdkPixmap [Fixes
* #68824]

        * gdk/Gdk.metadata: Remove the earlier GdkBitmap hack now that
        it's aliased. Also move Gdk.Bitmap.CreateFromData to
        Gdk.Pixmap.CreateBitmapFromData

        * gdk/Pixbuf.custom (RenderPixmapAndMask,
        RenderPixmapAndMaskForColormap, RenderThresholdAlpha):
        s/Bitmap/Pixmap/

        * sample/GtkDemo/DemoTextView.cs: uncomment the fg/bg stipple
        code, since that works now

        * parser/gapi-fixup.cs: Add an "add-node" rule. This turned out
        * to
        not actually be needed for this fix, but we know we'll need it
        later, so here it is.

svn path=/trunk/gtk-sharp/; revision=37055
2004-12-03 20:42:12 +00:00
Mike Kestner 5f9a153c7f 2004-12-03 Mike Kestner <mkestner@novell.com>
* gtk/Dialog.custom : correct return value for AddButton overload.
	[Fixes #70121]

svn path=/trunk/gtk-sharp/; revision=37043
2004-12-03 18:52:18 +00:00
Dan Winship 2c9ce7d64e * gtk/Gtk.metadata: Pass TextIters by ref almost everywhere.
[Fixes #70187]. Kill two varargs warnings.

        * gtk/TextBuffer.custom: Update for that, and also implement
        InsertWithTagsByName

        * sample/GtkDemo/DemoHyperText.cs:
        * sample/GtkDemo/DemoTextView.cs: Remove kludges for broken
        TextIter handling. Also fix the i18n demo bits by translating the
        octal-encoded UTF-8 to hex-encoded UTF-16.

svn path=/trunk/gtk-sharp/; revision=37039
2004-12-03 18:00:30 +00:00
Mike Kestner 8a6ba75f45 2004-12-03 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide junk methods in Global. [Fixes #60895]

svn path=/trunk/gtk-sharp/; revision=37037
2004-12-03 17:30:29 +00:00
Mike Kestner 59b46e3fed 2004-12-03 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide Visibility enum. [Fixes #60704]

svn path=/trunk/gtk-sharp/; revision=37035
2004-12-03 17:09:37 +00:00
Shane Landrum fe1260b924 2004-12-02 Shane Landrum <epicene@pobox.com>
* en/Gtk/EntryCompletionMatchFunc.xml
	* en/Gtk/EntryCompletion.xml
	* en/Gtk/CellLayout.xml
	* en/Gtk/CellLayoutDataFunc.xml
	* en/Gtk/Clipboard.xml
	* en/Gtk/ClipboardTargetsReceivedFunc.xml
	* en/Gtk/FileFilter.xml
	* en/Gtk/FileFilterFlags.xml
	* en/Gtk/FileFilterFunc.xml: Doc some delegate classes and the
	methods that use them; mostly functionality new to 2.4.
	* en/Gtk/RBTreeTraverseFunc.xml
	* en/Gtk/TextSegLineChangeFunc.xml
	* en/Gtk/TextSegSplitFunc.xml
	* en/Gtk/TextSegCheckFunc.xml
	* en/Gtk/TextUtilCharChosenFunc.xml
	* en/Gtk/TextSegCleanupFunc.xml
	* en/Gtk/TextSegDeleteFunc.xml
	* en/Gtk/IconThemeFileLineFunc.xml: Removed extraneous TBAs.
	

svn path=/trunk/gtk-sharp/; revision=36921
2004-12-02 06:33:01 +00:00
Todd Berman 6d9785c7f7 2004-12-01 Todd Berman <tberman@off.net>
* generator/StructGen.cs: Check to see if a GType is going to be
        generated. If not, generate a GType.Pointer. This fixes bug
        #70017.
        * glib/TypeConverter.cs: Remove the .IsValueType check, as those
        now have GType properties.
        * gda/Gda.metadata: Change GdaValue.GType to GdaValue.GdaType.
        * doc/en/Gda/Value.xml: Regenerated to reflect new API.

svn path=/trunk/gtk-sharp/; revision=36912
2004-12-01 21:41:10 +00:00
John Luke e03eb3f68d some docs
svn path=/trunk/gtk-sharp/; revision=36872
2004-12-01 00:11:21 +00:00
Shane Landrum 9e9ea5957e 2004-11-30 Shane Landrum <epicene@pobox.com>
* en/Gtk/ColorSelection.xml: Documented deprecated UpdatePolicy prop.
	* en/Gtk/ColorButton.xml: Added docs.
	* en/Gtk/TreeModel.xml
	* en/Gtk/TreeModelFilter.xml
	* en/Gtk/TreeModelFilterModifyFunc.xml
	* en/Gtk/TreeModelFilterVisibleFunc.xml
	* en/Gtk/TreeModelSort.xml: Added and elaborated docs
	for filtering tree models, in compliance with GTK 2.4.


svn path=/trunk/gtk-sharp/; revision=36868
2004-11-30 22:42:26 +00:00
Jeroen Zwartepoorte 0c81f9142c 2004-11-26 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/ActionEntry.cs:
	* gtk/ActionGroup.custom:
	* gtk/Gtk.metadata:
	* gtk/Makefile.am:
	* gtk/RadioActionEntry.cs:
	* gtk/ToggleActionEntry.cs:
	* gtk/UIManager.custom:
	* sample/Actions.cs: Updated to use the new *ActionEntry code. Reflects
	testactions.c from gtk+ now.
	
	Added C# syntactic sugar for easily defining Action's for the UIManager.
	Derived from the same ActionEntry structs in gtk+.


svn path=/trunk/gtk-sharp/; revision=36638
2004-11-26 14:59:38 +00:00
Mike Kestner 7d63d5d86f 2004-11-18 Mike Kestner <mkestner@novell.com>
* atk/Atk.metadata : mark an out param on Value.

svn path=/trunk/gtk-sharp/; revision=36290
2004-11-18 22:25:17 +00:00
Dan Winship 9d04b4dd06 Redo child property handling; now we generate classes to hold
the
        child properties for a given widget in a container, and generate
        the child properties as properties on those classes.
        
        * parser/gapi2xml.pl (addPropElem): don't prepend "child_" to
        child prop names any more

        * generator/ClassBase.cs (ClassBase): keep childprops separate
        from properties
        (GenChildProperties): create a subclass of Gtk.ContainerChild
        containing the container type's child properties, and override
the
        Container indexer to return that type.

        * generator/ObjectGen.cs (Generate): call GenChildProperties

        * generator/Property.cs:
        * generator/ChildProperty.cs: Simplify these a bunch, since
        * child
        properties are now represented as C# properties as well. Also
add
        [GLib.Property(cname)] and [Gtk.ChildProperty(cname)]
attributes.

        * glib/Makefile.am (sources): add PropertyAttribute.cs

        * glib/PropertyAttribute.cs: attribute used to label
        GObject properties

        * gtk/Makefile.am (sources): add ChildPropertyAttribute.cs

        * gtk/gtk-api.raw: regenerate for parser changes (remove
        "Child"/"child_" from child property names).

        * gtk/ChildPropertyAttribute.cs: attribute used to label
        GtkContainer child properties

        * gtk/Container.custom: define the ContainerChild class, and an
        indexer to return instances of it.

        * doc/en/Gtk/: update for container child property change

svn path=/trunk/gtk-sharp/; revision=36284
2004-11-18 20:31:22 +00:00
Dan Winship dcf31a8f33 * en/GLib/Value.xml: document new constructors
svn path=/trunk/gtk-sharp/; revision=36175
2004-11-16 18:04:23 +00:00
Dan Winship acdb2f73da * gtk/glue/container.c (gtksharp_container_get_focus_child): New
glue method to get container->focus_child

        * gtk/Gtk.metadata: hide SetFocusChild

        * gtk/Container.custom (FocusChild): implement with both getter
        and setter

        * en/Gtk/Container.xml (FocusChild): Has a getter now too.
        (Added): Clarify that this only means "Gtk.Container.Add was
        called", and doesn't get fired when you call Gtk.Box.PackStart,
        etc

svn path=/trunk/gtk-sharp/; revision=36143
2004-11-15 17:47:16 +00:00
Mike Kestner f096700a2d 2004-11-15 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide the Get/Set Color methods that are marked
	deprecated but didn't exist in 1.0.

svn path=/trunk/gtk-sharp/; revision=36142
2004-11-15 17:02:37 +00:00
John Luke acdaee5e08 ActionGroup, UIManager, and UIManagerItemType docs
svn path=/trunk/gtk-sharp/; revision=35938
2004-11-10 02:28:55 +00:00
John Luke dce2f4f7b7 doc GtkAction
svn path=/trunk/gtk-sharp/; revision=35912
2004-11-09 20:45:04 +00:00
Mike Kestner 37fc7b8f19 2004-11-09 Mike Kestner <mkestner@novell.com>
* configure.in : conditional stuff for gnomevfs
	* doc/Makefile.am : conditionally update panelapplet and gnomevfs.
	* doc/en/*/* : update to add PanelApplet and Gnome.Vfs stubs.
	* gnomevfs/Makefile.am : make conditional

svn path=/trunk/gtk-sharp/; revision=35905
2004-11-09 18:36:27 +00:00
Dan Winship be5d49f85d * en/GLib/Object.xml:
* en/Gtk/Widget.xml: update for CreateNativeObject changes

svn path=/trunk/gtk-sharp/; revision=35886
2004-11-09 14:22:51 +00:00
Dan Winship cb30686a86 * en/Gtk/Box.xml:
* en/Gtk/ButtonBox.xml:
	* en/Gtk/Container.xml:
	* en/Gtk/Fixed.xml:
	* en/Gtk/Layout.xml:
	* en/Gtk/Menu.xml:
	* en/Gtk/Notebook.xml:
	* en/Gtk/Paned.xml:
	* en/Gtk/Table.xml:
	* en/Gtk/Toolbar.xml: document container child properties

svn path=/trunk/gtk-sharp/; revision=35833
2004-11-08 15:03:02 +00:00
Dan Winship ed13386bf3 update to match latest changes
svn path=/trunk/gtk-sharp/; revision=35832
2004-11-08 14:58:12 +00:00
Mike Kestner 6b3c74ce33 updater run for 2.6 api
svn path=/trunk/gtk-sharp/; revision=35744
2004-11-05 21:37:41 +00:00
Mike Kestner 60b7406317 updater run for 2.4 api.
svn path=/trunk/gtk-sharp/; revision=35742
2004-11-05 21:25:40 +00:00
Mike Kestner 2ac25a2ff4 updater run for new api
svn path=/trunk/gtk-sharp/; revision=35733
2004-11-05 19:49:12 +00:00
Mike Kestner 64e658b914 updater run for new api.
svn path=/trunk/gtk-sharp/; revision=35730
2004-11-05 19:40:26 +00:00
Mike Kestner 7adc7e6c8a updater run for 2.6 api.
svn path=/trunk/gtk-sharp/; revision=35729
2004-11-05 19:39:16 +00:00
Mike Kestner c6d0343586 updater run for 2.4 api.
svn path=/trunk/gtk-sharp/; revision=35720
2004-11-05 19:05:29 +00:00
Mike Kestner 603b6f1c45 updater run for 2.4 api
svn path=/trunk/gtk-sharp/; revision=35719
2004-11-05 19:03:16 +00:00
Mike Kestner 45ea3ed705 updater run on docs for 2.4 api
svn path=/trunk/gtk-sharp/; revision=35718
2004-11-05 19:00:43 +00:00
Miguel de Icaza 31b0cf439c From: cmorgan@alum.wpi.edu
svn path=/trunk/gtk-sharp/; revision=35666
2004-11-04 20:03:15 +00:00
Miguel de Icaza ce819aa39f From: jaspervp@gmx.net
svn path=/trunk/gtk-sharp/; revision=35664
2004-11-04 19:59:38 +00:00
Miguel de Icaza 8d94d831e8 From: sebastian.nowozin@web.de
svn path=/trunk/gtk-sharp/; revision=35663
2004-11-04 19:57:10 +00:00
Miguel de Icaza 5634a70cef From Todd Berman
svn path=/trunk/gtk-sharp/; revision=35660
2004-11-04 19:52:07 +00:00
Miguel de Icaza fe6aad5317 Contributions from ddollar@blueshiftdesign.com and bis0n@mail.ru
svn path=/trunk/gtk-sharp/; revision=35651
2004-11-04 19:34:16 +00:00
Todd Berman cac3c4a368 2004-11-04 Todd Berman <tberman@off.net>
* doc/en/GLib/ListBase.xml: Add documentation for ListBase.Empty
        * glib/ListBase.cs: Add ListBase.Empty, frees the children and the
        list.
        * glib/Markup.cs: Fix Alex's tomboy crash, sending -1 instead of
        Length.
        * gtk/FileChooserDialog.custom:
        * gtk/FileChooserWidget.custom: properly free the list.

svn path=/trunk/gtk-sharp/; revision=35650
2004-11-04 19:29:01 +00:00
Dan Winship 764b8ac5d8 * en/Gdk/Pixbuf.xml
* en/Gdk/Pixmap.xml
	* en/Gdk/Window.xml
	* en/Gtk/Style.xml
	* en/Gtk/TargetList.xml: Update to match API fixes

svn path=/trunk/gtk-sharp/; revision=35410
2004-10-28 19:26:15 +00:00
Miguel de Icaza 4f8f06c449 Flush
svn path=/trunk/gtk-sharp/; revision=34925
2004-10-12 19:26:02 +00:00
Shane Landrum b0952e4400 2004-10-11 Shane Landrum <epicene@pobox.com>
* en/Gdk/AreaUpdatedArgs.xml
	* en/Gdk/SizePreparedArgs.xml: Delegate class docs.

svn path=/trunk/gtk-sharp/; revision=34858
2004-10-11 03:49:34 +00:00
Shane Landrum 7908ad667b 2004-10-11 Shane Landrum <epicene@pobox.com>
* en/Gdk/Pixbuf.xml
	* en/Gdk/PixbufAlphaMode.xml
	* en/Gdk/PixbufAniAnim.xml
	* en/Gdk/PixbufAniAnimIter.xml
	* en/Gdk/PixbufDestroyNotify.xml
	* en/Gdk/PixbufError.xml
	* en/Gdk/PixbufFormat.xml
	* en/Gdk/PixbufFrame.xml: Miscellaneous docs for pixbuf classes.

svn path=/trunk/gtk-sharp/; revision=34857
2004-10-11 03:47:28 +00:00
Mike Kestner 881f9655f4 updater run for Pixmap changes.
svn path=/trunk/gtk-sharp/; revision=34784
2004-10-07 15:46:51 +00:00
Mike Kestner 28267de825 run updater for new API
svn path=/trunk/gtk-sharp/; revision=34721
2004-10-05 14:17:03 +00:00
Mike Kestner aa54aa2c95 2004-09-29 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide some ellipsis methods, add pass_as attrs.
	* gtk/Object.custom : new IsFloating property.
	* gtk/glue/object.c : new gtksharp_object_set_floating glue.

svn path=/trunk/gtk-sharp/; revision=34529
2004-09-29 18:45:59 +00:00
Mike Kestner b1d0ceff9a stubs for newly generated GString apis.
svn path=/trunk/gtk-sharp/; revision=34527
2004-09-29 18:03:56 +00:00
Mike Kestner cd4f77b03f docs for new GString marshaler.
svn path=/trunk/gtk-sharp/; revision=34524
2004-09-29 17:54:59 +00:00
Mike Kestner 1d4f5536af 2004-09-27 Mike Kestner <mkestner@ximian.com>
* gtk/Button.custom : add a ctor (Widget). reworked from patch by
	John Luke.
	[Fixes #66228]

svn path=/trunk/gtk-sharp/; revision=34441
2004-09-27 19:20:35 +00:00
Shane Landrum a4e23390b0 2004-09-25 Shane Landrum <epicene@pobox.com>
* en/Gdk/Drawable.xml
	* en/Gdk/Pixbuf.xml
	* en/Gdk/PixbufAlphaMode.xml
	* en/Gdk/PixbufAniAnim.xml
	* en/Gdk/PixbufAniAnimIter.xml
	* en/Gdk/PixbufAnimation.xml
	* en/Gdk/PixbufAnimationIter.xml: Docs for pixbufs and animations.
	A first pass; see FIXME marks for some API that may need adjustment.

svn path=/trunk/gtk-sharp/; revision=34384
2004-09-25 13:52:01 +00:00
Mike Kestner 9d8263d89d 2004-09-24 Mike Kestner <mkestner@ximian.com>
* gtk/Bin.custom : make Child get/set.
	* gtk/Gtk.metadata : hide the Bin.get_child method.
	[Fixes #66232]

svn path=/trunk/gtk-sharp/; revision=34364
2004-09-24 15:58:05 +00:00
Mike Kestner 3eb398a12f 2004-09-23 Mike Kestner <mkestner@ximian.com>
* gtk/Widget.custom : new OnSetScrollAdjustments VM.
	* gtk/glue/widget.c : glue for new VM.

svn path=/trunk/gtk-sharp/; revision=34293
2004-09-23 16:50:18 +00:00
Miguel de Icaza b3091be76a Flush
svn path=/trunk/gtk-sharp/; revision=34181
2004-09-21 17:19:28 +00:00
Shane Landrum 0dba717c3f 2004-09-20 Shane Landrum <epicene@pobox.com>
* en/Gdk/FilterFunc.xml
	* en/Gdk/Point.xml
	* en/Gdk/Region.xml
	* en/Gdk/Rgb.xml
	* en/Gdk/RgbCmap.xml : Added docs for Gdk classes.

svn path=/trunk/gtk-sharp/; revision=34079
2004-09-20 04:18:35 +00:00
Shane Landrum 40379be9e4 2004-09-20 Shane Landrum <epicene@pobox.com>
* en/Gtk/FileSelection.xml
	* en/Gtk/MapEventArgs.xml
	* en/Gtk/ModuleDisplayInitFunc.xml
	* en/Gtk/ModuleInitFunc.xml
	* en/Gtk/MotionNotifyEventArgs.xml
	* en/Gtk/TargetPair.xml
	* en/Gtk/TextCounter.xml
	* en/Gtk/TextPendingScroll.xml
	* en/Gtk/TextUtilCharChosenFunc.xml
	* en/Gtk/TextWindowType.xml
	* en/Gtk/ThreadNotify.xml
	* en/Gtk/ToggleSizeAllocatedArgs.xml
	* en/Gtk/ToggleSizeRequestedArgs.xml
	* en/Gtk/Widget.xml : Added and updated docs.

svn path=/trunk/gtk-sharp/; revision=34078
2004-09-20 03:50:47 +00:00
Shane Landrum 8ef717b537 2004-09-20 Shane Landrum <epicene@pobox.com>
* en/Gdk/Window.xml : Added docs from GDK source.

svn path=/trunk/gtk-sharp/; revision=34077
2004-09-20 03:47:39 +00:00